:root {
    /* Brand Colors - Pastel Professional Palette */
    --frosted-mint: #85D0CB;           /* Primary Base: Action buttons, success states */
    --soft-lavender: #D1C4E9;          /* Secondary Base: Accent gradients, data categorization */
    --muted-apricot: #FFCCBC;          /* The Signal: Pro tier badge, warnings, taglines */
    
    /* Structural & Neutral Palette - Light Mode */
    --canvas: #F9FBF9;                 /* Main Canvas: Global background */
    --surface: #FFFFFF;                /* Cards, clean surfaces */
    --surface-elevated: #FFFFFF;       /* Elevated cards/windows */
    --border: #E0E0E0;                 /* UI Borders: Window-style containers, table dividers */
    --text-main: #333333;              /* Typography: All body text and headings */
    --text-muted: #666666;             /* Muted text */
    
    /* Legacy variables for compatibility */
    --cloud-gray: #F9FBF9;
    --pale-cream: #FFFDF5;
    --pure-white: #FFFFFF;
    --system-silver: #E0E0E0;
    --deep-ink: #333333;
    --text-dark: #333333;
    --border-soft: #E0E0E0;
    
    /* Code & Data */
    --deep-charcoal: #1E1E1E;          /* Code Block Background: Dark mode containers */
    --deep-lavender: #2A2633;          /* Code Block Background: Brand-aligned dark purple */
    --success-green: #A5D6A7;          /* Success Green (Pastel): Data comparison validation */
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-data: 'JetBrains Mono', monospace;
    
    /* Gradients */
    --pulse-gradient: linear-gradient(135deg, #85D0CB 0%, #D1C4E9 100%);  /* Live Pulse: 135deg */
}

/* Dark Mode - Midnight Laboratory */
[data-theme='dark'] {
    /* Brand Colors - Enhanced for dark backgrounds */
    --frosted-mint: #A5E6E1;           /* Lighter mint for contrast */
    --soft-lavender: #E1D5F5;          /* Lighter lavender */
    --muted-apricot: #FFDBCF;          /* Lighter peach */
    
    /* Dark Mode Structural Palette */
    --canvas: #12111A;                 /* Deep Ink base */
    --surface: #1C1B26;                /* Elevated surfaces */
    --surface-elevated: #252434;       /* More elevated surfaces */
    --border: #2D2B3D;                 /* Border/Stroke */
    --text-main: #E9E9EF;              /* Off-white primary text */
    --text-muted: #9DA0B1;             /* Muted text */
    
    /* Legacy variables updated for dark mode */
    --cloud-gray: #12111A;
    --pale-cream: #1C1B26;
    --pure-white: #1C1B26;
    --system-silver: #2D2B3D;
    --deep-ink: #E9E9EF;
    --text-dark: #E9E9EF;
    --border-soft: #2D2B3D;
    
    /* Dark Mode Code */
    --deep-charcoal: #1C1B26;
    --deep-lavender: #252434;
    --success-green: #A5D6A7;
    
    /* Dark Mode Gradients */
    --pulse-gradient: linear-gradient(135deg, #A5E6E1 0%, #E1D5F5 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--canvas);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0 0 24px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme='dark'] .navbar {
    background: rgba(28, 27, 38, 0.9);
    border-bottom: 1px solid rgba(45, 43, 61, 0.6);
}

/* Bottom Gradient Glow - Prism Light Effect */
.navbar::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 10%;
    width: 80%;
    height: 20px;
    z-index: -1;
    background: linear-gradient(90deg, 
        var(--frosted-mint) 0%, 
        var(--soft-lavender) 50%, 
        var(--muted-apricot) 100%
    );
    filter: blur(20px);
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

[data-theme='dark'] .navbar::after {
    opacity: 0;
    display: none;
}

/* Enhanced glow when scrolled */
.navbar.scrolled::after {
    opacity: 0.55;
}

[data-theme='dark'] .navbar.scrolled::after {
    opacity: 0.35;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

[data-theme='dark'] .navbar.scrolled {
    background: rgba(28, 27, 38, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-img {
    height: 4rem;
    width: auto;
    filter: drop-shadow(0 0 4px rgba(133, 208, 203, 0.3));
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(133, 208, 203, 0.3));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 8px rgba(133, 208, 203, 0.6));
    }
}

.logo strong {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1;
    transition: color 0.3s ease;
}

.logo small {
    font-family: var(--font-heading);
    color: var(--soft-lavender);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-family: var(--font-heading);
}

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

.nav-links-left a {
    font-family: var(--font-heading);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 0;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.nav-links-left a:hover {
    color: var(--frosted-mint);
}

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

.nav-link-signup {
    font-family: var(--font-heading);
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    transition: color 0.2s;
}

.nav-link-signup:hover {
    color: var(--frosted-mint);
}

nav a:not(.btn-primary):hover {
    color: var(--frosted-mint);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--frosted-mint);
    background: rgba(133, 208, 203, 0.1);
    transform: scale(1.05);
}

[data-theme='dark'] .theme-toggle {
    border-color: var(--border);
}

[data-theme='dark'] .theme-toggle:hover {
    border-color: var(--frosted-mint);
    background: rgba(165, 230, 225, 0.15);
}

.theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 18px;
    height: 18px;
}

.theme-icon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: var(--text-main);
    stroke: var(--text-main);
}

/* Moon icon - shown in light mode */
.icon-moon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

/* Sun icon - shown in dark mode */
.icon-sun {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Dark mode: show sun, hide moon */
[data-theme='dark'] .icon-moon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
}

[data-theme='dark'] .icon-sun {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
    color: var(--muted-apricot);
    stroke: var(--muted-apricot);
}

/* Light mode: moon uses mint color on hover */
.theme-toggle:hover .icon-moon {
    color: var(--frosted-mint);
    stroke: var(--frosted-mint);
}

[data-theme='dark'] .theme-toggle:hover .icon-sun {
    color: var(--frosted-mint);
    stroke: var(--frosted-mint);
}

/* Hero Section - Increased Presence */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    padding: 100px 0 80px;
    align-items: center;
    margin-bottom: 120px;
    position: relative;
}

/* Subtle Peak Divider - Triangle Motif */
.hero::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 40px solid rgba(133, 208, 203, 0.1);
    z-index: 1;
}

h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-weight: 700;
}

h1 .highlight-lavender {
    color: var(--soft-lavender);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hero-content p.hero-tagline {
    margin-bottom: 16px;
}

.hero-content p.hero-intro {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 34px;
    max-width: 62ch;
}

.hero-content p code {
    font-family: var(--font-data);
    font-weight: 700;
    background: rgba(133, 208, 203, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--frosted-mint);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

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

.stat strong {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-data);
    font-weight: 700;
    background: var(--pulse-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.stat strong.loading {
    opacity: 0.6;
    animation: pulseLoading 1.5s ease-in-out infinite;
}

@keyframes pulseLoading {
    0%, 100% {
        opacity: 0.5;
        filter: blur(0.5px);
    }
    50% {
        opacity: 0.8;
        filter: blur(0px);
    }
}

.stat strong.loaded {
    animation: countUp 0.5s ease-out;
}

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

.stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.hero-actions {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 40px;
}

.hero-subtext {
    font-size: 0.85rem;
    color: white;
    background: var(--pulse-gradient);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 12px rgba(133, 208, 203, 0.3);
    animation: livePulse 2s ease-in-out infinite;
    font-weight: 600;
    transition: color 0.3s ease;
}

[data-theme='dark'] .hero-subtext {
    color: var(--canvas);
}

@keyframes livePulse {
    0%, 100% { 
        opacity: 0.9;
        box-shadow: 0 2px 12px rgba(133, 208, 203, 0.3);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 2px 16px rgba(133, 208, 203, 0.5), 0 0 12px rgba(133, 208, 203, 0.4);
    }
}

/* GUI Window-Style Component - Retro OS Aesthetic */
/* Hero IDE - Frosted Light Glassmorphism */
.hero-preview {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 0;
    border: 1px solid rgba(209, 196, 233, 0.4);
    box-shadow: 0 20px 50px rgba(133, 208, 203, 0.1);
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme='dark'] .hero-preview {
    background: rgba(28, 27, 38, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-color: rgba(45, 43, 61, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.browser-ui {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

/* Window Title Bar - Brand Colors */
.dots {
    background: rgba(209, 196, 233, 0.2);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(209, 196, 233, 0.3);
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Brand color window controls: Peach, Lavender, Mint */
.dots span:nth-child(1) { background: var(--muted-apricot); }
.dots span:nth-child(2) { background: var(--soft-lavender); }
.dots span:nth-child(3) { background: var(--frosted-mint); }

.ui-content {
    padding: 24px;
    background: rgba(255, 255, 255, 0.4);
    color: var(--text-main);
    font-family: var(--font-data);
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}

[data-theme='dark'] .ui-content {
    background: rgba(28, 27, 38, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.api-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.api-line {
    padding-left: 12px;
    line-height: 1.6;
}

/* Light theme syntax highlighting */
.key {
    color: #00897B; /* Teal for keys */
    font-weight: 600;
}

.value-string {
    color: #E65100; /* Warm orange for string values */
}

.value-number {
    color: #2E7D32; /* Forest green for numbers */
    font-weight: 600;
}

/* Buttons - "Signal" and "Utility" Types */
.btn {
    padding: 12px 24px;
    border-radius: 16px;  /* Heavily rounded for friendly UI */
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

/* Primary "Signal" Button */
.btn-primary { 
    background: var(--frosted-mint); 
    color: white;
    box-shadow: 0 8px 15px -5px rgba(133, 208, 203, 0.6);
    position: relative;
}

[data-theme='dark'] .btn-primary {
    color: var(--canvas);
}

.btn-primary:hover {
    background: var(--pulse-gradient);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(133, 208, 203, 0.7);
}

[data-theme='dark'] .btn-primary:hover {
    color: var(--canvas);
}

/* Nav Link (text link in navbar) */
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
    padding: 8px 16px;
}

.nav-link:hover {
    color: var(--frosted-mint);
}

.btn-teal { 
    background: var(--frosted-mint); 
    color: white; 
    padding: 18px 36px; 
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(133, 208, 203, 0.25);
    position: relative;
    animation: buttonPulse 3s ease-in-out infinite;  /* Pulse animation */
}

[data-theme='dark'] .btn-teal {
    color: var(--canvas);
}

@keyframes buttonPulse {
    0%, 100% { 
        box-shadow: 0 4px 16px rgba(133, 208, 203, 0.25);
    }
    50% { 
        box-shadow: 0 4px 24px rgba(133, 208, 203, 0.5), 0 0 20px rgba(133, 208, 203, 0.3);
    }
}

.btn-teal:hover {
    background: var(--pulse-gradient);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(133, 208, 203, 0.5);
    animation: none;  /* Stop pulse on hover */
}

/* Secondary "Utility" Button */
.btn-outline { 
    border: 2px solid var(--system-silver);
    background: var(--pure-white);
    color: var(--deep-ink);
}

.btn-outline:hover {
    border-color: var(--frosted-mint);
    color: var(--frosted-mint);
    background: rgba(133, 208, 203, 0.05);
}

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

.download-link {
    color: var(--frosted-mint);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.download-link:hover {
    border-bottom-color: var(--frosted-mint);
}

/* Sections - Oversized Margins for Early GUI Feel */
section {
    margin-bottom: 120px;  /* Chunky, oversized margins */
    padding: 0 30px;
}

/* Matrix heading spacing (carousel -> heading -> matrix) */
.intelligence-matrix > h2 {
    margin-top: 40px;
    margin-bottom: 18px;
}

.intelligence-matrix > .section-subtitle {
    margin-bottom: 44px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 60px;  /* Extra whitespace */
    line-height: 1.8;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Intelligence Audit - Merged Action Types + Comparison */
.intelligence-audit {
    margin-bottom: 120px;
}

.audit-explainer {
    margin: 10px 0 24px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 90ch;
}

.audit-explainer strong {
    color: var(--text-main);
}

.system-window {
    background: var(--surface);
    border: 1px solid var(--soft-lavender);
    box-shadow: 12px 12px 0px rgba(209, 196, 233, 0.4);  /* Retro Hard Shadow */
    border-radius: 12px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme='dark'] .system-window {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.6);
}

.audit-content {
    padding: 40px;
}

.action-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-soft);
}

.tag-audit {
    font-family: var(--font-data);
    padding: 8px 16px;
    border: 1px solid var(--frosted-mint);
    color: var(--frosted-mint);
    background: transparent;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag-audit:hover {
    background: var(--pulse-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(133, 208, 203, 0.6);
    transform: translateY(-2px);
}

.comparison-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-matrix thead {
    background: rgba(209, 196, 233, 0.1);
}

.comparison-matrix th {
    padding: 15px 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-main);
    border-bottom: 2px solid var(--soft-lavender);
    transition: color 0.3s ease;
}

.comparison-matrix td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s ease;
}

[data-theme='dark'] .comparison-matrix thead {
    background: rgba(45, 43, 61, 0.3);
}

[data-theme='dark'] .comparison-matrix td {
    border-bottom-color: var(--border);
}

.comparison-matrix tbody tr:last-child td {
    border-bottom: none;
}

.raw-data {
    font-family: 'Courier New', Courier, monospace;
    color: #888;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

[data-theme='dark'] .raw-data {
    color: white !important;
}

.defeyes-data {
    font-family: var(--font-data);
    color: var(--frosted-mint);
    font-weight: 600;
    background: rgba(133, 208, 203, 0.08);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

[data-theme='dark'] .defeyes-data {
    background: rgba(165, 230, 225, 0.12);
}

.defeyes-data code {
    font-family: var(--font-data);
    font-weight: 700;
    background: rgba(133, 208, 203, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--frosted-mint);
    transition: background 0.3s ease;
}

[data-theme='dark'] .defeyes-data code {
    background: rgba(165, 230, 225, 0.25);
}

/* Pricing Terminal - Pro-First Layout */
.pricing-terminal {
    text-align: center;
    margin-bottom: 160px;
}

.pricing-microcopy {
    margin: 12px auto 28px;
    max-width: 80ch;
    color: var(--text-muted);
    font-size: 1rem;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.toggle-label {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--deep-ink);
    font-weight: 600;
}

.toggle-savings {
    font-size: 0.85rem;
    color: var(--frosted-mint);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-soft);
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--frosted-mint);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

/* De-emphasized Standard Card */
.card-standard {
    background: rgba(255, 255, 255, 0.6);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    text-align: left;
    transition: all 0.3s ease;
    opacity: 0.8;
    z-index: 1;
}

[data-theme='dark'] .card-standard {
    background: rgba(28, 27, 38, 0.6);
    border: 1px solid var(--border);
    opacity: 0.7;
}

.card-standard:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

.card-standard h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #888;
    font-weight: 600;
}

.card-standard .price-label {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #999;
    font-weight: 500;
    display: block;
    margin-bottom: 20px;
}

.link-cta {
    color: var(--frosted-mint);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.2s;
}

.link-cta:hover {
    color: var(--soft-lavender);
    text-decoration: underline;
}

/* Pro Card Elevation */
.card-pro {
    background: var(--surface);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--frosted-mint);
    position: relative;
    text-align: left;
    transition: all 0.3s ease;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(133, 208, 203, 0.15);
    z-index: 2;
}

[data-theme='dark'] .card-pro {
    background: var(--surface);
    box-shadow: 0 0 30px rgba(165, 230, 225, 0.15);
}

.card-pro:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 25px 50px rgba(133, 208, 203, 0.25);
}

[data-theme='dark'] .card-pro:hover {
    box-shadow: 0 0 40px rgba(165, 230, 225, 0.25);
}

.recommended-badge {
    font-family: var(--font-body);
    background: var(--muted-apricot);
    color: var(--deep-ink);
    font-weight: 700;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 6px;
    margin-bottom: 25px;
    display: inline-block;
}

.card-pro h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-main);
    font-weight: 700;
    transition: color 0.3s ease;
}

.price-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--soft-lavender);
    position: relative;
    text-align: left;
    transition: all 0.3s ease;
}

[data-theme='dark'] .price-card {
    background: var(--surface);
    border-color: var(--border);
}

.price {
    margin-bottom: 25px;
}

.price-value {
    font-family: var(--font-data);
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.03em;
    line-height: 1;
    transition: color 0.3s ease;
}

.price-period {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #999;
    font-weight: 400;
    margin-left: 8px;
}

.price-monthly {
    display: block;
}

.price-yearly {
    display: none;
}

.price-yearly-note {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
    margin-top: 5px;
    font-style: italic;
}

.trust-signal {
    margin-bottom: 30px;
    padding: 12px 16px;
    background: rgba(209, 196, 233, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(209, 196, 233, 0.2);
}

.trust-signal code {
    font-family: var(--font-data);
    font-size: 0.8rem;
    color: var(--soft-lavender);
    font-weight: 600;
    background: transparent;
    padding: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 35px 0;
}

.feature-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.feature-list li strong {
    color: var(--frosted-mint);
    font-weight: 700;
}

.feature-list li:first-child {
    padding-top: 0;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Premium Button Animation */
.btn-premium {
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--frosted-mint), var(--soft-lavender));
    color: white;
    border: none;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(.17,.67,.83,.67), color 0.3s ease;
    box-shadow: 8px 8px 0px rgba(209, 196, 233, 0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

[data-theme='dark'] .btn-premium {
    color: var(--canvas);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(133, 208, 203, 0.3), 8px 8px 0px rgba(209, 196, 233, 0.3);
}

[data-theme='dark'] .btn-premium:hover {
    color: var(--canvas);
}

/* Starter Button - Subtle, inverse of Premium */
.btn-starter {
    width: 100%;
    padding: 16px 28px;
    background: transparent;
    border: 2px solid var(--system-silver);
    color: var(--deep-ink);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.25s ease;
}

[data-theme='dark'] .btn-starter {
    border-color: var(--muted-slate);
    color: var(--cloud-white);
}

.btn-starter:hover {
    border-color: var(--frosted-mint);
    color: var(--frosted-mint);
    background: rgba(133, 208, 203, 0.08);
    transform: translateY(-2px);
}

[data-theme='dark'] .btn-starter:hover {
    background: rgba(133, 208, 203, 0.15);
}

/* Use Cases */
/* Use Case Carousel (shows 3 cards at a time) */
.use-case-carousel {
    max-width: 1200px;
    margin: 0 auto 36px;
}

.use-case-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px;
}

.use-case-carousel-title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    font-size: 1.2rem;
}

.use-case-carousel-controls {
    display: flex;
    gap: 10px;
}

.use-case-nav {
    border: 1px solid var(--border);
    background: rgba(133, 208, 203, 0.08);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.use-case-arrow {
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    font-size: 1.05rem;
    line-height: 1;
    border-radius: 10px;
    background: rgba(133, 208, 203, 0.12);
    border: 1px solid var(--border);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.06);
}

[data-theme='dark'] .use-case-nav {
    background: rgba(165, 230, 225, 0.12);
    border-color: rgba(45, 43, 61, 0.8);
}

.use-case-arrow:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: var(--frosted-mint);
    background: rgba(133, 208, 203, 0.18);
    box-shadow: 6px 6px 0px rgba(133, 208, 203, 0.25);
}

.use-case-arrow:disabled {
    opacity: 0.45;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.04);
}

.use-case-nav:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: var(--frosted-mint);
    background: rgba(133, 208, 203, 0.14);
}

.use-case-nav:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.use-case-viewport {
    overflow: hidden;
    border-radius: 14px;
}

.use-case-track {
    display: flex;
    gap: 20px;
    padding: 6px 2px 65px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.use-case-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.use-case-card {
    background: var(--pure-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-soft);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.06);  /* Chunky retro shadow */
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 40px) / 3); /* 3-up, accounting for 2 gaps */
    min-width: 260px;
}

.use-case-card:hover {
    transform: translateY(-3px) translateX(-2px);
    box-shadow: 6px 6px 0px var(--frosted-mint);  /* Mint shadow on hover */
    border-color: var(--frosted-mint);
}

.use-case-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--frosted-mint);
    background: rgba(133, 208, 203, 0.08);
    border: 1px solid rgba(133, 208, 203, 0.25);
    border-radius: 16px;
    box-shadow: 6px 6px 0px rgba(209, 196, 233, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.use-case-card .icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[data-theme='dark'] .use-case-card .icon {
    background: rgba(165, 230, 225, 0.10);
    border-color: rgba(165, 230, 225, 0.22);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.25);
}

.use-case-card:hover .icon {
    transform: translateY(-2px);
    box-shadow: 8px 8px 0px rgba(133, 208, 203, 0.22);
    border-color: var(--frosted-mint);
    background: rgba(133, 208, 203, 0.12);
}

.use-case-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.use-case-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.use-case-card ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    text-align: left;
}

.use-case-card li {
    padding: 10px 0;
    padding-left: 22px;
    position: relative;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
}

.use-case-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--frosted-mint);
    font-weight: 700;
}

@media (max-width: 1000px) {
    .use-case-card {
        flex: 0 0 calc((100% - 20px) / 2); /* 2-up */
    }
}

@media (max-width: 640px) {
    .use-case-carousel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .use-case-card {
        flex: 0 0 100%; /* 1-up */
    }
}

/* Intelligence Matrix - Interactive Feed Component */
.intelligence-matrix {
    margin-bottom: 160px;
}

.matrix-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.matrix-feed, .matrix-insight {
    background: var(--pure-white);
    border-radius: 12px;
    border: 1px solid var(--soft-lavender);
    box-shadow: 8px 8px 0px rgba(209, 196, 233, 0.3);
    overflow: hidden;
}

.window-header {
    background: rgba(209, 196, 233, 0.1);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(209, 196, 233, 0.2);
}

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

.window-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

/* Match hero window controls: Apricot, Lavender, Mint */
.window-dots span:nth-child(1) { background: var(--muted-apricot); }
.window-dots span:nth-child(2) { background: var(--soft-lavender); }
.window-dots span:nth-child(3) { background: var(--frosted-mint); }

.window-title {
    font-family: var(--font-data);
    font-size: 0.75rem;
    color: var(--deep-ink);
    font-weight: 600;
}

.feed-list {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.feed-item {
    padding: 18px;
    border-bottom: 1px solid var(--border-soft);
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.feed-item:hover, .feed-item.active {
    background: rgba(133, 208, 203, 0.05);
    border-left-color: var(--frosted-mint);
    transform: translateX(4px);
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.feed-time {
    font-family: var(--font-data);
    font-size: 0.75rem;
    color: #999;
}

.feed-content {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--deep-ink);
}

.apy-badge {
    display: inline-block;
    background: rgba(133, 208, 203, 0.15);
    color: var(--frosted-mint);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 8px;
    border: 1px solid rgba(133, 208, 203, 0.3);
    vertical-align: middle;
}

.feed-value .apy-badge:last-child {
    margin-right: 0;
}

[data-theme='dark'] .apy-badge {
    color: var(--frosted-mint);
    background: rgba(133, 208, 203, 0.1);
}

.feed-content code {
    font-family: var(--font-data);
    font-weight: 700;
    background: rgba(133, 208, 203, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--frosted-mint);
    font-size: 0.85rem;
}

.feed-address {
    font-family: var(--font-data);
    font-weight: 700;
    color: var(--deep-ink);
}

.feed-value {
    font-family: var(--font-data);
    font-size: 0.9rem;
    color: var(--soft-lavender);
    font-weight: 600;
}

.insight-window {
    min-height: 400px;
}

.insight-content {
    padding: 40px;
    position: relative;
}

.insight-default {
    text-align: center;
    padding: 60px 20px;
}

.eye-lens {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--frosted-mint);
    background: rgba(133, 208, 203, 0.08);
    border: 1px solid rgba(133, 208, 203, 0.25);
    border-radius: 22px;
    box-shadow: 10px 10px 0px rgba(209, 196, 233, 0.16);
    filter: drop-shadow(0 0 10px rgba(133, 208, 203, 0.22));
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.eye-lens svg {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[data-theme='dark'] .eye-lens {
    background: rgba(165, 230, 225, 0.10);
    border-color: rgba(165, 230, 225, 0.22);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.25);
}

.insight-default h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--deep-ink);
}

.insight-default p {
    color: #666;
    font-size: 1rem;
}

.insight-detail {
    display: none;
}

.insight-detail.active {
    display: block;
}

.insight-detail h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--deep-ink);
}

.insight-detail p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--deep-ink);
}

.insight-detail code {
    font-family: var(--font-data);
    font-weight: 700;
    background: rgba(133, 208, 203, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--frosted-mint);
}

.insight-detail ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.insight-detail ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--deep-ink);
    font-size: 1rem;
}

.insight-detail ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--frosted-mint);
    font-weight: bold;
}

/* Technical terms in body text */
code, .tech-term {
    font-family: var(--font-data);
    font-weight: 700;
    background: rgba(133, 208, 203, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--frosted-mint);
}

/* Intelligence Console - Light Retro Terminal Style */
.terminal-console {
    background: linear-gradient(180deg, #F5F3FA 0%, #EDE8F5 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--soft-lavender);
    box-shadow: 8px 8px 0px rgba(209, 196, 233, 0.3);
    margin-bottom: 160px;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.terminal-console-intro {
    padding: 26px 26px 0;
    text-align: center;
}

.console-section-title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.terminal-console-intro .section-subtitle {
    margin: 10px auto 22px;
    max-width: 80ch;
}

[data-theme='dark'] .terminal-console {
    background: rgba(28, 27, 38, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(45, 43, 61, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.console-header {
    background: rgba(209, 196, 233, 0.3);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(209, 196, 233, 0.4);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme='dark'] .console-header {
    background: rgba(45, 43, 61, 0.4);
    border-bottom: 1px solid rgba(45, 43, 61, 0.6);
}

.console-header .window-controls {
    display: flex;
    gap: 8px;
}

.console-header .window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.console-header .window-controls span:nth-child(1) { background: var(--muted-apricot); }
.console-header .window-controls span:nth-child(2) { background: var(--soft-lavender); }
.console-header .window-controls span:nth-child(3) { background: var(--frosted-mint); }

.console-tabs {
    display: flex;
    gap: 8px;
}

.console-tabs .tab {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-family: var(--font-data);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
    opacity: 0.6;
}

.console-tabs .tab:hover {
    color: white;
    background: rgba(133, 208, 203, 0.3);
    opacity: 1;
}

[data-theme='dark'] .console-tabs .tab:hover {
    background: rgba(165, 230, 225, 0.2);
}

.console-tabs .tab.active {
    color: white;
    background: linear-gradient(135deg, var(--frosted-mint), var(--soft-lavender));
    opacity: 1;
}

.console-tabs .tab.active::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--soft-lavender);
}

.console-title {
    font-family: var(--font-data);
    font-size: 0.75rem;
    color: var(--text-main);
    margin-left: auto;
    opacity: 0.5;
    transition: color 0.3s ease;
}

.console-body {
    position: relative;
    overflow: hidden;
}

/* Scanline CRT overlay effect */
.scanline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.console-body pre {
    padding: 30px;
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-data);
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.8;
    position: relative;
    z-index: 0;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s ease, color 0.3s ease;
}

[data-theme='dark'] .console-body pre {
    background: rgba(37, 36, 52, 0.6);
    color: var(--text-main);
}

/* Blinking cursor animation */
.cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--soft-lavender);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

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

/* Syntax highlighting - Brand palette (light theme) */
.console-body .cm { color: #9575CD; font-style: italic; } /* Comments - Deeper Lavender */
.console-body .kw { color: #00897B; } /* Keywords - Teal */
.console-body .fn { color: #00897B; } /* Functions - Teal */
.console-body .str { color: #E65100; } /* Strings - Warm Orange */
.console-body .num { color: #2E7D32; } /* Numbers - Forest Green */

/* Dark mode syntax highlighting - Lighter variants */
[data-theme='dark'] .console-body .cm { color: var(--soft-lavender); font-style: italic; }
[data-theme='dark'] .console-body .kw { color: var(--frosted-mint); }
[data-theme='dark'] .console-body .fn { color: var(--frosted-mint); }
[data-theme='dark'] .console-body .str { color: var(--muted-apricot); }
[data-theme='dark'] .console-body .num { color: var(--success-green); }

.console-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(209, 196, 233, 0.25);
    border-top: 1px solid rgba(209, 196, 233, 0.4);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme='dark'] .console-footer {
    background: rgba(45, 43, 61, 0.4);
    border-top: 1px solid rgba(45, 43, 61, 0.6);
}

.copy-btn {
    background: white;
    border: 2px solid var(--frosted-mint);
    color: #00897B;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-data);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme='dark'] .copy-btn {
    background: var(--surface);
    color: var(--frosted-mint);
    border-color: var(--frosted-mint);
}

.copy-btn:hover {
    background: var(--frosted-mint);
    color: white;
}

[data-theme='dark'] .copy-btn:hover {
    background: var(--frosted-mint);
    color: var(--canvas);
}

.copy-btn.copied {
    background: var(--success-green);
    border-color: var(--success-green);
    color: var(--deep-lavender);
}

.docs-link {
    color: #7E57C2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

[data-theme='dark'] .docs-link {
    color: var(--soft-lavender);
}

.docs-link:hover {
    color: #00897B;
}

[data-theme='dark'] .docs-link:hover {
    color: var(--frosted-mint);
}

/* Legacy pre styles for other sections */
pre {
    padding: 30px;
    margin: 0;
    color: #dcdcdc;
    font-family: 'JetBrains Mono', monospace;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.7;
}

code {
    display: block;
}

.cm { color: var(--muted-apricot); opacity: 0.8; } /* Comment */
.kw { color: var(--frosted-mint); } /* Keyword */
.str { color: var(--muted-apricot); } /* String */
.num { color: var(--frosted-mint); } /* Number */

.view-full-docs {
    padding: 20px;
    text-align: center;
    background: rgba(209, 196, 233, 0.05);
    border-top: 1px solid rgba(209, 196, 233, 0.2);
}

.view-full-docs a {
    color: var(--frosted-mint);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    font-family: var(--font-data);
}

.view-full-docs a:hover {
    color: var(--soft-lavender);
}

/* Footer */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

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

.footer-main p {
    margin: 5px 0;
    color: #666;
}

.footer-limits {
    font-size: 0.85rem;
    color: #999;
}

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

.footer-links a {
    color: var(--frosted-mint);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--soft-lavender);
}

/* FAQ / How it works */
.faq {
    margin: 80px 0 160px;
}

.faq .section-subtitle {
    margin-bottom: 34px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(180deg, rgba(209, 196, 233, 0.10), rgba(133, 208, 203, 0.06));
    border: 1px solid rgba(209, 196, 233, 0.35);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

[data-theme='dark'] .faq-item {
    background: linear-gradient(180deg, rgba(45, 43, 61, 0.55), rgba(28, 27, 38, 0.55));
    border-color: rgba(45, 43, 61, 0.85);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.faq-item summary {
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 1.1rem;
    line-height: 1.35;
    padding: 6px 2px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:after {
    content: "+";
    color: var(--frosted-mint);
    font-family: var(--font-data);
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0.9;
}

.faq-item[open] summary:after {
    content: "—";
}

.faq-item:hover {
    transform: translateY(-1px);
    border-color: rgba(133, 208, 203, 0.6);
    box-shadow: 6px 6px 0px rgba(133, 208, 203, 0.16);
}

[data-theme='dark'] .faq-item:hover {
    border-color: rgba(165, 230, 225, 0.35);
}

.faq-item summary:focus-visible {
    outline: 3px solid rgba(133, 208, 203, 0.45);
    outline-offset: 4px;
    border-radius: 12px;
}

.faq-body {
    margin-top: 12px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.02rem;
}

.faq-body p {
    margin: 10px 0 0;
}

/* Fix global `code { display: block; }` inside FAQ */
.faq code {
    display: inline;
    font-family: var(--font-data);
    font-weight: 700;
    background: rgba(133, 208, 203, 0.12);
    padding: 2px 8px;
    border-radius: 8px;
    color: var(--frosted-mint);
}

[data-theme='dark'] .faq code {
    background: rgba(165, 230, 225, 0.14);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .hero-preview {
        order: -1;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

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

    /* Section spacing on mobile: keep breathing room but reduce scrolling */
    .pricing-terminal,
    .intelligence-matrix,
    .terminal-console {
        margin-bottom: 110px;
    }

    .faq {
        margin: 60px 0 110px;
    }

    .card-pro {
        transform: scale(1);
    }

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

    .card-standard {
        order: 2;
    }

    .card-pro {
        order: 1;
    }

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

    .intelligence-matrix > h2 {
        margin-top: 28px;
        margin-bottom: 14px;
    }

    .intelligence-matrix > .section-subtitle {
        margin-bottom: 34px;
    }

    .comparison-matrix {
        font-size: 0.85rem;
    }

    .comparison-matrix th,
    .comparison-matrix td {
        padding: 12px 15px;
    }

    nav {
        flex-wrap: wrap;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

