/* ============================================
   Unity Landing Page - Redesigned v3
   Matching pitch deck energy + GEO optimized
   ============================================ */

/* Color Palette - From Pitch Deck */
:root {
    --navy-dark: #2E3757;
    --navy: #3B4976;
    --navy-light: #4A5A8A;
    --teal: #4FA3A5;
    --teal-light: #6BB8C9;
    --teal-bright: #5CBFC0;
    --coral: #E8734A;
    --coral-light: #F08B66;
    --cream: #F5F3EF;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-500: #6C757D;
    --gray-600: #6B7280;
    --gray-700: #495057;
    --gray-900: #212529;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html {
    background: #101720;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal);
    margin-bottom: 12px;
}

.section-label.light {
    color: var(--teal-light);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 24px;
}

.dark-title {
    color: var(--navy-dark);
}

.light-title {
    color: var(--white);
}

.highlight-gradient {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-teal {
    color: var(--teal-bright);
}

.highlight-coral {
    color: var(--coral);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* LARGER LOGO */
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy-dark);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--navy-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--navy-dark);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 55, 87, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--navy-dark);
    border: 2px solid var(--navy-dark);
}

.btn-outline:hover {
    background: var(--navy-dark);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--navy-dark);
    border: 2px solid transparent;
}

.btn-ghost:hover {
    background: rgba(46, 55, 87, 0.1);
}

.btn-cta {
    background: var(--coral);
    color: var(--white);
    font-size: 1rem;
    padding: 16px 32px;
}

.btn-cta:hover {
    background: var(--coral-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232, 115, 74, 0.4);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--navy-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section - LARGER IMAGE */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 100px 0 40px;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    overflow: hidden;
}

/* LARGER hero layout - image takes more space */
.hero-container-large {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 0 124px; /* Left padding aligns hero content with nav logo */
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--teal);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-subtitle strong {
    color: var(--navy-dark);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Browser Frame - LARGER */
.browser-frame-large {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-width: 800px;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.browser-dots span:first-child { background: #FF5F56; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:last-child { background: #27CA40; }

.browser-url {
    flex: 1;
    padding: 6px 12px;
    background: var(--white);
    border-radius: 6px;
    font-size: 0.75rem;
    font-style: italic;
    color: var(--gray-500);
    text-align: center;
}

.browser-content {
    background: transparent;
    line-height: 0;
}

.hero-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.hero-gradient {
    display: none;
}

/* Problem Section */
.problem-section {
    padding: 100px 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.problem-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
    border-radius: 16px;
    color: var(--white);
}

.problem-title {
    font-size: 1.125rem;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.problem-description {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.problem-callout {
    text-align: center;
    padding: 40px;
    background: var(--navy-dark);
    border-radius: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.callout-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
}

/* Solution Section */
.solution-section {
    padding: 100px 0;
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
}

.solution-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.solution-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.solution-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--white);
    font-size: 1rem;
}

/* Custom checkmark icon */
.feature-check {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 0;
    filter: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(600%) hue-rotate(130deg) brightness(95%) contrast(90%);
}

.solution-features li strong {
    color: var(--teal-light);
}

/* Brick wall with narrative overlay - SHOW MORE BRICKS */
.brick-wall-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.brick-wall-img {
    width: calc(100% + 280px);
    height: auto;
    display: block;
    border-radius: 16px;
    margin-left: -280px;
}

/* Reduced gradient to show more bricks */
.brick-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px 16px;
    background: linear-gradient(to top, rgba(46, 55, 87, 0.95) 0%, rgba(46, 55, 87, 0.80) 25%, transparent 38%);
}

/* LARGER BRICK TEXT */
.brick-caption {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-light);
    text-align: center;
    margin-bottom: 10px;
}

.brick-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 14px;
}

.brick-timeline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    line-height: 1.6;
}

.brick-timeline em {
    color: var(--teal-bright);
    font-style: normal;
}

/* DocuQuest Section */
.docuquest-section {
    padding: 100px 0;
    background: var(--white);
}

.dq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.dq-visual {
    line-height: 0;
}

.sources-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.dq-logo {
    margin-bottom: 24px;
}

.dq-wordmark {
    height: 56px;
    width: auto;
}

.dq-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--navy-dark);
    margin-bottom: 24px;
}

.dq-description {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.dq-examples {
    margin-top: 32px;
    padding: 24px;
    background: #3166A6;
    border-radius: 12px;
}

.dq-examples .examples-label {
    color: var(--white);
}

.dq-examples .example-query {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.examples-label {
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.example-queries {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.example-query {
    font-weight: 700;
    font-style: normal;
    color: var(--navy-dark);
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.example-query:last-child {
    border-bottom: none;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--gray-100);
}

.steps-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
}

.step-content {
    padding-top: 8px;
}

.step-title {
    font-size: 1.25rem;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.step-description {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Use Cases */
.use-cases {
    padding: 100px 0;
    background: var(--white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.use-case-card {
    padding: 40px 32px;
    background: var(--gray-100);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--white);
}

.use-case-icon.board { background: #498D9C; }
.use-case-icon.pm { background: var(--teal); }
.use-case-icon.legal { background: var(--coral); }

.use-case-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal);
    margin-bottom: 8px;
}

.use-case-title {
    font-size: 1.25rem;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.use-case-description {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 48px 0 24px;
    background: var(--gray-900);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo-text {
    color: var(--white);
    font-size: 2.5rem;
}

/* Footer logo SVG with TM */
.footer-logo {
    height: 80px;
    width: auto;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--white);
}

/* Affiliations strip */
.footer-affiliations {
    padding: 24px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
.affiliations-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}
.affiliations-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.affiliation-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.2s ease;
}
.affiliation-link:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
.affiliation-logo-img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}
.affiliation-link:hover .affiliation-logo-img {
    filter: none;
}
.affiliation-logo-round {
    border-radius: 50%;
}
.affiliation-text {
    text-align: left;
    font-size: 0.75rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.7);
}
.affiliation-text strong {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-container-large {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .hero-container-large,
    .solution-layout,
    .dq-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual-large {
        order: -1;
    }

    .browser-frame-large {
        max-width: 100%;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .brick-wall-img {
        width: 100%;
        margin-left: 0;
    }
}

/* Mobile menu open state */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--gray-200);
}

.nav-links.mobile-open .btn {
    width: 100%;
    justify-content: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hero mobile - left align and larger image */
    .hero-container-large {
        padding: 0 16px;
        text-align: left;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-badge {
        justify-content: flex-start;
    }
    
    .hero-visual {
        justify-content: center;
        padding: 0;
    }
    
    .hero-devices-img {
        max-width: 500%;
        margin-left: 0;
        margin-right: 0;
        transform: translateX(-38%);
        animation: none;
    }
    
    .hero {
        overflow: visible;
    }
    
    .hero-visual {
        overflow: visible;
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* Brick wall mobile fix - show image, move text down */
    .brick-wall-container {
        min-height: 500px;
    }
    
    .brick-wall-img {
        width: 100%;
        min-height: 500px;
        object-fit: cover;
        object-position: center;
    }
    
    .brick-overlay {
        position: relative;
        background: var(--navy-dark);
        padding: 24px 20px;
        margin-top: -1px;
    }
    
    .solution-visual {
        display: flex;
        flex-direction: column;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

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

    .callout-text {
        font-size: 1.25rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .affiliations-logos {
        gap: 32px;
    }
    .affiliation-logo-img {
        height: 40px;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .brick-timeline {
        font-size: 1rem;
    }
    
    .brick-caption {
        font-size: 1.25rem;
    }
    
    .brick-description {
        font-size: 0.9375rem;
    }
    
    .footer-logo {
        height: 40px;
    }
}

/* Nav and Footer Logo Images */
.nav-logo-img {
    height: 48px;
    width: auto;
}

.footer-logo {
    height: 40px;
    width: auto;
}

/* Hero Devices Image */
.hero-devices-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(46, 55, 87, 0.35)) drop-shadow(0 10px 20px rgba(46, 55, 87, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Adjust hero visual for device mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Push devices toward right edge */
    align-items: center;
    padding: 20px 0 20px 20px; /* Remove right padding */
}


/* Stakeholder Icons */
.stakeholder-icon {
    filter: none;
    width: 70px;
    height: 70px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Larger icons for Board, PM, Legal, Members */
.use-case-icon.board .stakeholder-icon,
.use-case-icon.legal .stakeholder-icon {
    width: 80px;
    height: 80px;
}

.use-case-icon.pm .stakeholder-icon,
.use-case-icon.members .stakeholder-icon {
    width: 90px;
    height: 90px;
}

/* Ensure vertical centering for all icons */
.use-case-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--white);
}

.stakeholder-icon {
    margin: 0;
    display: block;
}

/* Additional use-case icon backgrounds */
.use-case-icon.members { background: #3166A6; }
.use-case-icon.vendor { background: #5D6B8A; }
.use-case-icon.govt { background: #C75E3A; }

/* ================================
   Modal Styles
   ================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 55, 87, 0.8);
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
    margin: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--navy);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.modal-subtitle {
    color: var(--text-secondary);
    margin: 0 0 24px 0;
    font-size: 1rem;
}

/* ================================
   Form Styles
   ================================ */
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group input {
    padding: 12px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(17, 148, 147, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-group textarea {
    padding: 12px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white);
    resize: vertical;
    min-height: 100px;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(17, 148, 147, 0.15);
}

/* Input error state */
.form-group input.input-error,
.form-group select.input-error {
    border-color: #EF4444;
    background-color: #FEF2F2;
}

.form-group input.input-error:focus,
.form-group select.input-error:focus {
    outline: none;
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    display: block;
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 4px;
}

/* Select dropdown styling - shadcn-inspired */
.form-group select {
    width: 100%;
    padding: 10px 36px 10px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select:hover {
    border-color: #D1D5DB;
}

.form-group select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group select option {
    padding: 8px 12px;
}

.form-group select:invalid {
    color: #9CA3AF;
}

.btn-full {
    width: 100%;
    margin-top: 8px;
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 0 12px 0;
}

.form-success p {
    color: var(--text-secondary);
    margin: 0 0 8px 0;
}

.form-success .success-note {
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.form-success .success-email-note {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-bottom: 20px;
    font-style: italic;
}

.form-success a {
    color: var(--teal);
}

/* ================================
   Email Signup Styles
   ================================ */
.email-signup-container {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.email-signup-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    margin: 0 0 12px 0;
}

.email-signup-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.email-signup-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.email-signup-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.email-signup-form input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-outline-light:hover {
    background: white;
    color: var(--navy);
}

/* Email Success State */
.email-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 0.9375rem;
    padding: 12px 0;
}

.email-success .success-check {
    color: var(--teal-light);
    font-weight: bold;
}

/* Mobile Responsive for Forms */
@media (max-width: 640px) {
    .modal-content {
        padding: 24px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .email-signup-form {
        flex-direction: column;
    }
    
    .email-signup-form input,
    .btn-outline-light {
        width: 100%;
    }
}

/* ================================
   Pricing Page Styles
   ================================ */

/* Pricing Hero */
.pricing-hero {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    text-align: center;
}

.pricing-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.pricing-hero .subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 620px;
    margin: 0 auto 12px;
}

.pricing-hero .billing-note {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Pricing Cards */
.pricing-section {
    padding: 40px 0 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px 32px 36px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--teal);
    box-shadow: 0 8px 24px rgba(79, 163, 165, 0.15);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
}

.card-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.tier-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 4px;
}

.tier-audience {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-dollar {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-dark);
    align-self: flex-start;
    margin-top: 8px;
}

.price-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--navy-dark);
    line-height: 1;
}

.price-period {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 600;
}

.price-billing {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.price-custom {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1;
    padding: 12px 0;
}

/* Feature lists */
.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.feature-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list li.highlight-feature {
    font-weight: 600;
    color: var(--navy-dark);
}

.feature-list li.disabled {
    color: var(--gray-300);
}

.feature-list li.disabled svg {
    color: var(--gray-300);
}

.check-icon {
    color: var(--teal);
}

.btn-featured {
    background: var(--teal);
    color: var(--white);
}

.btn-featured:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 163, 165, 0.4);
}

.btn-full {
    display: block;
    width: 100%;
}

/* All Plans Include */
.included-section {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.included-header {
    text-align: center;
    margin-bottom: 36px;
}

.included-header h3 {
    font-size: 1.25rem;
    color: var(--navy-dark);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.included-item {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.included-item .icon-wrap {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 12px;
    color: var(--teal);
}

.included-item strong {
    display: block;
    color: var(--navy-dark);
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

/* Add-ons */
.addons-section {
    padding: 80px 0;
    background: var(--cream);
}

.addons-header {
    text-align: center;
    margin-bottom: 48px;
}

.addons-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.addons-header p {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 550px;
    margin: 0 auto;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.addon-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.addon-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 12px;
    color: var(--teal);
}

.addon-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 4px;
}

.addon-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 4px;
}

.addon-unit {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.addon-desc {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--navy-dark);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    padding: 24px 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-question {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Trial Modal Multi-Step */
.trial-modal-content {
    max-width: 560px;
}

.trial-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.progress-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    transition: all 0.3s;
}

.progress-step.active .progress-dot,
.progress-step.completed .progress-dot {
    background: var(--teal);
    color: var(--white);
}

.progress-step.completed .progress-dot {
    background: var(--teal);
}

.progress-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.3s;
}

.progress-step.active .progress-label,
.progress-step.completed .progress-label {
    color: var(--teal);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--gray-200);
    margin: 0 12px;
    margin-bottom: 22px;
    transition: background 0.3s;
}

.progress-line.filled {
    background: var(--teal);
}

.trial-step {
    animation: fadeInStep 0.3s ease;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.trial-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.btn-ghost-dark {
    background: none;
    border: none;
    color: var(--gray-600);
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-ghost-dark:hover {
    background: var(--gray-100);
    color: var(--navy-dark);
}

.trial-step .form-group input.input-error,
.trial-step .form-group select.input-error {
    border-color: #e53e3e;
}

.trial-step .error-message {
    color: #e53e3e;
    font-size: 0.75rem;
    margin-top: 4px;
    display: block;
}

/* Success state */
.trial-success {
    text-align: center;
    padding: 40px 20px;
}

.trial-success .success-icon {
    width: 64px;
    height: 64px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.trial-success h3 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.trial-success p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.trial-success .success-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 16px;
}

/* Pricing page responsive */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .pricing-card.featured {
        order: -1;
    }
    .addons-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hero Video Play Button */
.hero-video-trigger {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.hero-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
}

.hero-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(44, 62, 80, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-video-trigger:hover .hero-play-btn {
    transform: scale(1.1);
    background: rgba(13, 148, 136, 0.85);
}

.hero-play-label {
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.video-modal-close:hover {
    color: white;
}

.video-modal-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-wrapper video {
    width: 100%;
    display: block;
}

.video-modal-cta {
    text-align: center;
    margin-top: 20px;
    animation: fadeInUp 0.4s ease;
}

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

@media (max-width: 768px) {
    .hero-play-btn {
        width: 48px;
        height: 48px;
    }
    .hero-play-btn svg {
        width: 24px;
        height: 24px;
    }
    .hero-play-label {
        font-size: 11px;
    }
}

