:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --accent: #14b8a6;
    --accent-hover: #0d9488;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    background: #0a1628;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0a1628, #0f2027 70%, #0b3d2e);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Premium Background Orbs */
.bg-orbs-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.55;
}

.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: rgba(20, 184, 166, 0.12); }
.orb-2 { top: 40%; right: -10%; width: 40vw; height: 40vw; background: rgba(59, 130, 246, 0.10); }
.orb-3 { bottom: -20%; left: 20%; width: 60vw; height: 60vw; background: rgba(20, 184, 166, 0.08); }

/* Navbar */
.landing-nav {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border: none;
    padding: 0 24px;
    box-sizing: border-box;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.75), rgba(15, 32, 39, 0.85));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-text .accent {
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn {
    display: inline-block;
    padding: 0 24px;
    height: 46px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-login {
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--accent);
    border: 1px solid rgba(20, 184, 166, 0.2);
    height: 38px;
    border-radius: 50px;
    padding: 0 20px;
}

.btn-login:hover {
    background-color: rgba(20, 184, 166, 0.2);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Mobile Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 16px;
    right: -120%;
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    height: calc(100vh - 32px);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 32, 39, 0.98));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 16px;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.mobile-menu-close:hover,
.mobile-menu-close:active,
.mobile-menu-close:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-content {
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 0 0 auto;
}

.mobile-nav-content > a {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.mobile-nav-content > a:hover, 
.mobile-nav-content > a:active, 
.mobile-nav-content > a:focus {
    background: rgba(255, 255, 255, 0.07);
    color: var(--accent);
}

.mobile-nav-footer {
    margin-top: 16px;
    padding-top: 16px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Dropdown Styles */
.landing-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.landing-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.75), rgba(15, 32, 39, 0.85));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 16px;
    padding: 8px;
    display: none !important;
    flex-direction: column;
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.landing-dropdown:hover .landing-dropdown-menu {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}
.landing-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;
}
.nav-links .landing-dropdown-menu a {
    color: var(--text-main);
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
    margin-bottom: 2px;
}
.nav-links .landing-dropdown-menu a:last-child {
    margin-bottom: 0;
}
.nav-links .landing-dropdown-menu a:hover {
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent);
    transform: translateX(4px);
}
.nav-dropdown-btn {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.mobile-dropdown { width: 100%; display: flex; flex-direction: column; }
.mobile-dropdown-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 16px 6px;
}
.mobile-dropdown-menu { 
    display: flex; 
    flex-direction: column; 
    gap: 2px; 
    padding: 0;
}
.mobile-dropdown-menu a { 
    color: var(--text-main); 
    text-decoration: none; 
    padding: 10px 16px 10px 24px; 
    border-radius: 10px; 
    font-weight: 500; 
    font-size: 1.05rem; 
    transition: all 0.2s ease; 
    display: block;
    position: relative;
}
.mobile-dropdown-menu a::after {
    content: '›';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: transform 0.2s ease, color 0.2s ease;
    opacity: 0.6;
}
.mobile-dropdown-menu a:hover,
.mobile-dropdown-menu a:active,
.mobile-dropdown-menu a:focus { color: var(--accent); background: rgba(255, 255, 255, 0.07); }
.mobile-dropdown-menu a:hover::after,
.mobile-dropdown-menu a:active::after,
.mobile-dropdown-menu a:focus::after {
    transform: translateY(-50%) translateX(3px);
    color: var(--accent);
    opacity: 1;
}
section {
    padding: 0;
    scroll-margin-top: 120px;
}

/* Group A: Hero & Stats */
.hero-section {
    padding-top: 200px;
    padding-bottom: 100px;
}

.stats-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Group B: Trust & Features */
.partners-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(to bottom, transparent, rgba(20, 184, 166, 0.02) 25%);
}

.features-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(to bottom, rgba(20, 184, 166, 0.02) 75%, transparent);
}

/* Group C: How It Works */
.how-it-works-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.015) 15%, rgba(255, 255, 255, 0.015) 85%, transparent 100%);
}

/* Group D: Preview & Pricing */
.screenshots-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.02) 25%);
}

.pricing-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.02) 75%, transparent);
}

/* Group E: FAQ & Closing */
.faq-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2) 25%);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
}

.section-title.title-no-subtitle {
    margin-bottom: 64px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 64px auto;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), inset 0 0 40px rgba(255, 255, 255, 0.02);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 32px;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 48px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    perspective: 1000px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-mockup {
    width: 100%;
    max-width: 560px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 80px rgba(20, 184, 166, 0.15);
    transform: rotateY(-8deg) rotateX(4deg) scale(0.95);
    transform-origin: right center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
}
.hero-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

@media (max-width: 992px) {
    .hero-section {
        padding-top: 160px;
        padding-bottom: 80px;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        justify-content: center;
    }
    .hero-mockup {
        transform-origin: center center;
        max-width: 100%;
    }
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    .hero {
        gap: 40px;
    }
    .hero-content h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
        line-height: 1.2;
        margin-bottom: 20px;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    .hero-glass-card {
        padding: 24px 20px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    .hero-buttons .btn {
        width: 100%;
        flex: 0 0 46px;
        height: 46px;
        min-height: 46px;
        max-height: 46px;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
        justify-content: center;
    }
    .hero-mockup {
        transform: none;
        margin-top: 16px;
    }
    .hero-mockup:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: clamp(1.8rem, 10vw, 2.2rem);
    }
    .nav-container {
        padding: 0 16px;
    }
    .demo-modal-overlay {
        padding: 16px;
    }
    .demo-modal-content {
        padding: 24px 20px;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
    }
    .demo-modal-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .demo-modal-actions .btn,
    .demo-modal-actions .demo-submit-btn {
        width: 100%;
    }
}

@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
}

/* --- Mobile UX Polish --- */

/* WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .stats-section, .partners-section, .testimonials-section, .features-section, .how-it-works-section, .screenshots-section, .pricing-section, .faq-section, .cta-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    footer {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    .section-eyebrow.eyebrow-only, .section-title.title-no-subtitle {
        margin-bottom: 32px;
    }

    /* CTA Buttons Mobile Polish */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .cta-buttons .btn {
        width: 100%;
        margin: 0;
        justify-content: center;
        flex: 0 0 46px;
        height: 46px;
        min-height: 46px;
        max-height: 46px;
    }

    /* Navbar alignment with Portal style */
    .landing-nav {
        padding: 0 16px;
    }
    .nav-container {
        padding: 8px 16px;
        height: auto;
        border-radius: 50px;
    }
    .brand img {
        width: 42px;
        height: 42px;
    }
    .brand-text {
        font-size: 1.15rem;
    }
    .mobile-menu-btn {
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 0;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
    .mobile-menu-btn span {
        width: 18px;
        height: 2px;
        background-color: var(--text-main);
    }
    
    /* WhatsApp Button Mobile */
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .floating-whatsapp svg {
        width: 26px;
        height: 26px;
    }
}

/* Section Eyebrow */
.section-eyebrow {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 12px;
    text-align: center;
}

.section-eyebrow.eyebrow-only {
    margin-bottom: 64px;
}

/* Marquee Styles */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin-top: 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-container::before, .marquee-container::after {
    content: "";
    position: absolute;
    top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none;
}

.marquee-content {
    display: inline-flex;
    gap: 24px;
    padding-left: 24px;
    animation: marquee 40s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Dynamic Content Grids */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.screenshots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; align-items: stretch; margin-bottom: 48px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }

/* Premium Glass Cards Base */
.feature-card, .step-card, .screenshot-card, .pricing-card, .faq-item, .partner-card, .stat-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.feature-card::before, .pricing-card::before, .partner-card::before, .stat-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}
.feature-card > *, .pricing-card > *, .partner-card > *, .stat-item > * { position: relative; z-index: 1; }

.pricing-card { padding: 32px; text-align: center; display: flex; flex-direction: column; box-sizing: border-box; }
.pricing-card:hover, .feature-card:hover, .partner-card:hover, .stat-item:hover, .step-card:hover { 
    transform: translateY(-6px); 
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.15);
}

.pricing-card p { color: var(--text-muted); }

.pricing-limits { margin: 16px 0; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: left; }
.pricing-limits p { margin: 12px 0; color: var(--text-muted); font-size: 0.95rem; display: flex; justify-content: space-between; align-items: center; }
.pricing-limits strong { color: #f8fafc; font-weight: 700; font-size: 1.1rem; }
.pricing-features { list-style: none; padding: 0; margin: 16px 0 0 0; text-align: left; flex: 1; display: flex; flex-direction: column; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.pricing-features li .check { color: var(--accent); font-weight: bold; }

.feature-card { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; transition: transform 0.3s, border-color 0.3s; text-align: left; }
.feature-card:hover { border-color: var(--accent); }
.feature-icon { width: 48px; height: 48px; background: rgba(20, 184, 166, 0.1); color: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.feature-card h4 { margin: 0; font-family: var(--font-heading); font-size: 1.1rem; }
.feature-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.steps-container { display: flex; flex-direction: column; gap: 24px; max-width: 800px; margin: 0 auto; }
.step-card { display: flex; align-items: center; gap: 24px; padding: 24px 32px; }
.step-number { width: 40px; height: 40px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; flex-shrink: 0; }
.step-card h4 { margin: 0; font-family: var(--font-heading); font-size: 1.25rem; }

/* Screenshot Browser Containers */
.screenshot-card { background: transparent; transition: transform 0.3s; display: flex; flex-direction: column; }
.screenshot-card:hover { transform: translateY(-5px); }
.screenshot-card h3, .screenshot-card h4 { margin: 0; padding: 20px 16px; text-align: center; font-family: var(--font-heading); display: flex; align-items: center; justify-content: center; flex: 1; }
.screenshot-browser {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   TESTIMONIAL CAROUSEL STYLES
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(20, 184, 166, 0.02) 0%, transparent 100%);
}
.testimonial-carousel-wrapper {
    position: relative;
    margin-top: 40px;
}
.testimonial-carousel {
    overflow: hidden;
    width: 100%;
    padding: 10px 0; /* Extra padding for box-shadows */
}
.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    align-items: stretch;
}
.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: auto;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
}
.testimonial-quote {
    color: var(--slate-300, #cbd5e1);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    font-style: italic;
}
.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}
.testimonial-avatar-fallback {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-400, #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}
.testimonial-meta {
    display: flex;
    flex-direction: column;
}
.testimonial-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}
.testimonial-designation {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.85;
    margin: 2px 0 6px 0;
}
.testimonial-school {
    color: var(--emerald-400, #34d399);
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.testimonial-school-logo {
    height: 16px;
    width: auto;
    border-radius: 2px;
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.carousel-nav:hover:not(:disabled) {
    background: var(--emerald-500, #10b981);
    border-color: var(--emerald-400, #34d399);
}
.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.prev-nav { left: -22px; }
.next-nav { right: -22px; }

.testimonial-featured-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-400, #34d399);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 16px;
    width: fit-content;
}

@media (max-width: 1024px) {
    .testimonial-card { flex: 0 0 calc(50% - 12px); padding: 24px; }
    .prev-nav { left: -10px; }
    .next-nav { right: -10px; }
}
@media (max-width: 640px) {
    .testimonial-card { flex: 0 0 100%; padding: 20px; }
    .testimonial-track { gap: 0; }
    .prev-nav, .next-nav { display: none !important; }
}
.browser-header {
    background: #1e293b;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.browser-header .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.screenshot-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #0a1628;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-bottom: 12px;
}

.pricing-card h3 { margin-top: 0; color: var(--accent); font-family: var(--font-heading); }
.pricing-card .price { font-size: 2rem; font-weight: 700; margin: 16px 0; }
.price-breakdown {
    text-align: center;
    margin-top: -12px;
    margin-bottom: 16px;
}
.price-monthly {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}
.price-per-student {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin: 4px 0 0 0;
    opacity: 0.9;
}
.pricing-card.popular {
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.15);
    transform: scale(1.05);
    z-index: 2;
}
.pricing-card.popular:hover { transform: scale(1.05) translateY(-5px); }
.popular-badge {
    position: absolute;
    top: 0; right: 0;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-bottom-left-radius: 12px;
}

/* Stats & Partners */
.stat-item { padding: 20px 16px; text-align: center; }
.stat-item h4 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--accent); margin: 0 0 4px 0; text-shadow: 0 0 15px rgba(20, 184, 166, 0.3); }
.stat-item p { margin: 0; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }
.partner-card { min-width: min(100%, 250px); padding: 24px 32px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 16px; white-space: nowrap; }
.partner-logo-placeholder { width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.partner-card h3 { margin: 0; color: rgba(255,255,255,0.8); font-family: var(--font-heading); }

.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 16px; overflow: hidden; }
.faq-question { padding: 20px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-answer { padding: 0 20px 20px; color: var(--text-muted); display: none; }
.faq-item.active .faq-answer { display: block; }

.cta-section { background: rgba(0, 0, 0, 0.2); text-align: center; padding-top: 80px; padding-bottom: 100px; border-top: none; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; margin-top: 48px; }

footer { background: rgba(0, 0, 0, 0.2); padding-top: 80px; padding-bottom: 60px; border-top: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; width: 100%; margin: 0 auto 60px auto; }
.footer-brand-col h2 { font-family: var(--font-heading); margin: 0 0 16px 0; font-size: 1.8rem; letter-spacing: -0.5px; color: white; font-weight: 800; }
.footer-brand-col .accent { color: var(--accent); }
.footer-brand-col p { color: var(--text-muted); margin: 0; max-width: 320px; font-size: 0.95rem; line-height: 1.6; }
.footer-column h4 { font-family: var(--font-heading); font-size: 0.95rem; letter-spacing: 0.5px; text-transform: uppercase; margin: 0 0 24px 0; color: #f8fafc; font-weight: 700; }
.footer-column a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 14px; transition: color 0.3s; font-size: 0.95rem; font-weight: 400; }
.footer-column a:hover { color: var(--accent); }
.footer-column a.contact-link { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.footer-column a.whatsapp-link { color: #25D366; transition: all 0.3s; }
.footer-column a.whatsapp-link:hover { color: #25D366; text-shadow: 0 0 12px rgba(37, 211, 102, 0.5); }
.footer-bottom { text-align: center; color: var(--text-muted); padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-bottom a { color: inherit; text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand-col { grid-column: 1 / -1; margin-bottom: 16px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Demo Modal Styles */
.demo-modal-overlay {
    position: fixed; inset: 0; background: rgba(2, 6, 23, 0.85); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); z-index: 9999; display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease; padding: 24px; box-sizing: border-box;
}
.demo-modal-overlay.active { display: flex; opacity: 1; }
.demo-modal-content {
    background: rgba(15, 23, 42, 0.95); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px;
    padding: 32px; width: 100%; max-width: 600px; transform: scale(0.95); transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 60px rgba(20, 184, 166, 0.1); position: relative; text-align: left;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.demo-modal-overlay.active .demo-modal-content { transform: scale(1); }
.demo-modal-close { position: absolute; top: 16px; right: 20px; font-size: 1.5rem; color: var(--text-muted); cursor: pointer; border: none; background: none; transition: color 0.3s; }
.demo-modal-close:hover { color: #fff; }
.demo-modal-content h3 { margin: 0 0 8px 0; font-family: var(--font-heading); font-size: 1.5rem; color: #fff; }
.demo-modal-content p { margin: 0 0 24px 0; color: var(--text-muted); font-size: 0.95rem; }
.demo-form-group { margin-bottom: 16px; }
.demo-form-group label { display: block; margin-bottom: 6px; font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.demo-form-group input, .demo-form-group select, .demo-form-group textarea {
    width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2); color: #fff; font-family: var(--font-body); font-size: 0.95rem; outline: none; box-sizing: border-box; transition: border-color 0.3s;
}
.demo-form-group textarea { min-height: 100px; resize: vertical; }
.demo-form-group input:focus, .demo-form-group select:focus, .demo-form-group textarea:focus { border-color: var(--accent); }
.demo-submit-btn {
    width: 100%; background: var(--accent); color: #fff; border: none; padding: 14px; border-radius: 8px;
    font-weight: 600; font-size: 1rem; margin-top: 8px; cursor: pointer; transition: all 0.3s; font-family: var(--font-body);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
}
.demo-submit-btn:hover { background: var(--accent-hover); box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2); transform: translateY(-1px); }
.demo-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }

.demo-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
    justify-content: flex-end;
}
.demo-modal-actions .btn,
.demo-modal-actions .demo-submit-btn {
    flex: none;
    width: auto;
    margin: 0;
    justify-content: center;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    white-space: nowrap;
    padding: 0 24px;
}

h2.section-eyebrow,
.stats-grid h3,
.screenshot-card-content h3,
.feature-card h3,
.step-card h3,
h3.faq-question {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}