:root {
    --navy-deep: #0f1d3a;
    --navy-primary: #1a2b4a;
    --slate: #475569;
    --slate-light: #64748b;
    --accent-gold: #d4af37;
    --accent-teal: #14b8a6;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--navy-deep);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(15, 29, 58, 0.08);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy-deep);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent-teal);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--navy-deep);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--navy-primary);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--navy-primary);
}

.cta-button:hover {
    background: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 29, 58, 0.2);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(26, 43, 74, 0.05) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(26, 43, 74, 0.015) 2px, rgba(26, 43, 74, 0.015) 4px);
    z-index: 0;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent-teal);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--navy-deep);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--slate);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box */
.search-container {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 12px 24px rgba(15, 29, 58, 0.08),
        0 0 0 1px rgba(15, 29, 58, 0.06);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.search-label {
    font-family: 'Crimson Pro', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 1.5rem;
    display: block;
}

.search-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.3rem 5rem 1.3rem 1.5rem;
    font-size: 1.05rem;
    border: 2px solid rgba(15, 29, 58, 0.1);
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-teal);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy-primary);
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.search-button:hover {
    background: var(--navy-deep);
    transform: translateY(-50%) scale(1.02);
}

.search-hint {
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(20, 184, 166, 0.08);
    border-left: 3px solid var(--accent-teal);
    border-radius: 6px;
    color: var(--slate);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Example Questions */
.examples-label {
    font-size: 0.9rem;
    color: var(--slate-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.example-questions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.example-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 29, 58, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.example-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-teal);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.example-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-teal);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.example-card:hover {
    transform: translateX(8px);
    border-color: var(--accent-teal);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15);
}

.example-card:hover::before {
    transform: scaleY(1);
}

.example-icon {
    width: 36px;
    height: 36px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent-teal);
    font-weight: 700;
}

.example-text {
    font-size: 0.95rem;
    color: var(--navy-deep);
    line-height: 1.5;
    font-weight: 500;
}

/* Features Section */
.features {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--navy-deep);
}

.section-subtitle {
    text-align: center;
    color: var(--slate);
    font-size: 1.15rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 29, 58, 0.08);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(15, 29, 58, 0.12);
    border-color: var(--accent-teal);
}

.feature-number {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(20, 184, 166, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.feature-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy-deep);
}

.feature-description {
    color: var(--slate);
    line-height: 1.7;
}

/* Trust Section */
.trust-section {
    background: var(--navy-primary);
    color: var(--white);
    padding: 5rem 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255, 255, 255, 0.02) 40px, rgba(255, 255, 255, 0.02) 80px);
    z-index: 0;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.trust-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.trust-text {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.trust-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-gold);
    transition: opacity 0.3s ease;
}

.trust-link:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-description {
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-title {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* Results Dashboard */
.results-dashboard {
    background: var(--bg-light);
    padding: 2rem 0 4rem;
    margin-top: 80px;
}

.results-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.results-title-section {
    flex: 1;
    min-width: 300px;
}

.results-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.results-query {
    color: var(--slate);
    font-size: 1.1rem;
    font-style: italic;
}

.results-actions {
    display: flex;
    gap: 1rem;
}

.action-button {
    background: var(--white);
    border: 2px solid rgba(15, 29, 58, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy-deep);
}

.action-button:hover {
    background: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 29, 58, 0.15);
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.summary-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 29, 58, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(15, 29, 58, 0.1);
    border-color: var(--accent-teal);
}

.card-label {
    font-size: 0.9rem;
    color: var(--slate-light);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.card-value {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 0.3rem;
}

.card-sublabel {
    font-size: 0.85rem;
    color: var(--slate-light);
}

/* Main Chart */
.results-chart {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 29, 58, 0.08);
    margin-bottom: 3rem;
}

.chart-header {
    margin-bottom: 2rem;
}

.chart-header h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.chart-subtitle {
    color: var(--slate);
    font-size: 1rem;
}

.chart-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(15, 29, 58, 0.05);
}

/* Key Findings */
.key-findings {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 29, 58, 0.08);
    margin-bottom: 2rem;
}

.key-findings h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 2rem;
}

.findings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.finding-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.finding-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.finding-content h4 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.finding-content p {
    color: var(--slate);
    line-height: 1.7;
}

/* Technical Details */
.technical-details {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(15, 29, 58, 0.08);
    overflow: hidden;
}

.details-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy-deep);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.details-toggle:hover {
    background: var(--bg-light);
}

.toggle-icon {
    color: var(--accent-teal);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.details-toggle.active .toggle-icon {
    transform: rotate(90deg);
}

.details-content {
    padding: 0 2rem 2rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.detail-section h4 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 1rem;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section li {
    color: var(--slate);
    padding: 0.5rem 0;
    line-height: 1.6;
    border-bottom: 1px solid rgba(15, 29, 58, 0.05);
}

.detail-section li:last-child {
    border-bottom: none;
}

.detail-section a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.detail-section a:hover {
    opacity: 0.7;
}

/* General Section Styles */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.subsection-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--navy-deep);
}

/* Model Library Section */
.model-library {
    background: var(--white);
}

.model-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.model-category {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 29, 58, 0.08);
    transition: all 0.3s ease;
}

.model-category:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-icon {
    font-size: 2rem;
}

.category-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy-deep);
}

.category-description {
    color: var(--slate);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.model-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.model-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-teal);
    cursor: pointer;
    transition: all 0.3s ease;
}

.model-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.15);
}

.model-name {
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 0.3rem;
}

.model-meta {
    font-size: 0.85rem;
    color: var(--slate-light);
}

.custom-model-cta {
    margin-top: 3rem;
    background: var(--navy-primary);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.custom-model-cta h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.custom-model-cta p {
    color: rgba(255, 255, 255, 0.85);
}

.cta-button-secondary {
    background: var(--white);
    color: var(--navy-primary);
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Documentation Section */
.documentation {
    background: var(--bg-light);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.docs-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 29, 58, 0.08);
}

.docs-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.docs-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--navy-deep);
}

.docs-list {
    list-style: none;
}

.docs-list li {
    margin-bottom: 0.8rem;
}

.docs-list a {
    color: var(--slate);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.docs-list a:hover {
    color: var(--accent-teal);
    padding-left: 0.5rem;
}

.video-tutorials {
    margin-top: 4rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 29, 58, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 29, 58, 0.12);
}

.video-thumbnail {
    background: linear-gradient(135deg, var(--navy-primary), var(--accent-teal));
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.video-duration {
    font-size: 0.85rem;
    color: var(--slate-light);
}

/* API Access Section */
.api-access {
    background: var(--white);
}

.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.api-feature-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 29, 58, 0.08);
}

.api-badge {
    display: inline-block;
    background: var(--accent-teal);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.api-feature-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--navy-deep);
}

.api-feature-card p {
    color: var(--slate);
    line-height: 1.6;
}

.api-endpoints {
    margin-top: 4rem;
}

.endpoint-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(15, 29, 58, 0.08);
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.http-method {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.http-method.get {
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent-teal);
}

.http-method.post {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
}

.endpoint-path {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--navy-deep);
    background: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.endpoint-description {
    color: var(--slate);
    margin-bottom: 1rem;
}

.code-example {
    background: var(--navy-deep);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.code-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.copy-btn {
    background: rgba(20, 184, 166, 0.2);
    color: var(--accent-teal);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(20, 184, 166, 0.3);
}

.code-example pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-example code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.sdk-examples {
    margin-top: 4rem;
}

.code-tabs {
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tab-button {
    background: var(--bg-light);
    border: 1px solid rgba(15, 29, 58, 0.08);
    padding: 0.8rem 1.5rem;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--slate);
}

.tab-button:hover {
    background: var(--white);
    color: var(--navy-deep);
}

.tab-button.active {
    background: var(--navy-deep);
    color: var(--white);
    border-color: var(--navy-deep);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.api-cta {
    margin-top: 4rem;
    text-align: center;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
}

.api-cta h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--navy-deep);
}

.api-cta p {
    color: var(--slate);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Pricing Section */
.pricing {
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 2px solid rgba(15, 29, 58, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(15, 29, 58, 0.15);
}

.pricing-card.featured {
    border-color: var(--accent-teal);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-teal);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(15, 29, 58, 0.08);
}

.plan-name {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy-deep);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--slate);
    margin-right: 0.2rem;
}

.price-amount {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--navy-deep);
}

.price-period {
    font-size: 1rem;
    color: var(--slate);
    margin-left: 0.3rem;
}

.plan-description {
    color: var(--slate);
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.8rem 0;
    color: var(--slate);
    border-bottom: 1px solid rgba(15, 29, 58, 0.05);
}

.plan-button {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    background: var(--bg-light);
    color: var(--navy-deep);
    border: 2px solid rgba(15, 29, 58, 0.1);
    transition: all 0.3s ease;
}

.plan-button:hover {
    background: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
}

.plan-button.primary {
    background: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
}

.plan-button.primary:hover {
    background: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 29, 58, 0.2);
}

.pricing-faq {
    margin-top: 5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 29, 58, 0.08);
}

.faq-item h4 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy-deep);
}

.faq-item p {
    color: var(--slate);
    line-height: 1.7;
}

/* ─── Product Demo Video Section ─── */
.product-demo {
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.demo-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #060611;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 29, 58, 0.25);
}

.demo-scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.demo-scene.active {
    opacity: 1;
}

.demo-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.5) 60px),
        repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.5) 60px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Start Screen */
.demo-start-screen {
    background: radial-gradient(ellipse at 50% 40%, rgba(99,102,241,0.15), transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(139,92,246,0.08), transparent 40%),
                #060611;
    opacity: 1;
}

.demo-start-label {
    font-size: 11px;
    font-family: 'DM Sans', sans-serif;
    color: rgba(167,139,250,0.8);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
    position: relative;
}

.demo-start-title {
    font-family: 'Crimson Pro', serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -1px;
    position: relative;
}

.demo-start-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 36px;
    letter-spacing: 1px;
    position: relative;
}

.demo-play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(167,139,250,0.6);
    background: rgba(99,102,241,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.demo-play-btn:hover {
    background: rgba(99,102,241,0.3);
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(99,102,241,0.4);
}

.demo-play-triangle {
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.demo-start-duration {
    margin-top: 18px;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    font-family: 'DM Sans', sans-serif;
    position: relative;
}

/* Scene Labels */
.demo-scene-label {
    font-size: 10px;
    font-family: 'DM Sans', sans-serif;
    color: rgba(167,139,250,0.7);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.demo-label-red {
    color: rgba(248,113,113,0.7);
}

.demo-scene-heading {
    font-family: 'Crimson Pro', serif;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.demo-gradient-text {
    background: linear-gradient(90deg, #a78bfa, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-gradient-text-wide {
    background: linear-gradient(90deg, #6366f1, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scene 0: Intro */
#demo-scene-0 {
    background: radial-gradient(ellipse at 50% 30%, rgba(99,102,241,0.2), transparent 60%), #060611;
}

.demo-intro-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.demo-intro-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.demo-intro-brand {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: -0.5px;
}

.demo-intro-headline {
    font-family: 'Crimson Pro', serif;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    max-width: 600px;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.demo-intro-sub {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    max-width: 420px;
    line-height: 1.6;
}

/* Scene 1: Problem */
#demo-scene-1 {
    background: radial-gradient(ellipse at 30% 60%, rgba(220,38,38,0.08), transparent 50%), #060611;
}

.demo-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 440px;
}

.demo-problem-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(248,113,113,0.12);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
}

.demo-problem-icon {
    font-size: 20px;
}

/* Scene 2: Solution */
#demo-scene-2 {
    background: radial-gradient(ellipse at 60% 40%, rgba(99,102,241,0.15), transparent 55%), #060611;
}

.demo-solution-steps {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-solution-step {
    text-align: center;
    min-width: 110px;
}

.demo-step-icon {
    font-size: 30px;
    margin-bottom: 8px;
}

.demo-step-label {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.demo-step-sub {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

/* Scene 3 & 4: Mock Window */
#demo-scene-3,
#demo-scene-4 {
    background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.1), transparent 60%), #0a0a1a;
}

.demo-mock-window {
    width: 88%;
    max-width: 540px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.1);
}

.demo-mock-titlebar {
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 6px;
}

.demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.demo-dot-red { background: #ef4444; }
.demo-dot-yellow { background: #eab308; }
.demo-dot-green { background: #22c55e; }

.demo-mock-url {
    margin-left: 10px;
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    font-family: 'DM Sans', sans-serif;
}

.demo-mock-body {
    padding: 20px 20px;
}

.demo-query-label {
    font-size: 9px;
    color: rgba(167,139,250,0.5);
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.demo-query-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 40px;
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
    font-family: 'DM Sans', sans-serif;
}

.demo-cursor {
    display: inline-block;
    width: 2px;
    height: 15px;
    background: #a78bfa;
    margin-left: 1px;
    vertical-align: text-bottom;
    animation: demoBlink 1s step-end infinite;
}

@keyframes demoBlink {
    50% { opacity: 0; }
}

.demo-run-btn-row {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.demo-run-btn {
    padding: 8px 22px;
    border-radius: 6px;
    background: rgba(99,102,241,0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.demo-run-btn.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Scene 4: Stats & Chart */
.demo-stats-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.demo-stat-card {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.06);
}

.demo-stat-label {
    font-size: 8px;
    color: rgba(255,255,255,0.35);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.demo-stat-value {
    font-size: 18px;
    font-weight: 700;
}

.demo-stat-green { color: #22c55e; }
.demo-stat-purple { color: #a78bfa; }
.demo-stat-indigo { color: #6366f1; }

.demo-chart-area {
    height: 110px;
    position: relative;
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    padding: 6px 6px 14px 20px;
}

.demo-chart-title {
    font-size: 8px;
    color: rgba(255,255,255,0.25);
    font-family: 'DM Sans', sans-serif;
    position: absolute;
    top: 6px;
    left: 8px;
}

.demo-action-btns {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    justify-content: flex-end;
}

.demo-action-btn {
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(99,102,241,0.3);
    color: rgba(167,139,250,0.8);
    font-size: 9px;
    font-family: 'DM Sans', sans-serif;
}

/* Scene 5: Features */
#demo-scene-5 {
    background: radial-gradient(ellipse at 40% 50%, rgba(99,102,241,0.12), transparent 55%), #060611;
}

.demo-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 460px;
    padding: 0 12px;
}

.demo-feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(99,102,241,0.12);
    border-radius: 10px;
    padding: 16px 14px;
    text-align: left;
}

.demo-feature-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

.demo-feature-title {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
}

.demo-feature-desc {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    line-height: 1.5;
}

/* Scene 6: Models */
#demo-scene-6 {
    background: radial-gradient(ellipse at 60% 60%, rgba(139,92,246,0.1), transparent 50%), #060611;
}

.demo-models-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 520px;
}

.demo-model-card {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.04));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 10px;
    padding: 16px 20px;
    min-width: 140px;
    text-align: center;
}

.demo-model-icon {
    font-size: 26px;
    margin-bottom: 6px;
}

.demo-model-label {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.demo-model-count {
    color: rgba(167,139,250,0.6);
    font-size: 10px;
    font-family: 'DM Sans', sans-serif;
}

/* Scene 7: CTA */
#demo-scene-7 {
    background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.2), transparent 55%),
                radial-gradient(ellipse at 70% 70%, rgba(139,92,246,0.1), transparent 40%),
                #060611;
}

.demo-cta-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 18px;
}

.demo-cta-heading {
    font-family: 'Crimson Pro', serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    max-width: 460px;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.demo-cta-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    max-width: 340px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.demo-cta-button {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 30px rgba(99,102,241,0.4);
}

.demo-cta-url {
    margin-top: 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    font-family: 'DM Sans', sans-serif;
}

/* Controls */
.demo-controls {
    background: rgba(0,0,0,0.95);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.demo-progress-bar {
    height: 3px;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    position: relative;
}

.demo-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #a78bfa);
    transition: width 0.1s linear;
}

.demo-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px;
}

.demo-controls-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-ctrl-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
    display: flex;
    align-items: center;
}

.demo-time {
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 1px;
}

.demo-scene-dots {
    display: flex;
    gap: 4px;
}

.demo-scene-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,0.15);
    transition: all 0.3s;
    padding: 0;
}

.demo-scene-dot.active {
    background: #a78bfa;
}

.demo-scene-dot.past {
    background: rgba(163,139,250,0.4);
}

/* Demo responsive */
@media (max-width: 768px) {
    .product-demo {
        padding: 0 1rem;
    }

    .demo-viewport {
        aspect-ratio: 4 / 3;
    }

    .demo-start-title {
        font-size: 32px;
    }

    .demo-intro-headline {
        font-size: 28px;
    }

    .demo-scene-heading {
        font-size: 24px !important;
    }

    .demo-problem-grid,
    .demo-features-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }

    .demo-models-row {
        gap: 8px;
    }

    .demo-model-card {
        min-width: 110px;
        padding: 12px 14px;
    }

    .demo-solution-steps {
        gap: 16px;
    }

    .demo-mock-window {
        width: 95%;
    }

    .demo-cta-heading {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .example-questions {
        grid-template-columns: 1fr;
    }

    .custom-model-cta {
        flex-direction: column;
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 29, 58, 0.8);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 29, 58, 0.3);
    animation: slideUp 0.4s ease-out;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: var(--navy-primary);
    color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    color: var(--white);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0 0.5rem;
}

.modal-close:hover {
    color: var(--accent-teal);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-description {
    color: var(--slate);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(15, 29, 58, 0.1);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-cancel,
.btn-submit {
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-cancel {
    background: var(--bg-light);
    color: var(--slate);
    border: 2px solid rgba(15, 29, 58, 0.1);
}

.btn-cancel:hover {
    background: var(--white);
    border-color: var(--slate);
}

.btn-submit {
    background: var(--navy-primary);
    color: var(--white);
    border: 2px solid var(--navy-primary);
}

.btn-submit:hover {
    background: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 29, 58, 0.2);
}

/* Variable Explorer Overlay */
.variable-explorer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: var(--white);
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease-out;
}

.variable-explorer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--navy-primary);
    color: var(--white);
    flex-shrink: 0;
}

.variable-explorer-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.variable-explorer-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0 0.5rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.variable-explorer-close:hover {
    color: var(--accent-teal);
    transform: rotate(90deg);
}

.variable-explorer-iframe {
    flex: 1;
    width: 100%;
    border: none;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% 1rem;
        max-width: 100%;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}
