/* ==========================================================================
   Sgen AI - Elite Premium SaaS CSS Overhaul (Stripe / Linear Inspired)
   ========================================================================== */

:root {
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);

    /* Premium Palette Variables */
    --primary: #1c8896;            /* Deep Teal */
    --primary-hover: #156d78;
    --accent: #35afbd;             /* Bright Teal Accent */
    --dark-bg: #030303;            /* Pure Dark Theme */
    --light-bg: #f8fafc;           /* Minimal Light Grey/White */
    --card-light-bg: #ffffff;
    --card-dark-bg: rgba(255, 255, 255, 0.03);
    
    /* Borders */
    --border-dark: 1px solid rgba(255, 255, 255, 0.08);
    --border-light: 1px solid rgba(15, 23, 42, 0.06);

    /* Text Colors */
    --text-dark-primary: #f8fafc;
    --text-dark-secondary: #94a3b8;
    --text-light-primary: #0f172a;
    --text-light-secondary: #475569;
    --text-tertiary: #64748b;

    /* WhatsApp & Accents */
    --whatsapp-green: #25d366;
    --whatsapp-bg: rgba(37, 211, 102, 0.06);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --navbar-height: 76px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--light-bg);
    color: var(--text-light-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.62;
    background-color: var(--light-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1440px; /* Full-width ultra-modern SaaS container scaling */
    width: 92%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Typography & Gradients (Stripe / Linear scaling)
   ========================================================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.text-gradient-green {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

h1, h2, h3, h4, .text-hero, .text-display, .text-heading {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.text-hero {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-display {
    font-size: 2.75rem;
    line-height: 1.2;
}

.text-heading {
    font-size: 2rem;
    line-height: 1.25;
}

.text-subheading {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.62;
}

.text-body {
    font-size: 1.05rem;
    line-height: 1.62;
}

.text-secondary {
    color: var(--text-light-secondary);
}

.hero .text-secondary, .final-cta .text-secondary {
    color: var(--text-dark-secondary);
}

.text-small {
    font-size: 0.875rem;
}

/* ==========================================================================
   Ambient Background Glows & Animations
   ========================================================================== */
.aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.aurora-orb {
    position: absolute;
    filter: blur(140px);
    border-radius: 50%;
    opacity: 0.25;
    animation: drift-slow 30s ease-in-out infinite alternate;
}

.aurora-orb-1 {
    top: -10%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(53,175,189,0.3) 0%, transparent 70%);
}

.aurora-orb-2 {
    top: 25%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(28,136,150,0.2) 0%, transparent 70%);
    animation: drift-mid 20s ease-in-out infinite alternate-reverse;
}

.aurora-orb-3 {
    bottom: -10%;
    left: 10%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(53,175,189,0.2) 0%, transparent 70%);
}

@keyframes drift-slow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.08); }
    100% { transform: translate(-20px, -40px) scale(0.95); }
}

@keyframes drift-mid {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(0.95); }
    100% { transform: translate(30px, -20px) scale(1.05); }
}

/* ==========================================================================
   Frosted Glassmorphic Cards
   ========================================================================== */
.glass-card {
    background: var(--card-light-bg);
    border: var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

/* ==========================================================================
   Buttons & Action Elements
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28, 136, 150, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark-primary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: var(--border-dark);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1.05rem;
}

.btn-xl {
    padding: 16px 36px;
    font-size: 1.15rem;
    border-radius: var(--radius-md);
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    border: var(--border-dark);
    margin-bottom: 24px;
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    display: inline-block;
    box-shadow: 0 0 8px var(--accent);
}

.pill-badge-green {
    color: var(--whatsapp-green);
    border-color: rgba(37, 211, 102, 0.2);
    background-color: var(--whatsapp-bg);
}

.pill-dot-green {
    background-color: var(--whatsapp-green);
    box-shadow: 0 0 8px var(--whatsapp-green);
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 8px;
}

/* Color overrides unified to keep design minimal and premium */
.tag-orange, .tag-purple, .tag-blue, .tag-green {
    color: var(--primary);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px; /* Tighter navbar height */
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(252, 253, 254, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-light);
}

.nav-hidden {
    transform: translateY(-100%);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 28px; /* Slightly tighter for tagline harmony */
    width: auto;
    object-fit: contain;
}

.logo-tagline {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45); /* Muted slate white for dark hero area */
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 10px;
    margin-left: 2px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--transition);
}

.navbar.scrolled .logo-tagline {
    color: var(--text-light-secondary); /* Darker text for light scroll area */
    border-left: 1px solid rgba(15, 23, 42, 0.1);
}

.navbar.scrolled .nav-logo {
    color: var(--text-light-primary);
}

.logo-icon {
    font-size: 1.4rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    gap: 28px;
    margin-left: auto; /* Push navigation links to the right side next to Login */
    margin-right: 32px; /* Add margin-right to separate links from Login button */
}

.nav-link {
    font-weight: 500;
    color: var(--text-light-secondary);
    font-size: 0.9rem;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language selector */
.lang-switch {
    display: flex;
    background: rgba(15, 23, 42, 0.03);
    padding: 3px;
    border-radius: var(--radius-sm);
    border: var(--border-light);
}

.lang-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: calc(var(--radius-sm) - 2px);
    border: none;
    background: transparent;
    color: var(--text-light-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Footer-specific language switch styling */
.footer-lang-switch {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.02);
    padding: 3px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 12px;
}

.footer-lang-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: calc(var(--radius-sm) - 2px);
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-lang-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-lang-btn.grayscale-lang {
    opacity: 0.3;
    cursor: not-allowed;
}

.footer-lang-btn.grayscale-lang:hover {
    color: rgba(255, 255, 255, 0.45);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 99999; /* Higher than mobile-menu (999) to allow toggling close */
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-light-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span {
    background-color: var(--text-light-primary) !important; /* Force dark state on open */
}

.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px; /* Hide to the right by its max-width */
    width: 75%;
    max-width: 280px;
    height: 100vh;
    background: var(--light-bg);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    padding: 90px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: var(--border-light);
}

@media (max-width: 360px) {
    .mobile-menu {
        right: -75%;
    }
}

.mobile-menu.open {
    right: 0 !important;
}

.mobile-link {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-light-secondary);
}

.mobile-link:hover {
    color: var(--primary);
}

.mobile-lang {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

/* ==========================================================================
   Hero Section (Luxury Dark Theme)
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-bg);
    color: #fff;
    overflow: hidden;
    border-bottom: var(--border-dark);
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#heroBgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.35; /* Perfect midpoint opacity */
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Balanced dark overlay to preserve video details while keeping high text contrast */
    background: radial-gradient(circle at center, rgba(3, 3, 3, 0.22) 0%, rgba(3, 3, 3, 0.65) 75%, rgba(3, 3, 3, 0.82) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 880px;
}

.hero-subtitle {
    margin: 20px auto 32px;
    max-width: 680px;
    color: var(--text-dark-secondary);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}

/* Hero Mockup Styling */
.hero-mockup {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    transition: transform 0.1s ease-out;
}

.mockup-glow {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    background: radial-gradient(circle, rgba(53,175,189,0.15) 0%, transparent 70%);
    filter: blur(50px);
    opacity: 0.5;
    z-index: -1;
}

.mockup-frame {
    background: #0d0d0d;
    border: var(--border-dark);
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    overflow: hidden;
}

.mockup-bar {
    background: #080808;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: var(--border-dark);
}

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

.mockup-url {
    background-color: #0d0d0d;
    color: #475569;
    padding: 3px 18px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 20px;
    flex-grow: 0.5;
    text-align: left;
    border: var(--border-dark);
}

.mockup-body-image {
    padding: 0;
    background-color: #030303;
}

.mockup-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0.95;
}

/* ==========================================================================
   Social Proof Section (Light Theme)
   ========================================================================== */
.social-proof {
    padding: 48px 0;
    background: var(--light-bg);
    border-bottom: var(--border-light);
    position: relative;
    z-index: 5;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-light-primary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background-color: rgba(15, 23, 42, 0.08);
}

/* Seamless logo track marquee */
.marquee-label {
    text-align: center;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
}

.logo-marquee {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    margin-top: 32px;
    opacity: 0.85;
    position: relative;
}

.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, #fcfdfe, rgba(252, 253, 254, 0));
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, #fcfdfe, rgba(252, 253, 254, 0));
}

.logo-track {
    display: inline-flex;
    flex-shrink: 0;
    gap: 64px;
    padding-right: 64px;
    animation: scroll-marquee 32s linear infinite;
}

.logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-logo-img {
    height: 38px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6) contrast(1.2);
    opacity: 0.65;
    transition: var(--transition);
}

.logo-item:hover .client-logo-img {
    filter: grayscale(100%) brightness(0.2) contrast(1.5);
    opacity: 1;
}

@keyframes scroll-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* ==========================================================================
   Common Section Definitions
   ========================================================================== */
.section {
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 56px;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Interactive Steps Flow (Timeline style)
   ========================================================================== */
.step-flow-section {
    background-color: #fcfdfe;
    border-bottom: var(--border-light);
    position: relative;
    z-index: 1;
}

.step-flow-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Soft Mesh Gradient: Deepened colors for visual presence (#1c8896 / #14b8a6) */
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.18) 0%, rgba(20, 184, 166, 0) 65%),
        radial-gradient(circle at 15% 80%, rgba(28, 136, 150, 0.22) 0%, rgba(28, 136, 150, 0) 70%);
    z-index: -2;
    pointer-events: none;
}

.step-flow-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Transparent SVG Grid Line pattern at 3.5% opacity */
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='rgba(15, 23, 42, 0.035)' stroke-width='1'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
}

.pipeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 760px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 3;
}

.pipeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 3;
    transition: var(--transition);
}

.pipeline-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #fff;
    border: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    transition: var(--transition);
    color: var(--text-light-secondary); /* slate color for SVG path outline */
}

.pipeline-icon svg {
    transition: var(--transition);
}

.pipeline-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}

.pipeline-sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light-secondary);
}

.pipeline-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(15, 23, 42, 0.06);
    margin: 0 12px;
    margin-top: -36px;
}

.pipeline-node.active .pipeline-icon {
    border-color: var(--primary);
    background-color: #eaf6f7;
    color: var(--primary); /* Glow active color directly on the SVG */
    transform: scale(1.08);
}

.pipeline-node.active .pipeline-label {
    color: var(--primary);
}

.pipeline-desc-container {
    max-width: 800px;
    margin: 0 auto;
}

.pipeline-desc {
    display: none;
    border-radius: var(--radius-md);
    background: #fff;
}

.pipeline-desc.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

.desc-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.1fr;
    gap: 32px;
    align-items: center;
}

.desc-text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.url-input-simulation {
    margin-top: 16px;
    background-color: var(--light-bg);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.url-text {
    font-family: monospace;
    color: var(--text-light-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.url-badge {
    background-color: rgba(37, 211, 102, 0.1);
    color: #15803d;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
}

.desc-visual-tip {
    background: var(--light-bg);
    border-left: 3px solid var(--primary);
    padding: 18px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
}

.tip-icon-svg {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--primary);
}

.audience-pill-container {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.audience-pill {
    background-color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    border: var(--border-light);
    font-size: 0.8rem;
}

.audience-pill.active {
    background-color: rgba(28, 136, 150, 0.04);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 500;
}

.launch-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(37, 211, 102, 0.08);
    color: #15803d;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    margin-top: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

/* ==========================================================================
   Bento Grid Layout (Modules Section - Light Theme)
   ========================================================================== */
.modules-section {
    background-color: var(--light-bg);
    border-bottom: var(--border-light);
}

.features-split-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 48px;
}

.feature-split-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.feature-split-row.alternate {
    grid-template-columns: 1.2fr 1fr;
}

.feature-split-row.alternate .feature-split-content {
    grid-column: 2;
}

.feature-split-row.alternate .feature-split-graphic {
    grid-column: 1;
    grid-row: 1;
}

.feature-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-split-content h3 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 16px 0 20px;
    color: var(--text-light-primary);
}

.text-body-lg {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-light-secondary);
}

.feature-bullets {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-light-secondary);
}

.feature-bullets li span {
    color: var(--primary);
    font-weight: bold;
}

.feature-split-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-lg);
    background: #fff;
    border: var(--border-light);
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    transition: var(--transition);
}

.feature-split-row:hover .feature-split-graphic {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
    border-color: rgba(28, 136, 150, 0.15);
}

.split-screenshot {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
}

.feature-split-row:hover .split-screenshot {
    transform: scale(1.015);
}

/* --- High-Fidelity Bento Graphic Mockups --- */

/* Flow Panel Mockup (Asset Intelligence Hub) */
.flow-panel-mockup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: var(--border-light);
    padding: 16px;
    border-radius: var(--radius-md);
    gap: 8px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.flow-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-bottom: 4px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.flow-step.highlight .flow-icon-wrapper {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-green);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.flow-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.flow-val {
    font-size: 0.72rem;
    color: var(--text-light-primary);
    font-weight: 500;
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flow-arrow-visual {
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

/* Visual Builder Simulator (Module 2) */
.editor-simulator-panel {
    background: #0f172a;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.editor-header {
    background: #0b0f19;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.editor-title {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 500;
}

.editor-modes {
    display: flex;
    gap: 4px;
}

.mode-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #334155;
}

.mode-dot.active {
    background: var(--accent);
}

.editor-workspace {
    display: grid;
    grid-template-columns: 80px 1fr;
    height: 140px;
}

.editor-sidebar-sim {
    background: #0b0f19;
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.sim-label {
    font-size: 0.55rem;
    color: #64748b;
    margin-bottom: 2px;
}

.sim-dropdown {
    font-size: 0.55rem;
    color: #e2e8f0;
    background: #1e293b;
    padding: 3px 6px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.sim-color-picker {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #1e293b;
    padding: 3px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.color-preview {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.color-val {
    font-size: 0.5rem;
    color: #e2e8f0;
}

.sim-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sim-toggle {
    width: 14px;
    height: 8px;
    border-radius: 100px;
    background: #334155;
    position: relative;
}

.sim-toggle.active {
    background: var(--primary);
}

.sim-toggle.active::after {
    content: '';
    position: absolute;
    right: 1px;
    top: 1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.editor-canvas-sim {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0f172a;
    position: relative;
}

.canvas-item-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.5rem;
    background: rgba(53, 175, 189, 0.1);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 100px;
}

.canvas-heading-sim {
    font-size: 0.85rem;
    font-family: var(--font-display);
    color: #fff;
    margin-bottom: 2px;
}

.canvas-para-sim {
    font-size: 0.6rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.canvas-button-sim {
    background: var(--primary);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 500;
    padding: 4px;
    border-radius: 4px;
    text-align: center;
    width: 60px;
}

/* Video Editor Mockup (Module 3) */
.video-editor-mockup {
    background: #0a0a0a;
    border: var(--border-dark);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.video-preview-window {
    background: #111;
    height: 100px;
    border-radius: 4px;
    position: relative;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay-text {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 3px;
}

.video-timeline-tracks {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-track-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.track-label {
    font-size: 0.55rem;
    color: #64748b;
    width: 32px;
}

.track-block {
    flex-grow: 1;
    height: 14px;
    border-radius: 3px;
    font-size: 0.55rem;
    padding-left: 6px;
    display: flex;
    align-items: center;
    color: #fff;
}

.video-block-item {
    background: rgba(37, 99, 235, 0.4);
    border-left: 3px solid #2563eb;
}

.audio-block-item {
    background: rgba(124, 58, 237, 0.4);
    border-left: 3px solid #7c3aed;
}

.subs-block-item {
    background: rgba(28, 136, 150, 0.4);
    border-left: 3px solid var(--primary);
}

/* CRM Integration Visual (Module 4) */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.crm-integration-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.conversion-stats-card {
    background: #f8fafc;
    border: var(--border-light);
    padding: 12px;
    border-radius: var(--radius-md);
}

.card-header-small {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.stats-mini-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.mini-stat-box {
    display: flex;
    flex-direction: column;
}

.mini-label {
    font-size: 0.55rem;
    color: var(--text-tertiary);
}

.mini-val {
    font-size: 0.85rem;
    font-weight: 600;
}

.green-text {
    color: #16a34a;
}

.chat-frame-crm {
    background: #f1f5f9;
    border: var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.chat-header-crm {
    background: #e2e8f0;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--whatsapp-green);
}

.chat-title-small {
    font-size: 0.65rem;
    font-weight: 500;
}

.chat-body-crm {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bubble-crm {
    max-width: 85%;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.bubble-crm.incoming {
    background: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.bubble-crm.outgoing {
    background: #d9fdd3;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.checkout-link-text {
    color: #0284c7;
    font-weight: 500;
}

/* ==========================================================================
   Local Accents Section (Light Theme)
   ========================================================================== */
.accents-section {
    background-color: #fff;
    border-bottom: var(--border-light);
}

.accents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.accent-card {
    border-radius: var(--radius-lg);
    background: var(--light-bg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.accent-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accent-username {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light-primary);
    margin: 0;
    line-height: 1.2;
}

.accent-badge-platform {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 2px;
}

.wa-badge {
    background: rgba(37, 211, 102, 0.08);
    color: #15803d;
}

.ig-badge {
    background: rgba(225, 48, 108, 0.08);
    color: #e1306c;
}

.xhs-badge {
    background: rgba(255, 36, 66, 0.08);
    color: #ff2442;
}

.accent-subtitle {
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: var(--text-light-secondary);
}

.micro-ui-bubble {
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

/* WhatsApp styled speech balloon */
.wa-bubble {
    background-color: #d9fdd3; /* Official WA light green */
    color: #111b21;
    border-top-left-radius: 0;
    border: 1px solid #c0e8ba;
}

.wa-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #d9fdd3 transparent transparent;
}

/* Instagram comment dialog card */
.ig-bubble {
    background-color: #fff;
    color: #262626;
    border: var(--border-light);
    border-radius: 16px;
}

/* Rednote styled post preview tag */
.xhs-bubble {
    background-color: #fff;
    color: #1a1a1a;
    border: var(--border-light);
    border-left: 3px solid #ff2442;
}

.accents-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.video-embed-card {
    padding: 12px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-md);
    border: var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    transition: var(--transition);
}

.video-embed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.video-ratio-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 177.77%; /* 9:16 Aspect Ratio for portrait YouTube Shorts */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: var(--border-light);
    background: #000;
}

.video-ratio-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive adjustment for video grid */
@media (max-width: 768px) {
    .accents-videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   Meta Ads Flow Section (Light Theme)
   ========================================================================== */
.meta-ads-section {
    background-color: var(--light-bg);
    border-bottom: var(--border-light);
    position: relative;
}

.meta-chart-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.12; /* Subtle background grid and line chart lines */
}

.ads-flow-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.ads-flow-step-card {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 24px 16px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(28, 136, 150, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 12px;
    font-size: 0.85rem;
}

.ads-flow-step-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.flow-arrow {
    font-size: 1.2rem;
    color: var(--text-tertiary);
}

.highlight-step {
    border-color: rgba(28, 136, 150, 0.2);
    background-color: rgba(28, 136, 150, 0.02);
}

.highlight-step .step-num {
    background-color: var(--primary);
    color: #fff;
}

/* ==========================================================================
   WhatsApp CRM Simulation Section (Light/Dark Split)
   ========================================================================== */
.whatsapp-chat-section {
    background-color: #fff;
    border-bottom: var(--border-light);
}

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

/* High Fidelity WhatsApp Dark Mode Mockup */
.chat-window-box.dark-whatsapp {
    background-color: #0b141a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-window-box.dark-whatsapp .chat-top-header {
    background-color: #202c33;
    color: #e9edef;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-window-box.dark-whatsapp .chat-avatar-circle {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.chat-window-box.dark-whatsapp .chat-user-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.chat-window-box.dark-whatsapp .chat-status-indicator {
    font-size: 0.7rem;
    color: #8696a0;
}

.chat-window-box.dark-whatsapp .chat-messages-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 340px;
    overflow-y: auto;
    background-image: radial-gradient(#202c33 1px, transparent 1px);
    background-size: 16px 16px;
    background-color: #0b141a;
}

.chat-window-box.dark-whatsapp .msg-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    position: relative;
}

.chat-window-box.dark-whatsapp .msg-bubble.buyer {
    background-color: #202c33;
    color: #e9edef;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.chat-window-box.dark-whatsapp .msg-bubble.seller {
    background-color: #005c4b;
    color: #e9edef;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.chat-window-box.dark-whatsapp .checkout-link {
    color: #29b6f6;
    font-weight: 500;
    text-decoration: none;
    margin-top: 4px;
    display: block;
}

.chat-window-box.dark-whatsapp .msg-time {
    color: #8696a0;
    font-size: 0.65rem;
}

.vps-info-wrapper {
    padding: 24px;
}

.badge-vps {
    background-color: rgba(28, 136, 150, 0.05);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
    border: var(--border-light);
}

.vps-info-wrapper h3 {
    font-size: 1.85rem;
    margin-bottom: 16px;
}

.vps-bullets {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bullet-item {
    display: flex;
    gap: 12px;
}

.bullet-icon {
    font-size: 1.25rem;
    line-height: 1.25;
}

/* ==========================================================================
   Pricing Section (Light Theme)
   ========================================================================== */
.pricing-section {
    background-color: var(--light-bg);
    border-bottom: var(--border-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Stretch children so CTA button is full width */
    text-align: center;
    background: #fff;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    border: var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(28, 136, 150, 0.08);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: translateY(-4px) scale(1.02);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(28, 136, 150, 0.06);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
}

.tier-label {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light-secondary);
    margin-bottom: 12px;
    text-align: center;
}

.price-box {
    margin-bottom: 20px;
    text-align: center;
}

.currency {
    font-size: 1.15rem;
    font-weight: 600;
    vertical-align: top;
    margin-right: 2px;
}

.amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
}

.period {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.original-price-strike {
    display: block;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-top: 4px;
    font-weight: 500;
}

.pricing-desc {
    margin-bottom: 24px;
    font-size: 0.9rem;
    text-align: center;
}

.pricing-features-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    text-align: left;
    flex-grow: 1; /* Pushes the button downwards */
}

.pricing-features-list li {
    font-size: 0.9rem;
    display: flex;
    gap: 8px;
    color: var(--text-light-secondary);
}

.pricing-features-list li span {
    color: var(--primary);
    font-weight: bold;
}

.pricing-cta-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
    margin-top: auto; /* Forces button to align absolutely at the bottom */
}

/* Comparison Table Styling */
.comparison-table th, 
.comparison-table td {
    padding: 14px 20px;
    font-size: 0.9rem;
    color: var(--text-light-secondary);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.comparison-table tr:hover {
    background-color: rgba(28, 136, 150, 0.01);
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-light-primary);
}

.pricing-table-container {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-md);
}

/* Lightbox Modal styles */
.pricing-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 3, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100000; /* Extremely high z-index to stay on top of navbar and all backgrounds */
    display: none; /* Controlled via JS */
    align-items: flex-start; /* Align to top to allow scroll spacing */
    justify-content: center;
    padding: 60px 20px; /* Generous vertical scroll margin */
    overflow-y: auto; /* Allow the modal wrapper itself to scroll vertically */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.pricing-modal-box {
    background: #fff;
    width: 100%;
    max-width: 960px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    padding: 40px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: var(--border-light);
    margin-bottom: 40px; /* Spacing at bottom during scroll */
}

.pricing-modal-overlay.active .pricing-modal-box {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--text-light-secondary);
    transition: var(--transition);
    line-height: 1;
    z-index: 10;
}

.modal-close-btn:hover {
    color: #ef4444;
}

/* Compare trigger buttons layout */
.compare-trigger-btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
}

.compare-trigger-btn.matrix-btn {
    background: rgba(28, 136, 150, 0.03);
    border: 1px solid rgba(28, 136, 150, 0.15);
    color: var(--primary);
}

.compare-trigger-btn.matrix-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(28, 136, 150, 0.2);
}

.compare-trigger-btn.savings-btn {
    background: rgba(124, 58, 237, 0.03);
    border: 1px solid rgba(124, 58, 237, 0.15);
    color: #7c3aed;
}

.compare-trigger-btn.savings-btn:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.2);
}

/* High-end SaaS Gradient Flow & Soft Glow redone */
.final-cta .text-hero {
    color: #f8fafc; /* Clear silver-white contrast for the first tagline line */
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.neon-glow-text {
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8 0%, #34d399 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 4px 20px rgba(52, 211, 153, 0.25));
    animation: luxuryGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes luxuryGlowPulse {
    0% {
        filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.15)) 
                drop-shadow(0 4px 25px rgba(99, 102, 241, 0.15));
    }
    100% {
        filter: drop-shadow(0 4px 20px rgba(52, 211, 153, 0.35)) 
                drop-shadow(0 8px 45px rgba(56, 189, 248, 0.3));
    }
}

/* ==========================================================================
   Final Call To Action Section (Luxury Dark Theme)
   ========================================================================== */
.final-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
    background-color: var(--dark-bg);
    border-bottom: var(--border-dark);
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Footer (Dark Theme)
   ========================================================================== */
.footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 64px 0 28px;
    position: relative;
    z-index: 3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 12px;
    color: var(--text-dark-secondary);
}

/* Footer social links spacing & aesthetic icons style */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    align-items: center;
}

.social-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
}

.social-icon-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.social-icon-btn.active-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.4);
    transform: translateY(-2px) scale(1.08);
}

.social-icon-btn.grayscale-channel {
    opacity: 0.35;
    cursor: not-allowed;
}

.social-icon-btn.grayscale-channel:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    transform: none;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-dark-secondary);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-bottom {
    border-top: var(--border-dark);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-dark-secondary);
    font-size: 0.8rem;
}

/* ==========================================================================
   Media Queries & Mobile Responsive Scaling
   ========================================================================== */
@media (max-width: 1024px) {
    .text-hero { font-size: 2.75rem; }
    .text-display { font-size: 2.15rem; }
    
    .feature-split-row,
    .feature-split-row.alternate {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .feature-split-row.alternate .feature-split-content {
        grid-column: 1;
    }
    
    .feature-split-row.alternate .feature-split-graphic {
        grid-column: 1;
        grid-row: auto;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-2px);
    }
    
    .whatsapp-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .accents-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .navbar {
        background: transparent;
        border-bottom: 1px solid transparent;
        transition: all 0.3s ease;
    }
    
    .navbar.scrolled {
        background: rgba(252, 253, 254, 0.92);
        border-bottom: var(--border-light);
    }
    
    .nav-links, .nav-actions {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger span {
        background-color: #fff; /* Start white to match dark hero on mobile */
        transition: background-color 0.3s ease;
    }
    
    .navbar.scrolled .hamburger span {
        background-color: var(--text-light-primary); /* Slate color on scroll */
    }
    
    /* Step pipeline url-simulation responsive wrappings */
    .url-input-simulation {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        text-align: center;
    }
    
    .url-text {
        white-space: normal;
        word-break: break-word;
        text-overflow: clip;
    }
    
    .url-badge {
        align-self: center;
    }
    
    .stats-row {
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        width: 45%;
    }
    
    .pipeline-track {
        flex-direction: column;
        gap: 18px;
    }
    
    .pipeline-line {
        width: 1px;
        height: 24px;
        margin: 0;
        margin-top: 0;
    }
    
    .desc-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .accents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ads-flow-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        align-self: center;
        margin: 4px 0;
    }
    
    .credits-grid-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
