/* ============================================
   SNURKZ THEME SYSTEM
   Premium dual-mode: Light (default) + Dark
   ============================================ */

/* LIGHT THEME (default) */
:root,
[data-theme="light"] {
    --bg: #f0f4ff;
    --bg-secondary: #e8edf8;
    --bg-tertiary: #dce3f0;
    --surface: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(8, 145, 178, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.92);
    --glass-strong: rgba(255, 255, 255, 0.95);
    --accent: #0891b2;
    --accent-warm: #e67e00;
    --accent-purple: #7c3aed;
    --accent-green: #059669;
    --accent-blue: #2563eb;
    --accent-red: #dc2626;
    --text: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    --glow-cyan: rgba(8, 145, 178, 0.22);
    --glow-warm: rgba(230, 126, 0, 0.18);
    --glow-purple: rgba(124, 58, 237, 0.15);
    --glow-green: rgba(5, 150, 105, 0.15);
    --shadow-card: 0 4px 24px rgba(8, 145, 178, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-elevated: 0 20px 60px rgba(8, 145, 178, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    --nav-bg: rgba(240, 244, 255, 0.85);
    --nav-bg-default: rgba(255, 255, 255, 0.45);
    --nav-mobile-bg: rgba(240, 244, 255, 0.97);
    --border-subtle: rgba(8, 145, 178, 0.06);
    --border-light: rgba(8, 145, 178, 0.1);
    --border-medium: rgba(8, 145, 178, 0.14);
    --border-hover: rgba(8, 145, 178, 0.25);
    --btn-secondary-bg: rgba(8, 145, 178, 0.05);
    --btn-secondary-hover: rgba(8, 145, 178, 0.1);
    --btn-secondary-border: rgba(8, 145, 178, 0.15);
    --orb-1: rgba(8, 145, 178, 0.12);
    --orb-2: rgba(124, 58, 237, 0.1);
    --orb-3: rgba(230, 126, 0, 0.08);
    --img-brightness: 1;
    --img-brightness-hover: 1.03;
    --code-bg: rgba(8, 145, 178, 0.04);
    --proof-hover: rgba(8, 145, 178, 0.04);
    --h1-gradient: linear-gradient(135deg, #0f172a 0%, #0891b2 60%, #7c3aed 100%);
    --accent-gradient: linear-gradient(135deg, #0891b2 0%, #7c3aed 50%, #e67e00 100%);
    --process-number-color: #ffffff;
    --eyebrow-bg: rgba(8, 145, 178, 0.1);
    --eyebrow-border: rgba(8, 145, 178, 0.22);
    --warm-eyebrow-bg: rgba(230, 126, 0, 0.1);
    --warm-eyebrow-border: rgba(230, 126, 0, 0.22);
    --spotlight-enterprise: rgba(8, 145, 178, 0.15);
    --spotlight-voice: rgba(230, 126, 0, 0.15);
    --enterprise-icon-bg: rgba(8, 145, 178, 0.1);
    --enterprise-icon-border: rgba(8, 145, 178, 0.22);
    --voice-icon-bg: rgba(230, 126, 0, 0.1);
    --voice-icon-border: rgba(230, 126, 0, 0.22);
    --enterprise-glow: 0 20px 60px rgba(8, 145, 178, 0.15), 0 4px 16px rgba(8, 145, 178, 0.08);
    --voice-glow: 0 20px 60px rgba(230, 126, 0, 0.15), 0 4px 16px rgba(230, 126, 0, 0.08);
    --shimmer: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.5) 45%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.5) 55%, transparent 60%);
    --border-conic-highlight: rgba(8, 145, 178, 0.15);
    --avatar-bg: linear-gradient(135deg, rgba(8, 145, 178, 0.15), rgba(124, 58, 237, 0.15));
    --avatar-border: rgba(8, 145, 178, 0.18);
    --calc-border: rgba(8, 145, 178, 0.3);
    --calc-bg: rgba(8, 145, 178, 0.06);
    --slider-track: rgba(8, 145, 178, 0.12);
    --input-bg: rgba(255, 255, 255, 0.8);
    --input-border: rgba(8, 145, 178, 0.15);
    --input-focus-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
    --tag-bg: rgba(8, 145, 178, 0.05);
    --scrollbar-track: transparent;
    --scrollbar-thumb: rgba(8, 145, 178, 0.15);
    color-scheme: light;
}

/* DARK THEME */
[data-theme="dark"] {
    --bg: #06080f;
    --bg-secondary: #0c1019;
    --bg-tertiary: #111827;
    --surface: #0f1420;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(255, 255, 255, 0.06);
    --glass-strong: rgba(255, 255, 255, 0.08);
    --accent: #00e5ff;
    --accent-warm: #ff9f43;
    --accent-purple: #a855f7;
    --accent-green: #34d399;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;
    --text: #eef2ff;
    --text-secondary: #8892a8;
    --text-muted: #555e72;
    --text-inverse: #06080f;
    --glow-cyan: rgba(0, 229, 255, 0.15);
    --glow-warm: rgba(255, 159, 67, 0.15);
    --glow-purple: rgba(168, 85, 247, 0.1);
    --glow-green: rgba(52, 211, 153, 0.15);
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.4);
    --nav-bg: rgba(6, 8, 15, 0.6);
    --nav-bg-default: rgba(6, 8, 15, 0.25);
    --nav-mobile-bg: rgba(6, 8, 15, 0.95);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-light: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.12);
    --btn-secondary-bg: rgba(255, 255, 255, 0.04);
    --btn-secondary-hover: rgba(255, 255, 255, 0.07);
    --btn-secondary-border: rgba(255, 255, 255, 0.08);
    --orb-1: rgba(0, 229, 255, 0.12);
    --orb-2: rgba(168, 85, 247, 0.1);
    --orb-3: rgba(255, 159, 67, 0.08);
    --img-brightness: 0.65;
    --img-brightness-hover: 0.85;
    --code-bg: rgba(255, 255, 255, 0.05);
    --proof-hover: rgba(255, 255, 255, 0.02);
    --h1-gradient: linear-gradient(135deg, #ffffff 0%, #c8d6e5 40%, #8892a8 100%);
    --accent-gradient: linear-gradient(135deg, #00e5ff 0%, #a855f7 100%);
    --process-number-color: #06080f;
    --eyebrow-bg: rgba(0, 229, 255, 0.06);
    --eyebrow-border: rgba(0, 229, 255, 0.12);
    --warm-eyebrow-bg: rgba(255, 159, 67, 0.06);
    --warm-eyebrow-border: rgba(255, 159, 67, 0.12);
    --spotlight-enterprise: rgba(0, 229, 255, 0.12);
    --spotlight-voice: rgba(255, 159, 67, 0.12);
    --enterprise-icon-bg: rgba(0, 229, 255, 0.08);
    --enterprise-icon-border: rgba(0, 229, 255, 0.15);
    --voice-icon-bg: rgba(255, 159, 67, 0.08);
    --voice-icon-border: rgba(255, 159, 67, 0.15);
    --enterprise-glow: 0 20px 60px rgba(0, 229, 255, 0.08), 0 0 40px rgba(0, 229, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --voice-glow: 0 20px 60px rgba(255, 159, 67, 0.08), 0 0 40px rgba(255, 159, 67, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --shimmer: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 55%, transparent 60%);
    --border-conic-highlight: rgba(255, 255, 255, 0.08);
    --avatar-bg: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(168, 85, 247, 0.1));
    --avatar-border: rgba(255, 255, 255, 0.08);
    --calc-border: rgba(0, 229, 255, 0.2);
    --calc-bg: rgba(0, 229, 255, 0.03);
    --slider-track: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(255, 255, 255, 0.04);
    --input-border: rgba(255, 255, 255, 0.08);
    --input-focus-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
    --tag-bg: rgba(255, 255, 255, 0.03);
    --scrollbar-track: transparent;
    --scrollbar-thumb: rgba(255, 255, 255, 0.08);
    color-scheme: dark;
}

/* Smooth transition on theme change */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, fill 0.4s ease, stroke 0.4s ease !important;
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-medium);
    background: var(--btn-secondary-bg);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: background 0.3s, border-color 0.3s;
    flex-shrink: 0;
}
.theme-toggle:hover {
    border-color: var(--border-hover);
    background: var(--btn-secondary-hover);
}
.theme-toggle .toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transform: translateX(0px);
}
[data-theme="dark"] .theme-toggle .toggle-thumb {
    transform: translateX(20px);
}
.theme-toggle .toggle-icon {
    width: 12px;
    height: 12px;
}
/* Sun icon shown by default (light mode) */
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

/* ============================================
   LIGHT MODE OVERRIDES FOR INLINE SVG STROKES
   Many SVGs use hardcoded stroke colors.
   In light mode, we adjust key elements.
   ============================================ */
[data-theme="light"] .nav-logo {
    color: var(--text);
}
[data-theme="light"] .mobile-toggle svg {
    stroke: var(--text);
}
[data-theme="light"] .glass {
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border-color: rgba(8, 145, 178, 0.1);
}
[data-theme="light"] .glass:hover {
    box-shadow: 0 8px 32px rgba(8, 145, 178, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: rgba(8, 145, 178, 0.2);
}
[data-theme="light"] .mesh-orb {
    opacity: 0.8;
}
[data-theme="light"] nav {
    box-shadow: 0 2px 20px rgba(8, 145, 178, 0.1), 0 1px 4px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .hero-img {
    box-shadow: 0 8px 32px rgba(8, 145, 178, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .hero-img img {
    filter: brightness(1);
}
[data-theme="light"] .hero-img:hover img {
    filter: brightness(1.02);
    transform: scale(1.03);
}
[data-theme="light"] .process-number,
[data-theme="light"] .step-num {
    color: #ffffff;
}
[data-theme="light"] .btn-primary {
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}
[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 8px 28px rgba(8, 145, 178, 0.4), 0 4px 12px rgba(8, 145, 178, 0.2);
}
[data-theme="light"] .btn-secondary {
    border-color: rgba(8, 145, 178, 0.2);
    color: #0891b2;
    font-weight: 700;
}
[data-theme="light"] .btn-secondary:hover {
    background: rgba(8, 145, 178, 0.08);
    border-color: rgba(8, 145, 178, 0.3);
}
[data-theme="light"] .nav-cta {
    color: #ffffff !important;
}
/* Accent SVG icon colors in light mode */
[data-theme="light"] .path-card.enterprise .path-icon-wrap svg {
    stroke: #0891b2;
}
[data-theme="light"] .path-card.voice .path-icon-wrap svg {
    stroke: #d97706;
}

/* Form inputs in light mode */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: var(--surface);
    border-color: var(--border-light);
}
[data-theme="light"] .form-group select option {
    background: var(--surface);
}

/* FAQ arrows and inline SVGs */
[data-theme="light"] .faq-arrow svg {
    stroke: var(--text-muted);
}
[data-theme="light"] .faq-question:hover .faq-arrow svg {
    stroke: var(--accent);
}

/* Trust / capability icon SVGs */
[data-theme="light"] .trust-icon svg,
[data-theme="light"] .capability-icon svg,
[data-theme="light"] .compliance-icon svg,
[data-theme="light"] .badge-card .badge-icon svg,
[data-theme="light"] .ind-icon svg,
[data-theme="light"] .phase-gate svg {
    stroke: currentColor;
}

/* Pricing card check SVGs */
[data-theme="light"] .pricing-card ul li svg {
    stroke: var(--accent-green);
}

/* Problem card stat highlights */
[data-theme="light"] .problem-stat {
    color: var(--accent-red);
}

/* Calculator result in light mode */
[data-theme="light"] .calc-result {
    background: var(--surface);
}

/* Ticker images brightness */
[data-theme="light"] .ticker-item img {
    filter: brightness(1);
}

/* Pay page plan cards */
[data-theme="light"] .plan-card.selected .check-circle svg {
    stroke: #ffffff;
}

/* Contact page sidebar cards */
[data-theme="light"] .sidebar-card {
    background: var(--surface);
}

/* About page founder tags */
[data-theme="light"] .founder-tag {
    background: var(--bg-secondary);
    border-color: var(--border-light);
}

/* Case studies tech tags */
[data-theme="light"] .case-tech-tag {
    background: var(--bg-secondary);
    border-color: var(--border-light);
}

/* Filter buttons on case studies */
[data-theme="light"] .filter-btn {
    background: var(--surface);
    border-color: var(--border-light);
}
[data-theme="light"] .filter-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--border-hover);
}

/* Team points on enterprise page */
[data-theme="light"] .team-point {
    background: var(--surface);
}

/* Proof items */
[data-theme="light"] .proof-item {
    background: var(--surface);
    border: 1px solid rgba(8, 145, 178, 0.08);
    border-radius: 16px;
}
[data-theme="light"] .proof-item:hover {
    border-color: rgba(8, 145, 178, 0.2);
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.1);
}
[data-theme="light"] .proof-item .stat {
    color: #0891b2;
}

/* General card shadow improvements for light mode */
[data-theme="light"] .case-card,
[data-theme="light"] .capability-card,
[data-theme="light"] .phase-card,
[data-theme="light"] .industry-card,
[data-theme="light"] .step-card,
[data-theme="light"] .problem-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .plan-card,
[data-theme="light"] .badge-card,
[data-theme="light"] .how-card {
    background: var(--surface);
    border-color: rgba(8, 145, 178, 0.1);
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .case-card:hover,
[data-theme="light"] .capability-card:hover,
[data-theme="light"] .phase-card:hover,
[data-theme="light"] .industry-card:hover,
[data-theme="light"] .step-card:hover,
[data-theme="light"] .problem-card:hover,
[data-theme="light"] .pricing-card:hover,
[data-theme="light"] .plan-card:hover,
[data-theme="light"] .badge-card:hover,
[data-theme="light"] .how-card:hover {
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(8, 145, 178, 0.25);
}

/* Dashboard mockup in light mode */
[data-theme="light"] .dashboard-mockup {
    box-shadow: 0 8px 40px rgba(8, 145, 178, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(8, 145, 178, 0.15);
}
[data-theme="light"] .dash-stat {
    background: var(--surface);
    border-color: rgba(8, 145, 178, 0.1);
}
[data-theme="light"] .dash-stat-val {
    color: #0891b2;
}
[data-theme="light"] .dash-header {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.06), rgba(124, 58, 237, 0.04));
}

/* Phone mockup in light mode */
[data-theme="light"] .phone-mockup {
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.15), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(8, 145, 178, 0.12);
    background: var(--surface);
}
[data-theme="light"] .phone-status-bar {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.06), rgba(124, 58, 237, 0.04));
}

/* Feature highlight cards */
[data-theme="light"] .feature-hl {
    background: var(--surface);
    border-color: rgba(8, 145, 178, 0.1);
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.06);
}
[data-theme="light"] .feature-hl:hover {
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.14);
    border-color: rgba(8, 145, 178, 0.25);
}

/* Industries strip images */
[data-theme="light"] .ind-strip-item img {
    border-color: rgba(8, 145, 178, 0.15);
}
[data-theme="light"] .ind-strip-item:hover img {
    border-color: #0891b2;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.2);
}

/* Light mode section titles get accent color pop */
[data-theme="light"] .section-title {
    background: var(--h1-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Light mode accent word in hero */
[data-theme="light"] .hero h1 .accent-word {
    background: linear-gradient(135deg, #0891b2 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Light mode footer gets subtle gradient bg */
[data-theme="light"] footer {
    background: linear-gradient(180deg, transparent 0%, rgba(8, 145, 178, 0.03) 100%);
}

/* Light mode final CTA section gets a subtle colored bg */
[data-theme="light"] .final-cta {
    background: linear-gradient(180deg, rgba(8, 145, 178, 0.04) 0%, rgba(124, 58, 237, 0.04) 100%);
    border-radius: 32px;
    margin: 0 20px;
}

/* Light mode path cards get colored hover borders */
[data-theme="light"] .path-card.voice:hover {
    border-color: rgba(230, 126, 0, 0.3);
}
[data-theme="light"] .path-card.enterprise:hover {
    border-color: rgba(8, 145, 178, 0.3);
}

/* Process number in light mode */
[data-theme="light"] .process-number {
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.25);
}

/* Light mode hero section subtle gradient */
[data-theme="light"] .hero {
    background: linear-gradient(180deg, rgba(8, 145, 178, 0.04) 0%, transparent 60%);
}

/* ============================================
   PREMIUM NAV SYSTEM
   ============================================ */
nav {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%) translateY(0);
    z-index: 100; width: calc(100% - 48px); max-width: 1200px;
    background: var(--nav-bg-default, rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid var(--border-subtle);
    border-radius: 20px; padding: 16px 32px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    animation: navSlideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes navSlideIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
nav.scrolled {
    top: 10px;
    background: var(--nav-bg);
    backdrop-filter: blur(40px) saturate(1.8);
    -webkit-backdrop-filter: blur(40px) saturate(1.8);
    border-color: var(--border-light);
    padding: 12px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--border-subtle);
}
nav::before {
    content: ''; position: absolute; inset: -1px; border-radius: 21px; z-index: -1;
    background: conic-gradient(from var(--nav-border-angle, 0deg), var(--accent), var(--accent-purple), var(--accent-warm), var(--accent-green), var(--accent));
    opacity: 0.15; transition: opacity 0.5s ease;
    animation: navBorderSpin 4s linear infinite;
}
nav.scrolled::before { opacity: 0.35; }
nav:hover::before { opacity: 0.6; }
@property --nav-border-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes navBorderSpin { to { --nav-border-angle: 360deg; } }
nav::after {
    content: ''; position: absolute; inset: 0; border-radius: 20px; z-index: -1;
    background: var(--bg);
    opacity: 0.5; transition: opacity 0.5s ease;
}
nav.scrolled::after { opacity: 1; background: var(--nav-bg); }

nav .container { display: flex; justify-content: space-between; align-items: center; padding: 0; max-width: none; }
.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem; font-weight: 700; color: var(--text);
    text-decoration: none; letter-spacing: -0.03em;
    position: relative;
    display: inline-flex; align-items: center; gap: 10px;
}
.nav-logo img {
    height: 36px; width: 36px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-logo:hover img {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.25), 0 0 12px var(--glow-cyan);
}
[data-theme="dark"] .nav-logo img {
    background: rgba(15, 20, 32, 0.9);
    box-shadow: 0 2px 8px rgba(0, 229, 255, 0.2);
}
[data-theme="dark"] .nav-logo:hover img {
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3), 0 0 16px var(--glow-cyan);
}
.nav-logo span {
    color: var(--accent);
    text-shadow: 0 0 20px var(--glow-cyan);
    animation: logoDotPulse 3s ease-in-out infinite;
}
@keyframes logoDotPulse {
    0%, 100% { text-shadow: 0 0 20px var(--glow-cyan); }
    50% { text-shadow: 0 0 40px var(--accent), 0 0 60px var(--glow-cyan); }
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.88rem;
    font-weight: 500; transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1); position: relative;
    padding: 8px 16px; border-radius: 12px;
}
.nav-links a:hover {
    color: var(--text);
    background: var(--glass);
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px; border-radius: 3px;
    background: var(--accent-gradient); transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 8px var(--glow-cyan);
}
.nav-links a:hover::after { width: 20px; }
.nav-links a.active { color: var(--text); background: var(--glass); }
.nav-links a.active::after { width: 20px; }

.nav-divider {
    width: 1px; height: 24px; background: var(--border-medium);
    margin: 0 8px; flex-shrink: 0;
}
.nav-cta {
    background: var(--accent) !important; color: var(--text-inverse) !important;
    padding: 10px 24px !important; border-radius: 12px; font-weight: 600 !important;
    font-size: 0.88rem !important; transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
    box-shadow: 0 0 20px var(--glow-cyan), inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative; overflow: hidden;
}
.nav-cta::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    opacity: 0; transition: opacity 0.3s;
}
.nav-cta:hover::before { opacity: 1; }
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    box-shadow: 0 0 40px var(--glow-cyan), 0 4px 24px rgba(0,229,255,0.25), inset 0 1px 0 rgba(255,255,255,0.2) !important;
    transform: translateY(-2px) scale(1.02);
}
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle svg { stroke: var(--text); }

/* Nav mobile responsive */
@media (max-width: 768px) {
    nav { top: 8px; width: calc(100% - 24px); padding: 12px 20px; }
    nav.scrolled { padding: 10px 18px; }
    .nav-links { display: none; }
    .nav-links.active {
        display: flex; flex-direction: column;
        position: absolute; top: calc(100% + 8px); left: 0; right: 0;
        background: var(--nav-mobile-bg);
        backdrop-filter: blur(40px) saturate(1.8); -webkit-backdrop-filter: blur(40px) saturate(1.8);
        border: 1px solid var(--border-light);
        border-radius: 16px; padding: 20px; gap: 4px;
        box-shadow: 0 16px 48px rgba(0,0,0,0.15);
        animation: mobileMenuIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }
    @keyframes mobileMenuIn {
        from { opacity: 0; transform: translateY(-8px) scale(0.98); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .nav-links.active a { padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; }
    .nav-links.active a:hover { background: var(--glass-hover); }
    .nav-divider { display: none; }
    .nav-links.active .nav-cta { margin-top: 8px; text-align: center; justify-content: center; padding: 14px 24px !important; }
    .mobile-toggle { display: block; }
}
