﻿:root {
    --bg-base: #000000;
    --bg-subtle: #050505;
    --bg-surface: #0a0a0a;
    --bg-surface-hover: #121212;
    --bg-surface-elevated: #181818;
    --bg-glass: rgba(10, 10, 10, 0.75);
    --bg-glass-card: rgba(18, 18, 18, 0.65);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-bright: rgba(255, 255, 255, 0.2);
    --border-highlight: rgba(255, 255, 255, 0.35);

    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --text-tertiary: #666666;
    --text-disabled: #444444;

    --brand-red: #FF6363;
    --brand-purple: #9D74FF;
    --brand-blue: #3E8BFF;
    --brand-emerald: #10B981;
    --brand-amber: #F59E0B;
    --brand-cyan: #06B6D4;

    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 50px rgba(157, 116, 255, 0.15);

    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Ambient Lighting & Canvas */
.canvas-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

#aurora-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.grid-bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image:
        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: 48px 48px;
    pointer-events: none;
    z-index: -1;
    mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 75%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    line-height: 1.1;
}

p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

/* Navigation - iPhone Dynamic Island & Liquid Glass */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 16px 24px;
    pointer-events: none;
    transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    padding: 10px 24px;
}

.nav-inner {
    pointer-events: auto;
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 14px 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(12, 12, 18, 0.62);
    backdrop-filter: blur(28px) saturate(220%) contrast(105%);
    -webkit-backdrop-filter: blur(28px) saturate(220%) contrast(105%);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 20px 40px -15px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 0 rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Apple iPhone Glass Specular Rim Highlight */
.nav-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 25%,
        rgba(157, 116, 255, 0.85) 50%,
        rgba(255, 99, 99, 0.85) 75%,
        transparent 100%
    );
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Dynamic Interactive Mouse Glass Sheen */
.nav-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--nav-mouse-x, 50%) var(--nav-mouse-y, 0%), rgba(255, 255, 255, 0.09), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Scrolled Dynamic Island State */
header.scrolled .nav-inner {
    background: rgba(8, 8, 14, 0.82);
    backdrop-filter: blur(36px) saturate(230%) contrast(110%);
    -webkit-backdrop-filter: blur(36px) saturate(230%) contrast(110%);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 24px 50px -10px rgba(0, 0, 0, 0.85),
        0 0 25px rgba(157, 116, 255, 0.15),
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 0 rgba(0, 0, 0, 0.6);
    padding: 6px 12px 6px 18px;
    transform: translateY(-2px);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(157, 116, 255, 0.35), 0 0 12px rgba(255, 99, 99, 0.2);
    flex-shrink: 0;
}

.brand-logo-svg {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.nav-brand:hover {
    transform: translateY(-1px);
}

.nav-brand:hover .brand-logo-wrap {
    transform: scale(1.08);
    box-shadow:
        0 6px 24px rgba(157, 116, 255, 0.6),
        0 0 20px rgba(56, 189, 248, 0.45),
        0 0 14px rgba(255, 99, 99, 0.4);
}

.nav-brand:hover .brand-logo-svg {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

.brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #FFFFFF 30%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.25s ease;
}

.nav-brand:hover .brand-text {
    background: linear-gradient(180deg, #FFFFFF 10%, #E0E7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(157, 116, 255, 0.4);
}

.brand-icon {
    display: none;
}

/* Liquid Glass Capsule Sub-dock */
.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 3px 5px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    color: rgba(240, 240, 255, 0.72);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.nav-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.3),
        0 0 14px rgba(157, 116, 255, 0.25);
}

.nav-item.active::after {
    display: none;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* iPhone Specular Glass Button */
.btn-nav-primary {
    background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
    color: #08080C;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 99, 99, 0.22),
        inset 0 1px 1px #ffffff,
        inset 0 -1px 1px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-nav-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.btn-nav-primary:hover::before {
    left: 100%;
}

.btn-nav-primary:hover {
    transform: translateY(-1.5px) scale(1.02);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.45),
        0 0 28px rgba(157, 116, 255, 0.4),
        inset 0 1px 1px #ffffff;
    color: #000;
}

/* Hero Components */
.hero-section {
    padding: 170px 24px 80px;
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-default);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}
.badge-pill .pill-accent {
    background: linear-gradient(90deg, var(--brand-red), var(--brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.badge-dot {
    width: 6px; height: 6px;
    background: var(--brand-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--brand-red);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-heading {
    font-size: clamp(3.2rem, 7.5vw, 5.8rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin-bottom: 28px;
    background: linear-gradient(180deg, #FFFFFF 20%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 44px;
    font-weight: 400;
    line-height: 1.55;
}

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

.btn-hero-primary {
    position: relative;
    padding: 13px 28px;
    background: linear-gradient(180deg, #FFFFFF 0%, #E8E8EE 100%);
    color: #08080C;
    border-radius: var(--radius-full);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.25),
        0 8px 24px -4px rgba(255, 255, 255, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px #FFFFFF;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transition: left 0.5s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px #FFFFFF,
        0 14px 34px -4px rgba(255, 255, 255, 0.38),
        0 0 24px rgba(255, 99, 99, 0.22),
        inset 0 1px 1px #FFFFFF;
    color: #000000;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-hero-secondary {
    position: relative;
    padding: 11px 16px 11px 24px;
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
    font-size: 0.96rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.16),
        0 4px 18px rgba(0, 0, 0, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
        0 8px 26px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(157, 116, 255, 0.2);
    color: #FFFFFF;
}

.btn-hero-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-arrow-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.btn-arrow-badge svg {
    display: block;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover .btn-arrow-badge {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover .btn-arrow-badge svg {
    transform: translateX(2px);
}

/* Masterpiece Locked Sprint Action Button */
.btn-lock-sprint {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 10px 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #EFEFF4 100%);
    color: #09090B;
    border-radius: var(--radius-full);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 12px 30px -4px rgba(157, 116, 255, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
}

.btn-lock-sprint::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.btn-lock-sprint:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 0 1px #FFFFFF, 0 18px 42px -4px rgba(157, 116, 255, 0.5), 0 0 25px rgba(255, 255, 255, 0.4);
    color: #000;
}

.btn-lock-sprint:hover::before {
    left: 100%;
}

.btn-lock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-purple);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-lock-sprint:hover .btn-lock-icon {
    transform: rotate(-10deg) scale(1.15);
}

.btn-lock-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #0a0a0c;
}

.btn-lock-arrow {
    width: 34px;
    height: 34px;
    background: #000000;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.btn-lock-sprint:hover .btn-lock-arrow {
    transform: translateX(4px);
    background: var(--brand-purple);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(157, 116, 255, 0.6);
}

.hero-meta {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

/* Interactive 3D Mockup Container */
.showcase-wrapper { max-width: 1200px; margin: 60px auto 140px; padding: 0 24px; position: relative; perspective: 2000px; }

.showcase-glow-back {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; height: 80%;
    background: radial-gradient(circle, rgba(157, 116, 255, 0.18) 0%, rgba(255, 99, 99, 0.12) 40%, transparent 70%);
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
}

.raycast-mockup-frame {
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), inset 0 1px 1px rgba(255,255,255,0.2);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    transform: rotateX(8deg) scale(0.95);
    opacity: 0.9;
}

.raycast-mockup-frame:hover { transform: rotateX(0deg) scale(1); opacity: 1; box-shadow: 0 60px 150px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
.raycast-mockup-frame:hover {
    transform: rotateX(0deg) translateY(-4px);
    box-shadow: 0 60px 140px rgba(0, 0, 0, 0.95), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* Search Bar & Split Command Palette UI */
.mockup-header-bar {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.4);
}
.mockup-header-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1.35rem;
    font-family: inherit;
    font-weight: 500;
    width: 100%;
}
.mockup-header-bar input::placeholder { color: var(--text-tertiary); }

.mockup-split-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 420px;
}

.mockup-list-pane {
    border-right: 1px solid var(--border-default);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(5, 5, 5, 0.5);
}

.mockup-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    cursor: pointer;
}
.mockup-item:hover, .mockup-item.active {
    background: rgba(255, 255, 255, 0.08);
}
.mockup-item.active {
    background: rgba(157, 116, 255, 0.15);
    border: 1px solid rgba(157, 116, 255, 0.3);
}

.mockup-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mockup-item-icon {
    width: 32px; height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.mockup-item-title { font-weight: 500; font-size: 0.95rem; color: #fff; }
.mockup-item-sub { font-size: 0.8rem; color: var(--text-tertiary); }

.mockup-preview-pane {
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.preview-code-box {
    background: #000000;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #a4b1cd;
    line-height: 1.6;
    overflow-x: auto;
}

.mockup-footer-bar {
    padding: 12px 24px;
    border-top: 1px solid var(--border-default);
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}
.shortcut-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-default);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Marquee Section */
.marquee-band {
    padding: 36px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(5, 5, 5, 0.6);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.marquee-track {
    display: inline-block;
    animation: marqueeScroll 35s linear infinite;
}
.marquee-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 32px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-secondary);
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Bento Grid 2.0 */
.content-section {
    max-width: 1280px;
    margin: 0 auto 140px;
    padding: 0 24px;
}

.section-head {
    text-align: center;
    margin-bottom: 64px;
}
.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}
.section-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.bento-grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card-spotlight {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 100%), rgba(14, 12, 22, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 38px 32px 34px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.bento-card-spotlight:hover {
    border-color: rgba(157, 116, 255, 0.45);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(18, 14, 28, 0.85);
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 36px rgba(157, 116, 255, 0.22), inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.bento-card-spotlight::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, -1000px);
    left: var(--mouse-x, -1000px);
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* Technical Stack Section - High-End Large PC Layout */
.technical-stack-section {
    max-width: 1340px;
    margin: 0 auto 130px;
    padding: 30px 24px 0;
}

.technical-stack-head {
    text-align: center;
    margin-bottom: 52px;
}

.technical-stack-head .section-tag {
    font-size: 0.88rem;
    font-weight: 700;
    color: #FB7185;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 14px;
    display: inline-block;
}

.technical-stack-head .section-title {
    font-size: clamp(2.8rem, 4.2vw, 3.85rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.10;
    margin-bottom: 18px;
    color: #FFFFFF;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.technical-stack-head .section-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(240, 240, 255, 0.78);
    max-width: 740px;
    margin: 0 auto;
}

.integration-showcase-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    padding: 0;
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    box-sizing: border-box;
}

.integration-showcase-card {
    box-sizing: border-box;
    width: 100%;
    min-height: 335px;
    padding: 36px 22px 30px;
    text-align: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(14, 12, 22, 0.75);
    backdrop-filter: blur(32px) saturate(190%);
    -webkit-backdrop-filter: blur(32px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.integration-showcase-card::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 180deg, transparent, rgba(255,99,99,0.14), rgba(157,116,255,0.18), transparent 42%);
    opacity: 0;
    transform: rotate(0deg) scale(0.8);
    transition: opacity 0.35s ease, transform 0.55s ease;
    z-index: -1;
}

.integration-showcase-card:hover {
    transform: translateY(-10px) scale(1.025);
    border-color: rgba(157, 116, 255, 0.5);
    box-shadow: 0 32px 85px rgba(0, 0, 0, 0.8), 0 0 45px rgba(157, 116, 255, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.integration-showcase-card:hover::after {
    opacity: 1;
    transform: rotate(18deg) scale(1);
}

.integration-showcase-icon {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 28px rgba(157, 116, 255, 0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.integration-showcase-card:hover .integration-showcase-icon {
    transform: translateY(-6px) scale(1.08) rotate(-2deg);
    box-shadow: 0 0 52px rgba(157, 116, 255, 0.45);
}

.integration-showcase-label {
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.25;
    margin-bottom: 5px;
}

.integration-showcase-sub {
    font-size: 0.76rem;
    color: var(--brand-red);
    margin-top: 0;
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
}

.integration-showcase-copy {
    font-size: 0.92rem;
    line-height: 1.62;
    color: rgba(240, 240, 255, 0.75);
    margin-top: 0;
}

.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.bento-card-icon {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(157, 116, 255, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bento-card-spotlight:hover .bento-card-icon {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 0 32px rgba(157, 116, 255, 0.35);
}

.bento-card-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.22;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    text-align: left;
}

.bento-card-text {
    color: rgba(240, 240, 255, 0.78);
    font-size: 1.04rem;
    line-height: 1.62;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: left;
}

.bento-card-spotlight ul,
.bento-grid-card ul,
.bento-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: auto;
    padding: 0;
    list-style: none;
    width: 100%;
    position: relative;
    z-index: 1;
}

.bento-card-spotlight ul li,
.bento-grid-card ul li,
.bento-list-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(240, 240, 255, 0.9);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    padding: 6px 14px 6px 12px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    white-space: nowrap;
    transition: all 0.25s ease;
}

.bento-card-spotlight ul li:hover,
.bento-grid-card ul li:hover,
.bento-list-item:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(157, 116, 255, 0.38);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 14px rgba(157, 116, 255, 0.25);
}

.benchmark-row:hover {
    background: rgba(52, 211, 153, 0.08) !important;
    border-radius: 8px;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* =========================================
   FEATURE GRID (OMNI-CAPABILITIES)
   ========================================= */
.feature-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.feature-grid-card {
    background: linear-gradient(180deg, rgba(20, 18, 25, 0.6) 0%, rgba(10, 10, 15, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-grid-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(157, 116, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.feature-grid-visual {
    height: 240px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-grid-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-right: 6px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.feature-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    cursor: default;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.feature-grid-card:hover .feature-pill {
    background: rgba(157, 116, 255, 0.15);
    border-color: rgba(157, 116, 255, 0.3);
}

.col-span-full {
    grid-column: span 2;
}

.display-flex-row {
    flex-direction: row;
    align-items: stretch;
}

.theme-row-visual {
    border-bottom: none;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    height: auto;
    min-height: 280px;
}

.theme-row-content {
    justify-content: center;
    padding: 40px;
}

.large-desc {
    font-size: 1.15rem;
}

@keyframes boxTwitch {
    0% { transform: translate(0, 0) scale(1.4); }
    20% { transform: translate(-2px, 1px) scale(1.45) rotate(-3deg); }
    40% { transform: translate(2px, -2px) scale(1.5) rotate(3deg); }
    60% { transform: translate(-1px, 2px) scale(1.45) rotate(-2deg); }
    80% { transform: translate(1px, -1px) scale(1.5) rotate(2deg); }
    100% { transform: translate(0, 0) scale(1.4); }
}

@keyframes boxJitterGlow {
    0% { filter: brightness(1.2) drop-shadow(0 0 6px rgba(255, 99, 99, 0.8)); }
    50% { filter: brightness(2.0) drop-shadow(0 0 16px rgba(34, 211, 238, 1)); }
    100% { filter: brightness(1.4) drop-shadow(0 0 8px rgba(157, 116, 255, 0.9)); }
}

.chart-sq {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
    position: relative;
    z-index: 1;
}
.chart-sq:hover {
    background: #FF0055 !important;
    animation: boxTwitch 0.18s infinite linear, boxJitterGlow 0.3s infinite alternate;
    z-index: 20;
}

.dot {
    transition: transform 0.2s ease, background 0.2s ease;
}
.dot:hover {
    background: var(--brand-blue) !important;
    box-shadow: 0 0 15px var(--brand-blue);
    transform: scale(2);
}

.c-win {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.theme-card {
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.cloud-sync-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.cloud-box {
    border: 1px solid rgba(157,116,255,0.4);
    background: rgba(157,116,255,0.1);
    padding: 6px 20px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #C084FC;
    box-shadow: 0 0 15px rgba(157,116,255,0.2);
}
.cloud-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, rgba(157,116,255,0.4), rgba(34,211,238,0.4));
    position: relative;
}
.cloud-nodes { display: flex; gap: 30px; }
.cloud-node-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    border: 1px solid rgba(34,211,238,0.2);
    padding: 6px;
    border-radius: 6px;
    background: rgba(0,0,0,0.4);
}
.node-sq { width: 14px; height: 10px; background: rgba(255,255,255,0.1); border-radius: 2px; transition: all 0.2s ease; }
.node-sq.filled { background: var(--brand-cyan); box-shadow: 0 0 8px rgba(34,211,238,0.6); z-index: 1; }
.node-sq.filled:hover {
    background: #00FFFF !important;
    animation: boxTwitch 0.18s infinite linear, boxJitterGlow 0.3s infinite alternate;
    z-index: 20;
}

/* Visuals: Commit Chart */
.commit-chart-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 320px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,99,99,0.15);
    padding: 16px;
    border-radius: 8px;
}
.chart-labels { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--text-tertiary); margin-bottom: 4px; }
.chart-grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; }
.chart-sq { width: 100%; aspect-ratio: 1; border-radius: 2px; background: rgba(255,255,255,0.05); }
.chart-sq.level-1 { background: rgba(255,99,99,0.3); }
.chart-sq.level-2 { background: rgba(255,99,99,0.6); }
.chart-sq.level-3 { background: rgba(255,99,99,0.8); }
.chart-sq.level-4 { background: #FF6363; box-shadow: 0 0 8px rgba(255,99,99,0.8); }

/* Visuals: Dots Matrix */
.dots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: all 0.4s ease;
}
.dot.active {
    background: var(--brand-blue);
    box-shadow: 0 0 10px var(--brand-blue);
}
.dots-grid:hover .dot.pulse {
    background: var(--brand-emerald);
    transform: scale(1.5);
    box-shadow: 0 0 15px var(--brand-emerald);
}

/* Visuals: Cascading Windows */
.cascade-container { position: relative; width: 180px; height: 140px; perspective: 600px; }
.c-win {
    position: absolute;
    width: 160px; height: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(10,10,14,0.9);
    border-top: 12px solid rgba(255,255,255,0.1);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.win-5 { top: 0; left: 0; opacity: 0.2; transform: translateZ(-80px); }
.win-4 { top: 10px; left: 15px; opacity: 0.4; transform: translateZ(-60px); }
.win-3 { top: 20px; left: 30px; opacity: 0.6; transform: translateZ(-40px); }
.win-2 { top: 30px; left: 45px; opacity: 0.8; transform: translateZ(-20px); }
.win-1 { top: 40px; left: 60px; opacity: 1.0; transform: translateZ(0); display:flex; align-items:center; justify-content:center; color:#fff; font-family:'JetBrains Mono',monospace; font-size:0.75rem; }
.feature-grid-card:hover .c-win { transform: translateZ(20px) translateY(-5px) translateX(5px); border-color: rgba(255,255,255,0.3); }

/* =========================================
   THEME STUDIO VISUALS
   ========================================= */
.theme-studio-visual {
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.studio-header-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: 'JetBrains Mono', monospace;
}
.studio-search-input { display: flex; align-items: center; gap: 8px; flex: 1; }
.studio-search-input input {
    background: transparent; border: none; color: #fff; width: 100%;
    font-family: 'Inter', sans-serif; font-size: 0.9rem;
}
.studio-gallery-title {
    padding: 12px 16px;
    display: flex; font-size: 0.8rem; justify-content: space-between;
}
.studio-wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px;
    flex: 1;
}
.wallpaper-thumb {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 80px;
    transition: transform 0.3s ease;
}
.wallpaper-art {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: filter 0.3s ease;
}
.art-1 { background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImciIHgxPSIwIiB5MT0iMCIgeDI9IjEiIHkyPSIxIj48c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjZmZmIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDAwIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9InVybCgjZykiLz48L3N2Zz4='); }
.wallpaper-meta {
    font-size: 0.65rem; color: #fff; padding: 4px;
    display: flex; justify-content: space-between;
}
.floating-color-panel {
    position: absolute;
    right: 16px; top: 70px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    width: 180px;
}
.picker-row { margin-bottom: 12px; }
.picker-row label { display: block; font-size: 0.7rem; color: var(--text-tertiary); margin-bottom: 6px; }
.hue-slider-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red); cursor: pointer; position: relative;}
.sat-slider-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, grey, var(--brand-red)); cursor: pointer; position: relative; }
.slider-thumb {
    width: 16px; height: 16px; background: #fff; border-radius: 50%;
    position: absolute; top: -4px;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}
.hex-input-box { background: rgba(0,0,0,0.3); border-radius: 4px; padding: 4px; }
.hex-input-box input { width: 100%; background: transparent; border: none; color: #fff; font-family: monospace; }
.swatches-quick-row { display: flex; gap: 8px; margin-top: 10px; }
.swatch-btn { width: 24px; height: 24px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; }
.swatch-btn.active { border-color: #fff; }


/* Deep Dive Rows */
.deep-dive-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 100px;
}
.deep-dive-row.reversed { direction: rtl; }
.deep-dive-row.reversed > * { direction: ltr; }

.deep-dive-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
}
.deep-dive-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.65;
}

.feature-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.feature-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
}
.check-bullet {
    color: var(--brand-emerald);
    font-size: 1.1rem;
}

/* Deep Dive Visuals & Impact Metrics (PC Layout) */
.deep-dive-visual {
    background: linear-gradient(135deg, rgba(20, 18, 32, 0.85) 0%, rgba(10, 10, 18, 0.95) 100%);
    border: 1px solid rgba(157, 116, 255, 0.28);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 45px rgba(157, 116, 255, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.deep-dive-visual::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(157, 116, 255, 0.25) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.deep-dive-visual::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.metric-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%), rgba(14, 12, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 30px 18px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.18);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.metric-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(157, 116, 255, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(157, 116, 255, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.metric-card:nth-child(1) .metric-value {
    color: var(--brand-emerald);
    text-shadow: 0 0 24px rgba(16, 185, 129, 0.5);
}

.metric-card:nth-child(2) .metric-value {
    color: var(--brand-cyan);
    text-shadow: 0 0 24px rgba(56, 189, 248, 0.5);
}

.metric-card:nth-child(3) .metric-value {
    color: #C084FC;
    text-shadow: 0 0 24px rgba(192, 132, 252, 0.5);
}

.metric-value {
    font-family: 'Inter', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(240, 240, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.35;
}

/* Tabs and Code Playground */
.tabs-header {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-default);
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.tab-btn {
    padding: 6px 14px;
    background: transparent;
    border: none;
    border-radius: var(--radius-xs);
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.tab-btn:hover, .tab-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Comparison Matrix â€” Modern Executive Comparison Suite (PC & Global) */
.matrix-container {
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
    overflow: visible;
}
.matrix-row.head {
    display: none;
}
.matrix-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-radius: 16px;
    background: rgba(12, 12, 18, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: 20px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.matrix-row:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.035);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}
.matrix-row > div:first-child {
    font-family: 'Inter', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.015em;
    flex: 1;
}
.matrix-row > div:nth-child(2),
.matrix-row > div:nth-child(3) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.90rem;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
}
.matrix-row > div:nth-child(2) {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.32);
    color: var(--brand-emerald);
    font-weight: 800;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}
.matrix-row > div:nth-child(2)::before {
    content: "\26A1  Visunox Native: ";
    font-weight: 500;
    font-size: 0.78rem;
    color: rgba(240, 240, 255, 0.75);
}
.matrix-row > div:nth-child(3) {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-tertiary);
}
.matrix-row > div:nth-child(3)::before {
    content: "Industry Average: ";
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--text-tertiary);
}
.matrix-check { color: var(--brand-emerald); font-weight: 700; }
.matrix-cross { color: var(--text-disabled); }

/* Accordion FAQ */
.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}
.accordion-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}
.accordion-card:hover { border-color: var(--border-bright); }
.accordion-trigger {
    padding: 22px 28px;
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.accordion-content {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    display: none;
}
.accordion-card.open .accordion-content { display: block; }
.accordion-card.open .accordion-icon { transform: rotate(45deg); }
.accordion-icon { transition: transform 0.2s; font-size: 1.4rem; color: var(--text-tertiary); }

/* Giant Bottom Banner */
.bottom-cta-card {
    background: radial-gradient(ellipse at center, rgba(157, 116, 255, 0.15) 0%, rgba(5, 5, 5, 0.9) 75%);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-xl);
    padding: 100px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
}

/* Toast Notifications - Disabled & Removed */
#toast-shelf, .toast-msg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
@keyframes toastSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Fat Footer */
footer {
    border-top: 1px solid var(--border-default);
    background: #020202;
    padding: 100px 24px 50px;
    margin-top: 120px;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}
.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 36px;
    margin-bottom: 80px;
}
.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col a { color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition-fast); }
.footer-col a:hover { color: #fff; }

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}
.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--brand-emerald);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
}

.mobile-nav-drawer {
    display: none;
}

@media (max-width: 1024px) {
    .bento-grid-layout { grid-template-columns: repeat(6, 1fr); }
    .feature-grid-layout { grid-template-columns: 1fr; }
    .col-span-full { grid-column: span 1; }
    .display-flex-row { flex-direction: column; }
    .theme-row-visual { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.04); height: 240px; }
    .col-4, .col-6, .col-8 { grid-column: span 6; }
    .footer-sitemap { grid-template-columns: repeat(3, 1fr); }
    .deep-dive-row, .deep-dive-row.reversed { grid-template-columns: 1fr; gap: 40px; }
    .integration-showcase-row { grid-template-columns: repeat(3, 1fr); padding-left: 20px; padding-right: 20px; gap: 16px; }
}

@media (max-width: 820px) {
    .integration-showcase-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .integration-showcase-card { width: 100%; min-height: 260px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero-section { padding: 130px 20px 60px; }
    .hero-heading { font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; margin-bottom: 24px; text-shadow: 0 4px 24px rgba(0,0,0,0.4); }
    .mockup-split-body { grid-template-columns: 1fr; }
    .mockup-list-pane { border-right: none; border-bottom: 1px solid var(--border-default); }
    .col-4, .col-6, .col-8, .col-12 { grid-column: span 6; }
    .footer-sitemap { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-row { flex-direction: column; gap: 20px; text-align: center; }

    header {
        padding: 12px 14px;
    }
    header.scrolled {
        padding: 8px 14px;
    }
    .nav-inner {
        padding: 6px 12px 6px 16px;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: var(--radius-full);
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.35);
        cursor: pointer;
        z-index: 10001;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.14);
        transform: scale(1.05);
    }
    .hamburger-line {
        width: 18px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    }
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .mobile-nav-drawer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 10, 16, 0.88);
        backdrop-filter: blur(36px) saturate(220%);
        -webkit-backdrop-filter: blur(36px) saturate(220%);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .mobile-nav-drawer.open {
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
        max-width: 320px;
        padding: 24px;
    }
    .mobile-nav-links .nav-item {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-secondary);
        text-decoration: none;
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 20px;
        border-radius: var(--radius-full);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(12px);
        transition: all 0.25s ease;
    }
    .mobile-nav-links .nav-item:hover,
    .mobile-nav-links .nav-item.active {
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.22);
        box-shadow: 0 4px 16px rgba(157, 116, 255, 0.25);
    }
}

/* ============================================================
   VISUNOX INTERACTIVE MECHANICAL NEON KEYBOARD
   ============================================================ */
.keyboard-section {
    position: relative;
    max-width: 1280px;
    width: 96%;
    margin: 0 auto 150px;
    padding: 0 16px;
}

.keyboard-container {
    position: relative;
    background: radial-gradient(ellipse at 50% 90%, rgba(255, 99, 99, 0.08) 0%, rgba(15, 14, 22, 0.85) 50%, rgba(5, 5, 8, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 36px;
    padding: 44px 40px 48px;
    box-shadow: 0 40px 140px rgba(0, 0, 0, 0.95), 0 0 80px rgba(255, 99, 99, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    overflow: hidden;
}

.keyboard-ambient-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 250px;
    background: radial-gradient(ellipse at center, rgba(255, 99, 99, 0.55) 0%, rgba(255, 75, 75, 0.35) 35%, rgba(157, 116, 255, 0.2) 60%, transparent 80%);
    filter: blur(55px);
    pointer-events: none;
    z-index: 0;
    transition: background 0.4s ease, transform 0.25s ease, left 0.3s ease;
}

.keyboard-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 16px;
}

.keyboard-hud-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.86rem;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.keyboard-hud-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hud-stat-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    padding: 7px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-stat-pill strong {
    color: #fff;
}

.keyboard-deck-scroll {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 14px;
    padding-top: 14px;
}

/* Cinematic Top Fade Mask on the Deck */
.keyboard-deck-frame {
    width: 100%;
    min-width: 880px;
    background: rgba(5, 5, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 28px;
    padding: 36px 28px 32px;
    box-shadow: inset 0 4px 24px rgba(0, 0, 0, 0.98), 0 20px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 12px;
    user-select: none;
    position: relative;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.4) 14%, rgba(0, 0, 0, 0.85) 32%, black 52%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.4) 14%, rgba(0, 0, 0, 0.85) 32%, black 52%);
}

.keyboard-row {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    transition: opacity 0.3s ease;
}

/* Progressive Top-to-Bottom Fade */
.keyboard-row:nth-child(1) { opacity: 0.3; }
.keyboard-row:nth-child(2) { opacity: 0.65; }
.keyboard-row:nth-child(3) { opacity: 0.88; }
.keyboard-row:nth-child(4) { opacity: 0.96; }
.keyboard-row:nth-child(5) { opacity: 1.0; }

.keyboard-row:hover {
    opacity: 1.0;
}

.v-key {
    position: relative;
    height: 76px;
    flex: 1 1 0;
    min-width: 0;
    background: linear-gradient(180deg, #181924 0%, #0C0D14 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 7px 0 #050508, 0 12px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.06s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
    overflow: hidden;
}

.v-key:hover {
    opacity: 1.0 !important;
    background: linear-gradient(180deg, #242636 0%, #12131C 100%);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 9px 0 #050508, 0 16px 30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.v-key.active, .v-key:active {
    opacity: 1.0 !important;
    transform: translateY(5px) !important;
    box-shadow: 0 2px 0 #050508, 0 0 40px rgba(255, 99, 99, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    background: linear-gradient(180deg, rgba(255, 99, 99, 0.45) 0%, rgba(200, 60, 60, 0.65) 100%) !important;
    border-color: rgba(255, 140, 140, 1.0) !important;
    color: #ffffff !important;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
}

/* Key with warm rose glow from screenshot */
.key-active-glow {
    border-color: rgba(255, 99, 99, 0.85) !important;
    color: #FFA3A3 !important;
    box-shadow: 0 0 35px rgba(255, 99, 99, 0.45), 0 7px 0 #050508, inset 0 0 15px rgba(255, 99, 99, 0.2) !important;
    background: linear-gradient(180deg, #22141C 0%, #120A0F 100%) !important;
}

.v-key-sub {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 4px;
}

.v-key-main {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

/* Modifier Keys */
.key-mod {
    flex: 1.25 1 0;
}

.key-mod .v-key-main {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0;
}

.key-mod-side {
    flex: 1.4 1 0;
}

.key-mod-side .v-key-main {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Giant spacebar */
.key-space-giant {
    flex: 4.8 1 0;
    position: relative;
    background: linear-gradient(180deg, #181924 0%, #0C0D14 100%);
    box-shadow: 0 0 30px rgba(255, 99, 99, 0.25), 0 7px 0 #050508, 0 12px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.key-space-giant .space-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.key-space-giant:hover .space-label, .key-space-giant.active .space-label {
    color: #fff;
    text-shadow: 0 0 16px rgba(255, 99, 99, 0.95);
}

.keyboard-footer-hints {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 34px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hint-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.15s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.hint-pill:hover {
    color: #fff;
    transform: translateY(-1px);
}

.hint-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 7px;
    padding: 4px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}


/* ============================================================
   BESPOKE UNIQUE PAGE DESIGNS & GEOMETRIC UI PATTERNS
   ============================================================ */

/* 1. Timeline Highway (Process Page) */
.timeline-highway {
    position: relative;
    max-width: 980px;
    margin: 40px auto 80px;
    padding: 20px 0;
}
.timeline-highway::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-red), var(--brand-purple) 50%, var(--brand-blue));
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(157, 116, 255, 0.4);
}
.timeline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}
.timeline-row:nth-child(even) {
    flex-direction: row-reverse;
}
.timeline-card {
    width: 44%;
    background: rgba(15, 15, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.timeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(157, 116, 255, 0.4);
}
.timeline-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #08080C;
    border: 2px solid var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    box-shadow: 0 0 20px rgba(157, 116, 255, 0.6);
    z-index: 2;
}
.timeline-phase-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--brand-red);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* 2. Architecture Topology Canvas (Engineering Page) */
.arch-topology-canvas {
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, rgba(5, 5, 8, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}
.arch-nodes-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.arch-node-box {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}
.arch-node-box:hover {
    border-color: var(--brand-emerald);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}
.arch-node-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--brand-emerald);
    font-weight: 700;
    margin-bottom: 8px;
}
.arch-latency-pill {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 10px;
}

/* 3. Luxury Pricing Retainer Tier Grid */
.pricing-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin: 40px auto;
}
.pricing-tier-card {
    background: rgba(15, 15, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.pricing-tier-card.featured {
    background: linear-gradient(180deg, rgba(25, 22, 38, 0.85) 0%, rgba(12, 10, 20, 0.95) 100%);
    border: 1.5px solid rgba(157, 116, 255, 0.5);
    box-shadow: 0 20px 50px rgba(157, 116, 255, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transform: scale(1.03);
}
.pricing-ribbon-tag {
    position: absolute;
    top: 18px;
    right: 20px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-purple));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(255, 99, 99, 0.4);
}
.pricing-tier-price {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    margin: 16px 0 6px;
    letter-spacing: -0.03em;
}
.pricing-feature-list {
    list-style: none;
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.pricing-check-icon {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--brand-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* 4. Specialist Dossier Grid (Teams Page) */
.dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px auto;
}
.dossier-card {
    background: rgba(15, 15, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.dossier-card:hover {
    border-color: var(--brand-amber);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.15);
}
.dossier-avatar-prism {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #F59E0B, #FF6363);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.dossier-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}
.dossier-tag-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 9px;
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* 5. Case File Cards (Case Studies) */
.case-file-card {
    background: rgba(12, 12, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}
.case-file-stats-panel {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.case-file-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.case-file-stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 6. Periodic Capabilities Quadrants */
.capability-quadrant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px auto;
}
.capability-quadrant {
    background: rgba(15, 18, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}
.capability-quadrant:hover {
    border-color: var(--brand-cyan);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15);
}

/* 7. Enterprise Security Vaults (Trust Page) */
.vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px auto;
}
.vault-card {
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, rgba(10, 15, 12, 0.85) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}
.vault-card:hover {
    border-color: var(--brand-emerald);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
    transform: translateY(-3px);
}
.vault-status-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--brand-emerald);
    margin-bottom: 12px;
}
.vault-status-dot::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand-emerald);
    box-shadow: 0 0 10px var(--brand-emerald);
}

/* 8. Swiss Manifesto Typography (Manifesto Page) */
.manifesto-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 50px auto;
}
.manifesto-statement-card {
    background: rgba(14, 14, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}
.manifesto-num-huge {
    font-size: 5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px; right: 20px;
    line-height: 1;
    pointer-events: none;
}

/* 9. Interactive 2D World Map & Timezone Radar (Teams Page) */
.world-map-radar-section {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 80px;
    background: radial-gradient(ellipse at 50% 30%, rgba(157, 116, 255, 0.08) 0%, rgba(12, 10, 18, 0.85) 60%, rgba(5, 5, 8, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(28px);
    overflow: hidden;
}

.map-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
    padding: 0 4px;
}

.map-hub-controls {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    background: rgba(18, 16, 26, 0.7);
    padding: 6px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.map-hub-btn {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(240, 240, 255, 0.7);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.map-hub-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.map-hub-btn.active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35), 0 0 10px rgba(56, 189, 248, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.map-viewport-wrapper {
    position: relative;
    width: 100%;
    height: 560px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 50% 50%, rgba(20, 15, 30, 0.5) 0%, rgba(6, 6, 10, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.map-svg-canvas {
    width: 100%;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: 0 0;
}

.map-grid-lines {
    stroke: rgba(255, 255, 255, 0.04);
    stroke-dasharray: 4 4;
    pointer-events: none;
}

.map-continent-shape {
    fill: rgba(255, 255, 255, 0.05);
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 0.9;
    transition: fill 0.3s ease, stroke 0.3s ease;
    pointer-events: none;
}

.map-continent-shape:hover {
    fill: rgba(255, 255, 255, 0.08);
}

.map-trajectory-arc {
    fill: none;
    stroke: url(#map-laser-gradient);
    stroke-width: 2.4;
    stroke-dasharray: 8 5;
    animation: laserDash 25s linear infinite;
    filter: drop-shadow(0 0 10px rgba(157, 116, 255, 0.8));
    pointer-events: none;
}

@keyframes laserDash {
    to { stroke-dashoffset: -500; }
}

/* Huge Highlighted City Hub Beacons - Zero-Glitch Stable Hit Targets */
.city-hub-pin {
    cursor: pointer;
}

.pin-hit-target {
    fill: transparent;
    cursor: pointer;
    pointer-events: all;
}

.pin-huge-outer-ring {
    animation: beaconPulse 2.8s cubic-bezier(0.2, 0, 0.2, 1) infinite;
    transform-origin: center;
    transform-box: fill-box;
    pointer-events: none;
}

.pin-huge-mid-ring {
    animation: beaconPulse 2.8s cubic-bezier(0.2, 0, 0.2, 1) 0.6s infinite;
    transform-origin: center;
    transform-box: fill-box;
    pointer-events: none;
}

@keyframes beaconPulse {
    0% { r: 8; opacity: 0.95; stroke-width: 3; }
    60% { opacity: 0.4; }
    100% { r: 38; opacity: 0; stroke-width: 0.5; }
}

.pin-core-circle {
    fill: #08080C;
    stroke-width: 2.5;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), stroke-width 0.25s ease;
    transform-origin: center;
    transform-box: fill-box;
}

.city-hub-pin:hover .pin-core-circle {
    transform: scale(1.35);
    stroke-width: 3.5;
}

.pin-badge-group {
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95));
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-hub-pin:hover .pin-badge-group {
    transform: translate(16px, -18px) scale(1.05);
}

.pin-badge-rect {
    fill: rgba(10, 10, 16, 0.95);
    stroke-width: 1.2;
    rx: 6;
    transition: stroke 0.25s ease, fill 0.25s ease;
}

.city-hub-pin:hover .pin-badge-rect {
    fill: rgba(20, 20, 32, 0.98);
    stroke: #FFFFFF;
}

.pin-badge-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    fill: #FFFFFF;
    pointer-events: none;
}

.local-subnode {
    opacity: 0;
    transition: opacity 0.5s ease 0.4s;
    pointer-events: none;
}

.map-svg-canvas.zoomed .local-subnode {
    opacity: 1;
}

.map-zoom-hud-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.zoom-hud-btn {
    width: 36px;
    height: 36px;
    background: rgba(14, 14, 22, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(16px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.zoom-hud-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    color: #fff;
}

.zoom-hud-btn:active {
    transform: scale(0.95);
}

.pin-pulse-wave {
    animation: pinSonar 2.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    transform-origin: center;
}

@keyframes pinSonar {
    0% { r: 6; opacity: 1; stroke-width: 2; }
    100% { r: 24; opacity: 0; stroke-width: 0.5; }
}

.pin-label-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    fill: #FFFFFF;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.9));
    pointer-events: none;
}

/* Floating Glass HUD City Detail Drawer */
.city-detail-glass-drawer {
    position: absolute;
    bottom: 24px;
    left: 24px;
    max-width: 440px;
    width: calc(100% - 48px);
    background: rgba(12, 12, 20, 0.9);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
    opacity: 1;
}

.city-hud-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.city-hud-clock {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #FFF, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.city-hud-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--brand-emerald);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

.city-hud-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tz-pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand-emerald);
    box-shadow: 0 0 10px var(--brand-emerald);
    display: inline-block;
}

/* 10. Sprint 0-4 Gantt Highway Card (Process Page) */
.sprint-gantt-card {
    background: rgba(14, 12, 22, 0.75);
    border: 1px solid rgba(157, 116, 255, 0.2);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}
.sprint-track-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.sprint-checkpoint-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    position: relative;
    transition: all 0.3s ease;
}
.sprint-checkpoint-box:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--brand-purple);
    transform: translateY(-2px);
}

/* 11. Service Blueprint Floating Cards (Services Page) */
.service-blueprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin: 40px auto;
}
.service-blueprint-card {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.75) 0%, rgba(10, 10, 15, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.service-blueprint-card:hover {
    border-color: var(--brand-purple);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(157, 116, 255, 0.18);
}
.service-spec-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.service-spec-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .sprint-track-row { grid-template-columns: 1fr; }
    .timeline-highway::before { left: 20px; }
    .timeline-row, .timeline-row:nth-child(even) { flex-direction: column; align-items: flex-start; padding-left: 50px; }
    .timeline-card { width: 100%; }
    .timeline-node { left: 20px; top: 20px; }
    .case-file-card { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}


/* Futuristic Back to Top Button */
.btn-back-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(10, 10, 15, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    z-index: 9998;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
    overflow: visible;
}

.btn-back-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.btn-back-top:hover {
    border-color: rgba(157, 116, 255, 0.55);
    box-shadow: 0 0 25px rgba(157, 116, 255, 0.35),
                0 14px 40px rgba(0, 0, 0, 0.85),
                inset 0 0 15px rgba(255, 99, 99, 0.2);
    transform: translateY(-4px) scale(1.05);
}

.btn-back-top:active {
    transform: translateY(-1px) scale(0.95);
}

.back-top-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

/* Sci-fi HUD Corner Brackets */
.back-top-inner::before,
.back-top-inner::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.back-top-inner::before {
    top: 4px;
    left: 4px;
    border-top: 1.5px solid rgba(255, 99, 99, 0.6);
    border-left: 1.5px solid rgba(255, 99, 99, 0.6);
    border-top-left-radius: 4px;
}

.back-top-inner::after {
    bottom: 4px;
    right: 4px;
    border-bottom: 1.5px solid rgba(157, 116, 255, 0.6);
    border-right: 1.5px solid rgba(157, 116, 255, 0.6);
    border-bottom-right-radius: 4px;
}

/* ============================================================
   VISUNOX INSTANT SPRINT APPLICATION DRAWER / MODAL (PC)
   ============================================================ */
.app-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 3, 8, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.app-modal-container {
    width: 100%;
    max-width: 640px;
    background: radial-gradient(circle at 50% 0%, rgba(28, 22, 45, 0.95) 0%, rgba(10, 8, 16, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(56, 189, 248, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.app-modal-overlay.active .app-modal-container {
    transform: scale(1) translateY(0);
}

.app-modal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-modal-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.app-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.08);
}

.app-modal-body {
    padding: 22px 24px;
    max-height: 78vh;
    overflow-y: auto;
}

.app-modal-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.app-modal-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.app-modal-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.app-modal-pill.active {
    background: rgba(56, 189, 248, 0.18);
    color: #38BDF8;
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.app-modal-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    outline: none;
    margin-bottom: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-modal-input:focus {
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.app-modal-textarea {
    min-height: 75px;
    resize: vertical;
}

.app-modal-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    display: block;
}

.app-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-modal-success {
    text-align: center;
    padding: 40px 20px;
}

.app-modal-success-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1.5px solid #10B981;
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
}

.btn-back-top:hover .back-top-inner::before {
    border-color: #FF6363;
    box-shadow: -1px -1px 6px #FF6363;
    top: 2px;
    left: 2px;
}

.btn-back-top:hover .back-top-inner::after {
    border-color: #9D74FF;
    box-shadow: 1px 1px 6px #9D74FF;
    bottom: 2px;
    right: 2px;
}

/* Futuristic Vector Arrow */
.arrow-svg {
    width: 22px;
    height: 22px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.btn-back-top:hover .arrow-svg {
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px rgba(157, 116, 255, 0.8));
}

/* Ambient Thruster Glow at base of button */
.thruster-glow {
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 4px;
    background: linear-gradient(90deg, #FF6363, #9D74FF);
    border-radius: 99px;
    opacity: 0.3;
    filter: blur(2px);
    transition: opacity 0.3s ease, width 0.3s ease, filter 0.3s ease;
}

.btn-back-top:hover .thruster-glow {
    opacity: 0.9;
    width: 32px;
    filter: blur(3px);
    box-shadow: 0 0 12px #FF6363, 0 0 20px #9D74FF;
}

/* Launch Warp Animation State (Triggered on click) */
.btn-back-top.launching {
    animation: buttonIgnite 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-back-top.launching .arrow-svg {
    animation: rocketWarp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-back-top.launching .thruster-glow {
    animation: thrusterBurst 0.65s ease-out forwards;
}

@keyframes rocketWarp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    35% {
        transform: translateY(6px) scale(0.9);
        opacity: 1;
    }
    60% {
        transform: translateY(-45px) scale(0.6);
        opacity: 0;
        filter: drop-shadow(0 15px 12px #FF6363);
    }
    61% {
        transform: translateY(35px) scale(0.6);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    }
}

@keyframes buttonIgnite {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    }
    30% {
        transform: scale(0.9);
        box-shadow: 0 0 45px rgba(255, 99, 99, 0.8), inset 0 0 20px rgba(157, 116, 255, 0.6);
        border-color: #FF6363;
    }
    60% {
        transform: scale(1.15) translateY(-6px);
        box-shadow: 0 0 60px rgba(157, 116, 255, 0.9), 0 0 30px rgba(255, 99, 99, 0.8);
        border-color: #9D74FF;
    }
    100% {
        transform: scale(1) translateY(0);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
        border-color: rgba(255, 255, 255, 0.12);
    }
}

@keyframes thrusterBurst {
    0% {
        opacity: 0.3;
        width: 22px;
        height: 4px;
    }
    30% {
        opacity: 1;
        width: 44px;
        height: 12px;
        filter: blur(4px);
        box-shadow: 0 8px 30px #FF6363, 0 12px 40px #9D74FF;
    }
    100% {
        opacity: 0.3;
        width: 22px;
        height: 4px;
        filter: blur(2px);
    }
}

/* Kinetic Energy Ripple Rings when clicked */
.back-top-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(157, 116, 255, 0.8);
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
    pointer-events: none;
    animation: shockwaveExpand 0.7s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes shockwaveExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 1;
        border-color: #FF6363;
    }
    50% {
        border-color: #9D74FF;
        box-shadow: 0 0 20px rgba(157, 116, 255, 0.8);
    }
    100% {
        transform: translate(-50%, -50%) scale(3.4);
        opacity: 0;
        border-color: rgba(62, 139, 255, 0);
    }
}

/* Spark Particle during launch */
.launch-spark {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #FF6363;
    pointer-events: none;
    z-index: 9999;
    will-change: transform, opacity;
}

/* ==========================================================================
   VISUNOX FLAGSHIP INTERACTIVE SUITE (5 EPIC ENHANCEMENTS)
   ========================================================================== */

/* 1. Theme Switcher Capsule Dock */
.nav-theme-dock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(18, 16, 26, 0.75);
    padding: 3px 6px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

.theme-pill-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 0;
    outline: none;
}

.theme-pill-dot[data-theme="aurora"] { background: linear-gradient(135deg, #FF6363, #9D74FF); }
.theme-pill-dot[data-theme="cyan"] { background: linear-gradient(135deg, #00F0FF, #3B82F6); }
.theme-pill-dot[data-theme="emerald"] { background: linear-gradient(135deg, #34D399, #059669); }
.theme-pill-dot[data-theme="amber"] { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.theme-pill-dot[data-theme="violet"] { background: linear-gradient(135deg, #A855F7, #6366F1); }
.theme-pill-dot[data-theme="mono"] { background: linear-gradient(135deg, #E5E5E5, #525252); }

.theme-pill-dot:hover {
    transform: scale(1.25);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-color: #fff;
}

.theme-pill-dot.active {
    transform: scale(1.2);
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 0 12px currentColor;
}

/* 2. Tactile Audio Equalizer Toggle */
.nav-audio-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(18, 16, 26, 0.75);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    backdrop-filter: blur(16px);
}

.nav-audio-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.nav-audio-btn.active {
    color: var(--brand-emerald);
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
}

.eq-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
    width: 10px;
}

.eq-bar {
    width: 2px;
    background: currentColor;
    border-radius: 1px;
    height: 4px;
    transition: height 0.2s ease;
}

.nav-audio-btn.active .eq-bar:nth-child(1) { animation: eqBounce1 0.7s infinite alternate ease-in-out; }
.nav-audio-btn.active .eq-bar:nth-child(2) { animation: eqBounce2 0.5s infinite alternate ease-in-out; }
.nav-audio-btn.active .eq-bar:nth-child(3) { animation: eqBounce3 0.8s infinite alternate ease-in-out; }

@keyframes eqBounce1 { from { height: 3px; } to { height: 11px; } }
@keyframes eqBounce2 { from { height: 9px; } to { height: 3px; } }
@keyframes eqBounce3 { from { height: 5px; } to { height: 12px; } }

/* 3. Interactive Architecture-to-Runtime Split Showcase */
.split-preset-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 28px;
    max-width: 620px;
}

.split-preset-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.split-preset-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.split-preset-btn.active {
    background: rgba(157, 116, 255, 0.16);
    color: #FFFFFF;
    border-color: rgba(157, 116, 255, 0.55);
    box-shadow: 0 0 20px rgba(157, 116, 255, 0.35);
}

.figma-split-container {
    position: relative;
    max-width: 1120px;
    margin: 0 auto 80px;
    height: 520px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(157, 116, 255, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(20, 16, 32, 0.95) 0%, #06050b 100%);
    user-select: none;
    -webkit-user-select: none;
    cursor: ew-resize;
}

.figma-layer-spec,
.figma-layer-code {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.figma-layer-spec {
    background: radial-gradient(circle at 30% 30%, rgba(30, 22, 45, 0.95) 0%, #0c0a14 100%);
    z-index: 1;
}

.figma-layer-code {
    background: radial-gradient(circle at 70% 30%, rgba(12, 25, 45, 0.95) 0%, #050811 100%);
    z-index: 2;
    clip-path: inset(0 0 0 50%);
    -webkit-clip-path: inset(0 0 0 50%);
}

.figma-inner-canvas {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 30px 30px 30px;
    box-sizing: border-box;
}

.figma-divider-bar {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 3px;
    background: linear-gradient(180deg, #C084FC 0%, #38BDF8 50%, #34D399 100%);
    z-index: 15;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 16px rgba(192, 132, 252, 0.85), 0 0 32px rgba(56, 189, 248, 0.6);
    pointer-events: auto;
}

.figma-drag-handle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #251D3A 0%, #0E0B1A 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 0 0 4px rgba(157, 116, 255, 0.45),
        0 12px 32px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(56, 189, 248, 0.55),
        inset 0 1px 2px #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    color: #FFFFFF;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
    z-index: 20;
}

.figma-drag-handle:hover {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow:
        0 0 0 6px rgba(157, 116, 255, 0.7),
        0 0 38px rgba(56, 189, 248, 0.85),
        0 16px 40px rgba(0, 0, 0, 0.95),
        inset 0 1px 2px #FFFFFF;
}

.handle-floating-tag {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    background: rgba(14, 11, 26, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85), 0 0 16px rgba(157, 116, 255, 0.45);
    pointer-events: none;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.figma-floating-badge {
    position: absolute;
    top: 22px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    z-index: 5;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.figma-badge-left {
    left: 28px;
    background: rgba(255, 99, 99, 0.15);
    border: 1px solid rgba(255, 99, 99, 0.35);
    color: var(--brand-red);
}

.figma-badge-right {
    right: 28px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--brand-cyan);
}

/* Code Editor Mockup & Compiled UI Card - Unified Window Frame */
.code-editor-mockup,
.compiled-ui-card {
    max-width: 660px;
    width: 100%;
    height: 380px;
    min-height: 380px;
    max-height: 380px;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    overflow: hidden;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.code-editor-mockup {
    background: #090710;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.compiled-ui-card {
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, rgba(10, 14, 26, 0.96) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.code-editor-topbar,
.compiled-ui-header {
    height: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

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

.w-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.w-dot.red { background: #FF5F56; }
.w-dot.yellow { background: #FFBD2E; }
.w-dot.green { background: #27C93F; }

.code-editor-tabs-group {
    display: flex;
    gap: 4px;
}

.code-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 4px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-tab-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.code-tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.tab-badge-tag {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
}
.tab-badge-tag.ts {
    background: rgba(56, 189, 248, 0.2);
    color: #38BDF8;
}
.tab-badge-tag.rs {
    background: rgba(249, 115, 22, 0.2);
    color: #FB923C;
}
.tab-badge-tag.cfg {
    background: rgba(167, 139, 250, 0.2);
    color: #C084FC;
}

.code-editor-runtime-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: var(--text-tertiary);
}

.code-editor-body,
.compiled-card-body {
    flex: 1 1 auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.code-editor-body {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    line-height: 1.65;
    overflow-x: auto;
}

.code-line-numbers {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.22);
    user-select: none;
    text-align: right;
    margin: 0;
    padding: 0;
}

.code-syntax-lines {
    margin: 0;
    padding: 0;
    color: #E2E8F0;
    text-align: left;
    flex: 0 1 auto;
}

.token-kw { color: #FF758F; font-weight: 600; }
.token-fn { color: #60A5FA; }
.token-str { color: #34D399; }
.token-type { color: #A78BFA; }
.token-tag { color: #94A3B8; }
.token-tag-name { color: #F43F5E; font-weight: 600; }
.token-prop { color: #FBBF24; }
.token-comment { color: #64748B; font-style: italic; }
.token-num { color: #F59E0B; }

.code-editor-footer,
.compiled-ui-footer {
    height: 38px;
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-tertiary);
    box-sizing: border-box;
}

.code-footer-left {
    display: flex;
    align-items: center;
}

.code-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 6px #34D399;
    margin-right: 6px;
    display: inline-block;
}

.compiled-fps-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-cyan);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.fps-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38BDF8;
    box-shadow: 0 0 6px #38BDF8;
    display: inline-block;
    margin-right: 6px;
    animation: pulseGlowDot 1.2s infinite;
}

.compiled-card-body {
    padding: 24px 28px 22px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    box-sizing: border-box;
}

.compiled-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-purple);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.compiled-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.compiled-desc {
    font-size: 0.90rem;
    color: var(--text-secondary);
    line-height: 1.52;
    margin-bottom: 16px;
}

.compiled-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.compiled-stat-box {
    text-align: center;
}

.c-stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.c-stat-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.98rem;
    font-weight: 700;
}

.compiled-actions-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
}

.compiled-actions-row button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.figma-floating-badge {
    position: absolute;
    top: 20px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    z-index: 5;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.f-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
.f-badge-dot.magenta {
    background: #FF758F;
    box-shadow: 0 0 8px #FF758F;
}
.f-badge-dot.emerald {
    background: #34D399;
    box-shadow: 0 0 8px #34D399;
}

.pulse-glow {
    animation: pulseGlowDot 1.5s infinite;
}

@keyframes pulseGlowDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
}

.figma-badge-left {
    left: 24px;
    background: rgba(255, 99, 99, 0.15);
    border: 1px solid rgba(255, 99, 99, 0.35);
    color: var(--brand-red);
}

.figma-badge-right {
    right: 24px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--brand-cyan);
}

/* 4. Realtime 100/100 Performance & Lighthouse Benchmark Suite */
/* 4. Realtime 100/100 Performance & Lighthouse Benchmark Suite â€” Large Expansive Vertical Stack on PC */
.lighthouse-benchmark-card {
    background: #06070A;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    margin: 40px auto 80px;
    max-width: 1200px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.matrix-rain-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 40%, transparent 100%);
}

.matrix-page-rain-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.40;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, black 40%, transparent 95%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, black 40%, transparent 95%);
}

.lighthouse-gauges-grid,
.comparison-toggle-deck {
    position: relative;
    z-index: 1;
}

.lighthouse-gauges-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
    width: 100%;
}

.lighthouse-gauge-item {
    background: rgba(10, 12, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-lg);
    padding: 26px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.lighthouse-gauge-item:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(12, 16, 24, 0.85);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

/* Alternating Zigzag Layout Down the Stack on PC */
.lighthouse-gauge-item:nth-child(odd) .gauge-info-group {
    order: 1;
    flex: 1;
    text-align: left;
}
.lighthouse-gauge-item:nth-child(odd) .gauge-svg-wrap {
    order: 2;
    margin: 0;
}

.lighthouse-gauge-item:nth-child(even) .gauge-svg-wrap {
    order: 1;
    margin: 0;
}
.lighthouse-gauge-item:nth-child(even) .gauge-info-group {
    order: 2;
    flex: 1;
    text-align: right;
}

.gauge-svg-wrap {
    width: 80px;
    height: 80px;
    min-width: 80px;
    position: relative;
    margin: 0;
}

.gauge-svg-wrap svg {
    width: 80px;
    height: 80px;
    display: block;
}

.gauge-svg-wrap path {
    transition: stroke-dasharray 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-score-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-emerald);
    text-shadow: none;
}

.gauge-label {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 5px;
    letter-spacing: -0.015em;
}

.gauge-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    color: var(--text-tertiary);
}

.comparison-toggle-deck {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}

.comp-column {
    border-radius: var(--radius-md);
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.comp-column.visunox-win {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
}

.comp-column.legacy-lose {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.comp-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}

.comp-metric-row:last-child {
    border-bottom: none;
}

/* 5. Enhanced Interactive Sprint Configurator (PC Layout: 2x2 Domain Grid & 4-Col Addons) */
.config-scope-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    margin-bottom: 28px;
    box-sizing: border-box;
}

.config-scope-btn {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%), rgba(14, 12, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.config-scope-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(157, 116, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(157, 116, 255, 0.15);
}

.config-scope-btn.active {
    background: linear-gradient(145deg, rgba(157, 116, 255, 0.18) 0%, rgba(157, 116, 255, 0.06) 100%), rgba(20, 16, 32, 0.85);
    border-color: rgba(157, 116, 255, 0.6);
    box-shadow: 0 0 24px rgba(157, 116, 255, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.config-addons-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 32px;
    box-sizing: border-box;
}

.config-addon-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.config-addon-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.config-addon-chip.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.45);
    color: #fff;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    .lighthouse-gauges-grid { grid-template-columns: repeat(2, 1fr); }
    .comparison-toggle-deck { grid-template-columns: 1fr; }
    .figma-split-container { height: 480px; }
}

@media (max-width: 600px) {
    .lighthouse-gauges-grid { grid-template-columns: 1fr; }
    .nav-theme-dock { display: none; }
}

/* Footer Year */
/* Command Palette */
/* Futuristic Command Palette */
.cmd-palette-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 20%, rgba(157, 116, 255, 0.15), rgba(0, 0, 0, 0.75) 70%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    z-index: 10000; display: none; align-items: flex-start; justify-content: center;
    padding-top: 14vh;
}
.cmd-palette-modal {
    width: 640px;
    background: linear-gradient(135deg, rgba(20, 18, 28, 0.92) 0%, rgba(10, 10, 15, 0.96) 100%);
    border: 1px solid rgba(157, 116, 255, 0.35);
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 50px rgba(157, 116, 255, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
    animation: cmdModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes cmdModalPop {
    0% { transform: scale(0.94) translateY(-10px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cmd-search-wrapper {
    display: flex;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    background: rgba(0, 0, 0, 0.3);
}
.cmd-search-wrapper input {
    width: 100%;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    outline: none;
    letter-spacing: -0.02em;
}
.cmd-search-wrapper input::placeholder {
    color: var(--text-tertiary);
    font-weight: 400;
}
.cmd-list {
    padding: 12px;
    max-height: 380px;
    overflow-y: auto;
}
.cmd-item {
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    margin-bottom: 4px;
    border: 1px solid transparent;
    background: transparent;
}
.cmd-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    transform: translateX(4px);
}
.cmd-item.selected {
    background: linear-gradient(90deg, rgba(157, 116, 255, 0.18) 0%, rgba(255, 99, 99, 0.08) 100%);
    color: #fff;
    border: 1px solid rgba(157, 116, 255, 0.4);
    box-shadow: 0 4px 20px rgba(157, 116, 255, 0.15);
    transform: translateX(6px);
}

.cmd-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cmd-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C084FC;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.cmd-item:hover .cmd-icon-box,
.cmd-item.selected .cmd-icon-box {
    background: linear-gradient(135deg, rgba(255, 99, 99, 0.2), rgba(157, 116, 255, 0.3));
    border-color: rgba(157, 116, 255, 0.5);
    color: #fff;
    box-shadow: 0 0 12px rgba(157, 116, 255, 0.4);
}

.cmd-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cmd-title {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}
.cmd-category-tag {
    font-size: 0.68rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-tertiary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.cmd-item.selected .cmd-category-tag {
    color: #A78BFA;
}

/* Futuristic Action Badge with Animated Chevron */
.cmd-action-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cmd-badge-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}
.cmd-chevron {
    color: var(--text-tertiary);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.cmd-item:hover .cmd-action-badge,
.cmd-item.selected .cmd-action-badge {
    background: rgba(157, 116, 255, 0.15);
    border-color: rgba(157, 116, 255, 0.4);
    box-shadow: 0 0 10px rgba(157, 116, 255, 0.25);
}
.cmd-item:hover .cmd-badge-text,
.cmd-item.selected .cmd-badge-text {
    color: #E9D5FF;
}
.cmd-item:hover .cmd-chevron,
.cmd-item.selected .cmd-chevron {
    color: #38BDF8;
    transform: translateX(3px);
}





/* Safe Reveal Animations (Never hides content by default) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ============================================================
   VISUNOX MASTER MOBILE & PHONE HIGH-DENSITY OPTIMIZATION SUITE
   (Strictly scoped to Phones ONLY â€” PC & Tablets are 100% Untouched)
   ============================================================ */
@media (max-width: 768px) {
    /* Global Root Scale & Container */
    html {
        font-size: 15px !important;
    }
    body {
        overflow-x: hidden !important;
        width: 100vw !important;
    }
    .page-container, .container, main {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Large, Spaced & Punchy Hero/Section Typography on Mobile (15% Tighter Body Text) */
    h1, .hero-heading {
        font-size: clamp(2.95rem, 11.5vw, 3.85rem) !important;
        font-weight: 800 !important;
        letter-spacing: -0.05em !important;
        line-height: 1.04 !important;
        margin-top: 14px !important;
        margin-bottom: 24px !important;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
    }
    h2, .section-heading, .section-title, .cta-title {
        font-size: clamp(2.35rem, 9.2vw, 2.95rem) !important;
        line-height: 1.10 !important;
        letter-spacing: -0.04em !important;
        margin-top: 12px !important;
        margin-bottom: 18px !important;
    }
    .section-head, .section-header {
        margin-bottom: 38px !important;
    }
    .hero-subtitle, .hero-subheading, .section-desc, .section-subheading {
        font-size: 0.88rem !important;
        line-height: 1.58 !important;
        color: rgba(240, 240, 255, 0.75) !important;
        margin-bottom: 28px !important;
        max-width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    h3, .bento-card-title, .bento-title, .feature-title, .pillar-title, .blueprint-title, .quadrant-title, .dossier-name, .case-file-title, .mockup-preview-title, .vault-title, .manifesto-title, .sprint-title, .pricing-tier-title {
        font-size: 1.12rem !important;
        letter-spacing: -0.02em !important;
        line-height: 1.28 !important;
        margin-bottom: 6px !important;
    }
    h4, .sprint-box-title, .arch-node-title, .footer-col h4, .cfg-btn-title {
        font-size: 0.88rem !important;
        margin-bottom: 4px !important;
    }
    /* 15% Reduced Body Text, Card Descriptions & Lists for Striking Visual Contrast */
    p, li, .bento-card-text, .bento-desc, .feature-desc, .pillar-desc, .blueprint-desc, .pricing-tier-desc, .pricing-feature-item, .bento-list-item, .sprint-box-list li, .quadrant-desc, .dossier-role, .case-file-desc, .mockup-preview-desc, .vault-desc, .manifesto-quote, .cta-desc, .deep-dive-info p, .case-file-stat-row span, .case-file-quote, .est-readout-sub, .sprint-checkpoint-box ul li, .cfg-btn-sub {
        font-size: 0.82rem !important;
        line-height: 1.52 !important;
        color: var(--text-secondary) !important;
        margin-bottom: 10px !important;
    }
    .bento-card-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 6px 0 0 !important;
    }
    .bento-list-item {
        list-style: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-bottom: 5px !important;
    }
    .bento-arrow {
        color: var(--brand-emerald) !important;
        font-weight: 700 !important;
    }

    /* Balanced Badges, Kicker Tags & Stat Badges */
    .section-tag, .hero-badge, .badge-pill, .pillar-tag, .blueprint-tag, .quadrant-tag, .sprint-tag, .case-file-category, .manifesto-num-tag, .dossier-exp-badge, .hud-stat-pill, .pricing-tier-tag, .pricing-ribbon-tag, .service-spec-chip, .dossier-tag-pill, .timeline-bullet-chip, .hero-badge-tag, .tech-pill, .sprint-pill, .vault-status-dot, .dossier-pod-tag, .case-file-stat-header, .est-mono-tag {
        font-size: 0.74rem !important;
        padding: 3px 9px !important;
        gap: 4px !important;
        margin-bottom: 8px !important;
        border-radius: 999px !important;
        font-weight: 600 !important;
    }

    /* Balanced Buttons & CTAs */
    .btn-hero-primary, .btn-hero-secondary, .btn-lock-sprint {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 11px 18px !important;
        font-size: 0.95rem !important;
        min-height: 42px !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
        font-weight: 700 !important;
    }

    /* iOS 26 Liquid Frosted Header Capsule on Phone */
    header {
        height: auto !important;
        min-height: 46px !important;
        max-height: none !important;
        padding: 4px 8px !important;
        top: 6px !important;
        width: calc(100% - 16px) !important;
        left: 8px !important;
        border-radius: var(--radius-full) !important;
        background: rgba(14, 12, 22, 0.65) !important;
        backdrop-filter: blur(32px) saturate(210%) !important;
        -webkit-backdrop-filter: blur(32px) saturate(210%) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.28) !important;
    }
    header.scrolled {
        padding: 3px 8px !important;
        top: 2px !important;
    }
    header .nav-inner {
        height: auto !important;
        min-height: 38px !important;
        padding: 2px 4px !important;
        gap: 6px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        overflow: visible !important;
    }
    .nav-settings-wrapper {
        display: flex !important;
        flex-shrink: 0 !important;
    }
    .nav-brand {
        gap: 6px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        margin-right: 2px !important;
    }
    .brand-logo-wrap, .brand-logo-svg {
        width: 20px !important;
        height: 20px !important;
    }
    .brand-text {
        font-size: 0.98rem !important;
        letter-spacing: -0.02em !important;
        white-space: nowrap !important;
    }
    /* Pages directly visible & touch-scrollable in top banner on phone */
    .nav-menu {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 4px !important;
        padding: 3px 6px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: var(--radius-full) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        align-items: center !important;
    }
    .nav-menu::-webkit-scrollbar {
        display: none !important;
    }
    .nav-item {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 5px 11px !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        color: rgba(240, 240, 255, 0.8) !important;
        border-radius: var(--radius-full) !important;
        transition: all 0.2s ease !important;
    }
    .nav-item:hover, .nav-item.active {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.35) !important;
    }
    /* Top White Book Now Button next to Pages on Phone */
    .nav-actions {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        margin-left: 4px !important;
    }
    .nav-theme-dock, .nav-audio-btn {
        display: none !important;
    }
    .btn-nav-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.95) !important;
        color: #000000 !important;
        font-weight: 700 !important;
        font-size: 0.76rem !important;
        padding: 6px 13px !important;
        border-radius: var(--radius-full) !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.35), inset 0 1px 2px #FFFFFF !important;
        width: auto !important;
        min-height: auto !important;
        text-decoration: none !important;
        letter-spacing: -0.01em !important;
        transition: all 0.2s ease !important;
    }
    .btn-nav-primary:hover,
    .btn-nav-primary:active {
        background: #FFFFFF !important;
        color: #000000 !important;
        transform: scale(0.96) !important;
    }
    .mobile-menu-btn {
        display: none !important;
    }
    .mobile-nav-drawer {
        display: none !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 72px 10px 24px !important;
        min-height: auto !important;
    }
    .hero-cta-group, .cta-buttons-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
        margin-bottom: 14px !important;
    }
    .hero-tech-pills {
        gap: 4px !important;
        margin-top: 12px !important;
    }

    /* Prominent, Smooth & Beautiful Marquee Ticker Band on Phone */
    .marquee-band {
        padding: 12px 0 !important;
        margin: 10px 0 22px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        background: rgba(5, 5, 8, 0.55) !important;
    }
    .marquee-chip {
        margin: 0 16px !important;
        gap: 8px !important;
        font-size: 0.94rem !important;
        font-weight: 600 !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .marquee-chip span {
        font-size: 0.94rem !important;
        font-weight: 600 !important;
        color: #FFFFFF !important;
    }
    .marquee-chip svg {
        width: 17px !important;
        height: 17px !important;
    }

    /* Section Headers & Content Grid Cards */
    .section-head, .section-header {
        margin-bottom: 34px !important;
        margin-top: 10px !important;
        padding: 0 4px !important;
        text-align: center !important;
    }
    section, .content-section, .bento-section, .features-section {
        padding: 16px 0 !important;
        margin-bottom: 24px !important;
    }
    .bento-grid-layout, .feature-grid-layout, .pricing-grid, .team-grid, .services-grid, .showcase-grid-3, .pricing-tier-grid, .dossier-grid, .vault-grid, .manifesto-editorial-grid, .capability-quadrant-grid, .service-blueprint-grid, .pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        width: 100% !important;
    }
    .col-4, .col-6, .col-8, .col-12, .col-span-full {
        grid-column: span 1 !important;
    }
    /* iOS 26 Frosted Glass Bento Cards with Specular Rim Lighting */
    .bento-card-spotlight, .bento-grid-card, .pillar-card, .service-blueprint-card, .dossier-card, .case-file-card, .pricing-tier-card, .sprint-gantt-card, .sprint-checkpoint-box, .comparison-card, .architecture-blueprint-wrap, .deep-dive-row, .vault-card, .manifesto-statement-card, .bottom-cta-card, .estimator-master-card, .accordion-card {
        padding: 22px 18px 20px !important;
        border-radius: 18px !important;
        gap: 0 !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%), rgba(14, 12, 22, 0.75) !important;
        backdrop-filter: blur(28px) saturate(190%) !important;
        -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .feature-grid-card {
        padding: 0 !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%), rgba(14, 12, 22, 0.75) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .feature-grid-visual {
        height: 200px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(0, 0, 0, 0.35) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .feature-grid-content {
        padding: 20px 18px 22px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .feature-pill {
        align-self: flex-start !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 8px !important;
        padding: 4px 10px !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 0.76rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        margin-top: 0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    }
    .feature-pill-icon {
        display: inline-flex !important;
        align-items: center !important;
        color: var(--brand-cyan) !important;
    }
    .bento-card-icon {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 1.25rem !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 18px rgba(157, 116, 255, 0.15) !important;
    }
    .bento-card-title {
        font-size: 1.22rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        letter-spacing: -0.025em !important;
        line-height: 1.24 !important;
        margin-bottom: 6px !important;
        text-align: left !important;
        display: block !important;
    }
    .bento-card-text {
        font-size: 0.88rem !important;
        line-height: 1.58 !important;
        color: rgba(240, 240, 255, 0.8) !important;
        margin-bottom: 14px !important;
        text-align: left !important;
        display: block !important;
    }
    .bento-card-spotlight ul,
    .bento-grid-card ul,
    .bento-card-list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px 8px !important;
        margin-top: 4px !important;
        padding: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }
    .bento-card-spotlight ul li,
    .bento-grid-card ul li,
    .bento-list-item {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 0.76rem !important;
        font-weight: 600 !important;
        color: rgba(240, 240, 255, 0.9) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 999px !important;
        padding: 4px 10px 4px 8px !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        white-space: nowrap !important;
    }

    /* "Express yourself" Master Card Mobile Optimization */
    #theme-showcase-master-card {
        display: flex !important;
        flex-direction: column !important;
        padding: 26px 20px 24px !important;
        border-radius: 18px !important;
        background: linear-gradient(145deg, rgba(157, 116, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(14, 12, 22, 0.78) !important;
        border: 1px solid rgba(157, 116, 255, 0.22) !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
        margin: 6px 0 16px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    #theme-showcase-master-card .theme-row-content {
        padding: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    #theme-showcase-master-card .feature-title,
    #theme-showcase-master-card strong.feature-title {
        font-size: 1.65rem !important;
        font-weight: 800 !important;
        line-height: 1.22 !important;
        letter-spacing: -0.035em !important;
        color: var(--brand-purple) !important;
        margin-bottom: 12px !important;
        display: block !important;
        text-shadow: 0 0 20px rgba(157, 116, 255, 0.45) !important;
        text-align: left !important;
    }
    #theme-showcase-master-card p.feature-desc,
    #theme-showcase-master-card .large-desc {
        font-size: 0.94rem !important;
        line-height: 1.68 !important;
        color: rgba(240, 240, 255, 0.88) !important;
        font-weight: 400 !important;
        margin: 0 !important;
        letter-spacing: -0.01em !important;
        text-align: left !important;
        display: block !important;
    }

    /* Technical Stack Integrations ("Connect your technical stack") Mobile Optimization */
    .integration-showcase-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 6px 0 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    .integration-showcase-card {
        flex: 1 1 auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 18px 16px !important;
        text-align: left !important;
        border-radius: 16px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%), rgba(14, 12, 22, 0.75) !important;
        backdrop-filter: blur(24px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.11) !important;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.18) !important;
        box-sizing: border-box !important;
    }
    .integration-showcase-icon {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        border-radius: 12px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .integration-showcase-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
    .integration-showcase-label {
        font-size: 1.02rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        letter-spacing: -0.02em !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        text-align: left !important;
        display: block !important;
    }
    .integration-showcase-sub {
        font-size: 0.68rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        margin-top: 0 !important;
        margin-bottom: 6px !important;
        display: inline-block !important;
        text-align: left !important;
    }
    .integration-showcase-copy {
        font-size: 0.82rem !important;
        line-height: 1.54 !important;
        color: var(--text-secondary) !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        text-align: left !important;
        display: block !important;
    }

    /* 4-Week Sprint Delivery Alternating Zigzag Layout on Phone (Right / Left / Right / Left) */
    .sprint-gantt-card {
        padding: 22px 14px 20px !important;
        border-radius: 18px !important;
        margin: 16px auto 24px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .sprint-track-row {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 14px !important;
        margin-top: 18px !important;
        width: 100% !important;
    }
    .sprint-checkpoint-box {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 16px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%), rgba(14, 12, 22, 0.82) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        transition: all 0.25s ease !important;
    }

    /* 1st & 3rd Boxes: RIGHT ALIGNED */
    .sprint-checkpoint-box:nth-child(odd) {
        margin-left: auto !important;
        margin-right: 0 !important;
        text-align: right !important;
        align-items: flex-end !important;
        border-right: 3.5px solid var(--brand-purple) !important;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(157, 116, 255, 0.2) !important;
    }
    .sprint-checkpoint-box:nth-child(odd) > div:first-child {
        display: flex !important;
        flex-direction: row-reverse !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin-bottom: 8px !important;
    }
    .sprint-checkpoint-box:nth-child(odd) h4 {
        text-align: right !important;
        font-size: 1.04rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }
    .sprint-checkpoint-box:nth-child(odd) ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        gap: 6px !important;
        width: 100% !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .sprint-checkpoint-box:nth-child(odd) ul li {
        display: flex !important;
        flex-direction: row-reverse !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: right !important;
        font-size: 0.80rem !important;
        color: var(--text-secondary) !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: none !important;
        box-shadow: none !important;
    }

    /* 2nd & 4th Boxes: LEFT ALIGNED */
    .sprint-checkpoint-box:nth-child(even) {
        margin-right: auto !important;
        margin-left: 0 !important;
        text-align: left !important;
        align-items: flex-start !important;
        border-left: 3.5px solid var(--brand-cyan) !important;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(56, 189, 248, 0.2) !important;
    }
    .sprint-checkpoint-box:nth-child(even) > div:first-child {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin-bottom: 8px !important;
    }
    .sprint-checkpoint-box:nth-child(even) h4 {
        text-align: left !important;
        font-size: 1.04rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }
    .sprint-checkpoint-box:nth-child(even) ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 6px !important;
        width: 100% !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .sprint-checkpoint-box:nth-child(even) ul li {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        font-size: 0.80rem !important;
        color: var(--text-secondary) !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: none !important;
        box-shadow: none !important;
    }

    /* Case Studies & Deep Dive Rows - Phone Layout & High-Tech Metrics Dashboard */
    .deep-dive-row,
    .deep-dive-row.reversed {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 20px !important;
        padding: 24px 18px 20px !important;
        margin-bottom: 24px !important;
        border-radius: 20px !important;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%), rgba(14, 12, 22, 0.78) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        backdrop-filter: blur(28px) saturate(190%) !important;
        -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .deep-dive-info {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .deep-dive-info h3 {
        font-size: 1.45rem !important;
        font-weight: 800 !important;
        letter-spacing: -0.03em !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        color: #ffffff !important;
    }
    .deep-dive-info p {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        color: rgba(240, 240, 255, 0.78) !important;
        margin-bottom: 14px !important;
    }
    .feature-check-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        margin-bottom: 14px !important;
    }
    .feature-check-item {
        font-size: 0.82rem !important;
        color: rgba(240, 240, 255, 0.9) !important;
        gap: 8px !important;
    }
    .deep-dive-visual {
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin-top: 14px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        display: block !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    .deep-dive-visual::before,
    .deep-dive-visual::after {
        display: none !important; /* Hide giant desktop radial glow circles on phone */
    }
    .impact-metrics {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        padding: 10px 8px !important;
        border-radius: 14px !important;
        background: rgba(10, 8, 18, 0.92) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.12) !important;
    }
    .metric-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 8px 4px !important;
        border-radius: 10px !important;
        min-height: auto !important;
        height: auto !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.07) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
    }
    .metric-value {
        font-family: 'Inter', sans-serif !important;
        font-size: 1.18rem !important;
        font-weight: 800 !important;
        letter-spacing: -0.03em !important;
        line-height: 1.15 !important;
        margin-bottom: 2px !important;
    }
    .metric-card:nth-child(1) .metric-value {
        color: var(--brand-emerald) !important;
        text-shadow: 0 0 12px rgba(52, 211, 153, 0.45) !important;
    }
    .metric-card:nth-child(2) .metric-value {
        color: var(--brand-cyan) !important;
        text-shadow: 0 0 12px rgba(56, 189, 248, 0.45) !important;
    }
    .metric-card:nth-child(3) .metric-value {
        color: #C084FC !important;
        text-shadow: 0 0 12px rgba(192, 132, 252, 0.45) !important;
    }
    .metric-label {
        font-size: 0.58rem !important;
        font-weight: 600 !important;
        color: rgba(240, 240, 255, 0.72) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    /* Electronic Cyber Map & Timezone Radar With Full Timing Bar */
    .world-map-radar-section {
        padding: 8px 6px 10px !important;
        border-radius: 10px !important;
        margin: 10px auto 16px !important;
        position: relative !important;
    }
    .map-top-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        margin-bottom: 6px !important;
    }
    .map-top-bar span {
        font-size: 0.64rem !important;
    }
    .map-hub-controls {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        width: 100% !important;
        gap: 3px !important;
        padding: 2px 4px !important;
    }
    .map-hub-btn {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
        min-height: 22px !important;
        flex-shrink: 0 !important;
    }
    .map-viewport-wrapper {
        height: 280px !important;
        border-radius: 8px !important;
        position: relative !important;
        overflow: hidden !important;
        width: 100% !important;
    }
    #radar-futuristic-canvas {
        height: 100% !important;
        width: 100% !important;
        display: block !important;
    }
    /* Fixed Drawer Position: Sits cleanly below the map canvas */
    .city-detail-glass-drawer {
        position: static !important;
        inset: auto !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin-top: 6px !important;
        padding: 6px 10px !important;
        border-radius: 8px !important;
        background: rgba(12, 10, 18, 0.98) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: none !important;
        z-index: 1 !important;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .city-hud-header {
        margin-bottom: 2px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .hud-city-tag {
        font-size: 0.52rem !important;
        letter-spacing: 0.04em !important;
        opacity: 0.85 !important;
    }
    .hud-city-name {
        font-size: 0.84rem !important;
        line-height: 1.15 !important;
        margin: 0 !important;
    }
    .city-hud-status-badge {
        font-size: 0.52rem !important;
        padding: 1px 5px !important;
        gap: 4px !important;
    }
    .hud-city-focus {
        font-size: 0.65rem !important;
        font-weight: 600 !important;
        margin-bottom: 1px !important;
    }
    .hud-city-desc {
        font-size: 0.58rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
        color: var(--text-tertiary) !important;
    }
    .city-hud-stats-row {
        gap: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: 4px !important;
        padding-top: 4px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .city-hud-label {
        font-size: 0.50rem !important;
        color: var(--text-tertiary) !important;
        text-transform: uppercase !important;
        font-family: 'JetBrains Mono', monospace !important;
    }
    .city-hud-clock {
        font-size: 0.85rem !important;
        font-weight: 800 !important;
        color: #FFFFFF !important;
        font-family: 'JetBrains Mono', monospace !important;
        display: block !important;
    }
    .city-hud-latency {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        color: var(--brand-emerald) !important;
        font-family: 'JetBrains Mono', monospace !important;
        display: block !important;
    }
    .zoom-hud-btn {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.68rem !important;
        border-radius: 5px !important;
    }

    /* Mechanical Keyboard */
    .keyboard-section {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 auto 16px !important;
    }
    .keyboard-container {
        padding: 6px 4px 8px !important;
        border-radius: 8px !important;
    }
    .keyboard-hud {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 3px !important;
        margin-bottom: 4px !important;
        padding-bottom: 3px !important;
    }
    .keyboard-hud-tag span {
        font-size: 0.6rem !important;
    }
    .keyboard-hud-stats {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 2px !important;
    }
    .hud-stat-pill {
        padding: 1px 4px !important;
        font-size: 0.52rem !important;
    }
    .keyboard-matrix, .keyboard-deck-scroll {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 2px 0 4px !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }
    .keyboard-matrix::-webkit-scrollbar,
    .keyboard-deck-scroll::-webkit-scrollbar {
        display: none !important;
    }
    .keyboard-row {
        min-width: 540px !important;
        gap: 4px !important;
        margin-bottom: 4px !important;
    }
    .v-key {
        height: 42px !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 0 #050508, 0 6px 12px rgba(0,0,0,0.5) !important;
        background: linear-gradient(180deg, #181924 0%, #0C0D14 100%) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
    }
    .v-key-main {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
    }
    .v-key-sub {
        font-size: 0.54rem !important;
    }
    .keyboard-footer-hints, .keyboard-hint-row {
        flex-wrap: wrap !important;
        gap: 4px !important;
        justify-content: center !important;
    }
    .hint-pill {
        font-size: 0.6rem !important;
        padding: 3px 7px !important;
    }

    /* Raycast Showcase Mockup on Phone — Vertical Stack */
    .showcase-wrapper {
        margin: 8px 0 !important;
    }
    .raycast-mockup-frame {
        border-radius: 14px !important;
        transform: none !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .mockup-header-bar {
        padding: 10px 12px !important;
        gap: 8px !important;
    }
    .mockup-header-bar input {
        font-size: 0.88rem !important;
        height: auto !important;
    }
    .mockup-dev-badge {
        font-size: 0.58rem !important;
        padding: 2px 6px !important;
    }
    .mockup-split-body {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        height: auto !important;
        min-height: auto !important;
    }
    .mockup-list-pane {
        border-right: none !important;
        border-bottom: 1px solid var(--border-default) !important;
        max-height: 180px !important;
        padding: 8px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .mockup-item {
        padding: 6px 8px !important;
        border-radius: 6px !important;
    }
    .mockup-item-left {
        gap: 8px !important;
        min-width: 0 !important;
    }
    .mockup-item-icon {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        font-size: 0.85rem !important;
    }
    .mockup-item-title {
        font-size: 0.78rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .mockup-item-sub {
        font-size: 0.62rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .mockup-preview-pane {
        padding: 14px 12px !important;
        overflow: hidden !important;
    }
    .preview-code-box, .code-editor-body {
        font-size: 0.66rem !important;
        padding: 10px !important;
        border-radius: 8px !important;
        overflow-x: auto !important;
        white-space: pre-wrap !important;
        word-break: break-all !important;
    }

    /* Figma Code vs Live UI Comparison Slider (Centered Half-Size Symmetrical Window on Phone) */
    .split-preset-controls {
        gap: 6px !important;
        margin-bottom: 12px !important;
        overflow-x: auto !important;
        padding-bottom: 4px !important;
        scrollbar-width: none !important;
        display: flex !important;
        justify-content: center !important;
    }
    .split-preset-btn {
        padding: 4px 10px !important;
        font-size: 0.68rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .figma-split-container {
        height: 295px !important;
        max-height: 295px !important;
        border-radius: 16px !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        margin: 0 auto 20px !important;
        position: relative !important;
        overflow: hidden !important;
        background: radial-gradient(circle at 50% 50%, rgba(20, 16, 32, 0.95) 0%, #06050b 100%) !important;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85), 0 0 30px rgba(157, 116, 255, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
    }
    .figma-inner-canvas {
        padding: 34px 8px 8px 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .figma-floating-badge {
        display: flex !important;
        font-size: 0.46rem !important;
        padding: 2px 7px !important;
        top: 8px !important;
        border-radius: 999px !important;
        border-width: 1px !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }
    .figma-badge-left {
        left: 10px !important;
        background: rgba(255, 99, 99, 0.15) !important;
        border: 1px solid rgba(255, 99, 99, 0.35) !important;
        box-shadow: 0 4px 16px rgba(255, 56, 92, 0.2) !important;
        color: var(--brand-red) !important;
    }
    .figma-badge-right {
        right: 10px !important;
        background: rgba(56, 189, 248, 0.15) !important;
        border: 1px solid rgba(56, 189, 248, 0.35) !important;
        box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2) !important;
        color: var(--brand-cyan) !important;
    }
    .figma-drag-handle {
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        background: radial-gradient(circle at 35% 35%, #251D3A 0%, #0E0B1A 100%) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
        box-shadow:
            0 0 0 2.5px rgba(157, 116, 255, 0.45),
            0 6px 20px rgba(0, 0, 0, 0.9),
            0 0 14px rgba(56, 189, 248, 0.5),
            inset 0 1px 2px #FFFFFF !important;
    }
    .figma-drag-handle svg {
        width: 11px !important;
        height: 11px !important;
    }
    .handle-floating-tag {
        display: block !important;
        font-size: 0.44rem !important;
        top: -20px !important;
        padding: 1px 5px !important;
        letter-spacing: 0.03em !important;
        background: rgba(14, 11, 26, 0.94) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85), 0 0 10px rgba(157, 116, 255, 0.35) !important;
    }

    /* The centered, half-sized matching window cards */
    .code-editor-mockup,
    .compiled-ui-card {
        max-width: 96% !important;
        width: 96% !important;
        height: 245px !important;
        min-height: 245px !important;
        max-height: 245px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        overflow: hidden !important;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    }
    .code-editor-mockup {
        background: #090710 !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
    }
    .compiled-ui-card {
        background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, rgba(10, 14, 26, 0.96) 100%) !important;
        border: 1px solid rgba(56, 189, 248, 0.35) !important;
    }
    .code-editor-topbar,
    .compiled-ui-header {
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        padding: 0 8px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .editor-window-dots .w-dot {
        width: 6px !important;
        height: 6px !important;
    }
    .code-tab-btn {
        padding: 1px 5px !important;
        font-size: 0.58rem !important;
    }
    .code-editor-runtime-badge {
        font-size: 0.52rem !important;
    }
    .compiled-fps-badge {
        font-size: 0.5rem !important;
        padding: 1px 5px !important;
        box-shadow: 0 0 10px rgba(52, 211, 153, 0.3) !important;
    }
    .code-editor-body,
    .compiled-card-body {
        padding: 8px 10px !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }
    .code-panel:not(.active) {
        display: none !important;
    }
    .code-editor-body.active {
        display: flex !important;
    }
    .code-editor-body {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        font-size: 0.56rem !important;
        line-height: 1.34 !important;
        gap: 6px !important;
        text-align: left !important;
    }
    .code-line-numbers {
        font-size: 0.52rem !important;
        flex-shrink: 0 !important;
        text-align: right !important;
        user-select: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .code-syntax-lines {
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 1 auto !important;
        text-align: left !important;
        white-space: pre !important;
    }
    .code-syntax-lines code {
        text-align: left !important;
        display: block !important;
    }
    .compiled-tag {
        font-size: 0.48rem !important;
        margin-bottom: 2px !important;
    }
    .compiled-title {
        font-size: 0.88rem !important;
        margin-bottom: 2px !important;
        line-height: 1.15 !important;
    }
    .compiled-desc {
        font-size: 0.56rem !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
    }
    .compiled-stats-row {
        padding: 3px 6px !important;
        gap: 4px !important;
        margin-bottom: 6px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 8px !important;
    }
    .c-stat-label {
        font-size: 0.44rem !important;
    }
    .c-stat-val {
        font-size: 0.62rem !important;
    }
    .compiled-actions-row {
        margin-top: 2px !important;
        gap: 4px !important;
    }
    .compiled-actions-row button {
        padding: 3px 8px !important;
        font-size: 0.58rem !important;
        min-height: 22px !important;
    }
    .code-editor-footer,
    .compiled-ui-footer {
        height: 22px !important;
        min-height: 22px !important;
        max-height: 22px !important;
        padding: 0 8px !important;
        font-size: 0.52rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    }

    /* Estimator & Pricing */
    .pricing-tier-price {
        font-size: 1.35rem !important;
    }
    .est-readout-val {
        font-size: 1.15rem !important;
    }
    .config-addon-chip {
        font-size: 0.66rem !important;
        padding: 3px 6px !important;
    }
    /* Lighthouse Gauges â€” Balanced Alternating Zigzag Layout on Phone */
    .matrix-rain-canvas {
        display: block !important;
        opacity: 0.45 !important;
    }
    .matrix-page-rain-canvas {
        display: block !important;
        opacity: 0.28 !important;
    }
    .lighthouse-gauges-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 10px !important;
        margin-bottom: 24px !important;
    }
    .lighthouse-gauge-item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 18px !important;
        border-radius: 14px !important;
        background: rgba(10, 12, 18, 0.78) !important;
        border: 1px solid rgba(255, 255, 255, 0.09) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        gap: 16px !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }
    .lighthouse-gauge-item:nth-child(odd) .gauge-info-group {
        order: 1 !important;
        flex: 1 !important;
        text-align: left !important;
    }
    .lighthouse-gauge-item:nth-child(odd) .gauge-svg-wrap {
        order: 2 !important;
        margin: 0 !important;
    }
    .lighthouse-gauge-item:nth-child(even) .gauge-svg-wrap {
        order: 1 !important;
        margin: 0 !important;
    }
    .lighthouse-gauge-item:nth-child(even) .gauge-info-group {
        order: 2 !important;
        flex: 1 !important;
        text-align: right !important;
    }
    .gauge-svg-wrap {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        position: relative !important;
        margin: 0 !important;
    }
    .gauge-svg-wrap svg {
        width: 56px !important;
        height: 56px !important;
        display: block !important;
    }
    .gauge-score-center {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: var(--brand-emerald) !important;
        text-shadow: 0 0 10px rgba(16, 185, 129, 0.7) !important;
    }
    .gauge-label {
        font-size: 1.02rem !important;
        font-weight: 700 !important;
        color: #FFFFFF !important;
        margin-bottom: 2px !important;
        letter-spacing: -0.01em !important;
    }
    .gauge-sub {
        font-size: 0.72rem !important;
        color: var(--text-tertiary) !important;
        font-family: 'JetBrains Mono', monospace !important;
    }

    /* Comparison Breakdown Boxes â€” Compact & Crisp on Mobile */
    .comparison-toggle-deck {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        margin-top: 18px !important;
        width: 100% !important;
    }
    .comp-column {
        padding: 14px 14px 12px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        background: rgba(10, 12, 18, 0.82) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
    }
    .comp-column.visunox-win {
        border: 1px solid rgba(16, 185, 129, 0.35) !important;
    }
    .comp-column.legacy-lose {
        border: 1px solid rgba(239, 68, 68, 0.3) !important;
    }
    .comp-column > div:first-child {
        margin-bottom: 10px !important;
        gap: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .comp-column > div:first-child strong {
        font-size: 0.80rem !important;
        line-height: 1.25 !important;
        letter-spacing: -0.01em !important;
        flex: 1 !important;
        min-width: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .comp-column > div:first-child span {
        font-size: 0.58rem !important;
        padding: 2px 6px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        letter-spacing: 0.04em !important;
        border-radius: 4px !important;
    }
    .comp-metric-row {
        padding: 5px 0 !important;
        font-size: 0.70rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    }
    .comp-metric-row span:first-child {
        font-size: 0.70rem !important;
        color: rgba(240, 240, 255, 0.75) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    .comp-metric-row strong,
    .comp-metric-row span:last-child {
        font-size: 0.70rem !important;
        white-space: nowrap !important;
        text-align: right !important;
        flex-shrink: 0 !important;
    }

    /* Benchmark Comparison Matrix â€” Compact High-Tech Suite on Mobile */
    .matrix-container {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    .matrix-row.head {
        display: none !important; /* Hide redundant table headers on mobile */
    }
    .matrix-row {
        display: flex !important;
        flex-direction: column !important;
        padding: 14px 16px 12px !important;
        border-radius: 14px !important;
        background: rgba(12, 12, 18, 0.85) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        gap: 8px !important;
        transition: all 0.2s ease !important;
    }
    .matrix-row:hover {
        border-color: rgba(16, 185, 129, 0.3) !important;
        background: rgba(16, 185, 129, 0.04) !important;
    }
    .matrix-row > div:first-child {
        font-family: 'Inter', sans-serif !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        color: #FFFFFF !important;
        letter-spacing: -0.01em !important;
        margin-bottom: 2px !important;
    }
    .matrix-row > div:nth-child(2),
    .matrix-row > div:nth-child(3) {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.76rem !important;
        padding: 6px 10px !important;
        border-radius: 8px !important;
    }
    .matrix-row > div:nth-child(2) {
        background: rgba(16, 185, 129, 0.12) !important;
        border: 1px solid rgba(16, 185, 129, 0.28) !important;
        color: var(--brand-emerald) !important;
        font-weight: 700 !important;
    }
    .matrix-row > div:nth-child(2)::before {
        content: "\26A1  Visunox Native: " !important;
        font-weight: 500 !important;
        font-size: 0.68rem !important;
        color: rgba(240, 240, 255, 0.7) !important;
    }
    .matrix-row > div:nth-child(3) {
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        color: var(--text-tertiary) !important;
    }
    .matrix-row > div:nth-child(3)::before {
        content: "Industry Average:" !important;
        font-weight: 400 !important;
        font-size: 0.68rem !important;
        color: var(--text-tertiary) !important;
    }

    /* Before & After Benchmark Comparison Tabs / Rows (Phone Optimization) */
    .bento-card-spotlight:has(.benchmark-row) {
        padding: 8px 4px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .bento-card-spotlight > div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"]:first-child {
        display: none !important; /* Hide unaligned 4-column table header on mobile */
    }
    .benchmark-row {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        padding: 16px 16px 14px !important;
        border-radius: 16px !important;
        margin-bottom: 12px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%), rgba(14, 12, 22, 0.85) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        backdrop-filter: blur(24px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.18) !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    .benchmark-row > div:nth-child(1) {
        font-family: 'Inter', sans-serif !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        letter-spacing: -0.02em !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        text-align: left !important;
        display: block !important;
    }
    .benchmark-row > div:nth-child(4) {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.74rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        background: rgba(157, 116, 255, 0.2) !important;
        border: 1px solid rgba(157, 116, 255, 0.45) !important;
        border-radius: 999px !important;
        padding: 4px 12px !important;
        margin-bottom: 6px !important;
        align-self: flex-start !important;
        box-shadow: 0 2px 10px rgba(157, 116, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
        text-align: left !important;
    }
    .benchmark-row > div:nth-child(2) {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.78rem !important;
        color: rgba(255, 99, 99, 0.95) !important;
        background: rgba(255, 99, 99, 0.08) !important;
        border: 1px solid rgba(255, 99, 99, 0.22) !important;
        padding: 8px 12px !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .benchmark-row > div:nth-child(2)::before {
        content: "Legacy Setup:" !important;
        font-weight: 500 !important;
        font-size: 0.70rem !important;
        color: var(--text-tertiary) !important;
        font-family: 'Inter', sans-serif !important;
    }
    .benchmark-row > div:nth-child(3) {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        color: var(--brand-emerald) !important;
        background: rgba(16, 185, 129, 0.12) !important;
        border: 1px solid rgba(16, 185, 129, 0.32) !important;
        padding: 8px 12px !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        box-shadow: 0 0 16px rgba(16, 185, 129, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
    }
    .benchmark-row > div:nth-child(3)::before {
        content: "\26A1  Visunox Architecture:" !important;
        font-weight: 600 !important;
        font-size: 0.70rem !important;
        color: rgba(240, 240, 255, 0.9) !important;
        font-family: 'Inter', sans-serif !important;
    }

    /* Footer on Phone - Compact Horizontal Chip & Multi-Column Layout */
    footer {
        padding: 28px 12px 16px !important;
        margin-top: 36px !important;
    }
    .footer-container {
        padding: 0 !important;
    }
    .footer-sitemap {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 14px 16px !important;
        justify-content: space-between !important;
        margin-bottom: 20px !important;
    }
    .footer-col {
        flex: 1 1 42% !important;
        min-width: 120px !important;
    }
    .footer-col h4 {
        font-size: 0.84rem !important;
        color: var(--text-tertiary) !important;
        margin-bottom: 6px !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
    }
    .footer-col ul {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px 6px !important;
    }
    .footer-col ul li {
        margin-bottom: 0 !important;
    }
    .footer-col ul li a {
        font-size: 0.8rem !important;
        padding: 4px 10px !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        display: inline-block !important;
        color: var(--text-secondary) !important;
        white-space: nowrap !important;
    }
    .footer-col ul li a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
    }
    .footer-bottom-row {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
        padding-top: 14px !important;
        font-size: 0.76rem !important;
    }
    .btn-back-top {
        bottom: 24px !important;
        right: 20px !important;
        left: auto !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
        background: rgba(12, 10, 18, 0.92) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75), 0 0 16px rgba(157, 116, 255, 0.3) !important;
        z-index: 9999 !important;
    }
    .btn-back-top .arrow-svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* Application Modal on Mobile */
    .app-modal-overlay {
        padding: 8px !important;
        align-items: flex-end !important;
    }
    .app-modal-container {
        max-width: 100% !important;
        max-height: 88vh !important;
        border-radius: 18px 18px 10px 10px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .app-modal-topbar {
        padding: 10px 14px !important;
    }
    .app-modal-topbar span {
        font-size: 0.72rem !important;
    }
    .app-modal-body {
        padding: 12px 14px !important;
        max-height: 72vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .app-modal-pill-group {
        gap: 6px !important;
        margin-bottom: 12px !important;
    }
    .app-modal-pill {
        font-size: 0.74rem !important;
        padding: 6px 10px !important;
    }
    .app-modal-input {
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
        padding: 9px 12px !important;
        margin-bottom: 10px !important;
        border-radius: 8px !important;
    }
    .app-modal-textarea {
        min-height: 60px !important;
    }
    .app-modal-label {
        font-size: 0.68rem !important;
        margin-bottom: 4px !important;
    }
    .app-modal-footer {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 10px 0 0 !important;
        align-items: stretch !important;
    }
    .app-modal-footer button[type="submit"] {
        width: 100% !important;
    }
    .app-modal-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

/* Extra Compact Phones (iPhone SE / Mini <= 480px) */
@media (max-width: 480px) {
    html {
        font-size: 15px !important;
    }
    .hero-heading {
        font-size: clamp(2.1rem, 8.5vw, 2.75rem) !important;
        line-height: 1.14 !important;
        margin-bottom: 14px !important;
    }
    .section-heading, .section-title, .cta-title {
        font-size: clamp(1.65rem, 6.8vw, 2.1rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    .map-viewport-wrapper {
        height: 260px !important;
    }
    .footer-sitemap {
        grid-template-columns: 1fr !important;
    }
    .metric-grid-4 {
        grid-template-columns: 1fr !important;
    }
    .lighthouse-gauges-grid {
        grid-template-columns: 1fr !important;
    }
    #theme-showcase-master-card {
        padding: 22px 16px 20px !important;
    }
    #theme-showcase-master-card .feature-title,
    #theme-showcase-master-card strong.feature-title {
        font-size: 1.48rem !important;
        margin-bottom: 10px !important;
    }
    #theme-showcase-master-card p.feature-desc,
    #theme-showcase-master-card .large-desc {
        font-size: 0.90rem !important;
        line-height: 1.62 !important;
    }
    .integration-showcase-card {
        padding: 15px 13px !important;
        gap: 12px !important;
    }
    .integration-showcase-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
    .integration-showcase-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    .integration-showcase-label {
        font-size: 0.96rem !important;
    }
    .integration-showcase-copy {
        font-size: 0.78rem !important;
        line-height: 1.48 !important;
    }
    .deep-dive-row,
    .deep-dive-row.reversed {
        padding: 20px 14px 16px !important;
        gap: 16px !important;
    }
    .deep-dive-info h3 {
        font-size: 1.30rem !important;
    }
    .metric-value {
        font-size: 1.08rem !important;
    }
    .metric-label {
        font-size: 0.56rem !important;
    }
    .metric-card {
        padding: 8px 3px !important;
    }
}

/* Landscape Mode on Phone */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 932px) {
    header {
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        padding: 1px 8px !important;
        top: 2px !important;
        width: calc(100% - 16px) !important;
        left: 8px !important;
        border-radius: 999px !important;
    }
    header.scrolled {
        padding: 1px 8px !important;
        top: 1px !important;
    }
    header .nav-inner {
        height: 100% !important;
        padding: 0 4px !important;
        gap: 6px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .nav-brand {
        gap: 6px !important;
        white-space: nowrap !important;
    }
    .brand-logo-wrap, .brand-logo-svg {
        width: 18px !important;
        height: 18px !important;
    }
    .brand-text {
        font-size: 0.82rem !important;
        letter-spacing: -0.02em !important;
        white-space: nowrap !important;
    }
    .nav-menu {
        display: none !important;
    }
    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .nav-theme-dock {
        display: flex !important;
        align-items: center !important;
        gap: 2px !important;
        padding: 2px 4px !important;
    }
    .theme-pill-dot {
        width: 6px !important;
        height: 6px !important;
        min-width: 6px !important;
    }
    .nav-audio-btn {
        display: inline-flex !important;
        font-size: 0.56rem !important;
        height: 18px !important;
        padding: 1px 5px !important;
    }
    .btn-nav-primary {
        display: none !important;
    }
    .mobile-menu-btn {
        width: 24px !important;
        height: 24px !important;
        display: flex !important;
    }

    .hero-section {
        padding: 44px 12px 12px !important;
    }
    .hero-heading {
        font-size: clamp(1.2rem, 3.8vw, 1.45rem) !important;
        margin-bottom: 4px !important;
    }
    .hero-subtitle, .hero-subheading {
        font-size: 0.72rem !important;
        line-height: 1.32 !important;
        margin-bottom: 8px !important;
    }
    .btn-hero-primary, .btn-hero-secondary {
        padding: 5px 10px !important;
        font-size: 0.72rem !important;
        min-height: 28px !important;
    }

    .bento-grid-layout, .feature-grid-layout, .pricing-grid, .team-grid, .services-grid, .showcase-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .col-span-full {
        grid-column: span 2 !important;
    }

    .world-map-radar-section {
        padding: 6px 8px !important;
        margin: 8px auto 14px !important;
    }
    .map-top-bar {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 4px !important;
    }
    .map-hub-controls {
        padding: 2px 4px !important;
        gap: 2px !important;
    }
    .map-hub-btn {
        font-size: 0.58rem !important;
        padding: 2px 4px !important;
        min-height: 20px !important;
    }
    .map-viewport-wrapper {
        height: 200px !important;
        position: relative !important;
        border-radius: 6px !important;
    }
    .city-detail-glass-drawer {
        position: absolute !important;
        bottom: 6px !important;
        left: 6px !important;
        right: auto !important;
        top: auto !important;
        max-width: 220px !important;
        width: auto !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        background: rgba(10, 8, 16, 0.96) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        z-index: 10 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    }
    .hud-city-tag {
        font-size: 0.5rem !important;
    }
    .hud-city-name {
        font-size: 0.8rem !important;
        margin: 0 !important;
    }
    .city-hud-status-badge {
        font-size: 0.5rem !important;
        padding: 1px 3px !important;
    }
    .hud-city-focus, .hud-city-desc, .city-hud-label {
        display: none !important;
    }
    .city-hud-stats-row {
        gap: 6px !important;
        margin-top: 2px !important;
        display: flex !important;
        align-items: center !important;
    }
    .city-hud-clock {
        font-size: 0.74rem !important;
    }
    .city-hud-latency {
        font-size: 0.66rem !important;
    }

    .keyboard-section {
        margin: 0 auto 10px !important;
        padding: 0 !important;
    }
    .keyboard-container {
        padding: 8px 6px !important;
    }
    .keyboard-hud {
        display: none !important;
    }
    .keyboard-matrix {
        overflow-x: visible !important;
    }
    .keyboard-row {
        min-width: 100% !important;
        gap: 3px !important;
        margin-bottom: 3px !important;
    }
    .v-key {
        height: 36px !important;
        border-radius: 6px !important;
        box-shadow: 0 3px 0 #050508, 0 4px 8px rgba(0,0,0,0.5) !important;
        background: linear-gradient(180deg, #181924 0%, #0C0D14 100%) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
    }
    .v-key-main {
        font-size: 0.82rem !important;
        font-weight: 700 !important;
    }
    .v-key-sub {
        font-size: 0.5rem !important;
        margin-bottom: 0 !important;
    }
    .keyboard-footer-hints {
        gap: 3px !important;
        margin-top: 4px !important;
    }
    .hint-pill {
        font-size: 0.56rem !important;
        padding: 2px 6px !important;
    }

    .figma-split-container {
        height: 285px !important;
        max-height: 285px !important;
    }
    .figma-floating-badge {
        display: flex !important;
        font-size: 0.44rem !important;
        padding: 1px 5px !important;
    }
    .handle-floating-tag {
        display: block !important;
        font-size: 0.42rem !important;
    }

    .btn-back-top {
        bottom: 24px !important;
        right: 20px !important;
        left: auto !important;
        width: 48px !important;
        height: 48px !important;
    }
}