        :root {
            --primary: #a855f7;
            --primary-dark: #8b3cce;
            --text-dark: #111827;
            --text-light: #6b7280;
            --bg-color: #fcfcfc;
    --card-bg: linear-gradient(135deg, #f4f1fe 0%, #e9e4fc 100%);
    --border-color: #e5e7eb;
    --inactive-bg: #f9fafb;
    --active-green: #10b981;
    --border-light: #e5e7eb;
    --ai-purple: #a855f7;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Plus Jakarta Sans', sans-serif;
            scroll-behavior: smooth;
        }

        html {
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-dark);
            overflow-x: hidden;
            position: relative;
            width: 100%;
            max-width: 100%;
        }
::selection {
  background: #bc93f5;
  color: white;
}

::-moz-selection {
  background: #bc93f5;
  color: white;
}
        /* Ethereal Background Blobs */
        .bg-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(120px);
            z-index: -1;
            opacity: 0.4;
            max-width: 100vw;
            pointer-events: none;

        }
        .blob-1 { width: 600px; height: 600px; background: #a855f7; top: -10%; left: -10%; }
        .blob-2 { width: 800px; height: 800px; background: #a855f7; top: 20%; right: -20%; }
        .blob-3 { width: 500px; height: 500px; background: #a855f7; top: 75%; left: 20%; }

        /* Floating Navigation Bar (Pill Shape) */
        nav {
            position: fixed;
            top: 0.8rem;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 3rem);
            max-width: 1100px;
            padding: 0.7rem 1.2rem;
            border-radius: 9999px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            border: 1px solid rgba(168, 85, 247, 0.15);
            z-index: 100; /* Stays above the mobile overlay */
            transition: background 0.3s, border 0.3s, box-shadow 0.3s;
        }

        nav.menu-open {
            background: transparent;
            border-color: transparent;
            box-shadow: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }

        .logo {
            font-size: 1.4rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-dark);
            text-decoration: none;
            padding-left: 0.5rem;
            z-index: 101;
        }

        .logo span {
            color: var(--primary);
            font-size: 1.8rem;
        }

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

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.2s;
        }

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

        .nav-cta {
            background-color: var(--primary);
            color: white;
            padding: 0.7rem 1.5rem;
            border-radius: 9999px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: background 0.2s, transform 0.2s;
        }

        .nav-cta:hover {
            background-color: var(--primary-dark);
            transform: translateY(-1px);
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 101;
        }

        .hamburger svg { width: 28px; height: 28px; fill: var(--text-dark); transition: fill 0.3s; }

        /* Full Screen Mobile Menu Overlay */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 2.5rem;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 98;
        }

        .mobile-menu.active {
            opacity: 1;
            pointer-events: all;
        }

        .mobile-menu a {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-dark);
            text-decoration: none;
            text-align: center;
            transition: color 0.2s, transform 0.2s;
            transform: translateY(20px);
            opacity: 0;
        }

        .mobile-menu.active a {
            transform: translateY(0);
            opacity: 1;
        }

        /* Staggered animation for menu items */
        .mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
        .mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
        .mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
        .mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }

        .mobile-menu .nav-cta {
            font-size: 1.2rem;
            padding: 1rem 2.5rem;
            margin-top: 1rem;
            font-weight: 700;
        }

        /* Hero Section */
        .hero {
            padding: 180px 2rem 80px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            overflow: hidden;
        }

        .hero h1 {
            font-size: 2.7rem;
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.03em;
            margin-bottom: 1.5rem;
            color: var(--text-dark);
        }

        .hero h1 svg {
            vertical-align: middle;
            margin: 0 0.2rem;
            width: 48px;
            height: 48px;
            background: var(--primary);
            border-radius: 12px;
            padding: 8px;
            fill: white;
            display: inline-block;
        }

        .hero p {
            font-size: 1.07rem;
            color: var(--text-light);
            max-width: 500px;
            margin-bottom: 2rem;
            line-height: 1.5;
        }

        /* Waitlist Input - Fully Responsive Row */
        .waitlist-form {
            display: flex;
            flex-direction: row;
            align-items: center;
            background: white;
            padding: 0.4rem;
            border-radius: 9999px;
            box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
            border: 1px solid rgba(168, 85, 247, 0.1);
            width: 100%;
            max-width: 480px;
            margin-bottom: 1.5rem;
        }

        .waitlist-form input {
            border: none;
            outline: none;
            padding: 0.8rem 1.5rem;
            border-radius: 9999px;
            flex-grow: 1;
            min-width: 0; 
            font-size: 1rem;
            color: var(--text-dark);
            background: transparent;
        }

        .waitlist-form input::placeholder { color: #9ca3af; }

        .waitlist-form button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.8rem 1.8rem;
            border-radius: 9999px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            flex-shrink: 0;
            transition: background 0.2s;
        }

        .waitlist-form button:hover { background: var(--primary-dark); }

        .sub-link {
            color: var(--text-light);
            text-decoration: none;
            font-size: 0.95rem;
            border-bottom: 1px solid var(--text-light);
            padding-bottom: 2px;
            font-style: italic;
            transition: color 0.2s;
        }

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

        /* Factory Animation Section */
        .animation-container {
            position: relative;
            width: 100%;
            height: 400px;
            margin-top: 2rem;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: 100vw;
        }

        .track {
            position: absolute;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(168,85,247,0.3), transparent);
            z-index: 1;
        }
        .track-1 { top: 25%; }
        .track-2 { top: 45%; }
        .track-3 { top: 65%; }
        .track-4 { top: 85%; }

        .vertical-bar {
            position: absolute;
            width: 110px;
            height: 380px;
            background: linear-gradient(180deg, 
                rgba(168,85,247,0) 0%, 
                rgba(168,85,247,1) 40%, 
                rgba(168,85,247,1) 60%, 
                rgba(168,85,247,1) 80%
            );
            border-radius: 55px;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .vertical-bar-core {
            width: 65px;
            height: 65px;
            background: white;
            border-radius: 50%;
            box-shadow: inset 0 4px 10px rgba(0,0,0,0.1);
            position: relative;
        }

        .vertical-bar-core::after {
            content: '';
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            width: 32px;
            height: 32px;
            background: var(--primary);
            border-radius: 50%;
            opacity: 0.3;
        }

        .badge-wrapper {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 5; 
            animation: slideRight linear infinite;
        }

        .badge {
            position: absolute;
            background: white;
            padding: 0.6rem 1.2rem;
            border-radius: 9999px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            font-size: 0.85rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            white-space: nowrap;
        }

        .badge-icon {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.6rem;
            font-weight: bold;
        }

        .bg-red { background: #ef4444; }
        .bg-green { background: #10b981; }
        .bg-purple { background: var(--primary); }
        .bg-gray { background: #6b7280; }

        .badge.negative { animation: hideAtCenter linear infinite; }
        .badge.positive { opacity: 0; animation: showAtCenter linear infinite; }

        @keyframes slideRight {
            0% { left: -15%; }
            100% { left: 115%; }
        }

        @keyframes hideAtCenter {
            0%, 48% { opacity: 1; }
            49%, 100% { opacity: 0; }
        }

        @keyframes showAtCenter {
            0%, 49% { opacity: 0; }
            50%, 100% { opacity: 1; }
        }

        .b1 { top: 25%; --duration: 26s; --delay: 0s; }
        .b2 { top: 45%; --duration: 32s; --delay: -8s; }
        .b3 { top: 65%; --duration: 24s; --delay: -15s; }
        .b4 { top: 85%; --duration: 28s; --delay: -5s; }

        .badge-wrapper, .badge.negative, .badge.positive {
            animation-duration: var(--duration);
            animation-delay: var(--delay);
        }

        .info-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem 8rem;
        }

        .info-section h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-dark); }
        .info-section p { font-size: 1.1rem; color: var(--text-light); max-width: 400px; line-height: 1.6; }

        /* Responsive Breakpoints */
        @media (max-width: 992px) {
            .hero h1 { font-size: 2.4rem; }
        }

        @media (max-width: 768px) {
            .nav-links, .nav-cta.desktop-only { display: none; }
            .hamburger { display: block; }
            
            nav { width: calc(100% - 2rem); }
            .hero { padding-top: 150px; }
            .hero h1 { font-size: 2.4rem; }
            .hero p { font-size: 0.85rem; }
            .info-section h2 { font-size: 2rem; }
        }

        /* Smaller Devices Waitlist Adjustment */
        @media (max-width: 480px) {
            .hero h1 { font-size: 2.4rem; }
            
            /* Shrink everything proportionally so button fits inside the row */
            .waitlist-form {
                padding: 0.25rem;
            }
            .waitlist-form input {
                padding: 0.6rem 1rem;
                font-size: 0.85rem;
            }
            .waitlist-form button {
                padding: 0.6rem 1.2rem;
                font-size: 0.85rem;
            }
        }
.bento-section {
    padding: 6rem 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Plus Jakarta Sans', sans-serif; /* Ensure font is applied */
    /* Faint Grid Background */
    background-image: linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px), 
                      linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
}

.bento-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 3.5rem;
    max-width: 500px;
    color: var(--text-dark);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 1.5rem;
}

.bento-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}

.bento-card:hover {
    transform: translateY(-3px);
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.1);
    margin-bottom: 2rem;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-content {
    margin-top: auto; 
    position: relative;
    z-index: 2;
}

.bento-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.8rem;
}

.bento-card p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

/* Span Controls for 4-column Grid */
.box-1 { grid-column: span 2; }
.box-2 { grid-column: span 1; }
.box-3 { grid-column: span 1; padding: 0; align-items: center; justify-content: center; } 
.box-4 { grid-column: span 1; padding: 0; align-items: center; justify-content: center; } 
.box-5 { grid-column: span 1; }
.box-6 { grid-column: span 2; }

/* Custom CSS Abstract Shapes for Box 3 & 4 */
.shape-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Box 3 Shapes */
.glass-sq-1 {
    width: 110px; height: 110px;
    background: linear-gradient(135deg, #d8b4fe 0%, #a855f7 100%);
    border-radius: 28px;
    position: absolute;
    transform: rotate(-10deg) translate(-15px, 15px);
    opacity: 0.8;
}
.glass-sq-2 {
    width: 110px; height: 110px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    position: absolute;
    transform: rotate(5deg) translate(15px, -15px);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}
.glass-sq-2 svg { width: 35px; height: 35px; stroke: white; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Box 4 Shapes */
.shape-triangle {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    position: absolute;
    top: 25%; left: 15%;
    transform: rotate(-25deg);
    border-radius: 10px;
}
.shape-circle {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 40%; left: 35%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 2;
}
.shape-pill {
    width: 35px; height: 70px;
    border-radius: 20px;
    background: #a855f7;
    position: absolute;
    bottom: 20%; right: 25%;
    transform: rotate(45deg);
    opacity: 0.6;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
    .box-1, .box-6 { grid-column: span 2; }
    .box-2, .box-3, .box-4, .box-5 { grid-column: span 1; }
}

@media (max-width: 768px) {
    .bento-section { padding: 4rem 1.5rem; }
    .bento-section h2 { font-size: 2.2rem; margin-bottom: 2.5rem; }
    
    /* 1 column on mobile */
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card { grid-column: span 1 !important; min-height: 260px; }
    
    /* Hides abstract shape boxes on mobile */
    .box-3, .box-4 { display: none !important; }
}        
/*--------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------*/
.comparison-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
}



.comparison-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 3.5rem;
    max-width: 500px;
    color: var(--text-dark);
}

/* Sticky Headers */
.timeline-headers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: -webkit-sticky;
    position: sticky;
    top: 80px; /* Adjust based on your navbar height */
    z-index: 10;
    background: var(--bg-color);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

@media (min-width: 901px) {
    html,
    body {
        overflow-x: clip;
    }

    .timeline-headers {
        display: grid;
        position: -webkit-sticky;
        position: sticky;
        top: 80px;
    }

    .mobile-sticky-header {
        display: none !important;
    }
}

.header-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
    position: relative;
    margin-top: 20px;
}

.ai-header {
    background: rgba(168, 85, 247, 0.05);
    border-color: rgba(168, 85, 247, 0.2);
}

.header-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.day-counter {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.counter-number {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* AI counter turns primary color, Manual turns dark */
.ai-header.finished .counter-number { color: var(--primary); }
.manual-header.finished .counter-number { color: var(--text-dark); }
.manual-header.finished::after {
    content: "Finally Done";
    font-size: 0.8rem;
    font-weight: 700;
    position: absolute;
    right: 7.5rem; /* Leaves enough room for the day counter to stay visible */
    background: var(--text-dark);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
}

.counter-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.done-badge {
    position: absolute;
    right: 7.5rem;    
    background: #fbbf24; /* Yellow badge like video */
    color: #451a03;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s, transform 0.3s;
}

.done-badge.show {
    opacity: 1;
    transform: scale(1);
}

/* Timeline Grid */
.timeline-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.timeline-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

/* The vertical connecting line */
.timeline-column::before {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 2rem; /* Aligns with icons */
    width: 2px;
    background: var(--border-color);
    z-index: 0;
}

/* Individual Steps */
.timeline-step {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
    opacity: 0.5; /* Dimmed by default */
    transform: translateY(10px);
    transition: opacity 0.4s, transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}

.timeline-step.active {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: #d1d5db;
}

/* AI steps get primary colored borders when active */
.ai-step.active {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.1);
}

.step-icon {
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.2rem;
    position: relative;
    transition: all 0.3s;
}

/* Checkmarks for active steps */
.timeline-step.active .step-icon {
    background: var(--text-dark);
    border-color: var(--text-dark);
}
.timeline-step.active .step-icon::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: bold;
}

/* AI Checkmarks get active green */
.ai-step.active .step-icon {
    background: var(--active-green);
    border-color: var(--active-green);
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .comparison-section h2 { font-size: 2.2rem; }
    
    .timeline-headers {
        grid-template-columns: 1fr;
        gap: 1rem;
        position: relative; /* Remove sticky on mobile for better UX */
        top: 0;
    }

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

    /* Force Manual on top, AI on bottom */
    .manual-header { order: 1; }
    .manual-column { order: 2; margin-bottom: 3rem; }
    .ai-header { order: 3; }
    .ai-column { order: 4; }
}

/*Footer*/
/* Ensure you have these variables available in your CSS root */
:root {
    --text-dark: #111827;
    --text-light: #6b7280;
    --border-light: #e5e7eb;
    --ai-purple: #a855f7;
}

/* --- Main Footer Container --- */
.site-footer {
    position: relative;
    display: block;
    width: 100%;
    /* CRITICAL FIX 1: Traps everything inside the footer bounds */
    overflow: hidden; 
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    
    /* Faint Grid Background */
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px), 
        linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center top;
}

/* --- Top CTA Section --- */
.footer-cta-section {
    position: relative;
    /* CRITICAL FIX 2: Traps the glowing arc so it cannot leak down */
    overflow: hidden; 
    padding: 7rem 2rem 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 0px solid var(--border-light);
    
}

/* The Glowing Arc */
.glow-arc {
    /* CRITICAL FIX 3: Absolute positioning ensures it takes up NO physical space */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    max-width: 1200px;
    height: 350px; 
    background: radial-gradient(ellipse at bottom, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 70%);
    border-radius: 50% 50% 0 0;
    border-top: 40px solid rgba(168, 85, 247, 0.03); /* Faint outer ring */
    z-index: 0;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1; /* Keeps text clickable and above the glow */
}

.cta-content h2 {
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    background-color: #a855f7;
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #8b3cce;
    transform: translateY(-2px);
}

/* --- Bottom Links Section --- */
.footer-bottom-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

/* Left Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ai-purple);
    text-decoration: none;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    background-color: var(--ai-purple);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.3rem;
}

.brand-tagline {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Social Buttons */
.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: #8c8c8c;
    color: white;
    transition: background-color 0.2s;
}

.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background-color: var(--text-dark); }

/* Right Links Columns */
.footer-links-wrapper {
    display: flex;
    gap: 6rem;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;

}

.link-column h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    font-size: 16px;
}

.link-column a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.link-column a:hover {
    color: var(--ai-purple);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .cta-content h2 { font-size: 3rem; }
    .footer-links-wrapper { gap: 3rem; }
}

@media (max-width: 768px) {
    .footer-cta-section { padding: 5rem 1.5rem; }
    .cta-content h2 { font-size: 2.2rem; }

    /* Stack footer content on mobile */
    .footer-bottom-section {
        flex-direction: column;
        gap: 3rem;
        padding: 3rem 1.5rem 5rem;
    }

    .footer-links-wrapper {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
        border-top: 1px solid var(--border-light);
        padding-top: 2rem;
    }
}
@media (max-width: 768px) {
  /* Wrap the entire page content to prevent any bleed */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  /* Factory animation badges animate from -15% to 115% causing overflow */
  .animation-container {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  /* Comparison section headers — sticky + done-badge absolute positioning */
  .comparison-section {
    overflow-x: hidden;
  }

  .header-box {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* The "Finally Done" pseudo-element uses absolute right positioning */
  .manual-header.finished::after {
    position: static;
    display: inline-block;
    margin-left: auto;
  }

  /* Done badge absolute positioning can overflow on small screens */
  .done-badge {
    position: static;
    margin-left: auto;
  }

  /* Glow arc is 140% width — already clipped by parent overflow:hidden
     but reduce it for safety */
  .glow-arc {
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Blobs are the #1 culprit — they're 600-800px wide with negative offsets */
  .blob-1,
  .blob-2,
  .blob-3 {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Timeline steps can get tight */
  .timeline-step {
    padding: 1rem;
    gap: 0.8rem;
  }

  .step-content h4 {
    font-size: 1rem;
  }

  .step-content p {
    font-size: 0.85rem;
  }

  /* Header box day counter can push things */
  .header-box {
    padding: 1rem;
  }

  .day-counter {
    padding: 0.4rem 0.8rem;
  }

  .counter-number {
    font-size: 1rem;
  }

  /* Footer links wrapper gap is too wide on very small screens */
  .footer-links-wrapper {
    gap: 1.5rem;
  }

  /* CTA heading */
  .cta-content h2 {
    font-size: 1.8rem;
  }

  /* Bento section heading */
  .bento-section h2 {
    font-size: 1.8rem;
  }

  .comparison-section h2 {
    font-size: 1.8rem;
  }
}

/*============================================
   MOBILE STICKY HEADERS FOR TIMELINE
   ============================================ */

/* The mobile sticky headers - hidden by default */
.mobile-sticky-header {
    display: none; /* Hidden on desktop */
}

@media (max-width: 900px) {
    .comparison-section h2 { font-size: 2.2rem; }

    /* Hide the original desktop sticky header grid on mobile */
    .timeline-headers {
        display: none;
    }

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

    /* Force Manual on top, AI on bottom */
    .manual-column { order: 1; margin-bottom: 1rem; }
    .ai-column { order: 2; }

    /* ---- Mobile Sticky Headers ---- */
    .mobile-sticky-header {
        display: flex;
        position: fixed;
        top: 80px; /* Below the nav bar */
        left: 0;
        right: 0;
        z-index: 50;
        padding: 0.6rem 1rem;
        background: rgba(252, 252, 252, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-color);
        justify-content: space-between;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .mobile-sticky-header.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-sticky-header .sticky-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-dark);
    }

    .mobile-sticky-header .sticky-right {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .mobile-sticky-header .day-counter {
        background: white;
        border: 1px solid var(--border-color);
        padding: 0.35rem 0.8rem;
        border-radius: 9999px;
        display: flex;
        align-items: baseline;
        gap: 0.3rem;
    }

    .mobile-sticky-header .counter-number {
        font-weight: 800;
        font-size: 1.1rem;
        color: var(--text-dark);
    }

    .mobile-sticky-header .counter-label {
        font-size: 0.8rem;
        color: var(--text-light);
        font-weight: 600;
    }

    /* AI sticky header accent */
    .mobile-sticky-header.ai-sticky {
        border-bottom-color: rgba(168, 85, 247, 0.3);
    }

    .mobile-sticky-header.ai-sticky .sticky-title {
        color: var(--primary);
    }

    /* Done badges inside mobile sticky */
    .mobile-sticky-header .mobile-done-badge {
        background: #fbbf24;
        color: #451a03;
        padding: 0.25rem 0.7rem;
        border-radius: 9999px;
        font-size: 0.75rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        opacity: 0;
        transform: scale(0.9);
        transition: opacity 0.3s, transform 0.3s;
    }

    .mobile-sticky-header .mobile-done-badge.show {
        opacity: 1;
        transform: scale(1);
    }

    /* Manual "Finally Done" badge style */
    .mobile-sticky-header.manual-sticky .mobile-done-badge {
        background: var(--text-dark);
        color: white;
    }

    /* Mobile column labels (inline, non-sticky) */
    .mobile-column-label {
        display: block;
        padding: 1rem 0 0.8rem;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text-dark);
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 1.2rem;
    }

    .mobile-column-label.ai-label {
        color: var(--primary);
        border-bottom-color: rgba(168, 85, 247, 0.3);
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .mobile-sticky-header {
        top: 85px; /* Slightly less on very small screens */
        padding: 0.5rem 0.8rem;
    }

    .mobile-sticky-header .sticky-title {
        font-size: 0.9rem;
    }

    .mobile-sticky-header .counter-number {
        font-size: 1rem;
    }
}
