/* Self-hosted fonts — eliminates FOUT from external Google Fonts CDN */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 1 1000;
  font-stretch: 100%;
  font-display: optional;
  src: url('fonts/GoogleSansFlex-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 1 1000;
  font-stretch: 100%;
  font-display: optional;
  src: url('fonts/GoogleSansFlex-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url('fonts/JetBrainsMono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url('fonts/JetBrainsMono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font-main: "Google Sans Flex", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
    --bg-brand: #17171A;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --green: #34D399;
    --gold: #F59E0B;
    --blue: #2D32D1;
    --border: rgba(255, 255, 255, 0.08);
}

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

body { 
    font-family: var(--font-main);
    background: var(--bg-brand);
    color: var(--text-white);
    overflow-x: hidden;
    font-optical-sizing: auto;
    line-height: 1.5;
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 100px;
}

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

.g-grad {
    background: linear-gradient(135deg, #34D399, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sexy-grad {
    background: linear-gradient(135deg, #A78BFA, #F472B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    padding-right: 0.1em; /* Prevent italic clipping */
}

.gold-grad {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tm-symbol {
    font-size: 0.85em;
    vertical-align: super;
    margin-left: 0.15em;
    font-weight: 600;
    display: inline-block;
    line-height: 0;
}

.ast-symbol {
    font-size: 0.45em;
    vertical-align: super;
    margin-left: 0.1em;
    font-weight: 600;
    display: inline-block;
    line-height: 0;
}

/* === NAV === */
.landing-nav {
    position: fixed; 
    top: 0; left: 0; right: 0;
    z-index: 1000; 
    padding: 1.5rem 0;
    background: transparent;
}

.nav-inner {
    max-width: 100%; 
    padding: 0 4rem;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

        .logo-container {
            position: relative;
            height: 40px;
            width: 160px;
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        /* === NAV SCROLL STATE === */
        .landing-nav {
            transition: background 0.3s, backdrop-filter 0.3s, border 0.3s, padding 0.3s;
        }

        /* Background appears early on scroll */
        .landing-nav.scrolled-bg {
            background: rgba(11, 11, 13, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding: 1rem 0;
        }

        .logo-1, .logo-2 {
            position: absolute;
            left: 0;
            height: auto;
            max-height: 80px; /* Allowing for 2x height before scaling */
            width: auto;
            transform-origin: left center;
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        .logo-1 {
            transform: scale(0.5); /* 1x size for logo 1 */
        }

        .logo-2 {
            opacity: 0;
            transform: scale(0.65) translateY(20px); /* Increased size to 0.65 */
        }

        /* Logo Hover Swap (Hero Section) */
        .logo-container:hover .logo-1 {
            opacity: 0;
            transform: scale(0.5) translateY(-20px);
        }
        .logo-container:hover .logo-2 {
            opacity: 1;
            transform: scale(0.65) translateY(0);
        }

        /* Logo swap happens after hero */
        .scrolled-logo .logo-1 {
            opacity: 0;
            transform: scale(0.5) translateY(-20px);
        }

        .scrolled-logo .logo-2 {
            opacity: 1;
            transform: scale(0.65) translateY(0);
        }

        .nav-right { 
            display: flex; 
            align-items: center; 
            gap: 2.5rem; /* Increased spacing for a more airy, professional feel */
        }
        .nav-right a {
            color: var(--text-white); 
            text-decoration: none;
            font-size: 0.85rem; /* Slightly smaller for a more refined appearance */
            font-weight: 500; 
            letter-spacing: 0.03em; /* Added tracking for a premium technical look */
            transition: all 0.2s;
        }
        .nav-right a:hover { opacity: 0.8; }

        /* Grouping buttons slightly closer together */
        .nav-right a:last-child { 
            margin-left: -1rem; /* Adjusts gap between Log In and Get Started */
        }

        .nav-right a:nth-last-child(2) {
            padding: 0.5rem 1.25rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50px;
        }

        .nav-right a:nth-last-child(1) {
            background: #ffffff;
            color: #17171A;
            padding: 0.5rem 1.25rem;
            border-radius: 50px;
            font-weight: 600;
        }

        /* For Bots Link - Cute & Notable */
        .link-for-bots {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            position: relative;
        }

        .link-for-bots .bot-icon {
            font-size: 1.1em;
            display: inline-block;
            animation: bot-wiggle 3s ease-in-out infinite;
            transform-origin: bottom center;
        }

        @keyframes bot-wiggle {
            0%, 100% { transform: rotate(0deg); }
            10%, 30% { transform: rotate(10deg); }
            20%, 40% { transform: rotate(-10deg); }
            50% { transform: rotate(0deg); }
        }

        .link-for-bots::after {
            content: 'beep';
            position: absolute;
            top: -8px;
            right: -12px;
            font-size: 0.6rem;
            background: var(--green);
            color: #000;
            padding: 1px 4px;
            border-radius: 4px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            line-height: 1;
        }

        .marketing-footer .link-for-bots::after {
            display: none;
        }

        /* Mobile Menu Toggle */
        .mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            z-index: 1100;
            padding: 10px;
        }

        .mobile-toggle span {
            width: 24px;
            height: 2px;
            background: #fff;
            transition: 0.3s;
        }

        .menu-open .mobile-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
        .menu-open .mobile-toggle span:nth-child(2) { opacity: 0; }
        .menu-open .mobile-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* === HERO SECTION === */
.hero {
    min-height: 75vh; /* Increased from 70vh for better spacing */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8.75rem 0; /* Reduced by 20px (1.25rem) above and below */
    text-align: center; 
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(45, 50, 209, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-position: center;
}

.hero-cta-group {
    margin-bottom: 3.5rem;
    display: flex;
    justify-content: center;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-cta-msg {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    background: #D9FF00; /* Vibrant Lime Green */
    padding: 1.1rem 3.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 0px #b5cc00, 0 15px 40px rgba(0, 0, 0, 0.2);
    text-transform: none;
    letter-spacing: -0.02em;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    animation: cta-pop-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    border: none;
}

/* Hardware recessed indicator */
.hero-cta-msg::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #000000;
    border-radius: 50%;
    opacity: 0.15;
    transition: all 0.3s ease;
}

.hero-cta-msg:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0px #b5cc00, 0 5px 20px rgba(0, 0, 0, 0.1);
    background: #e6ff4d; /* Slightly brighter on hover */
}

.hero-cta-msg:hover::before {
    background: #000000;
    opacity: 0.4;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

@keyframes led-pulse {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.7; filter: brightness(1.5); }
}

@keyframes cta-pop-in {
    0% { 
        opacity: 0;
        transform: translateY(20px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge-shimmer {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(
        90deg, 
        #34D399 0%, 
        #ffffff 50%, 
        #34D399 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    white-space: nowrap;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

        .hero-mascot {
            position: absolute;
            right: -188px;
            bottom: -110px; /* Moved down 100px */
            width: 350px;
            z-index: 10;
            pointer-events: none; /* Reverted to none for accessibility */
            opacity: 0;
            transform: translateX(100px);
            transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s ease, scale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .hero-mascot.slid-in {
            opacity: 1;
            transform: translateX(0);
        }

        /* Mascot Hotspot for interaction without overlapping copy button */
        .mascot-hotspot {
            position: absolute;
            right: -188px;
            bottom: -40px; /* Moved down 100px */
            width: 200px; /* Only covers the right-most part of her */
            height: 300px;
            z-index: 11;
            cursor: pointer;
            background: transparent;
        }

        .hero-mascot.hovered {
            scale: 1.05;
        }

        /* Mascot Speech Bubble - Minimal & Sleek */
        .mascot-bubble {
            position: absolute;
            right: -340px;
            bottom: 320px; /* Moved down 100px */
            background: rgba(11, 11, 13, 0.9); /* Techie dark background */
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-white);
            padding: 0.8rem 1.25rem;
            border-radius: 16px;
            border-bottom-left-radius: 2px;
            font-size: 0.85rem;
            font-weight: 500;
            max-width: 220px;
            text-align: left;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
            z-index: 100;
            opacity: 0;
            transform: translateX(-15px) scale(0.98);
            pointer-events: none;
            transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
            line-height: 1.4;
        }

        .mascot-bubble.show {
            opacity: 1;
            transform: translateX(0) scale(1);
        }

        .mascot-bubble::after {
            content: '';
            position: absolute;
            left: -8px;
            bottom: 0;
            width: 16px;
            height: 16px;
            background: rgba(11, 11, 13, 0.9);
            backdrop-filter: blur(12px);
            clip-path: polygon(100% 0, 0 100%, 100% 100%);
            border-left: 1px solid rgba(255, 255, 255, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

.hero h1 {
    font-size: 4.5rem; 
    font-weight: 500; 
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem; 
    line-height: 1.0;
    max-width: 900px;
    margin-left: auto; margin-right: auto;
}

#hero-counter {
    display: inline-block;
    width: 2ch; /* Increased to 2ch to fit two digits (93) without overlap */
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.hero-sub {
    font-size: 1.05rem; 
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem; 
    max-width: 600px;
    margin-left: auto; margin-right: auto; 
    line-height: 1.5;
}

/* Terminal Wrap */
.hero-terminal-wrap {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

        .install-snippet {
            max-width: 720px; 
            margin: 0 auto;
            background: #0B0B0D;
            border-radius: 20px; 
            text-align: left;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
            color: var(--text-white);
            position: relative;
            /* transition removed — highlight-flash keyframe handles all animation */
            overflow: visible; /* To allow the stroke to sit perfectly */
        }

        .terminal-header {
            background: rgba(255, 255, 255, 0.02);
            padding: 1rem 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 20px 20px 0 0; /* Manually handle radius for top corners */
        }

        /* Sleek Pro Highlight Animation */
        @keyframes highlight-flash {
            0% {
                border-color: rgba(255, 255, 255, 0.08);
                box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
                transform: scale(1);
            }
            15% {
                border-color: var(--green);
                box-shadow: 0 0 60px rgba(52, 211, 153, 0.4), 0 40px 120px rgba(0, 0, 0, 0.6);
                transform: scale(1.02);
            }
            100% {
                border-color: rgba(255, 255, 255, 0.08);
                box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
                transform: scale(1);
            }
        }

        .install-snippet.highlight-pulse {
            animation: highlight-flash 0.875s ease-out forwards;
        }

        .install-snippet::after {
            display: none; /* Removed the spinning effect */
        }

.terminal-dots { display: flex; gap: 8px; }
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.terminal-title { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); opacity: 0.4; font-weight: 600; letter-spacing: 0.05em; }

.install-tabs {
    display: flex; 
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.install-tab {
    flex: 1; padding: 1.25rem; 
    text-align: center;
    font-family: var(--font-mono); 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    background: transparent; 
    border: none; cursor: pointer; transition: all 0.3s; 
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 500;
}

.install-tab.active { 
    color: var(--text-white); 
    background: rgba(255, 255, 255, 0.03); 
    box-shadow: inset 0 -2px 0 var(--green);
}

.install-panel { display: none; padding: 3.5rem 3rem; }
.install-panel.active { display: block; }

.install-command {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px; 
    padding: 1.25rem 1.75rem; 
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.install-command pre { font-family: var(--font-mono); font-size: 1.05rem; color: var(--green); font-weight: 500; }

.copy-btn {
    background: #ffffff; 
    border: none;
    color: #17171A; 
    padding: 0.6rem 1.2rem; 
    border-radius: 8px; font-size: 0.8rem; cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.copy-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,255,255,0.2); }

.install-caption-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.install-caption { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-muted); opacity: 0.6; font-weight: 400; margin: 0; }
.setup-link { 
    color: var(--text-white); 
    text-decoration: none; 
    font-size: 0.75rem; 
    font-weight: 600; 
    opacity: 0.8 !important; 
    transition: all 0.2s; 
    font-family: var(--font-mono); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
}
.setup-link:hover { 
    opacity: 1 !important; 
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.install-pricing-row {
    display: flex;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    background: rgba(52, 211, 153, 0.03);
    border: 1px solid rgba(52, 211, 153, 0.1);
    border-radius: 50px;
}


/* === SAVINGS SECTION COMPACT REDESIGN === */
.savings-section {
    padding: 6rem 0;
    background: #1A1A1E;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.savings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.savings-header {
    margin-bottom: 3.5rem;
}

.savings-header h2 {
    font-size: 1.75rem; 
    font-weight: 600; 
    letter-spacing: -0.03em; 
    line-height: 1.1;
    text-align: center;
}

.savings-tagline { 
    font-size: 1.75rem; 
    color: var(--text-white); /* Changed from var(--text-muted) */
    font-weight: 400;
    letter-spacing: -0.02em;
    opacity: 1; /* Changed from 0.4 */
    margin-left: 0.4rem;
}

/* === FAQ SECTION === */
.faq-section {
    padding: 4rem 0 8rem;
    background: #17171A;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-container {
    max-width: 700px; /* More compact width for accordion */
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Horizontal line */
.faq-icon::before {
    width: 12px;
    height: 2px;
}

/* Vertical line (plus sign) */
.faq-icon::after {
    width: 2px;
    height: 12px;
    transition: transform 0.4s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
    padding: 0 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-bottom: 1.5rem;
}

.treatment-section { padding: 8rem 0 4rem; background: #17171A; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.treatment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; max-width: 1200px; margin: 0 auto; margin-bottom: 3rem; }

.calc-card {
    background: #0d1214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; 
    padding: 2rem 3rem; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    text-align: left;
}

.calc-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.2), transparent);
}

.calc-header-inline { 
    display: flex; 
    justify-content: space-between; 
    align-items: baseline; 
    margin-bottom: 1.5rem; 
}

.calc-label-text { 
    font-size: 0.65rem; 
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
    color: var(--text-muted); 
    font-family: var(--font-mono); 
    font-weight: 600;
    opacity: 0.6;
}

.calc-amount-display { 
    font-family: var(--font-mono); 
    font-size: 2.5rem; 
    font-weight: 500; 
    color: var(--green); 
    letter-spacing: -0.05em; 
    line-height: 1;
}

.calc-slider-wrap { position: relative; padding: 0.5rem 0 2.5rem; }
.calc-slider { 
    -webkit-appearance: none; 
    width: 100%; 
    height: 4px; 
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 10px; 
    outline: none; 
    cursor: pointer; 
}
.calc-slider::-webkit-slider-thumb { 
    -webkit-appearance: none; 
    width: 20px; 
    height: 20px; 
    border-radius: 50%; 
    background: #ffffff; 
    border: 3px solid var(--green); 
    cursor: pointer; 
    transition: all 0.2s; 
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.3); 
}

.calc-outputs { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    padding-top: 2rem; 
}

.output-item { display: flex; flex-direction: column; gap: 0.4rem; }
.output-value { font-family: var(--font-mono); font-size: 2.25rem; font-weight: 600; line-height: 1; letter-spacing: -0.05em; }
.output-sub { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); opacity: 0.5; }
.impact-badge { 
    display: inline-block; 
    padding: 0.25rem 0.5rem; 
    background: rgba(52, 211, 153, 0.1); 
    color: var(--green); 
    font-size: 0.65rem; 
    font-family: var(--font-mono); 
    border-radius: 4px; 
    font-weight: 600;
    width: fit-content;
}

/* Redesigned Math Breakdown */
.full-math-breakdown {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.math-grid-wide {
    display: grid;
    grid-template-columns: 1.2fr auto 1.2fr auto 1.2fr auto 1.5fr;
    gap: 2rem;
    align-items: flex-start;
}

.math-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.math-detail-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    opacity: 0.5;
}

.math-detail-val {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--text-white);
}

.math-detail-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    opacity: 0.5;
}

.math-operator {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.1);
    padding-top: 1.1rem;
    font-weight: 300;
    font-family: var(--font-mono);
}

.math-detail-val.math-total {
    color: var(--green);
}

/* === TREATMENT GRID === */
.treatment-section { padding: 10rem 0 4rem; background: #17171A; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.treatment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; max-width: 1200px; margin: 0 auto; margin-bottom: 5rem; }
.treatment-item-minimal { display: flex; flex-direction: column; }
.minimal-label-group { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.minimal-accent-square { width: 8px; height: 8px; background: #4a9b8e; }
.minimal-label { font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }
.minimal-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin-bottom: 2rem; }
.minimal-title { font-size: 2.25rem; font-weight: 400; margin-bottom: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.minimal-body { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }

.treatment-cta-wrap { text-align: center; }
.btn-treatment-demo { 
    display: inline-block; 
    font-family: var(--font-mono); 
    font-size: 0.85rem; 
    color: var(--text-white); 
    text-decoration: none; 
    padding: 1rem 2.5rem; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 50px; 
    transition: all 0.2s; 
}
.btn-treatment-demo:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); }

/* === MINIMAL FOOTER CTA === */
.footer-cta { 
    padding: 8rem 0; 
    text-align: center; 
    background: #17171A;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta h2 { 
    font-size: 3rem; 
    font-weight: 600; 
    margin-bottom: 2rem; 
    letter-spacing: -0.04em;
    color: var(--text-white);
}

.btn-minimal-cta {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--green);
    padding-bottom: 4px;
    transition: all 0.2s;
}

.btn-minimal-cta:hover { color: var(--green); border-bottom-color: var(--text-white); }

.footer-quip { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    margin-top: 3rem;
    font-family: var(--font-mono);
    opacity: 0.4;
}

/* === FOOTER === */
.marketing-footer { background: #0d0d0f; border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 6rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.footer-col-title { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; color: var(--text-white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-white); }
.footer-legal-bar { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 3rem; font-size: 0.9rem; color: var(--text-muted); }
.footer-legal-links { display: flex; gap: 2rem; }
.footer-legal-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--text-white); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .savings-container { max-width: 100%; }
    .calc-card { padding: 2rem; }
    .calc-amount-display { font-size: 2.5rem; }
    .output-value { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-inner { padding: 0 1.5rem; }
    .logo-container { width: 120px; }
    
    .mobile-toggle { display: flex; }
    
    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #0B0B0D;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        gap: 1.5rem;
    }
    
    .menu-open .nav-right { right: 0; }
    
    .nav-right a { font-size: 1.5rem; margin-left: 0 !important; }
    .nav-right a:nth-child(3), .nav-right a:nth-child(4) { 
        width: 100%; 
        text-align: center; 
        padding: 1rem; 
        margin-top: 1rem;
    }
    
    .hero { padding: 8.75rem 0 6.75rem; min-height: auto; } /* Reduced by 20px each */
    .hero-cta-row { flex-direction: column; gap: 1rem; }
    .hero-badge { font-size: 0.9rem; text-align: center; max-width: 100%; opacity: 0.8; white-space: normal; }
    .hero-cta-group { margin-top: 2rem; margin-bottom: 2rem; }
    .hero-cta-msg { font-size: 0.95rem; padding: 0.6rem 1.5rem; }
    .hero h1 { font-size: 2.25rem; margin-bottom: 1rem; line-height: 1.1; }
    #hero-counter { width: 2ch; } 
    .hero-sub { 
        font-size: 0.95rem; 
        margin-bottom: 2rem; 
        opacity: 0.7; 
        padding: 0 1rem;
        /* Make the subhead more minimal on mobile */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .hero-terminal-wrap { margin-top: 1rem; max-width: 100%; }
    .hero-mascot, .mascot-bubble, .mascot-hotspot { display: none; }

    .install-snippet { max-width: 100%; }
    .install-tabs { flex-direction: row; padding-right: 0; align-items: stretch; }
    .install-tab { flex: 1; padding: 1rem; }
    .install-caption-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .install-caption { font-size: 0.75rem; }

    .install-panel { padding: 1.5rem 1.25rem; }
    .install-command { flex-direction: column; gap: 1rem; align-items: stretch; padding: 1rem; }
    .install-command pre { font-size: 0.9rem; }
    .copy-btn { width: 100%; }

    .install-pricing-row { border-radius: 12px; padding: 0.75rem 1rem; margin-top: 1rem; }
    .hero-badge-shimmer { white-space: normal; font-size: 0.8rem; text-align: center; }
    
    .savings-section { padding: 4rem 0; }
    .savings-header h2 { font-size: 1.25rem; line-height: 1.4; padding: 0 1rem; }
    .savings-tagline { font-size: 1.25rem; display: block; margin-top: 0.25rem; margin-left: 0; }
    
    .calc-card { padding: 1.25rem; }
    .calc-amount-display { font-size: 1.75rem; }
    .calc-outputs { grid-template-columns: 1fr; gap: 1.5rem; }
    .output-value { font-size: 1.5rem; }
    
    .full-math-breakdown { padding-top: 2rem; margin-top: 2rem; }
    .math-grid-wide { grid-template-columns: 1fr; gap: 1.25rem; }
    .math-operator { display: none; }
    .math-detail-val { font-size: 1.15rem; }
    
    .treatment-section { padding: 4rem 0; }
    .treatment-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
    .minimal-title { font-size: 1.75rem; }
    
    .faq-section { padding: 5rem 0; }
    .faq-header h2 { font-size: 1.75rem; }
    .faq-item { padding: 1.5rem; }
    
    .footer-cta { padding: 5rem 0; }
    .footer-cta h2 { font-size: 1.75rem; padding: 0 1rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1rem; }
    .footer-legal-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 420px) {
    .container { padding: 0 1.25rem; }
    .hero h1 { font-size: 1.85rem; }
    .hero-cta-msg { font-size: 0.85rem; padding: 0.6rem 1.25rem; }
    .install-command pre { font-size: 0.8rem; }
    .hero-badge-shimmer { font-size: 0.7rem; }
    .minimal-title { font-size: 1.5rem; }
    .footer-cta h2 { font-size: 1.5rem; }
}
