/* ═══════════════════════════════════════════════════════════════
   MARVIN JARVIS DESIGN SYSTEM v2
   Deep Navy · Glass · Neon Blue · Modern Typography
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
    --navy-deep: #060b1a;
    --navy: #0a0e27;
    --navy-mid: #0d1333;
    --navy-light: #131a42;
    --navy-surface: #161d4a;
    --glass: rgba(10, 14, 39, 0.65);
    --glass-light: rgba(19, 26, 66, 0.45);
    --glass-border: rgba(0, 212, 255, 0.1);
    --glass-border-bright: rgba(0, 212, 255, 0.25);
    --cyan: #00d4ff;
    --cyan-dim: rgba(0, 212, 255, 0.35);
    --cyan-faint: rgba(0, 212, 255, 0.06);
    --blue: #0066ff;
    --purple: #6366f1;
    --teal: #00ffc8;
    --amber: #f59e0b;
    --red: #ef4444;
    --green: #22c55e;
    --text-1: #e8edf5;
    --text-2: rgba(232, 237, 245, 0.55);
    --text-3: rgba(232, 237, 245, 0.3);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 30px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --glow: 0 0 20px rgba(0, 212, 255, 0.12), 0 0 60px rgba(0, 212, 255, 0.04);
    --glow-hi: 0 0 30px rgba(0, 212, 255, 0.25), 0 0 80px rgba(0, 212, 255, 0.08);
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-t: env(safe-area-inset-top, 0px);
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--navy-deep);
    color: var(--text-1);
    height: 100%;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
    font-weight: 400;
}

#app {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
}

#authGate {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at 25% 20%, rgba(0, 212, 255, 0.08), rgba(6, 11, 26, 0.94) 50%, rgba(6, 11, 26, 0.98) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.auth-open #authGate {
    display: flex;
}

body.auth-open #app {
    display: none;
}

.auth-card {
    width: min(420px, 100%);
    border-radius: var(--r-lg);
    border: 1px solid var(--glass-border-bright);
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.95), rgba(19, 26, 66, 0.86));
    box-shadow: var(--glow-hi);
    padding: 24px;
}

.auth-title {
    font-family: var(--font-display);
    letter-spacing: 2px;
    font-size: 20px;
    color: var(--cyan);
    margin-bottom: 6px;
}

.auth-subtitle {
    color: var(--text-2);
    font-size: 13px;
    margin-bottom: 16px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.auth-tab {
    border: 1px solid var(--glass-border);
    background: var(--glass-light);
    color: var(--text-2);
    border-radius: var(--r-sm);
    padding: 8px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.8px;
}

.auth-tab.active {
    color: var(--text-1);
    border-color: var(--cyan-dim);
    box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.35);
}

.auth-grid {
    display: grid;
    gap: 10px;
}

.auth-input {
    width: 100%;
    border: 1px solid var(--glass-border);
    background: rgba(10, 14, 39, 0.7);
    color: var(--text-1);
    border-radius: var(--r-sm);
    padding: 11px 12px;
    font-size: 14px;
    outline: none;
}

.auth-input:focus {
    border-color: var(--cyan);
}

.auth-actions {
    margin-top: 14px;
}

.auth-btn {
    width: 100%;
    border: 1px solid var(--cyan-dim);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 102, 255, 0.2));
    color: var(--text-1);
    border-radius: var(--r-sm);
    padding: 11px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.auth-status {
    min-height: 18px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-2);
}

.first-win-panel {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(2, 7, 18, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.first-win-card {
    width: min(680px, 100%);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(0, 212, 255, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(9, 24, 52, 0.98), rgba(4, 10, 24, 0.96));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 0 50px rgba(0, 212, 255, 0.12);
    padding: 24px;
    position: relative;
}

.first-win-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-1);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.first-win-kicker {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.first-win-card h2 {
    margin: 8px 42px 8px 0;
    color: var(--text-1);
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.04;
}

.first-win-card p {
    margin: 0;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.6;
}

.first-win-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.first-win-grid button {
    text-align: left;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.10), rgba(255, 255, 255, 0.035));
    color: var(--text-1);
    padding: 16px;
    cursor: pointer;
    min-height: 118px;
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.first-win-grid button:hover,
.first-win-grid button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(0, 212, 255, 0.55);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(37, 99, 235, 0.10));
    outline: none;
}

.first-win-grid strong {
    display: block;
    font-size: 16px;
    line-height: 1.25;
}

.first-win-grid span {
    display: block;
    margin-top: 8px;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.45;
}

.first-win-note {
    margin-top: 14px;
    border: 1px solid rgba(255, 181, 84, 0.18);
    border-radius: 14px;
    background: rgba(255, 181, 84, 0.06);
    color: var(--text-2);
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 620px) {
    .first-win-card {
        padding: 20px;
    }

    .first-win-grid {
        grid-template-columns: 1fr;
    }
}

#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.scanline-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 212, 255, 0.008) 3px, rgba(0, 212, 255, 0.008) 6px);
}

/* ═══ ICONS (SVG-based, replacing emoji) ═══ */
.ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ico svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ═══ HEADER ═══ */
.jarvis-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--safe-t) + 12px) 18px 12px;
    background: linear-gradient(180deg, rgba(6, 11, 26, 0.85) 0%, rgba(6, 11, 26, 0.4) 70%, transparent 100%);
    pointer-events: none;
}

.jarvis-header>* {
    pointer-events: auto;
    position: relative;
    z-index: 1001;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    animation: softPulse 4s ease-in-out infinite;
    position: relative;
    z-index: 10;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cyan);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    box-shadow: 0 0 10px var(--cyan);
}

.hamburger-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.header-brand {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-1);
    text-shadow: 0 0 12px var(--cyan-dim);
}

.header-stats-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    font-size: 10px;
    font-family: var(--font-sans);
    color: var(--text-2);
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-val {
    color: var(--text-1);
    font-weight: 500;
}

.stat-icon {
    font-size: 11px;
}

/* ═══ MENU DRAWER ═══ */
.menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 270px;
    height: 100%;
    z-index: 200;
    background: linear-gradient(160deg, rgba(6, 11, 26, 0.97), rgba(13, 19, 51, 0.97));
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-right: 1px solid var(--glass-border-bright);
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease);
    padding: calc(var(--safe-t) + 24px) 20px calc(var(--safe-b, 0px) + 20px);
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.menu-drawer.open {
    transform: translateX(0);
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.menu-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 8px;
}

.menu-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cyan) 0%, var(--navy) 70%);
    box-shadow: var(--glow-hi);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--navy-deep);
}

.menu-logo-text {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--cyan);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 16px;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    border: 1px solid transparent;
}

.menu-item:hover,
.menu-item.active {
    background: var(--cyan-faint);
    border-color: var(--glass-border);
    color: var(--text-1);
}

.menu-item.active {
    border-color: var(--glass-border-bright);
    color: var(--cyan);
}

.menu-item-icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
    opacity: 0.8;
}

.menu-coin-badge {
    margin-top: auto;
    padding: 18px;
    background: var(--glass);
    border: 1px solid var(--glass-border-bright);
    border-radius: var(--r-lg);
    text-align: center;
}

.menu-coin-balance {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 24px var(--cyan-dim);
}

.menu-coin-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 300;
    color: var(--text-3);
    letter-spacing: 2px;
    margin-top: 4px;
}

.menu-topup-btn {
    margin-top: 14px;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--cyan);
    background: transparent;
    color: var(--cyan);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    letter-spacing: 1px;
}

.menu-topup-btn:hover {
    background: rgba(0, 212, 255, 0.08);
    box-shadow: var(--glow);
}

/* ═══ SURFACES ═══ */
.surface {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    position: relative;
    z-index: 2;
    padding-top: calc(var(--safe-t) + 56px);
}

.surface.active {
    display: flex;
}

/* ═══ ARC REACTOR CORE ═══ */
.reactor-zone {
    position: relative;
    height: 40%;
    min-height: 180px;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reactor-core {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 50%, rgba(0, 212, 255, 0.2) 60%, rgba(0, 212, 255, 0.5) 65%, rgba(0, 212, 255, 0.2) 70%, transparent 80%);
    box-shadow: inset 0 0 50px rgba(0, 212, 255, 0.1), 0 0 50px rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: corePulse 3s ease-in-out infinite;
}

.reactor-center {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.4) 0%, rgba(0, 212, 255, 0.1) 60%, transparent 80%);
    box-shadow: inset 0 0 40px rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.soundwave-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 8px var(--cyan));
}

/* ═══ THOUGHT STREAM ═══ */
.thought-stream-zone {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.thought-stream-zone::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 11, 26, 0.4) 40%, rgba(6, 11, 26, 0.9) 100%);
    z-index: 10;
    pointer-events: none;
}

.thought-stream-chat {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    margin: 16px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border-bright);
    border-radius: var(--r-xl);
    box-shadow: var(--glow);
    scroll-behavior: smooth;
    mask-image: none;
    -webkit-mask-image: none;
}

.thought-stream-chat::-webkit-scrollbar {
    width: 2px;
}

.thought-stream-chat::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 2px;
}

/* Messages — tighter, cleaner */
.msg {
    max-width: 100%;
    padding: 0;
    border-radius: 0;
    font-size: 15px;
    line-height: 1.5;
    background: none;
    border: none;
    backdrop-filter: none;
    word-break: break-word;
    animation: slideIn 0.25s ease-out;
}

.msg-user {
    align-self: flex-start;
    color: var(--text-2);
}

.msg-bot {
    align-self: flex-start;
    color: var(--text-1);
    text-shadow: 0 0 8px var(--cyan-dim);
}

.msg-system {
    align-self: flex-start;
    font-size: 12px;
    color: var(--text-3);
    font-family: var(--font-mono);
    font-weight: 300;
    background: none;
    padding: 0;
}

/* Entity Cards */
.entity-card {
    background: linear-gradient(135deg, var(--glass), rgba(0, 212, 255, 0.02));
    border: 1px solid var(--glass-border-bright);
    border-radius: var(--r-lg);
    padding: 14px;
    margin: 2px 0;
    box-shadow: var(--glow);
    animation: slideIn 0.3s ease-out;
}

.entity-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--cyan);
    text-transform: uppercase;
}

.entity-card-body {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.55;
}

.entity-card-cta {
    margin-top: 10px;
    padding: 9px 18px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 102, 255, 0.06));
    border: 1px solid var(--cyan);
    border-radius: var(--r-md);
    color: var(--cyan);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-align: center;
    letter-spacing: 0.5px;
}

.entity-card-cta:hover {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: var(--glow-hi);
}

/* Thinking */
.thinking-indicator {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-family: var(--font-mono);
    font-weight: 300;
    color: var(--text-3);
}

.thinking-dots {
    display: flex;
    gap: 3px;
}

.thinking-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    animation: bounce 1.4s ease-in-out infinite;
    box-shadow: 0 0 6px var(--cyan-dim);
}

.thinking-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.thinking-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

/* ═══ INPUT BAR ═══ */
.input-bar {
    position: relative;
    z-index: 50;
    display: flex;
    flex-direction: column;
    padding: 6px 8px 4px;
    margin: 4px 8px calc(var(--safe-b) + 4px);
    background: var(--glass);
    border: 1px solid var(--glass-border-bright);
    border-radius: 16px;
    box-shadow: var(--glow);
    transition: border-color 0.2s ease;
}

.input-bar.drag-over {
    border-color: var(--cyan);
    box-shadow: var(--glow-hi), inset 0 0 20px rgba(0, 232, 255, 0.06);
}

.input-text {
    width: 100%;
    background: transparent;
    border: none;
    padding: 2px 0 4px;
    color: var(--text-1);
    font-family: var(--font-sans);
    font-size: 15px;
    resize: none;
    outline: none;
    max-height: 120px;
    min-height: 24px;
    line-height: 1.4;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.08) transparent;
}

.input-text::-webkit-scrollbar {
    width: 3px;
}

.input-text::-webkit-scrollbar-track {
    background: transparent;
}

.input-text::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
}

.input-text::placeholder {
    color: var(--text-3);
    font-weight: 300;
}

.input-text:focus {
    box-shadow: none;
    border-color: transparent;
}

.input-tools-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 6px;
}

.input-tools-left {
    display: flex;
    align-items: center;
    gap: 2px;
}

.input-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-3);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
    flex-shrink: 0;
    padding: 0;
}

.input-action:hover {
    color: var(--cyan);
    background: var(--cyan-faint);
}

.input-send {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
    flex-shrink: 0;
    padding: 0;
}

.input-send:hover {
    color: var(--cyan);
}

.input-action.voice-active {
    background: var(--red);
    color: white;
    animation: softPulse 1s ease-in-out infinite;
}

.input-action.active {
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 10px var(--cyan-dim);
}

.reactor-status {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--cyan);
    opacity: 0.7;
    margin-top: 8px;
    text-transform: uppercase;
}

/* ═══ CAMERA ═══ */
.camera-module {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 60;
    background: var(--navy-deep);
    flex-direction: column;
}

.camera-module.active {
    display: flex;
}

.camera-feed {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}

.camera-feed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    padding: 16px;
    margin: 16px 16px calc(var(--safe-b) + 16px);
    background: var(--glass);
    border: 1px solid var(--glass-border-bright);
    border-radius: var(--r-xl);
    box-shadow: var(--glow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.cam-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border-bright);
    background: transparent;
    color: var(--text-2);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cam-btn:hover {
    color: var(--cyan);
    background: var(--cyan-faint);
}

.cam-btn.capture-btn {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(239, 68, 68, 0.5);
    background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 70%);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    color: var(--red);
    font-size: 24px;
}

/* ═══ ONBOARDING ═══ */
.onboarding-pager {
    flex: 1;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.onboarding-pager::-webkit-scrollbar {
    display: none;
}

.ob-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 28px calc(var(--safe-b) + 72px);
    text-align: center;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: translateX(40px);
}

.ob-screen.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.ob-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--cyan);
    text-shadow: 0 0 30px var(--cyan-dim);
    margin-bottom: 12px;
}

.ob-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-2);
    max-width: 300px;
    line-height: 1.65;
    margin-bottom: 28px;
}

.ob-input {
    width: 100%;
    max-width: 280px;
    padding: 14px 18px;
    background: var(--glass);
    border: 1px solid var(--glass-border-bright);
    border-radius: var(--r-lg);
    color: var(--text-1);
    font-family: var(--font-sans);
    font-size: 18px;
    text-align: center;
    outline: none;
    transition: all 0.2s var(--ease);
}

.ob-input:focus {
    border-color: var(--cyan);
    box-shadow: var(--glow);
}

.ob-input.ob-input-error {
    border-color: var(--red) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
    animation: inputShake 0.3s ease-out;
}

@keyframes inputShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

.ob-input::placeholder {
    color: var(--text-3);
    font-weight: 300;
}

.ob-toggle-group {
    display: flex;
    gap: 14px;
    margin: 20px 0;
}

.ob-toggle-btn {
    padding: 16px 32px;
    border-radius: var(--r-lg);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-2);
}

.ob-toggle-btn.yes {
    border-color: rgba(34, 197, 94, 0.4);
    color: var(--green);
}

.ob-toggle-btn.yes:hover,
.ob-toggle-btn.yes.selected {
    background: rgba(34, 197, 94, 0.1);
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.15);
}

.ob-toggle-btn.no {
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--red);
}

.ob-toggle-btn.no:hover,
.ob-toggle-btn.no.selected {
    background: rgba(239, 68, 68, 0.1);
}

.ob-cta {
    padding: 14px 36px;
    border: 1px solid var(--cyan);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 102, 255, 0.04));
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-transform: uppercase;
    margin-top: 20px;
}

.ob-cta:hover {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: var(--glow-hi);
    transform: translateY(-1px);
}

.ob-skip {
    position: absolute;
    top: calc(var(--safe-t) + 14px);
    right: 14px;
    background: none;
    border: none;
    color: var(--text-3);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 8px;
}

.ob-dots {
    position: absolute;
    bottom: calc(var(--safe-b) + 28px);
    display: flex;
    gap: 8px;
}

.ob-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.3s var(--ease);
}

.ob-dot.active {
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-dim);
    width: 20px;
    border-radius: 3px;
}

.ob-slider-group {
    width: 100%;
    max-width: 280px;
    margin: 10px 0;
    text-align: left;
}

.ob-slider-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: var(--text-3);
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ob-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    outline: none;
}

.ob-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-dim);
    cursor: pointer;
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 260px;
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

.toggle-row-label {
    font-size: 14px;
    color: var(--text-2);
    font-weight: 400;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--navy-surface);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.toggle-switch.on {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--cyan);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-3);
    transition: all 0.2s var(--ease);
}

.toggle-switch.on::after {
    left: 22px;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan-dim);
}

/* ═══ DATA CENTER ═══ */
.surf-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--cyan);
    letter-spacing: 2px;
    text-align: center;
    margin: 20px 16px;
    text-shadow: 0 0 16px var(--cyan-dim);
}

.datacenter-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding-bottom: calc(var(--safe-b) + 48px);
    align-content: start;
}

.datacenter-scroll::-webkit-scrollbar {
    width: 2px;
}

.datacenter-scroll::-webkit-scrollbar-thumb {
    background: var(--glass-border);
}

/* Settings and MyDash reuse datacenter-scroll but need normal block layout */
#surfSettings .datacenter-scroll,
#surfMydash .datacenter-scroll,
#surfNotifications .datacenter-scroll {
    display: block;
    grid-template-columns: none;
}

/* Ensure inactive surfaces are fully hidden */
.surface:not(.active) {
    display: none !important;
}

/* Opaque background on active surfaces to prevent bleed-through */
.surface.active {
    background: var(--bg-0, #060b1a);
}

#surfNotifications.active,
#surfMydash.active,
#surfSettings.active {
    background: transparent;
}

.dc-module {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 120 135' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='g'%3E%3CfeDropShadow dx='0' dy='0' stdDeviation='3' flood-color='%2300d4ff' flood-opacity='0.8'/%3E%3C/filter%3E%3C/defs%3E%3Cpolygon points='50,2 98,28 98,87 50,113 2,87 2,28' fill='none' stroke='%2300d4ff' stroke-width='0.6' filter='url(%23g)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    cursor: pointer;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 24px 16px;
    transition: all 0.2s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1.15;
}

.dc-module:hover {
    filter: brightness(1.2);
}

/* Collapsed: hex card preview */
.dc-module-body {
    display: none;
}

.dc-module.expanded {
    grid-column: 1 / -1;
    background: var(--glass);
    border: 1px solid var(--glass-border-bright);
    border-radius: var(--r-xl);
    aspect-ratio: auto;
    padding: 20px;
    box-shadow: var(--glow);
    display: block;
}

.dc-module.expanded .dc-module-body {
    display: block;
    animation: slideIn 0.2s ease-out;
}

.dc-module-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.dc-module.expanded .dc-module-header {
    flex-direction: row;
    text-align: left;
    margin-bottom: 12px;
}

.dc-module-title {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan-dim);
    text-transform: uppercase;
    text-align: center;
}

.dc-module.expanded .dc-module-title {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hex-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.hex-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--cyan);
    filter: drop-shadow(0 0 6px var(--cyan)) drop-shadow(0 0 12px var(--cyan-dim));
}

.dc-module.expanded .hex-icon {
    margin-bottom: 0;
}

.dc-module-subtitle {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 300;
    color: var(--text-3);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.dc-module.expanded .dc-module-subtitle {
    display: none;
}

.dc-module-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
    padding: 3px 10px;
    border-radius: 16px;
    border: 1px solid;
    letter-spacing: 1px;
}

.dc-badge-secure {
    border-color: var(--green);
    color: var(--green);
}

.dc-badge-active {
    border-color: var(--cyan);
    color: var(--cyan);
}

.dc-badge-pending {
    border-color: var(--amber);
    color: var(--amber);
}

.dc-status-grid,
.dc-receipt {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0;
}

.dc-status-grid span,
.dc-receipt div {
    border: 1px solid rgba(0, 212, 255, 0.14);
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.045);
    padding: 8px;
    color: var(--text-3);
    font-family: var(--font-mono);
    font-size: 9px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.dc-status-grid strong,
.dc-receipt strong {
    display: block;
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0;
    margin-bottom: 2px;
}

.dc-receipt span {
    display: block;
}

.dc-question-chip {
    width: 100%;
    margin: 0 0 8px;
    padding: 9px 10px;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-2);
    text-align: left;
    font-size: 12px;
    line-height: 1.45;
    cursor: pointer;
}

.dc-question-chip:hover {
    border-color: rgba(0, 212, 255, 0.36);
    color: var(--cyan);
}

.dc-empty-note {
    color: var(--text-muted);
    font-size: 13px;
    padding: 12px 8px;
    line-height: 1.5;
}

.memory-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 8px 0;
}

.memory-search {
    min-height: 36px;
}

.dc-btn.subtle {
    background: rgba(0, 212, 255, 0.08);
    color: var(--cyan);
}

.dc-btn.subtle.active {
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.18);
}

.memory-starters {
    display: none;
    margin: 10px 0 12px;
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.16);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(2, 8, 23, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.memory-starters.open {
    display: block;
}

.memory-starter-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.memory-starter-topline strong,
.vault-intent-card strong,
.deep-dive-intro strong {
    display: block;
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.memory-starter-topline span,
.vault-intent-card span,
.deep-dive-intro span {
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.45;
}

.memory-starter-topline > span {
    flex-shrink: 0;
    font-family: var(--font-mono);
    color: var(--text-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 3px 8px;
}

.memory-starter-grid,
.vault-starter-grid,
.deep-source-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 12px;
}

.memory-starter-grid {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 3px;
}

.vault-handle-builder {
    display: grid;
    grid-template-columns: minmax(100px, 0.75fr) minmax(140px, 1fr) auto;
    gap: 8px;
    margin: 8px 0 12px;
}

.connection-mode-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 12px;
}

.connection-mode-tabs .dc-btn {
    padding-inline: 8px;
    white-space: normal;
}

.connection-panel {
    display: none;
    margin: 10px 0 12px;
}

.connection-panel.open {
    display: block;
}

.connection-panel-copy {
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.045);
}

.connection-panel-copy strong {
    display: block;
    color: var(--text-1);
    font-size: 13px;
    margin-bottom: 4px;
}

.connection-panel-copy span {
    display: block;
    color: var(--text-3);
    font-size: 12px;
    line-height: 1.45;
}

.connection-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 12px 0;
}

.connection-field {
    min-width: 0;
}

.connection-field.wide {
    grid-column: 1 / -1;
}

.connection-field > span {
    display: block;
    margin: 0 0 5px 2px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.connection-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.connection-profile-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.connection-profile-card strong,
.connection-profile-card em,
.connection-profile-card span {
    display: block;
}

.connection-profile-card strong {
    color: var(--text-1);
    font-size: 13px;
}

.connection-profile-card em {
    margin: 4px 0;
    color: var(--cyan);
    font-style: normal;
    font-size: 10px;
}

.connection-profile-card span {
    color: var(--text-3);
    font-size: 12px;
    line-height: 1.4;
}

.connection-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

button.memory-starter-card,
button.vault-starter-card {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    padding: 10px;
    border-radius: 12px;
    color: var(--text-2);
    text-align: left;
    cursor: pointer;
}

button.memory-starter-card {
    min-height: 96px;
    border: 1px solid rgba(0, 212, 255, 0.14);
    background: rgba(3, 10, 24, 0.78);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

button.memory-starter-card:hover,
button.vault-starter-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.075);
    transform: translateY(-1px);
}

button.memory-starter-card span,
button.vault-starter-card span,
.deep-source-card em {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

button.memory-starter-card strong,
button.vault-starter-card strong,
.deep-source-card strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-1);
    font-size: 12px;
    letter-spacing: 0;
}

button.memory-starter-card em,
button.vault-starter-card em,
.deep-source-card span {
    display: block;
    color: var(--text-3);
    font-size: 11px;
    font-style: normal;
    line-height: 1.4;
}

.vault-intent-card,
.deep-dive-intro {
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.16);
    border-radius: 14px;
    background: rgba(0, 212, 255, 0.055);
    margin: 8px 0 12px;
}

.vault-intent-card > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.vault-intent-card p,
.vault-warning {
    margin: 8px 0 0;
    color: var(--text-3);
    font-size: 12px;
    line-height: 1.5;
}

.status-good {
    color: var(--green) !important;
}

.status-warn {
    color: var(--amber) !important;
}

button.vault-starter-card,
.deep-source-card {
    min-height: 86px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

button.vault-starter-card.cloud-ok {
    border-color: rgba(0, 212, 255, 0.16);
}

button.vault-starter-card.local-only {
    border-color: rgba(255, 178, 68, 0.18);
}

.deep-source-card {
    padding: 10px;
    border-radius: 12px;
}

.deep-source-card.ready {
    border-color: rgba(53, 255, 124, 0.22);
}

.deep-source-card.setup {
    border-color: rgba(255, 178, 68, 0.22);
}

.deep-source-card.blocked {
    opacity: 0.72;
}

.vault-entry-row {
    display: grid;
    grid-template-columns: minmax(110px, 0.8fr) minmax(140px, 1.2fr) auto;
    gap: 8px;
    margin-top: 12px;
}

.vault-record {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.vault-record strong {
    display: block;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
}

.vault-record em {
    display: block;
    color: var(--text-3);
    font-style: normal;
    font-size: 10px;
    margin-top: 2px;
}

.fact-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0;
}

.fact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.18);
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.02);
    font-size: 13px;
}

.fact-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    color: var(--text-2);
    line-height: 1.35;
}

.fact-cat {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--cyan-faint);
    color: var(--cyan);
    letter-spacing: 0.5px;
}

.fact-actions {
    display: flex;
    gap: 4px;
}

.fact-action-btn {
    background: none;
    border: none;
    color: var(--text-3);
    cursor: pointer;
    font-size: 13px;
    padding: 3px;
    transition: color 0.2s;
}

.fact-action-btn:hover {
    color: var(--cyan);
}

.fact-action-btn.delete:hover {
    color: var(--red);
}

.cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0;
}

.cat-chip {
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-family: var(--font-mono);
    font-weight: 300;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-3);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.cat-chip.active,
.cat-chip:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-faint);
}

.dc-input {
    width: 100%;
    padding: 9px 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    color: var(--text-1);
    font-family: var(--font-sans);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.dc-input:focus {
    border-color: var(--cyan);
}

.dc-input::placeholder {
    color: var(--text-3);
    font-weight: 300;
}

.dc-btn {
    padding: 8px 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--glass-border-bright);
    background: var(--glass);
    color: var(--cyan);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.dc-btn:hover {
    background: rgba(0, 212, 255, 0.08);
    box-shadow: var(--glow);
}

.dc-btn.danger {
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--red);
}

.dc-btn.danger:hover {
    background: rgba(239, 68, 68, 0.08);
}

@media (max-width: 520px) {
    .memory-tools,
    .vault-entry-row,
    .vault-handle-builder,
    .connection-mode-tabs,
    .connection-form-grid,
    .connection-profile-card {
        grid-template-columns: 1fr;
    }

    .memory-starter-grid,
    .vault-starter-grid,
    .deep-source-grid {
        grid-template-columns: 1fr;
    }

    .memory-starter-grid {
        max-height: 320px;
    }

    .memory-starter-topline,
    .vault-intent-card > div {
        flex-direction: column;
    }

    .connection-profile-actions {
        flex-direction: row;
    }
}

/* Marvin shell scrollbar polish */
html,
body,
.surface,
.datacenter-scroll,
.menu-drawer,
.thought-stream-chat,
.dash-content,
.memory-starter-grid,
.hero-scroll-container,
.proof-doc-body,
[style*="overflow-y:auto"],
[style*="overflow-y: auto"] {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 212, 255, 0.36) rgba(6, 11, 26, 0.58);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.surface::-webkit-scrollbar,
.datacenter-scroll::-webkit-scrollbar,
.menu-drawer::-webkit-scrollbar,
.thought-stream-chat::-webkit-scrollbar,
.dash-content::-webkit-scrollbar,
.memory-starter-grid::-webkit-scrollbar,
.hero-scroll-container::-webkit-scrollbar,
.proof-doc-body::-webkit-scrollbar,
[style*="overflow-y:auto"]::-webkit-scrollbar,
[style*="overflow-y: auto"]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.surface::-webkit-scrollbar-track,
.datacenter-scroll::-webkit-scrollbar-track,
.menu-drawer::-webkit-scrollbar-track,
.thought-stream-chat::-webkit-scrollbar-track,
.dash-content::-webkit-scrollbar-track,
.memory-starter-grid::-webkit-scrollbar-track,
.hero-scroll-container::-webkit-scrollbar-track,
.proof-doc-body::-webkit-scrollbar-track,
[style*="overflow-y:auto"]::-webkit-scrollbar-track,
[style*="overflow-y: auto"]::-webkit-scrollbar-track {
    background: rgba(6, 11, 26, 0.58);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.surface::-webkit-scrollbar-thumb,
.datacenter-scroll::-webkit-scrollbar-thumb,
.menu-drawer::-webkit-scrollbar-thumb,
.thought-stream-chat::-webkit-scrollbar-thumb,
.dash-content::-webkit-scrollbar-thumb,
.memory-starter-grid::-webkit-scrollbar-thumb,
.hero-scroll-container::-webkit-scrollbar-thumb,
.proof-doc-body::-webkit-scrollbar-thumb,
[style*="overflow-y:auto"]::-webkit-scrollbar-thumb,
[style*="overflow-y: auto"]::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.62), rgba(0, 212, 255, 0.18));
    border: 2px solid rgba(6, 11, 26, 0.58);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.surface::-webkit-scrollbar-thumb:hover,
.datacenter-scroll::-webkit-scrollbar-thumb:hover,
.menu-drawer::-webkit-scrollbar-thumb:hover,
.thought-stream-chat::-webkit-scrollbar-thumb:hover,
.dash-content::-webkit-scrollbar-thumb:hover,
.memory-starter-grid::-webkit-scrollbar-thumb:hover,
.hero-scroll-container::-webkit-scrollbar-thumb:hover,
.proof-doc-body::-webkit-scrollbar-thumb:hover,
[style*="overflow-y:auto"]::-webkit-scrollbar-thumb:hover,
[style*="overflow-y: auto"]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.82), rgba(0, 212, 255, 0.32));
}

.dc-progress {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    overflow: hidden;
    margin: 6px 0;
}

.dc-progress-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 0 6px var(--cyan-dim);
    transition: width 0.5s ease;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 50px;
    padding: 3px 0;
}

.mini-bar {
    flex: 1;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, var(--cyan), rgba(0, 102, 255, 0.4));
    box-shadow: 0 0 3px var(--cyan-dim);
    min-height: 3px;
    transition: height 0.3s ease;
}

/* ═══ DASHBOARD ═══ */
.dash-tabs {
    display: flex;
    overflow-x: auto;
    gap: 1px;
    padding: 6px 10px;
    background: rgba(6, 11, 26, 0.75);
    border-bottom: 1px solid var(--glass-border);
    -webkit-overflow-scrolling: touch;
}

.dash-tabs::-webkit-scrollbar {
    display: none;
}

.dash-tab {
    padding: 7px 14px;
    border-radius: var(--r-sm);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.5px;
    white-space: nowrap;
    cursor: pointer;
    color: var(--text-3);
    transition: all 0.2s var(--ease);
    border: 1px solid transparent;
}

.dash-tab:hover {
    color: var(--text-2);
    background: var(--cyan-faint);
}

.dash-tab.active {
    color: var(--cyan);
    border-color: var(--glass-border-bright);
    background: rgba(0, 212, 255, 0.04);
}

.dash-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    padding-bottom: calc(var(--safe-b) + 48px);
}

.dash-content::-webkit-scrollbar {
    width: 2px;
}

.dash-content::-webkit-scrollbar-thumb {
    background: var(--glass-border);
}

.dash-section {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.dash-section.active {
    display: flex;
}

.dash-panel {
    background: linear-gradient(135deg, var(--glass), rgba(0, 212, 255, 0.015));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.dash-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.3;
}

.dash-panel-title {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: var(--r-lg);
    background:
        radial-gradient(circle at 12% 8%, rgba(0, 212, 255, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(7, 12, 32, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dash-eyebrow {
    margin-bottom: 8px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.dash-hero-panel h2 {
    margin: 0 0 8px;
    color: var(--text-1);
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.08;
    letter-spacing: 0;
}

.dash-hero-panel p,
.dash-action-card p {
    margin: 0;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.6;
}

.dash-action-primary,
.dash-link-btn,
.dash-shortcut {
    border: 1px solid rgba(0, 212, 255, 0.34);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.13), rgba(0, 102, 255, 0.08));
    color: var(--cyan);
    cursor: pointer;
    font-family: var(--font-mono);
    font-weight: 800;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dash-action-primary:hover,
.dash-link-btn:hover,
.dash-shortcut:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 212, 255, 0.7);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.12));
}

.dash-action-primary {
    min-width: 180px;
    padding: 13px 18px;
    border-radius: 999px;
    white-space: nowrap;
}

.dash-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.dash-action-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(0, 212, 255, 0.14);
    border-radius: var(--r-lg);
    background:
        linear-gradient(180deg, rgba(13, 32, 70, 0.62), rgba(6, 11, 26, 0.82)),
        rgba(255, 255, 255, 0.02);
}

.dash-card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 14px;
    background: rgba(0, 212, 255, 0.09);
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 18px;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.12);
}

.dash-card-title {
    margin-bottom: 5px;
    color: var(--text-1);
    font-size: 15px;
    font-weight: 800;
}

.dash-link-btn {
    grid-column: 1 / -1;
    padding: 10px 12px;
    border-radius: 13px;
}

.dash-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.dash-shortcut {
    display: grid;
    gap: 8px;
    justify-items: start;
    min-height: 126px;
    padding: 16px;
    border-radius: var(--r-lg);
    text-align: left;
}

.dash-shortcut span {
    font-size: 22px;
}

.dash-shortcut strong {
    color: var(--text-1);
    font-size: 15px;
}

.dash-shortcut small {
    color: var(--text-3);
    font-family: var(--font-sans);
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .dash-hero-panel {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .dash-action-primary {
        width: 100%;
        min-width: 0;
    }

    .dash-action-card {
        grid-template-columns: 1fr;
    }
}

.big-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 30px var(--cyan-dim);
    letter-spacing: 1px;
}

.big-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 300;
    color: var(--text-3);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.data-table th {
    text-align: left;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--text-3);
    text-transform: uppercase;
    padding: 6px 8px;
    border-bottom: 1px solid var(--glass-border);
}

.data-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    color: var(--text-2);
    font-weight: 400;
}

.data-table tr:hover td {
    background: var(--cyan-faint);
}

.role-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.role-superadmin {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.color-picker-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--glass-border-bright);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: var(--glow);
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 16px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.06);
}

.surface-shell-header {
    position: sticky;
    top: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 10px;
    border-bottom: none;
    background: linear-gradient(180deg, rgba(6, 11, 26, 0.88) 0%, rgba(6, 11, 26, 0.52) 72%, transparent 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-shrink: 0;
}

.surface-shell-menu {
    animation: none;
    padding: 6px 4px;
    position: relative;
    z-index: 7;
    flex-shrink: 0;
}

.surface-shell-title {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--cyan);
    position: relative;
    z-index: 7;
}

.surface-shell-meta {
    margin-left: auto;
    color: var(--text-3);
    font-size: 10px;
    position: relative;
    z-index: 7;
}

.surface-shell-action {
    margin-left: auto;
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--cyan);
    padding: 6px 12px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 7;
}

.surface-shell-action+.surface-shell-meta {
    margin-left: 0;
}

#surfNotifications,
#surfMydash,
#surfSettings {
    overflow: hidden;
    background: transparent;
}

#surfNotifications .datacenter-scroll,
#surfMydash .datacenter-scroll,
#surfSettings .datacenter-scroll {
    /* Match the working surfaces: scroll inside the content pane, not on the surface itself. */
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 0;
}

#surfMissions,
#surfMydash,
#surfSettings {
    overflow: hidden;
    background: transparent;
}

#surfNotifications .datacenter-scroll,
#surfMissions .datacenter-scroll,
#surfMydash .datacenter-scroll,
#surfSettings .datacenter-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 0;
}

#surfMissions .datacenter-scroll {
    display: block;
    grid-template-columns: none;
}

.mission-content {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 12px 18px 30px;
}

.mission-hero-card,
.mission-section,
.mission-card,
.mission-row,
.mission-empty,
.mission-loading {
    border: 1px solid rgba(0, 212, 255, 0.16);
    background: linear-gradient(180deg, rgba(10, 21, 42, 0.82), rgba(6, 11, 26, 0.72));
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.mission-topbar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

.mission-topbar h2 {
    margin: 0;
    color: var(--text-1);
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.1;
}

.mission-hero-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    margin-bottom: 14px;
    background:
        radial-gradient(circle at 12% 10%, rgba(0, 212, 255, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(13, 26, 54, 0.96), rgba(6, 11, 26, 0.82));
}

.mission-kicker {
    font-family: var(--font-mono);
    color: var(--cyan);
    letter-spacing: 2px;
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.mission-hero-card h3 {
    margin: 0 0 8px;
    color: var(--text-1);
    font-size: 18px;
}

.mission-hero-card p,
.mission-card p,
.mission-empty,
.mission-loading {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

.mission-section {
    overflow: hidden;
}

.mission-section summary {
    cursor: pointer;
    padding: 14px 16px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    list-style-position: inside;
}

.mission-section-body {
    display: grid;
    gap: 10px;
    padding: 0 14px 14px;
}

.mission-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

#surfMissions .mission-tab {
    min-height: 42px;
    border: 1px solid rgba(0, 212, 255, 0.18);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-2);
    border-radius: 14px;
    padding: 8px 10px;
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

#surfMissions .mission-tab.active {
    border-color: rgba(0, 212, 255, 0.58);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.16), rgba(0, 90, 180, 0.12));
    color: var(--cyan);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.12);
}

#surfMissions .mission-tab span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.24);
    color: var(--text-1);
}

.mission-panel {
    margin-bottom: 14px;
}

.mission-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.mission-panel-grid section,
.mission-comms {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.mission-section-title {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.mission-card {
    padding: 13px;
    min-width: 0;
}

.mission-card-top,
.mission-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mission-card strong,
.mission-row strong {
    color: var(--text-1);
    font-size: 13px;
    line-height: 1.35;
}

.mission-card span,
.mission-status,
.mission-card small,
.mission-row small {
    color: var(--text-3);
    font-family: var(--font-mono);
    font-size: 10px;
    line-height: 1.4;
}

.mission-row {
    padding: 12px 13px;
}

.mission-row>div {
    min-width: 0;
}

.mission-empty,
.mission-loading {
    padding: 14px;
}

.mission-share-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.mission-comms {
    margin-top: 4px;
}

.mission-comms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mission-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mission-primary,
.mission-secondary {
    border: 1px solid rgba(0, 212, 255, 0.45);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.18), rgba(0, 88, 255, 0.14));
    color: var(--cyan);
    border-radius: 999px;
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.12);
}

.mission-secondary {
    padding: 8px 12px;
    font-size: 10px;
    background: rgba(0, 212, 255, 0.08);
}

@media (max-width: 980px) {
    .mission-panel-grid,
    .mission-comms-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .mission-content {
        padding: 10px 10px 24px;
    }

    .mission-hero-card {
        grid-template-columns: 1fr;
    }

    .mission-topbar {
        grid-template-columns: 1fr;
    }

    .mission-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mission-primary,
    .mission-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ═══ BOTTOM NAV ═══ */
.bottom-nav {
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4px 0 calc(var(--safe-b) + 2px);
    background: rgba(6, 11, 26, 0.94);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    height: 40px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    border: none;
    background: none;
    color: var(--text-3);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.nav-btn .nav-icon {
    display: flex;
    align-items: center;
}

.nav-btn:hover {
    color: var(--text-2);
}

.nav-btn.active {
    color: var(--cyan);
}

.nav-btn.active .nav-icon {
    filter: drop-shadow(0 0 6px var(--cyan-dim));
}

.qr-container {
    background: white;
    padding: 10px;
    border-radius: var(--r-md);
    display: inline-flex;
    margin: 10px 0;
}



.datacenter-svg {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 20px auto;
    display: block;
}

.datacenter-svg .server-rack {
    fill: var(--glass-border);
    stroke: var(--glass-border-bright);
    stroke-width: 0.5;
}

.datacenter-svg .server-light {
    fill: var(--cyan);
    opacity: 0.7;
    animation: softPulse 2s infinite ease-in-out;
}

.datacenter-svg .cable {
    stroke: var(--text-3);
    stroke-width: 0.7;
    fill: none;
}

/* (End of file, previously missing bottom padding if nav removed) */
/* ═══ ANIMATIONS ═══ */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes corePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(0.94);
    }
}

@keyframes softPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

@keyframes labelFade {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes orbitDot1 {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
    }
}

@keyframes orbitDot2 {
    0% {
        transform: rotate(0deg) translateX(66px) rotate(0deg);
    }

    100% {
        transform: rotate(-360deg) translateX(66px) rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — WIDE DESKTOP (≥1024px)
   Data Center = persistent left sidebar
   Active surface (Voice / Dashboard) = right main panel
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {

    /* ── App: side-by-side layout ── */
    #app {
        --desktop-header-offset: calc(var(--safe-t) + 74px);
        flex-direction: row;
        align-items: stretch;
        max-width: 1440px;
        margin: 0 auto;
        padding-top: var(--desktop-header-offset);
    }

    /* ── Header: full width, spans both panels ── */
    .jarvis-header {
        left: 50%;
        right: auto;
        width: min(100%, 1440px);
        transform: translateX(-50%);
        margin: 0;
        z-index: 1000;
        background: rgba(6, 11, 26, 0.98);
        border-bottom: 1px solid rgba(94, 234, 212, 0.08);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    /* ── Menu drawer: above header ── */
    .menu-backdrop,
    .menu-drawer {
        z-index: 1100;
    }

    /* ── Data Center: persistent left sidebar ── */
    #surfDatacenter {
        display: flex !important;
        flex-direction: column;
        width: 320px;
        min-width: 320px;
        max-width: 320px;
        height: 100%;
        border-right: 1px solid var(--glass-border);
        overflow-y: auto;
        flex-shrink: 0;
        padding-top: 0;
    }

    /* ── Data Center grid: 2-column uniform hexagons ── */
    #surfDatacenter .datacenter-scroll {
        grid-template-columns: repeat(2, 1fr);
        padding: 12px;
        gap: 0;
    }

    #surfDatacenter .memory-tools,
    #surfDatacenter .vault-entry-row,
    #surfDatacenter .vault-handle-builder,
    #surfDatacenter .connection-mode-tabs,
    #surfDatacenter .connection-form-grid,
    #surfDatacenter .connection-profile-card {
        grid-template-columns: 1fr;
    }

    #surfDatacenter .memory-starter-grid,
    #surfDatacenter .vault-starter-grid,
    #surfDatacenter .deep-source-grid {
        grid-template-columns: 1fr;
    }

    #surfDatacenter .vault-intent-card > div {
        flex-direction: column;
    }

    #surfDatacenter .connection-profile-actions {
        flex-direction: row;
    }

    /* ── Settings/MyDash/Notifications: block layout in right panel ── */
    #surfSettings .datacenter-scroll,
    #surfMydash .datacenter-scroll,
    #surfNotifications .datacenter-scroll {
        display: block;
        grid-template-columns: none;
    }

    .dc-module {
        aspect-ratio: 1 / 1.15;
        padding: 16px 12px;
    }

    /* ── Active surface: fills the right side ── */
    .surface {
        flex: 1;
        min-width: 0;
        height: 100%;
        padding-top: 0;
    }

    body[data-marvin-surface="marketplace"] #surfDatacenter {
        display: none !important;
    }

    body[data-marvin-surface="marketplace"] #surfMarketplace {
        width: 100%;
        max-width: 1180px;
        margin: 0 auto;
        flex: 1 1 auto;
    }

    body[data-marvin-surface="marketplace"] #surfMarketplace .datacenter-scroll {
        display: block;
        grid-template-columns: none;
        width: 100%;
        max-width: 100%;
    }

    /* ── Voice surface: stack reactor above chat ── */
    #surfVoice {
        flex-direction: column;
        overflow: hidden;
    }

    /* ── Reactor: compact bar at top of right panel ── */
    .reactor-zone {
        height: auto;
        padding: 20px;
        flex-shrink: 0;
    }

    .reactor-core {
        width: 120px;
        height: 120px;
    }

    .reactor-center {
        width: 80px;
        height: 80px;
    }

    .soundwave-icon {
        width: 40px;
        height: 40px;
    }

    /* ── Chat: fills remaining space ── */
    .thought-stream-zone {
        flex: 1;
        height: auto;
    }

    .thought-stream-chat {
        margin: 0 16px;
        border-radius: var(--r-xl);
    }

    /* ── Input bar: full width of chat panel ── */
    .input-bar {
        max-width: none;
        margin-left: 16px;
        margin-right: 16px;
    }

    /* ── Septagon hover: scale + glow ── */
    .dc-module {
        transition: all 0.3s var(--ease), transform 0.3s var(--ease);
    }

    .dc-module:hover {
        transform: scale(1.04);
        filter: brightness(1.3);
    }

    .dc-module:hover .dc-module-title {
        text-shadow: 0 0 16px var(--cyan), 0 0 32px var(--cyan-dim);
    }

    .dc-module:hover .hex-icon svg {
        filter: drop-shadow(0 0 10px var(--cyan)) drop-shadow(0 0 20px var(--cyan));
    }

    /* ── Onboarding: bigger text ── */
    .ob-title {
        font-size: 28px;
    }

    .ob-subtitle {
        font-size: 17px;
        max-width: 420px;
    }

    .big-number {
        font-size: 42px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (≥1024px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {

    /* ── Wider sidebar with 2-col hex grid ── */
    #surfDatacenter {
        width: 380px;
        min-width: 380px;
        max-width: 380px;
    }

    #surfDatacenter .datacenter-scroll {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px;
    }

    .dc-module {
        aspect-ratio: 1 / 1.15;
    }

    /* ── Reactor: slightly larger ── */
    .reactor-core {
        width: 160px;
        height: 160px;
    }

    .reactor-center {
        width: 105px;
        height: 105px;
    }

    .soundwave-icon {
        width: 55px;
        height: 55px;
    }

    /* ── Chat: comfortable reading ── */
    .thought-stream-chat {
        padding: 28px;
    }

    .msg {
        font-size: 16px;
        line-height: 1.6;
    }

    .input-text {
        font-size: 16px;
    }

    .input-bar {
        max-width: none;
        padding: 8px 12px 6px;
    }

    /* ── Header ── */
    .jarvis-header {
        padding-left: 32px;
        padding-right: 32px;
    }

    .header-brand {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .header-stats-stack {
        font-size: 11px;
    }

    /* ── Menu drawer: wider ── */
    .menu-drawer {
        width: 340px;
    }

    /* ── Keyboard shortcut badges ── */
    .menu-item[data-shortcut]::after {
        content: attr(data-shortcut);
        font-family: var(--font-mono);
        font-size: 9px;
        color: var(--text-3);
        margin-left: auto;
        padding: 2px 6px;
        border: 1px solid var(--glass-border);
        border-radius: 4px;
        opacity: 0.6;
    }

    /* ── Dashboard: responsive grid ── */
    #surfDashboard .dash-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — ULTRAWIDE (≥1440px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1440px) {

    #app {
        border-radius: var(--r-xl);
        margin-top: 16px;
        margin-bottom: 16px;
        height: calc(100% - 32px);
        box-shadow: 0 0 60px rgba(0, 212, 255, 0.05);
        border: 1px solid var(--glass-border);
    }

    #surfDatacenter {
        width: 420px;
        min-width: 420px;
        max-width: 420px;
    }

    .reactor-core {
        width: 200px;
        height: 200px;
    }

    .reactor-center {
        width: 130px;
        height: 130px;
    }

    .soundwave-icon {
        width: 65px;
        height: 65px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   VIEW TRANSITIONS
   ═══════════════════════════════════════════════════════════════ */
::view-transition-old(surface-transition),
::view-transition-new(surface-transition) {
    animation-duration: 0.3s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-old(surface-transition) {
    animation-name: fadeSlideOut;
}

::view-transition-new(surface-transition) {
    animation-name: fadeSlideIn;
}

@keyframes fadeSlideOut {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
}

/* ═══ MARKETING HERO ═══ */
#heroSection {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: linear-gradient(135deg, #060b1a 0%, #0a1628 40%, #0d1f3c 100%);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Hero Nav (pre-login landing page) */
.hero-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 11, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.hero-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.hero-nav-brand {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--cyan);
    text-decoration: none;
    text-shadow: 0 0 20px var(--cyan-dim);
}

.hero-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #8899bb;
    text-decoration: none;
    transition: color 0.2s;
}

.hero-nav-link:hover {
    color: var(--cyan);
}

.hero-nav-signin {
    padding: 8px 20px;
    border: 1px solid var(--cyan);
    background: rgba(0, 212, 255, 0.08);
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.hero-nav-signin:hover {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 16px var(--cyan-dim);
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 100vw);
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #00ff88, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 6px;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: #8899bb;
    margin-bottom: 8px;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    color: #c0d0e8;
    margin-bottom: 32px;
}

.hero-accent {
    color: #00d4ff;
    font-weight: 700;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-cta-btn {
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #00d4ff, #0088ff);
    color: #fff;
    transition: all 0.3s;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.hero-cta-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 56px;
}

.hero-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 12px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #a0b4d0;
    transition: all 0.3s;
}

.hero-feature-card:hover {
    background: rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-3px);
}

.hero-feature-icon {
    font-size: 1.6rem;
}

/* Pricing Grid */
.hero-pricing-title {
    font-size: 2rem;
    color: #e0eaf4;
    margin-bottom: 8px;
}

.hero-pricing-sub {
    color: #7a90b0;
    font-size: 1rem;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto 48px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-popular {
    border-color: rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(0, 255, 136, 0.03));
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    color: #060b1a;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.pricing-card h3 {
    color: #e0eaf4;
    font-size: 1.2rem;
    margin: 8px 0 12px;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 0.9rem;
    color: #7a90b0;
    font-weight: 400;
}

.pricing-coins {
    color: #00d4ff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

/* .pricing-burn removed — burn rate no longer shown */

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    text-align: left;
}

.pricing-card li {
    color: #8899bb;
    font-size: 0.85rem;
    padding: 3px 0;
}

.pricing-card li::before {
    content: '✓ ';
    color: #00d4ff;
}

.pricing-cta {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.08);
    color: #00d4ff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-cta:hover {
    background: rgba(0, 212, 255, 0.15);
}

.pricing-cta-popular {
    background: linear-gradient(135deg, #00d4ff, #0088ff);
    color: #fff;
    border: none;
}

.pricing-cta-popular:hover {
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

/* Buy Coins Hero */
.buy-coins-hero {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.buy-coins-title {
    color: #00d4ff;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.buy-coins-sub {
    color: #8899bb;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.buy-coins-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.buy-coins-example {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.buy-coins-plan {
    color: #7a90b0;
    font-size: 0.8rem;
}

.buy-coins-amount {
    color: #e0eaf4;
    font-size: 1.1rem;
    font-weight: 700;
}

.buy-coins-highlight {
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.buy-coins-highlight .buy-coins-amount {
    color: #00d4ff;
}

.buy-coins-arrow {
    color: #00d4ff;
    font-size: 1.4rem;
}

.hero-footer {
    margin-top: 40px;
}

.hero-footer p {
    color: #5a708c;
    font-size: 0.85rem;
}

/* ═══ E-COMMERCE / MY SITES SURFACE ═══ */
.ecom-tab-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--glass-border);
}

.ecom-tab-bar::-webkit-scrollbar {
    display: none;
}

.ecom-tab {
    padding: 8px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.8px;
    color: var(--text-3);
    cursor: pointer;
    border-radius: var(--r-sm) var(--r-sm) 0 0;
    border: 1px solid transparent;
    border-bottom: none;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.ecom-tab:hover {
    color: var(--text-2);
    background: var(--cyan-faint);
}

.ecom-tab.active {
    color: var(--cyan);
    background: var(--glass);
    border-color: var(--glass-border-bright);
    box-shadow: 0 2px 0 var(--navy-deep);
    position: relative;
}

.ecom-section {
    display: none;
    animation: slideIn 0.2s ease-out;
}

.ecom-section.active {
    display: block;
}

.ecom-stat-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    padding: 14px;
    text-align: center;
    transition: border-color 0.2s var(--ease);
}

.ecom-stat-card:hover {
    border-color: var(--glass-border-bright);
}

.ecom-stat-number {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ecom-stat-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--text-3);
}

.ecom-order-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 13px;
    transition: background 0.15s;
}

.ecom-order-row:hover {
    background: var(--cyan-faint);
}

.ecom-orders-header {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: 12px;
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-3);
    border-bottom: 1px solid var(--glass-border-bright);
}

.ecom-status-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.ecom-status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.ecom-status-paid,
.ecom-status-completed {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green);
}

.ecom-status-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red);
}

.ecom-product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all 0.2s var(--ease);
    cursor: pointer;
}

.ecom-product-card:hover {
    border-color: var(--glass-border-bright);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.ecom-product-img {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: var(--navy-mid);
}

.ecom-product-info {
    padding: 12px;
}

.ecom-product-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-1);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ecom-product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-3);
    margin-bottom: 6px;
}

.ecom-product-layer {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--text-3);
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--cyan-faint);
    display: inline-block;
}

.ecom-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ecom-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-3);
    text-transform: uppercase;
}

.ecom-input {
    width: 100%;
    border: 1px solid var(--glass-border);
    background: rgba(10, 14, 39, 0.7);
    color: var(--text-1);
    border-radius: var(--r-sm);
    padding: 10px 12px;
    font-size: 13px;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
}

.ecom-input:focus {
    border-color: var(--cyan);
}

.ecom-input::placeholder {
    color: var(--text-3);
}

.ecom-color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.ecom-color-swatch:hover {
    transform: scale(1.1);
}

.ecom-color-swatch.active {
    border-color: white;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.ecom-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.15));
    border: 1px solid var(--cyan);
    border-radius: var(--r-sm);
    color: var(--cyan);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    letter-spacing: 0.5px;
}

.ecom-btn-primary:hover {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: var(--glow-hi);
}

.ecom-pricing-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    padding: 16px;
}

.ecom-pricing-title {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--cyan);
    margin-bottom: 12px;
}

.ecom-pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--glass-border);
}

.ecom-pricing-row:last-child {
    border-bottom: none;
}

/* ═══ MOBILE OVERFLOW PREVENTION ═══ */
@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        padding: 40px 16px 60px;
    }

    .hero-cta-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .pricing-card {
        padding: 20px 16px;
    }

    .hero-nav-inner {
        padding: 10px 12px;
    }

    .hero-nav-brand {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .hero-nav-links {
        gap: 10px;
    }

    .hero-nav-link {
        font-size: 12px;
    }

    .hero-nav-signin {
        padding: 6px 12px;
        font-size: 11px;
    }

    .hero-title {
        letter-spacing: 3px;
    }
}

/* ═══ ZERO-STATE STARTER PROMPT CARDS ═══ */
.starter-prompts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 480px;
    margin: 4px 0 0;
    animation: slideIn 0.4s ease-out;
}

.starter-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(0, 102, 255, 0.03));
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--r-md);
    color: var(--text-2);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-align: left;
    line-height: 1.3;
}

.starter-card:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 102, 255, 0.06));
    border-color: rgba(0, 212, 255, 0.35);
    color: var(--text-1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    transform: translateY(-1px);
}

.starter-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.starter-label {
    flex: 1;
}

@media (max-width: 480px) {
    .starter-prompts-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══ COMPANION STATUS INDICATOR ═══ */
.companion-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.05);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-2);
    letter-spacing: 0.5px;
    animation: softPulse 3s ease-in-out infinite;
}

.companion-status:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
}

.companion-status .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 6px var(--amber);
}

.companion-status.connected .status-dot {
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
}

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE V2 — Premium Enterprise Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Scroll Container ── */
#heroSection {
    position: fixed;
    inset: 0;
    z-index: 8500;
    background: var(--navy-deep);
    overflow: hidden;
}

.hero-scroll-container {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(0,212,255,0.25) transparent;
}
/* WebKit (Chrome, Edge, Safari) */
.hero-scroll-container::-webkit-scrollbar {
    width: 6px;
}
.hero-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}
.hero-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0,212,255,0.3), rgba(99,102,241,0.25));
    border-radius: 10px;
    border: 1px solid rgba(0,212,255,0.08);
}
.hero-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(0,212,255,0.55), rgba(99,102,241,0.45));
    box-shadow: 0 0 8px rgba(0,212,255,0.3);
}

/* ── Nav brand icon ── */
.hero-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-nav-brand-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cyan) 0%, var(--navy) 70%);
    box-shadow: 0 0 16px var(--cyan-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    color: var(--navy-deep);
}

/* ── Mobile menu ── */
.hero-mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hero-mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cyan);
    border-radius: 2px;
}

.hero-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 24px 16px;
    background: rgba(6, 11, 26, 0.95);
    border-top: 1px solid var(--glass-border);
}
.hero-mobile-menu.open {
    display: flex;
}
.hero-mobile-menu a,
.hero-mobile-menu button {
    color: var(--text-2);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
}
.hero-mobile-menu a:hover,
.hero-mobile-menu button:hover {
    color: var(--cyan);
}

/* ── Hero Main Section ── */
.hero-section-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
    overflow: hidden;
}

.hero-glow-2 {
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content-wrapper {
    max-width: 820px;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--cyan);
    margin-bottom: 20px;
    opacity: 0.8;
}

.hero-title-v2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-1);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    background: linear-gradient(135deg, #00d4ff 0%, #00ffc8 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle-v2 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Hero CTAs ── */
.hero-cta-row-v2 {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 14px;
    border: none;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #00d4ff, #0088ff);
    color: #fff;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.25);
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.4);
}

.hero-cta-lg {
    padding: 20px 48px;
    font-size: 1.15rem;
}

.hero-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: 14px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    background: rgba(0, 212, 255, 0.04);
    color: var(--text-2);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.hero-cta-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.08);
}

/* ── Orbit Chips ── */
.hero-orbit-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto;
}

.orbit-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 212, 255, 0.03);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    animation: chipReveal 0.5s ease-out forwards;
    animation-delay: var(--delay, 0s);
    transition: all 0.2s;
}

.orbit-chip:hover {
    border-color: var(--cyan-dim);
    background: rgba(0, 212, 255, 0.06);
    color: var(--text-1);
}

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

/* ── Social Proof Pills ── */
.hero-social-proof {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
}

.hero-stat-pill {
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(8px);
}
.hero-stat-pill strong {
    color: var(--cyan);
    font-weight: 700;
}

/* ═══ Section Blocks ═══ */
.hero-section-block {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section-dark {
    max-width: 100%;
    background: linear-gradient(180deg, rgba(6, 11, 26, 0.6) 0%, rgba(13, 19, 51, 0.3) 50%, rgba(6, 11, 26, 0.6) 100%);
}
.hero-section-dark > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 16px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.04);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══ Value Cards ═══ */
.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-card {
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.7), rgba(19, 26, 66, 0.3));
    transition: all 0.3s var(--ease);
}

.value-card:hover {
    border-color: var(--glass-border-bright);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), var(--glow);
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* ═══ Ability Marquee ═══ */
.ability-marquee-section {
    overflow: hidden;
}

.ability-marquee-shell {
    width: min(100%, 1440px);
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ability-marquee-row {
    position: relative;
    min-height: 58px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.ability-marquee-track {
    display: flex;
    width: max-content;
    gap: 14px;
    will-change: transform;
}

.ability-marquee-row-hot .ability-marquee-track {
    animation: abilityMarqueeRtl 220s linear infinite;
}

.ability-marquee-row-requested .ability-marquee-track {
    animation: abilityMarqueeLtr 195s linear infinite;
}

.ability-marquee-row-remaining .ability-marquee-track {
    animation: abilityMarqueeLtr 175s linear infinite;
}

.ability-marquee-row:hover .ability-marquee-track {
    animation-play-state: paused;
}

.ability-pill {
    flex: 0 0 auto;
    width: clamp(230px, 24vw, 360px);
    height: 58px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 92, 255, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ability-pill-title {
    min-width: 0;
    overflow: hidden;
    color: var(--text-1);
    font-size: 0.92rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ability-pill-state {
    max-width: 112px;
    overflow: hidden;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes abilityMarqueeRtl {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes abilityMarqueeLtr {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 12px;
}

.value-desc {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 16px;
}

.value-capabilities {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* ═══ WOW Chain Cards ═══ */
.wow-chain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wow-chain-card {
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.6), rgba(19, 26, 66, 0.25));
    transition: all 0.3s var(--ease);
}

.wow-chain-card:hover {
    border-color: var(--cyan-dim);
    box-shadow: var(--glow);
}

.wow-chain-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--cyan);
    margin-bottom: 16px;
}

.wow-chain-prompt {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 24px;
    padding-left: 12px;
    border-left: 2px solid var(--glass-border-bright);
}

.wow-chain-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.chain-step {
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid var(--glass-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-1);
    white-space: nowrap;
}

.chain-arrow {
    color: var(--cyan);
    font-size: 16px;
    font-weight: 700;
}

/* ═══ Roles Grid ═══ */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.role-card {
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.6), rgba(19, 26, 66, 0.25));
    text-align: center;
    transition: all 0.3s var(--ease);
}

.role-card:hover {
    border-color: var(--glass-border-bright);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.role-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--role-color, var(--cyan));
}

.role-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 10px;
}

.role-card p {
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ═══ Pricing V2 ═══ */
.pricing-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card-v2 {
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.7), rgba(19, 26, 66, 0.3));
    text-align: center;
    position: relative;
    transition: all 0.3s var(--ease);
}

.pricing-card-v2:hover {
    border-color: var(--glass-border-bright);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.pricing-featured {
    border-color: var(--cyan-dim);
    background: linear-gradient(160deg, rgba(0, 212, 255, 0.08), rgba(0, 136, 255, 0.04), rgba(10, 14, 39, 0.7));
    box-shadow: var(--glow);
}

.pricing-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00d4ff, #0088ff);
    color: var(--navy-deep);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 100px;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.pricing-tier {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 12px;
}

.pricing-price-v2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.pricing-price-v2 span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-3);
}

.pricing-coins-v2 {
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}
.pricing-features li {
    color: var(--text-2);
    font-size: 0.85rem;
    padding: 4px 0;
}
.pricing-features li::before {
    content: '✓ ';
    color: var(--cyan);
}

.pricing-cta-v2 {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    background: rgba(0, 212, 255, 0.06);
    color: var(--cyan);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.pricing-cta-v2:hover {
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.15);
}

.pricing-cta-featured {
    background: linear-gradient(135deg, #00d4ff, #0088ff);
    color: #fff;
    border: none;
}
.pricing-cta-featured:hover {
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.4);
}

/* ── Billing Toggle ── */
.billing-toggle {
    display: inline-flex;
    background: var(--glass);
    border-radius: 40px;
    padding: 4px;
    margin-top: 24px;
    border: 1px solid var(--glass-border);
}
.billing-toggle button {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 28px;
    border: none;
    border-radius: 36px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    color: var(--text-3);
    background: transparent;
}
.billing-toggle button.active {
    background: linear-gradient(135deg, var(--cyan), #0088cc);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.save-tag {
    display: inline-block;
    font-size: 10px;
    background: var(--green);
    color: #000;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ── Plan Subtitle & Annual Note ── */
.pricing-subtitle {
    font-size: 11px;
    color: var(--text-3);
    margin-bottom: 12px;
    min-height: 16px;
}
.pricing-annual-note {
    font-size: 11px;
    color: var(--text-3);
    margin-bottom: 8px;
    min-height: 14px;
}

/* ── Enterprise Gold Accent ── */
.pricing-enterprise {
    border-color: rgba(255, 193, 7, 0.25);
    background: linear-gradient(160deg, rgba(255, 193, 7, 0.06), rgba(10, 14, 39, 0.7));
}
.pricing-enterprise:hover {
    border-color: var(--gold);
}
.pricing-enterprise .pricing-tier {
    color: var(--gold);
}
.pricing-cta-gold {
    background: linear-gradient(135deg, #ffc107, #ff9800) !important;
    color: #000 !important;
    border: none !important;
}
.pricing-cta-gold:hover {
    box-shadow: 0 6px 24px rgba(255, 193, 7, 0.35) !important;
}

/* ── Compare Section Row Headers ── */
.compare-section-row td {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cyan) !important;
    padding: 16px 12px 6px !important;
    border-bottom: none !important;
    background: rgba(0, 212, 255, 0.03);
    text-align: left !important;
}

/* ── Comparison Table ── */
.pricing-comparison-toggle {
    max-width: 1100px;
    margin: 40px auto 0;
    text-align: center;
}

.pricing-comparison-toggle summary {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 12px;
    list-style: none;
}
.pricing-comparison-toggle summary::-webkit-details-marker { display: none; }
.pricing-comparison-toggle summary::marker { content: ''; }

.pricing-comparison-table-wrap {
    margin-top: 24px;
    overflow-x: auto;
}

.pricing-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
}

.pricing-comparison-table th {
    padding: 12px 16px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--cyan);
    border-bottom: 1px solid var(--glass-border-bright);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.pricing-comparison-table th:first-child {
    text-align: left;
}

.pricing-comparison-table td {
    padding: 10px 16px;
    color: var(--text-2);
    border-bottom: 1px solid var(--glass-border);
}
.pricing-comparison-table td:first-child {
    text-align: left;
    color: var(--text-1);
    font-weight: 500;
}

.pricing-comparison-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.03);
}

/* ═══ Trust Grid ═══ */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.trust-card {
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.6), rgba(19, 26, 66, 0.25));
    text-align: center;
    transition: all 0.3s var(--ease);
}

.trust-card:hover {
    border-color: var(--glass-border-bright);
    transform: translateY(-3px);
}

.trust-stat {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--cyan);
    text-shadow: 0 0 24px var(--cyan-dim);
    margin-bottom: 8px;
}

.trust-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-1);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.trust-desc {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ═══ Testimonials ═══ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.6), rgba(19, 26, 66, 0.2));
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--glass-border-bright);
    flex-shrink: 0;
}

.testimonial-author strong {
    color: var(--text-1);
    font-size: 14px;
}

.testimonial-author span {
    color: var(--text-3);
    font-size: 12px;
}

/* ═══ Final CTA ═══ */
.hero-final-cta {
    text-align: center;
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.hero-final-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-final-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.hero-final-sub {
    font-size: 1.1rem;
    color: var(--text-2);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.hero-final-footnote {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-3);
    position: relative;
    z-index: 2;
}

/* ═══ Footer V2 ═══ */
.hero-footer-v2 {
    border-top: 1px solid var(--glass-border);
    padding: 40px 24px;
    background: rgba(6, 11, 26, 0.5);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cyan) 0%, var(--navy) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
    color: var(--navy-deep);
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-1);
}

.footer-brand-tag {
    font-size: 11px;
    color: var(--text-3);
    font-weight: 400;
}

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

.footer-links a {
    color: var(--text-3);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--cyan);
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-3);
}
/* ═══ Scroll-Triggered Entrance Animations ═══ */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(48px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes revealRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes revealScale {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}
.reveal {
    opacity: 0;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-up          { transform: translateY(48px); }
.reveal-left        { transform: translateX(-60px); }
.reveal-right       { transform: translateX(60px); }
.reveal-scale       { transform: scale(0.85); }
/* Stagger children */
.reveal-stagger > * { opacity: 0; transform: translateY(32px); transition: all 0.6s var(--ease); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ═══ Parallax / Fixed Background Sections ═══ */
.parallax-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.35);
    z-index: 0;
}
.parallax-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 60px 32px;
}
.parallax-overlay h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.parallax-overlay p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 28px;
}
.parallax-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    background: var(--gradient-btn);
    color: #fff;
    transition: all 0.3s var(--ease);
}
.parallax-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,212,255,0.3);
}

/* ═══ Horizontal Scroll Lifestyle Carousel ═══ */
.h-scroll-section {
    padding: 80px 0;
    overflow: hidden;
}
.h-scroll-header {
    text-align: center;
    padding: 0 32px;
    margin-bottom: 40px;
}
.h-scroll-track {
    display: flex;
    gap: 24px;
    padding: 0 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}
.h-scroll-track::-webkit-scrollbar { display: none; }
.h-scroll-card {
    flex: 0 0 420px;
    scroll-snap-align: start;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    transition: all 0.3s var(--ease);
}
.h-scroll-card:hover {
    border-color: var(--glass-border-bright);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}
.h-scroll-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.h-scroll-card-body {
    padding: 24px;
}
.h-scroll-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 8px;
}
.h-scroll-card-body p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.6;
}
.h-scroll-card-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(0,212,255,0.08);
    color: var(--cyan);
    border: 1px solid rgba(0,212,255,0.15);
}

/* ═══ Landing Page Mobile Responsive ═══ */

/* ── Hero Visual ── */
.hero-visual-wrap {
    margin-top: 56px;
    position: relative;
    z-index: 2;
    max-width: 740px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), var(--glow);
}
.hero-visual-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── WOW Showcase Grid ── */
.wow-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.wow-showcase-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.wow-showcase-card {
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.7), rgba(19, 26, 66, 0.3));
    overflow: hidden;
    transition: all 0.3s var(--ease);
}
.wow-showcase-card:hover {
    border-color: var(--glass-border-bright);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), var(--glow);
    transform: translateY(-4px);
}
.wow-showcase-img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(0, 212, 255, 0.03);
}
.wow-showcase-wide .wow-showcase-img-wrap {
    aspect-ratio: auto;
    border-radius: 20px 0 0 20px;
}
.wow-showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.5s;
}
.wow-showcase-card:hover .wow-showcase-img-wrap img {
    opacity: 1;
    transform: scale(1.03);
}
.wow-showcase-body {
    padding: 28px 24px;
}
.wow-showcase-proof {
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0, 255, 136, 0.04);
    border: 1px solid rgba(0, 255, 136, 0.15);
    color: #00ff88;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-mono);
}

/* ── 7-Plan Pricing Grid ── */
.pricing-grid-7 {
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 12px !important;
}
.pricing-grid-7 .pricing-card-v2 {
    padding: 24px 16px;
}
.pricing-grid-7 .pricing-tier {
    font-size: 1rem;
}
.pricing-grid-7 .pricing-price-v2 {
    font-size: 1.8rem;
}
.pricing-grid-7 .pricing-features li {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .hero-nav-links { display: none; }
    .hero-mobile-menu-btn { display: flex; }

    .hero-section-main { padding: 100px 20px 50px; min-height: auto; }
    .hero-title-v2 { font-size: clamp(1.6rem, 6vw, 2.6rem); }

    .value-grid { grid-template-columns: 1fr; }
    .ability-marquee-shell { gap: 14px; }
    .ability-marquee-row { min-height: 52px; }
    .ability-pill {
        width: clamp(210px, 76vw, 300px);
        height: 52px;
        padding: 0 12px;
    }
    .ability-pill-title { font-size: 0.82rem; }
    .ability-pill-state { max-width: 84px; font-size: 0.56rem; }
    .wow-showcase-grid { grid-template-columns: 1fr; }
    .wow-showcase-wide { grid-template-columns: 1fr; }
    .wow-showcase-wide .wow-showcase-img-wrap { border-radius: 20px 20px 0 0; }
    .roles-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid-7 { grid-template-columns: repeat(3, 1fr) !important; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; }

    .hero-section-block { padding: 60px 20px; }

    .parallax-bg { background-attachment: scroll; }
    .parallax-section { min-height: 380px; }
    .h-scroll-card { flex: 0 0 320px; }
    .hero-visual-wrap { max-width: 100%; margin-top: 36px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
    .pricing-grid-7 { grid-template-columns: 1fr !important; }
    .trust-grid { grid-template-columns: 1fr; }
    .roles-grid { grid-template-columns: 1fr; }

    .hero-cta-row-v2 { flex-direction: column; align-items: stretch; }
    .hero-cta-primary,
    .hero-cta-ghost { width: 100%; justify-content: center; }

    .hero-orbit-chips { gap: 6px; }
    .orbit-chip { font-size: 11px; padding: 6px 12px; }
}

/* ═══════════════════════════════════════════════════════════ */
/* DESKTOP POWER — Premium Device Panel                       */
/* ═══════════════════════════════════════════════════════════ */

/* ─── Header companion badge ──────────────────────────────── */
.companion-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    font-size: 11px;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
    color: var(--text-3);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}
.companion-status:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--cyan);
}
.companion-status.online {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
}
.companion-status .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-3);
    transition: all 0.3s;
}
.companion-status.online .status-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: dp-pulse 2s infinite;
}
@keyframes dp-pulse {
    0%, 100% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 12px rgba(34, 197, 94, 0.8); }
}

/* ─── Desktop Power Status Card ──────────────────────────── */
.dp-status-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(34, 197, 94, 0.03));
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    transition: border-color 0.3s;
}
.dp-status-card.online {
    border-color: rgba(34, 197, 94, 0.35);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(0, 212, 255, 0.03));
}
.dp-status-card.error {
    border-color: rgba(239, 68, 68, 0.3);
}
.dp-status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.dp-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-3);
    flex-shrink: 0;
    transition: all 0.3s;
}
.dp-status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    animation: dp-pulse 2s infinite;
}
.dp-status-dot.error {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
.dp-status-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-1);
    font-family: var(--font-mono);
    letter-spacing: 1px;
}
.dp-status-badge {
    margin-left: auto;
    font-size: 10px;
    font-family: var(--font-mono);
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-3);
    transition: all 0.3s;
}
.dp-status-badge.online {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.08);
}
.dp-status-body {
    display: grid;
    gap: 8px;
}
.dp-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}
.dp-status-label {
    font-size: 12px;
    color: var(--text-2);
}
.dp-status-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-1);
    font-family: var(--font-mono);
}

/* ─── Section Labels ─────────────────────────────────────── */
.dp-section-label {
    font-size: 11px;
    font-family: var(--font-mono);
    letter-spacing: 2px;
    color: var(--cyan);
    font-weight: 700;
    margin: 16px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

/* ─── QR Pairing Section ─────────────────────────────────── */
.dp-qr-section {
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
}
.dp-qr-hint {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 6px;
}
.dp-pair-input {
    flex: 1;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 10px;
    outline: none;
}
.dp-copy-btn {
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--cyan);
    font-size: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    transition: all 0.2s;
}
.dp-copy-btn:hover {
    background: rgba(0, 212, 255, 0.2);
}
.dp-generate-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(34, 197, 94, 0.08));
    color: var(--cyan);
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
}
.dp-generate-link-btn:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(34, 197, 94, 0.12));
    border-color: rgba(0, 212, 255, 0.35);
}
/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Animated Proof Strip
   ═══════════════════════════════════════════════════════════════ */
.proof-strip {
    display: flex; justify-content: center; align-items: center; gap: 0;
    padding: 28px 20px; margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.04), transparent);
    border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
    max-width: 900px;
}
.proof-strip-item { text-align: center; flex: 1; padding: 0 18px; }
.proof-strip-number {
    display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700;
    color: var(--cyan); letter-spacing: -0.02em; line-height: 1.1;
}
.proof-strip-number.proof-strip-zero { color: var(--green); }
.proof-strip-label {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--text-3); margin-top: 4px;
}
.proof-strip-divider {
    width: 1px; height: 40px; background: var(--glass-border); flex-shrink: 0;
}
@media (max-width: 600px) {
    .proof-strip { flex-wrap: wrap; gap: 16px; }
    .proof-strip-item { flex: 0 0 45%; }
    .proof-strip-divider { display: none; }
    .proof-strip-number { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Crucible Proof Section
   ═══════════════════════════════════════════════════════════════ */
.crucible-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.crucible-card {
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 32px 24px; text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.crucible-card::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.crucible-card:hover { border-color: var(--glass-border-bright); transform: translateY(-4px); }
.crucible-card:hover::before { opacity: 1; }
.crucible-score {
    font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
    color: var(--green); line-height: 1.1;
}
.crucible-score span { font-size: 1.2rem; color: var(--text-3); font-weight: 400; }
.crucible-label {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--text-2); margin-top: 10px; font-weight: 600;
}
.crucible-desc {
    font-size: 0.78rem; color: var(--text-3); margin-top: 8px; line-height: 1.5;
}
@media (max-width: 768px) {
    .crucible-grid { grid-template-columns: repeat(2, 1fr); }
    .crucible-score { font-size: 1.8rem; }
}
@media (max-width: 480px) { .crucible-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Public Proof + Comparison
   ═══════════════════════════════════════════════════════════════ */
.proof-evidence-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto 28px;
}

.proof-evidence-card {
    min-height: 150px;
    padding: 24px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.76), rgba(19, 26, 66, 0.34));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.proof-evidence-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 750;
    color: var(--green);
    line-height: 1.05;
}

.proof-evidence-label {
    display: block;
    color: var(--text-2);
    font-size: 0.88rem;
    line-height: 1.55;
}

.proof-receipt-shell {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.proof-receipt {
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(7, 12, 29, 0.72);
    overflow: hidden;
}

.proof-receipt summary {
    min-height: 64px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    color: var(--text-1);
    font-weight: 700;
}

.proof-receipt summary::-webkit-details-marker { display: none; }
.proof-receipt summary::marker { content: ''; }

.proof-receipt summary strong {
    padding: 6px 10px;
    border: 1px solid rgba(34, 197, 94, 0.24);
    border-radius: 999px;
    color: var(--green);
    background: rgba(34, 197, 94, 0.08);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.proof-receipt p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--text-2);
    line-height: 1.65;
    font-size: 0.94rem;
}

.proof-link-row {
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.proof-doc-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.38);
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    font-weight: 700;
    text-decoration: none;
}

.proof-doc-link-secondary {
    border-color: rgba(124, 92, 255, 0.36);
    background: rgba(124, 92, 255, 0.1);
    color: var(--text-1);
}

.sota-dropdown {
    max-width: 1180px;
    margin: 0 auto;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(7, 12, 29, 0.72);
    overflow: hidden;
}

.sota-dropdown summary {
    min-height: 66px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    color: var(--text-1);
    font-weight: 800;
}

.sota-dropdown summary::-webkit-details-marker { display: none; }
.sota-dropdown summary::marker { content: ''; }

.sota-dropdown summary strong {
    padding: 7px 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.08);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.sota-dropdown[open] summary {
    border-bottom: 1px solid var(--glass-border);
}

.sota-compare-wrap {
    max-width: 1180px;
    margin: 0 auto;
    overflow-x: auto;
    background: rgba(7, 12, 29, 0.52);
}

.sota-compare-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.sota-compare-table th,
.sota-compare-table td {
    padding: 18px 16px;
    border-bottom: 1px solid var(--glass-border);
    text-align: left;
    vertical-align: top;
    color: var(--text-2);
    font-size: 0.88rem;
    line-height: 1.55;
}

.sota-compare-table th {
    color: var(--text-1);
    background: rgba(0, 212, 255, 0.06);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sota-compare-table td:first-child {
    color: var(--cyan);
    font-weight: 750;
    width: 190px;
}

.sota-compare-table tr:last-child td { border-bottom: 0; }

.sota-marvin-edge td {
    background: rgba(34, 197, 94, 0.035);
}

.sota-yes,
.sota-partial,
.sota-no {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sota-yes {
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: var(--green);
    background: rgba(34, 197, 94, 0.08);
}

.sota-partial {
    border: 1px solid rgba(251, 191, 36, 0.28);
    color: var(--amber);
    background: rgba(251, 191, 36, 0.08);
}

.sota-no {
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: var(--text-3);
    background: rgba(148, 163, 184, 0.06);
}

.sota-note {
    max-width: 900px;
    margin: 24px auto 0;
    color: var(--text-3);
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 900px) {
    .proof-evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .proof-evidence-grid { grid-template-columns: 1fr; }
    .proof-receipt summary {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .proof-receipt summary strong { width: max-content; }
    .sota-dropdown summary {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .sota-dropdown summary strong { width: max-content; }
}

/* ═══ Public Proof Document Pages ═══ */
.proof-doc-body {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 212, 255, 0.35) rgba(6, 11, 26, 0.68);
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #060b1a 0%, #0a0f23 48%, #060b1a 100%);
    color: var(--text-1);
}

.proof-doc-body::-webkit-scrollbar {
    width: 8px;
}

.proof-doc-body::-webkit-scrollbar-track {
    background: rgba(6, 11, 26, 0.68);
}

.proof-doc-body::-webkit-scrollbar-thumb {
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.38), rgba(99, 102, 241, 0.32));
}

.proof-doc-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.62), rgba(99, 102, 241, 0.52));
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.32);
}

.proof-doc-page {
    width: min(100% - 32px, 1120px);
    margin: 0 auto;
    padding: 24px 0 80px;
}

.proof-doc-nav {
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--glass-border);
}

.proof-doc-nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.proof-doc-nav-links a {
    color: var(--text-2);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.proof-doc-nav-links a:hover { color: var(--cyan); }

.proof-doc-hero {
    padding: 80px 0 48px;
    border-bottom: 1px solid var(--glass-border);
}

.proof-doc-hero h1 {
    max-width: 880px;
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4.2rem);
    line-height: 1.05;
}

.proof-doc-hero p {
    max-width: 820px;
    color: var(--text-2);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
}

.proof-doc-hero-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.proof-doc-hero-grid div,
.proof-doc-grid article {
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(7, 12, 29, 0.72);
}

.proof-doc-hero-grid div {
    padding: 20px;
}

.proof-doc-hero-grid strong {
    display: block;
    color: var(--green);
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1.1;
}

.proof-doc-hero-grid span {
    display: block;
    margin-top: 8px;
    color: var(--text-2);
    font-size: 0.86rem;
    line-height: 1.45;
}

.proof-doc-section {
    padding: 46px 0;
    border-bottom: 1px solid var(--glass-border);
}

.proof-doc-section h2 {
    margin: 0 0 22px;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.proof-doc-section > p {
    max-width: 900px;
    color: var(--text-2);
    line-height: 1.75;
}

.proof-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.proof-doc-grid article {
    padding: 24px;
}

.proof-doc-grid h3 {
    margin: 0 0 12px;
    color: var(--cyan);
    font-size: 1rem;
}

.proof-doc-grid p {
    margin: 0;
    color: var(--text-2);
    line-height: 1.65;
}

.proof-doc-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(7, 12, 29, 0.72);
}

.proof-doc-table th,
.proof-doc-table td {
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-2);
    text-align: left;
    vertical-align: top;
    line-height: 1.55;
}

.proof-doc-table th {
    color: var(--text-1);
    background: rgba(0, 212, 255, 0.06);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-doc-table tr:last-child td { border-bottom: 0; }

.proof-doc-source-list {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--text-2);
    line-height: 1.8;
}

.proof-doc-source-list a {
    color: var(--cyan);
    text-decoration: none;
}

.proof-doc-source-list a:hover { text-decoration: underline; }

@media (max-width: 760px) {
    .proof-doc-nav {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 18px;
    }
    .proof-doc-hero-grid,
    .proof-doc-grid {
        grid-template-columns: 1fr;
    }
    .proof-doc-table {
        display: block;
        overflow-x: auto;
    }
}

/* ═══ First WOW Launch Pack ═══ */
.launch-pack-hero {
    padding-bottom: 56px;
}

.launch-pack-section {
    padding-block: clamp(30px, 5vw, 48px);
}

.launch-pack-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
}

.launch-section-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(20px, 3vw, 34px);
    align-items: start;
}

.launch-section-panel-reverse {
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
}

.launch-section-panel-reverse > .launch-section-media {
    order: 2;
}

.launch-section-panel-compact {
    grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.92fr);
    align-items: center;
}

.launch-section-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.launch-pack-hero-grid h1 {
    max-width: 780px;
}

.launch-pack-hero-grid p,
.launch-section-media p {
    max-width: 720px;
}

.launch-pack-hero-img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
    border-radius: var(--r-lg);
    border: 1px solid var(--glass-border-bright);
    box-shadow: var(--glow-hi);
    object-fit: contain;
    object-position: center;
}

.launch-pack-section-img {
    display: block;
    width: 100%;
    max-width: 430px;
    height: auto;
    margin: 4px auto 0;
    border-radius: var(--r-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glow);
    object-fit: contain;
    object-position: center;
}

.launch-step-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 185px;
    border-radius: var(--r-sm);
    border: 1px solid var(--glass-border);
    object-fit: contain;
    object-position: center;
}

.launch-pack-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.launch-pack-actions button,
.launch-step-grid button,
.first-wow-grid a,
.launch-step-grid a {
    font: inherit;
}

.launch-step-grid,
.first-wow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.launch-step-grid article,
.first-wow-grid article {
    min-height: 0;
    padding: 20px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.78), rgba(19, 26, 66, 0.34));
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.launch-step-number,
.first-wow-grid span {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.launch-step-grid h3,
.first-wow-grid h3 {
    margin: 0;
    color: var(--text-1);
    font-size: 1.05rem;
}

.launch-step-grid p,
.first-wow-grid p {
    margin: 0;
    color: var(--text-2);
    line-height: 1.52;
    flex: 1;
}

.launch-step-grid a,
.launch-step-grid button,
.first-wow-grid a {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(0, 212, 255, 0.32);
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.08);
    color: var(--cyan);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.launch-step-grid button {
    appearance: none;
}

.launch-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 7, 18, 0.84);
    backdrop-filter: blur(10px);
}

.launch-modal[aria-hidden="false"] {
    display: flex;
}

.launch-modal-panel {
    width: min(100%, 1120px);
    height: min(88vh, 820px);
    border: 1px solid var(--glass-border-bright);
    border-radius: 8px;
    background: #060b1a;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.launch-modal-bar {
    min-height: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(7, 12, 29, 0.94);
}

.launch-modal-bar strong {
    color: var(--text-1);
}

.launch-modal-bar a,
.launch-modal-bar button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(0, 212, 255, 0.26);
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.08);
    color: var(--cyan);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.launch-modal iframe {
    width: 100%;
    height: calc(100% - 54px);
    border: 0;
    background: #060b1a;
}

.launch-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .launch-pack-hero-grid,
    .launch-section-panel,
    .launch-section-panel-reverse,
    .launch-section-panel-compact {
        grid-template-columns: 1fr;
    }
    .launch-section-panel-reverse > .launch-section-media {
        order: 0;
    }
    .launch-pack-hero-img,
    .launch-pack-section-img {
        max-width: 100%;
    }
    .launch-step-img {
        max-height: none;
    }
    .launch-step-grid,
    .first-wow-grid {
        grid-template-columns: 1fr;
    }
    .launch-modal {
        padding: 10px;
    }
    .launch-modal-panel {
        height: 92vh;
    }
    .launch-modal-bar {
        grid-template-columns: 1fr;
    }
    .launch-modal-bar a,
    .launch-modal-bar button {
        width: max-content;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Security Grid
   ═══════════════════════════════════════════════════════════════ */
.security-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.security-card {
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.security-card:hover { border-color: var(--glass-border-bright); transform: translateY(-3px); }
.security-icon { margin-bottom: 14px; }
.security-card h3 {
    font-family: var(--font-display); font-size: 1rem; font-weight: 600;
    color: var(--text-1); margin: 0 0 8px;
}
.security-card p {
    font-size: 0.82rem; color: var(--text-3); line-height: 1.6; margin: 0;
}
.security-footnote {
    max-width: 700px; margin: 30px auto 0; text-align: center;
    font-size: 0.72rem; color: var(--text-3); font-style: italic;
    padding: 14px 20px; border: 1px dashed rgba(0,212,255,0.12); border-radius: 8px;
    background: rgba(0,212,255,0.02);
}
@media (max-width: 768px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .security-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Multi-Row Testimonial Scroller
   ═══════════════════════════════════════════════════════════════ */
.testimonial-scroller-section { overflow: hidden; padding: 40px 0; }
.testimonial-scroller-row {
    display: flex; gap: 20px; width: max-content;
    padding: 10px 0;
}
.testimonial-scroller-row.row-left { animation: scrollLeft 60s linear infinite; }
.testimonial-scroller-row.row-right { animation: scrollRight 45s linear infinite; }
.testimonial-scroller-row.row-slow { animation: scrollLeft 80s linear infinite; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.testimonial-scroll-card {
    flex-shrink: 0; width: 360px; padding: 24px;
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 14px; transition: border-color 0.3s;
}
.testimonial-scroll-card:hover { border-color: var(--glass-border-bright); }
.testimonial-scroll-card .tsc-quote {
    font-size: 0.88rem; color: var(--text-2); line-height: 1.6;
    font-style: italic; margin: 0 0 14px;
}
.testimonial-scroll-card .tsc-author {
    display: flex; align-items: center; gap: 10px;
}
.testimonial-scroll-card .tsc-avatar {
    width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
    border: 1px solid var(--glass-border);
}
.testimonial-scroll-card .tsc-avatar-initial {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 600; color: var(--navy-deep);
    flex-shrink: 0;
}
.testimonial-scroll-card .tsc-name {
    font-size: 0.82rem; font-weight: 600; color: var(--text-1);
}
.testimonial-scroll-card .tsc-role {
    font-size: 0.7rem; color: var(--text-3); text-transform: uppercase;
    letter-spacing: 0.08em;
}
.testimonial-scroll-card .tsc-tag {
    display: inline-block; margin-top: 10px; padding: 3px 10px;
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--cyan); border: 1px solid rgba(0,212,255,0.15);
    border-radius: 20px; background: rgba(0,212,255,0.04);
}
@media (max-width: 600px) { .testimonial-scroll-card { width: 280px; padding: 18px; } }

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Enterprise+ Standalone Showcase
   ═══════════════════════════════════════════════════════════════ */
.enterprise-plus-section {
    position: relative; padding: 80px 20px; text-align: center;
    background: linear-gradient(180deg, var(--navy-deep) 0%, rgba(6,11,26,0.95) 100%);
    overflow: hidden;
}
.enterprise-plus-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 600px 300px at 50% 60%, rgba(245,158,11,0.06), transparent);
    pointer-events: none;
}
.enterprise-plus-card {
    position: relative; max-width: 720px; margin: 0 auto;
    background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(0,212,255,0.03));
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 24px; padding: 48px 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}
.enterprise-plus-card:hover {
    border-color: rgba(245,158,11,0.4);
    box-shadow: 0 0 60px rgba(245,158,11,0.08), 0 20px 80px rgba(0,0,0,0.4);
    transform: translateY(-4px);
}
.enterprise-plus-card::after {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.ep-badge {
    display: inline-block; padding: 5px 18px; margin-bottom: 20px;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--navy-deep); background: linear-gradient(135deg, var(--amber), #fbbf24);
    border-radius: 20px;
}
.ep-title {
    font-family: var(--font-display); font-size: 2rem; font-weight: 700;
    color: var(--text-1); margin: 0 0 8px;
}
.ep-subtitle {
    font-size: 0.95rem; color: var(--text-2); margin: 0 0 28px; line-height: 1.6;
}
.ep-price {
    font-family: var(--font-display); font-size: 2.8rem; font-weight: 700;
    color: var(--amber); margin-bottom: 4px;
}
.ep-price span { font-size: 1rem; color: var(--text-3); font-weight: 400; }
.ep-price-note { font-size: 0.75rem; color: var(--text-3); margin-bottom: 28px; }
.ep-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
    text-align: left; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.ep-feature {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; color: var(--text-2);
}
.ep-feature svg { flex-shrink: 0; color: var(--amber); }
.ep-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px; font-size: 0.9rem; font-weight: 600;
    color: var(--navy-deep); background: linear-gradient(135deg, var(--amber), #fbbf24);
    border: none; border-radius: 12px; cursor: pointer;
    transition: all 0.3s; letter-spacing: 0.02em;
}
.ep-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.25);
}
.ep-governance {
    margin-top: 28px; padding-top: 24px;
    border-top: 1px solid rgba(245,158,11,0.12);
}
.ep-governance-label {
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--text-3); margin-bottom: 12px;
}
.ep-governance-pills {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.ep-governance-pill {
    padding: 5px 14px; font-size: 0.7rem; color: var(--amber);
    border: 1px solid rgba(245,158,11,0.15); border-radius: 20px;
    background: rgba(245,158,11,0.04); letter-spacing: 0.05em;
}
@media (max-width: 600px) {
    .enterprise-plus-card { padding: 32px 24px; }
    .ep-title { font-size: 1.5rem; }
    .ep-price { font-size: 2rem; }
    .ep-features { grid-template-columns: 1fr; }
}
/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Commerce & Merch Showcase
   ═══════════════════════════════════════════════════════════════ */
.commerce-showcase { padding: 80px 20px; }
.commerce-hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
    max-width: 1100px; margin: 0 auto 40px; align-items: center;
}
.commerce-hero-visual { position: relative; border-radius: 16px; overflow: hidden; }
.commerce-hero-visual img { width: 100%; border-radius: 16px; }
.commerce-hero-visual::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.08), transparent 60%);
    border-radius: 16px; pointer-events: none;
}
.commerce-hero-content h3 {
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
    color: var(--text-1); margin: 0 0 14px;
}
.commerce-hero-content p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; margin: 0 0 20px; }
.commerce-pipeline-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    max-width: 1100px; margin: 0 auto;
}
.commerce-pipeline {
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 14px; padding: 24px; transition: all 0.4s;
    position: relative; overflow: hidden;
}
.commerce-pipeline:hover { border-color: var(--glass-border-bright); transform: translateY(-3px); }
.commerce-pipeline::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.commerce-pipeline:hover::before { opacity: 1; }
.commerce-pipeline b { display: block; font-size: 0.95rem; color: var(--text-1); margin-bottom: 8px; }
.commerce-pipeline p { font-size: 0.78rem; color: var(--text-3); line-height: 1.6; margin: 0 0 10px; }
.commerce-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.commerce-tag {
    padding: 3px 10px; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--cyan); border: 1px solid rgba(0,212,255,0.15); border-radius: 20px;
    background: rgba(0,212,255,0.04);
}
.commerce-orgs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    max-width: 900px; margin: 32px auto 0;
}
.commerce-org-pill {
    padding: 8px 18px; font-size: 0.75rem; color: var(--text-2);
    border: 1px solid var(--glass-border); border-radius: 24px;
    background: var(--glass); transition: all 0.3s; cursor: default;
}
.commerce-org-pill:hover { border-color: var(--glass-border-bright); color: var(--text-1); }
@media (max-width: 768px) {
    .commerce-hero-grid { grid-template-columns: 1fr; }
    .commerce-pipeline-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Launch in Minutes Section
   ═══════════════════════════════════════════════════════════════ */
.launch-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.launch-card {
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 16px; overflow: hidden; transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}
.launch-card:hover { border-color: var(--glass-border-bright); transform: translateY(-5px) scale(1.01); }
.launch-card-visual {
    height: 180px; overflow: hidden; position: relative;
}
.launch-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.launch-card:hover .launch-card-visual img { transform: scale(1.06); }
.launch-card-visual::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
    background: linear-gradient(transparent, var(--glass));
}
.launch-card-body { padding: 20px 24px 24px; }
.launch-card-body h3 {
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
    color: var(--text-1); margin: 0 0 8px;
}
.launch-card-body p { font-size: 0.8rem; color: var(--text-3); line-height: 1.6; margin: 0 0 14px; }
.launch-card-prompt {
    display: block; padding: 10px 14px; font-family: var(--font-mono);
    font-size: 0.68rem; color: var(--cyan); background: rgba(0,212,255,0.04);
    border: 1px solid rgba(0,212,255,0.1); border-radius: 8px; line-height: 1.5;
}
.launch-card-prompt::before { content: '> '; opacity: 0.5; }
@media (max-width: 768px) { .launch-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Classroom & Education Section
   ═══════════════════════════════════════════════════════════════ */
.classroom-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.classroom-visual { position: relative; border-radius: 16px; overflow: hidden; }
.classroom-visual img { width: 100%; border-radius: 16px; }
.classroom-visual::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), transparent 60%);
    border-radius: 16px; pointer-events: none;
}
.classroom-content h3 {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    color: var(--text-1); margin: 0 0 14px;
}
.classroom-content p { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; margin: 0 0 20px; }
.classroom-features {
    display: flex; flex-direction: column; gap: 12px;
}
.classroom-feature {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.82rem; color: var(--text-2); line-height: 1.5;
}
.classroom-feature svg { flex-shrink: 0; margin-top: 2px; color: var(--purple); }
.classroom-cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
    padding: 12px 28px; font-size: 0.85rem; font-weight: 600;
    color: #fff; background: linear-gradient(135deg, var(--purple), #818cf8);
    border: none; border-radius: 10px; cursor: pointer; text-decoration: none;
    transition: all 0.3s;
}
.classroom-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.3); }
@media (max-width: 768px) { .classroom-split { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Asset River (auto-scrolling image strip)
   ═══════════════════════════════════════════════════════════════ */
.asset-river { overflow: hidden; padding: 20px 0; background: var(--navy-deep); }
.asset-river-track {
    display: flex; gap: 16px; width: max-content;
    animation: assetScroll 40s linear infinite;
}
.asset-river-track img {
    height: 180px; width: auto; border-radius: 12px; flex-shrink: 0;
    object-fit: cover; opacity: 0.85; transition: opacity 0.3s;
}
.asset-river-track img:hover { opacity: 1; }
@keyframes assetScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (max-width: 600px) { .asset-river-track img { height: 120px; } }

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Impact Wall (template grid)
   ═══════════════════════════════════════════════════════════════ */
.impact-wall {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.impact-tile {
    position: relative; border-radius: 12px; overflow: hidden;
    aspect-ratio: 1; cursor: pointer; transition: transform 0.4s;
}
.impact-tile:hover { transform: scale(1.05); z-index: 2; }
.impact-tile img { width: 100%; height: 100%; object-fit: cover; }
.impact-tile span {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 8px 10px; font-size: 0.65rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
@media (max-width: 768px) { .impact-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .impact-wall { grid-template-columns: repeat(3, 1fr); } }

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Platform Showcase (wide panel + pipelines)
   ═══════════════════════════════════════════════════════════════ */
.platform-showcase {
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.platform-panel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 20px; overflow: hidden; margin-bottom: 24px;
}
.platform-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.platform-panel-content {
    padding: 40px 36px; display: flex; flex-direction: column; justify-content: center;
}
.platform-panel-content h3 {
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
    color: var(--text-1); margin: 0 0 14px;
}
.platform-panel-content p { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; margin: 0 0 20px; }
.platform-panel-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; font-size: 0.82rem; font-weight: 600;
    color: var(--navy-deep); background: var(--cyan);
    border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s;
    width: fit-content; text-decoration: none;
}
.platform-panel-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,212,255,0.3); }
@media (max-width: 768px) { .platform-panel { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENT: Distributor / Sales Org Section
   ═══════════════════════════════════════════════════════════════ */
.distributor-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.distributor-card {
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative; overflow: hidden;
}
.distributor-card:hover { border-color: rgba(0,255,200,0.25); transform: translateY(-4px); }
.distributor-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.distributor-card:hover::before { opacity: 1; }
.distributor-card-icon { margin-bottom: 14px; }
.distributor-card h3 {
    font-family: var(--font-display); font-size: 1rem; font-weight: 600;
    color: var(--text-1); margin: 0 0 8px;
}
.distributor-card p { font-size: 0.82rem; color: var(--text-3); line-height: 1.6; margin: 0 0 14px; }
.distributor-card-features {
    display: flex; flex-direction: column; gap: 6px;
}
.distributor-card-feature {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.72rem; color: var(--teal);
}
.distributor-card-feature svg { flex-shrink: 0; }
.distributor-cta-row {
    display: flex; justify-content: center; gap: 16px; margin-top: 36px;
    flex-wrap: wrap;
}
.distributor-cta-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; font-size: 0.9rem; font-weight: 600;
    color: var(--navy-deep); background: linear-gradient(135deg, var(--teal), #34d8ff);
    border: none; border-radius: 12px; cursor: pointer; transition: all 0.3s;
}
.distributor-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,255,200,0.25); }
.distributor-cta-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; font-size: 0.9rem; font-weight: 600;
    color: var(--teal); background: transparent;
    border: 1px solid rgba(0,255,200,0.25); border-radius: 12px; cursor: pointer;
    transition: all 0.3s; text-decoration: none;
}
.distributor-cta-secondary:hover { border-color: rgba(0,255,200,0.5); background: rgba(0,255,200,0.04); }
@media (max-width: 768px) { .distributor-grid { grid-template-columns: 1fr; } }

/* ═══ Marvin App Surface Polish: My Sites + Capabilities ═══ */
#surfEcommerce .datacenter-scroll,
#surfCapabilities .datacenter-scroll {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
}

.sites-surface,
#surfCapabilities .capabilities-surface-inner {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

.sites-hero,
#surfCapabilities .capabilities-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 16px;
    background:
        radial-gradient(circle at 12% 8%, rgba(0, 212, 255, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(13, 26, 54, 0.96), rgba(6, 11, 26, 0.82));
}

.sites-hero-icon,
.sites-icon-badge,
.sites-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 212, 255, 0.28);
    background:
        radial-gradient(circle at 35% 20%, rgba(0, 255, 255, 0.2), transparent 42%),
        rgba(0, 212, 255, 0.07);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.12);
}

.sites-hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 28px;
}

.sites-kicker,
#surfCapabilities .capabilities-kicker {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.sites-hero h2,
#surfCapabilities .capabilities-hero h2 {
    margin: 0 0 8px;
    color: var(--text-1);
    font-size: clamp(20px, 2.3vw, 30px);
    line-height: 1.08;
}

.sites-hero p,
#surfCapabilities .capabilities-hero p {
    margin: 0;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.55;
}

.sites-button,
.sites-action {
    border: 1px solid rgba(0, 212, 255, 0.42);
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.08);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sites-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 16px;
    white-space: nowrap;
}

.sites-button.primary {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.18), rgba(0, 88, 255, 0.14));
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.12);
}

.sites-button.secondary {
    padding: 8px 12px;
    font-size: 10px;
}

.sites-action-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.sites-action {
    display: grid;
    gap: 7px;
    align-content: start;
    min-height: 146px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10, 21, 42, 0.82), rgba(6, 11, 26, 0.72));
}

.sites-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 19px;
    margin-bottom: 2px;
}

.sites-action strong {
    color: var(--text-1);
    font-size: 13px;
}

.sites-action span {
    color: var(--text-3);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.sites-section {
    display: grid;
    gap: 10px;
}

.sites-section-title {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.sites-card,
.sites-empty {
    border: 1px solid rgba(0, 212, 255, 0.16);
    background: linear-gradient(180deg, rgba(10, 21, 42, 0.82), rgba(6, 11, 26, 0.72));
    border-radius: 14px;
    padding: 14px;
}

.sites-card {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

.sites-card-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sites-icon-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 14px;
    font-size: 18px;
}

.sites-card-title {
    color: var(--text-1);
    font-weight: 800;
    font-size: 14px;
}

.sites-card-sub,
.sites-empty {
    color: var(--text-3);
    font-size: 12px;
    line-height: 1.5;
}

.sites-card-sub a {
    color: var(--cyan);
    text-decoration: none;
}

#surfCapabilities .capability-grid,
#surfCapabilities .journey-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

#surfCapabilities .section-head {
    border: 1px solid rgba(0, 212, 255, 0.13);
    border-radius: 16px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.045), rgba(255, 255, 255, 0.018));
}

#surfCapabilities .capability-card,
#surfCapabilities .journey-card {
    position: relative;
    grid-column: auto;
    border-radius: 18px;
    border-color: rgba(0, 212, 255, 0.18);
    background:
        linear-gradient(135deg, rgba(18, 38, 68, 0.82), rgba(8, 17, 38, 0.84) 46%, rgba(11, 23, 48, 0.82)),
        radial-gradient(circle at 18% 4%, rgba(0, 212, 255, 0.13), transparent 36%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 44px rgba(0, 0, 0, 0.16);
    padding: 18px;
}

#surfCapabilities .capability-card::before,
#surfCapabilities .journey-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.78), rgba(59, 130, 246, 0.28));
}

#surfCapabilities .capability-card .dc-module-header,
#surfCapabilities .journey-card .dc-module-header {
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 0;
}

#surfCapabilities .capability-card .dc-module-body,
#surfCapabilities .journey-card .dc-module-body {
    padding-top: 0;
    animation: none;
}

#surfCapabilities .capability-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: rgba(234, 252, 255, 0.96);
    background:
        linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(59, 130, 246, 0.12)),
        rgba(5, 16, 36, 0.78);
    box-shadow: 0 0 22px rgba(0, 212, 255, 0.18);
}

#surfCapabilities .capability-card .dc-module-title,
#surfCapabilities .journey-card .dc-module-title {
    color: rgba(64, 231, 255, 0.96);
    font-size: 13px;
    letter-spacing: 1.7px;
    line-height: 1.18;
}

#surfCapabilities .capability-copy {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
    margin: 0 0 16px;
    color: rgba(222, 237, 255, 0.86);
    font-size: 14px;
    line-height: 1.55;
}

#surfCapabilities .capability-card .dc-module-subtitle,
#surfCapabilities .journey-card .dc-module-subtitle {
    display: block;
    color: rgba(156, 185, 222, 0.78);
    font-size: 9px;
    letter-spacing: 0.9px;
    margin-top: 6px;
}

#surfCapabilities .capability-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

#surfCapabilities .capability-chip-row.compact {
    min-height: 30px;
}

#surfCapabilities .capability-chip,
#surfCapabilities .journey-surface-chip {
    border-radius: 999px;
    border: 1px solid rgba(87, 208, 255, 0.24);
    background: rgba(33, 91, 128, 0.30);
    color: rgba(235, 249, 255, 0.94);
    font-size: 11px;
    line-height: 1.32;
    padding: 7px 10px;
    text-shadow: none;
}

#surfCapabilities .playbook-tier {
    border: 1px solid rgba(87, 208, 255, 0.24) !important;
    background: rgba(33, 91, 128, 0.30) !important;
    color: rgba(235, 249, 255, 0.94) !important;
    padding: 7px 10px !important;
}

#surfCapabilities .playbook-tier.active {
    border: 1px solid rgba(0, 212, 255, 0.58) !important;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(59, 130, 246, 0.18)) !important;
    color: #fff !important;
}

#surfCapabilities .capability-actions {
    gap: 10px;
}

#surfCapabilities .capability-actions .dc-btn,
#surfCapabilities .playbook-load {
    border-color: rgba(0, 212, 255, 0.38);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.12), rgba(0, 88, 255, 0.06));
    color: rgba(0, 229, 255, 0.98);
    min-height: 34px;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .sites-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sites-hero,
    #surfCapabilities .capabilities-hero {
        grid-template-columns: 1fr;
    }

    .sites-action-grid,
    #surfCapabilities .capability-grid,
    #surfCapabilities .journey-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .sites-card {
        align-items: stretch;
        flex-direction: column;
    }

    .sites-card-main {
        align-items: flex-start;
    }

    .sites-button {
        width: 100%;
    }
}
