/* ═══════════════════════════════════════════════════
   EDENTRON — CINEMATIC DEEP-SPACE DESIGN SYSTEM v3
   Palette: #0D2060 → #1B5ABA → #3DB8FF
   Aesthetic: deep-space minimalism, neon edges, holographic
   ═══════════════════════════════════════════════════ */

:root {
    /* ── Brand gradient system ── */
    --brand-void:      #020A18;
    --brand-deep:      #060E1E;
    --brand-dark:      #0D2060;
    --brand-primary:   #1B5ABA;
    --brand-accent:    #3DB8FF;
    --brand-highlight: #78D4FF;
    --brand-glow:      #A8E6FF;

    /* ── Surfaces ── */
    --surface-base:    #060E1E;
    --surface-raised:  #0A1525;
    --surface-glass:   rgba(13, 32, 96, 0.4);

    /* ── Glass system ── */
    --glass-fill:      rgba(61, 184, 255, 0.04);
    --glass-border:    rgba(61, 184, 255, 0.12);
    --glass-glow:      rgba(61, 184, 255, 0.28);
    --glass-hot:       rgba(61, 184, 255, 0.45);

    /* ── Neon edge levels ── */
    --neon-dim:  rgba(61, 184, 255, 0.15);
    --neon-mid:  rgba(61, 184, 255, 0.35);
    --neon-hot:  rgba(61, 184, 255, 0.60);
    --neon-max:  rgba(120, 212, 255, 0.90);

    /* ── Text ── */
    --text-primary:   #E8F4FF;
    --text-secondary: #6B9FCC;
    --text-muted:     #3D6A9E;

    /* ── Status ── */
    --status-online:  #00D4A0;
    --status-warning: #FFB547;
    --status-error:   #FF5A7E;

    /* ── Motion easing ── */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-sharp:  cubic-bezier(0.9, 0, 0.1, 1);

    /* ── Gradient definitions ── */
    --grad-primary: linear-gradient(135deg, #0D2060 0%, #1B5ABA 55%, #3DB8FF 100%);
    --grad-accent:  linear-gradient(90deg, #1B5ABA 0%, #3DB8FF 50%, #78D4FF 100%);
    --grad-text:    linear-gradient(135deg, #78D4FF 0%, #3DB8FF 55%, #1B5ABA 100%);
}

/* ── Base ── */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--surface-base);
    color: var(--text-primary);
    margin: 0;
    overflow-x: hidden;
}

/* ── Typography ── */
.mud-typography-h2,
.mud-typography-h3,
.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

/* ── Gradient text ── */
.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--surface-base); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-primary), var(--brand-accent));
    border-radius: 2px;
}

/* ══════════════════════════════════════════════════
   SEMANTIC MOTION LANGUAGE
   idle       → slow gradient drift (8s cycle)
   processing → fast diagonal beam sweep
   success    → outward pulse ring
   error      → inward gradient collapse
   boot       → left-to-right reveal clip
   ══════════════════════════════════════════════════ */

@keyframes idleDrift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes processingBeam {
    0%   { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateX(400%) skewX(-15deg); opacity: 0; }
}

@keyframes successPulse {
    0%   { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.8); opacity: 0; }
}

@keyframes errorCollapse {
    0%   { transform: scale(1); opacity: 1; filter: hue-rotate(0deg); }
    50%  { transform: scale(1.04); filter: hue-rotate(-30deg); }
    100% { transform: scale(0); opacity: 0; }
}

@keyframes scanline {
    0%   { left: -100%; opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

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

@keyframes energyFlow {
    0%   { left: -25%; opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { left: 115%; opacity: 0; }
}

@keyframes particleFlow {
    0%   { left: 0%; opacity: 0; transform: scale(0); }
    10%  { opacity: 1; transform: scale(1); }
    90%  { opacity: 1; transform: scale(1); }
    100% { left: 100%; opacity: 0; transform: scale(0); }
}

@keyframes neonPulse {
    0%   { box-shadow: 0 0 8px rgba(61,184,255,0.18), inset 0 0 8px rgba(61,184,255,0.04); }
    50%  { box-shadow: 0 0 22px rgba(61,184,255,0.35), inset 0 0 14px rgba(61,184,255,0.08); }
    100% { box-shadow: 0 0 8px rgba(61,184,255,0.18), inset 0 0 8px rgba(61,184,255,0.04); }
}

@keyframes waveBar {
    0%, 100% { transform: scaleY(0.28); }
    50%      { transform: scaleY(1); }
}

@keyframes sparklinePulse {
    0%   { opacity: 0.4; }
    50%  { opacity: 1; }
    100% { opacity: 0.4; }
}

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

@keyframes rotateGradient {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.mud-container { animation: fadeIn 0.38s ease-out; }

/* ══════════════════════════════════════════════════
   APPBAR — Glass dark command bar
   ══════════════════════════════════════════════════ */

.mud-appbar {
    background: rgba(2, 8, 20, 0.92) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    border-bottom: 1px solid rgba(61,184,255,0.07) !important;
    box-shadow: 0 4px 32px rgba(0,0,0,0.55), 0 1px 0 rgba(61,184,255,0.05) !important;
}

.mud-appbar .mud-nav-link {
    color: rgba(232,244,255,0.72) !important;
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    transition: color 0.2s !important;
}

.mud-appbar .mud-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--brand-accent);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.22s var(--ease-smooth);
    box-shadow: 0 0 8px var(--brand-accent);
}

.mud-appbar .mud-nav-link:hover { color: var(--brand-accent) !important; }
.mud-appbar .mud-nav-link:hover::after,
.mud-appbar .mud-nav-link.active::after { transform: scaleX(1); }
.mud-appbar .mud-nav-link.active { color: var(--brand-accent) !important; font-weight: 700 !important; }

.mud-nav-link.active {
    color: var(--brand-accent) !important;
    font-weight: 700 !important;
}

/* ══════════════════════════════════════════════════
   HERO — Scanline + mesh + gradient beams
   ══════════════════════════════════════════════════ */

.hero-scanline {
    position: absolute;
    top: 52%;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(61,184,255,0.2) 20%,
        #3DB8FF 45%,
        #78D4FF 50%,
        #3DB8FF 55%,
        rgba(61,184,255,0.2) 80%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(61,184,255,0.9), 0 0 28px rgba(61,184,255,0.5);
    animation: scanline 2s ease-in-out 2.2s 1 forwards;
    pointer-events: none;
    z-index: 0;
    will-change: left;
}

.hero-mesh {
    background-image: radial-gradient(circle, rgba(61,184,255,0.09) 1px, transparent 1px);
    background-size: 36px 36px;
}

.hero-beam-1 {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 65%;
    height: 130%;
    background: linear-gradient(130deg, transparent 30%, rgba(27,90,186,0.07) 50%, transparent 70%);
    background-size: 200% 200%;
    transform: rotate(-15deg);
    animation: idleDrift 14s ease-in-out infinite;
    pointer-events: none;
    will-change: background-position;
}

.hero-beam-2 {
    position: absolute;
    top: -10%;
    right: -20%;
    width: 55%;
    height: 120%;
    background: linear-gradient(130deg, transparent 20%, rgba(61,184,255,0.04) 50%, transparent 80%);
    background-size: 200% 200%;
    transform: rotate(18deg);
    animation: idleDrift 18s ease-in-out 3s infinite reverse;
    pointer-events: none;
    will-change: background-position;
}

/* ══════════════════════════════════════════════════
   STATUS DOT — LIVE indicator
   ══════════════════════════════════════════════════ */

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-online);
    animation: statusBlink 2.2s ease-in-out infinite;
    box-shadow: 0 0 5px var(--status-online);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   CTA BUTTONS — Rotating gradient + neon glow
   ══════════════════════════════════════════════════ */

.cta-primary {
    position: relative !important;
    background: linear-gradient(135deg, #1B5ABA, #3DB8FF, #1B5ABA) !important;
    background-size: 200% 200% !important;
    animation: idleDrift 5s ease infinite !important;
    overflow: hidden !important;
    transition: box-shadow 0.25s, transform 0.18s var(--ease-spring) !important;
}

.cta-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    pointer-events: none;
    transition: left 0.45s;
}

.cta-primary:hover::after { left: 150%; }

.cta-primary:hover {
    box-shadow: 0 0 36px rgba(61,184,255,0.65), 0 8px 28px rgba(0,0,0,0.4) !important;
    transform: translateY(-2px) !important;
}

/* ══════════════════════════════════════════════════
   HOLOGRAPHIC TILE — Service cards
   ══════════════════════════════════════════════════ */

.holo-tile {
    position: relative;
    background: linear-gradient(140deg, rgba(13,32,96,0.55) 0%, rgba(6,14,30,0.85) 100%);
    border: 1px solid var(--neon-dim);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 16px;
    transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s, border-color 0.28s;
    overflow: hidden;
    cursor: pointer;
    animation: neonPulse 5s ease-in-out infinite;
    will-change: transform;
}

.holo-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(61,184,255,0.07), transparent);
    transition: left 0.55s var(--ease-smooth);
    pointer-events: none;
    z-index: 0;
}

.holo-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(61,184,255,0.35) 50%, transparent 90%);
    opacity: 0;
    transition: opacity 0.3s;
}

.holo-tile:hover::before { left: 160%; }
.holo-tile:hover::after  { opacity: 1; }

.holo-tile:hover {
    transform: translateY(-7px) !important;
    border-color: var(--neon-mid) !important;
    box-shadow:
        0 20px 56px rgba(0,0,0,0.65),
        0 0 0 1px rgba(61,184,255,0.18),
        0 0 36px rgba(61,184,255,0.1),
        inset 0 0 28px rgba(61,184,255,0.04) !important;
    animation: none;
}

/* ── Micro-indicators ── */
.micro-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.07em;
    opacity: 0.55;
    transition: opacity 0.22s;
    text-transform: uppercase;
}

.holo-tile:hover .micro-indicator { opacity: 1; }

/* ══════════════════════════════════════════════════
   PIPELINE — How It Works energy flow
   ══════════════════════════════════════════════════ */

.pipeline-beam {
    position: absolute;
    top: 0;
    left: -25%;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #3DB8FF, #78D4FF, transparent);
    animation: energyFlow 2.8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(61,184,255,0.9);
    will-change: left;
}

.pipeline-particle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background: #78D4FF;
    border-radius: 50%;
    box-shadow: 0 0 8px #3DB8FF;
    animation: particleFlow 3.2s ease-in-out infinite;
    will-change: left;
}

/* ══════════════════════════════════════════════════
   WAVEFORM VISUALIZATION — Value/testimonial cards
   ══════════════════════════════════════════════════ */

.waveform-bars {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 26px;
    margin-bottom: 12px;
}

.waveform-bar {
    width: 3px;
    border-radius: 2px;
    background: var(--brand-accent);
    transform-origin: center;
    animation: waveBar 1.3s ease-in-out infinite;
    box-shadow: 0 0 5px rgba(61,184,255,0.45);
    will-change: transform;
}

.waveform-bar:nth-child(1)  { height: 58%; animation-delay: 0.00s; }
.waveform-bar:nth-child(2)  { height: 100%; animation-delay: 0.10s; }
.waveform-bar:nth-child(3)  { height: 42%; animation-delay: 0.20s; }
.waveform-bar:nth-child(4)  { height: 80%; animation-delay: 0.15s; }
.waveform-bar:nth-child(5)  { height: 55%; animation-delay: 0.25s; }
.waveform-bar:nth-child(6)  { height: 92%; animation-delay: 0.05s; }
.waveform-bar:nth-child(7)  { height: 38%; animation-delay: 0.30s; }
.waveform-bar:nth-child(8)  { height: 70%; animation-delay: 0.12s; }
.waveform-bar:nth-child(9)  { height: 48%; animation-delay: 0.22s; }
.waveform-bar:nth-child(10) { height: 86%; animation-delay: 0.08s; }
.waveform-bar:nth-child(11) { height: 33%; animation-delay: 0.18s; }
.waveform-bar:nth-child(12) { height: 64%; animation-delay: 0.28s; }

/* ── Confidence/clarity badge ── */
.confidence-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,212,160,0.08);
    border: 1px solid rgba(0,212,160,0.22);
    border-radius: 20px;
    padding: 3px 11px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--status-online);
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════
   SCI-FI FORMS — Glass inputs + charging submit
   ══════════════════════════════════════════════════ */

.mud-input-outlined .mud-input-outlined-border {
    border-radius: 10px;
    border-color: rgba(61,184,255,0.18) !important;
    background: rgba(6,14,30,0.6);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(61,184,255,0.32) !important;
}

.mud-input-outlined.mud-input-outlined-focus .mud-input-outlined-border {
    border-color: var(--brand-accent) !important;
    box-shadow: 0 0 0 3px rgba(61,184,255,0.1), 0 0 18px rgba(61,184,255,0.07) !important;
    background: rgba(13,32,96,0.45) !important;
}

/* ── Primary button: charging gradient bar ── */
.mud-button-filled-primary {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #1B5ABA 0%, #3DB8FF 100%) !important;
    transition: box-shadow 0.25s, transform 0.18s var(--ease-spring) !important;
}

.mud-button-filled-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
    transition: left 0.42s;
    pointer-events: none;
}

.mud-button-filled-primary:hover::after { left: 100%; }

.mud-button-filled-primary:hover {
    box-shadow: 0 0 30px rgba(61,184,255,0.5), 0 6px 22px rgba(0,0,0,0.35) !important;
    transform: translateY(-1px);
}

/* ── Glass cards (MudCard) ── */
.mud-card {
    background: var(--glass-fill) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    transition: transform 0.26s var(--ease-smooth), box-shadow 0.26s, border-color 0.26s !important;
}

.mud-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-glow) !important;
    box-shadow: 0 14px 44px rgba(0,0,0,0.55), 0 0 26px rgba(61,184,255,0.07) !important;
}

/* ══════════════════════════════════════════════════
   COMMAND CONSOLE FOOTER
   ══════════════════════════════════════════════════ */

@keyframes neonBorderDrift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.command-footer {
    position: relative;
    background: #020810 !important;
    padding: 36px 0 24px;
    margin-top: auto;
    color: #E8F4FF;
}

.command-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #0D2060 10%,
        #1B5ABA 25%,
        #3DB8FF 45%,
        #78D4FF 55%,
        #3DB8FF 70%,
        #1B5ABA 85%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: neonBorderDrift 5s ease-in-out infinite;
    box-shadow: 0 0 16px rgba(61,184,255,0.65), 0 0 32px rgba(61,184,255,0.25);
    will-change: background-position;
}

/* ── Glass pill metrics ── */

.footer-metric-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(13,32,96,0.22);
    border: 1px solid rgba(61,184,255,0.09);
    border-radius: 10px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.22s, background 0.22s;
}

.footer-metric-pill:hover {
    border-color: rgba(61,184,255,0.22);
    background: rgba(13,32,96,0.36);
}

.footer-metric-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
    line-height: 1;
}

.footer-metric-label {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(61,184,255,0.45);
    margin-bottom: 2px;
}

.footer-metric-value {
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #3DB8FF;
    line-height: 1;
}

/* ── Footer nav columns ── */

.footer-col-header {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(61,184,255,0.42);
    margin-bottom: 12px;
}

.footer-link {
    color: #2A4A7A;
    text-decoration: none;
    font-size: 0.84rem;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    display: block;
}

.footer-link:hover {
    color: #3DB8FF;
}

/* ── Sparkline ── */

.sparkline {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 18px;
}

.sparkline-bar {
    width: 3px;
    background: var(--brand-accent);
    border-radius: 1px;
    opacity: 0.6;
    animation: sparklinePulse 2.4s ease-in-out infinite;
    will-change: opacity;
}

.sparkline-bar:nth-child(1)  { height: 38%; animation-delay: 0.00s; }
.sparkline-bar:nth-child(2)  { height: 72%; animation-delay: 0.12s; }
.sparkline-bar:nth-child(3)  { height: 50%; animation-delay: 0.24s; }
.sparkline-bar:nth-child(4)  { height: 88%; animation-delay: 0.36s; }
.sparkline-bar:nth-child(5)  { height: 62%; animation-delay: 0.18s; }
.sparkline-bar:nth-child(6)  { height: 78%; animation-delay: 0.30s; }
.sparkline-bar:nth-child(7)  { height: 44%; animation-delay: 0.06s; }
.sparkline-bar:nth-child(8)  { height: 58%; animation-delay: 0.42s; }

/* Legacy aliases (kept for backward compat) */
.console-metric-label { font-family: 'Space Grotesk', monospace; color: var(--text-muted); text-transform: uppercase; font-size: 0.62rem; letter-spacing: 0.11em; }
.console-metric-value { font-family: 'Space Grotesk', monospace; color: var(--brand-accent); font-weight: 700; font-size: 1.05rem; }

/* ═══════════════════════════════════════════════
   SECTION ACCENT LINE
   ═══════════════════════════════════════════════ */

.section-accent {
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, #1B5ABA, #3DB8FF);
    border-radius: 2px;
    margin-bottom: 16px;
    box-shadow: 0 0 12px rgba(61,184,255,0.55);
}

/* ══════════════════════════════════════════════════
   STATUS BADGES
   ══════════════════════════════════════════════════ */

.status-active    { color: var(--status-online);  font-weight: 600; }
.status-cancelled { color: var(--status-error);   font-weight: 600; }
.status-past_due  { color: var(--status-warning); font-weight: 600; }

/* ── Chips ── */
.mud-chip.mud-chip-filled { font-weight: 600; }

/* ══════════════════════════════════════════════════
   PRICING RIBBON
   ══════════════════════════════════════════════════ */

.popular-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1;
    box-shadow: 0 2px 12px rgba(61,184,255,0.4);
}

/* ══════════════════════════════════════════════════
   DASHBOARD SIDEBAR
   ══════════════════════════════════════════════════ */

.dashboard-nav .mud-nav-link {
    color: rgba(232,244,255,0.6) !important;
    border-radius: 8px !important;
    margin-bottom: 2px;
    font-size: 0.875rem;
    transition: background 0.15s, color 0.15s, border-color 0.15s !important;
    border: 1px solid transparent;
}

.dashboard-nav .mud-nav-link:hover {
    background: rgba(61,184,255,0.08) !important;
    color: var(--brand-accent) !important;
    border-color: rgba(61,184,255,0.15) !important;
}

.dashboard-nav .mud-nav-link.active,
.dashboard-nav .mud-nav-link.mud-nav-link-active {
    background: rgba(61,184,255,0.12) !important;
    color: var(--brand-accent) !important;
    font-weight: 600 !important;
    border-color: rgba(61,184,255,0.25) !important;
    box-shadow: inset 0 0 12px rgba(61,184,255,0.05);
}

.dashboard-nav .mud-icon-root { color: inherit !important; }
.dashboard-nav .logout-link   { color: rgba(232,244,255,0.4) !important; }

.dashboard-nav .logout-link:hover {
    background: rgba(255,90,126,0.08) !important;
    color: #FF5A7E !important;
    border-color: rgba(255,90,126,0.2) !important;
}

/* ── Dashboard mobile bar ── */
.dashboard-mobile-bar { display: none !important; }

@media (max-width: 959px) {
    .dashboard-mobile-bar { display: flex !important; }
}

/* ── Footer link hover ── */
footer a { transition: color 0.2s; }
footer a:hover { color: var(--brand-accent) !important; }

/* ══════════════════════════════════════════════════
   PRODUCT GRID — Category filter pills
   ══════════════════════════════════════════════════ */

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(61,184,255,0.18);
    background: rgba(13,32,96,0.28);
    color: rgba(232,244,255,0.58);
    font-size: 0.78rem;
    font-weight: 500;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: border-color 0.2s var(--ease-smooth), color 0.2s, background 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(8px);
    user-select: none;
}

.filter-pill:hover {
    border-color: rgba(61,184,255,0.38);
    color: #78D4FF;
    background: rgba(13,32,96,0.45);
}

.filter-pill.active {
    border-color: rgba(61,184,255,0.48);
    background: linear-gradient(135deg, rgba(27,90,186,0.38), rgba(61,184,255,0.12));
    color: #78D4FF;
    box-shadow: 0 0 14px rgba(61,184,255,0.18), inset 0 0 8px rgba(61,184,255,0.05);
}

/* ══════════════════════════════════════════════════
   PRODUCT STATUS BADGES
   ══════════════════════════════════════════════════ */

.status-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,212,160,0.07);
    border: 1px solid rgba(0,212,160,0.22);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.63rem;
    font-weight: 700;
    color: #00D4A0;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.status-badge-deploying {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,181,71,0.07);
    border: 1px solid rgba(255,181,71,0.2);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.63rem;
    font-weight: 700;
    color: #FFB547;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.deploying-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #FFB547;
    animation: statusBlink 1.6s ease-in-out infinite;
    box-shadow: 0 0 4px #FFB547;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   SOLUTION PANELS — Cinematic scenario cards
   ══════════════════════════════════════════════════ */

@keyframes solutionFadeIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.solution-panel {
    position: relative;
    background: linear-gradient(148deg, rgba(13,32,96,0.42) 0%, rgba(6,14,30,0.82) 100%);
    border: 1px solid rgba(61,184,255,0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s, border-color 0.28s;
    height: 100%;
    animation: solutionFadeIn 0.5s ease-out both;
}

.solution-panel::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -15%;
    width: 75%;
    height: 180%;
    background: linear-gradient(138deg, transparent 35%, rgba(27,90,186,0.07) 55%, transparent 75%);
    transform: rotate(-18deg);
    pointer-events: none;
    transition: opacity 0.35s;
    opacity: 0.8;
}

.solution-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(61,184,255,0.35) 50%, transparent 95%);
    opacity: 0;
    transition: opacity 0.3s;
}

.solution-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(61,184,255,0.25) !important;
    box-shadow:
        0 18px 52px rgba(0,0,0,0.62),
        0 0 30px rgba(61,184,255,0.07) !important;
}

.solution-panel:hover::after { opacity: 1; }
.solution-panel:hover::before { opacity: 1.4; }

.solution-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 4px;
    border: 1px solid rgba(61,184,255,0.18);
    background: rgba(61,184,255,0.04);
    color: rgba(61,184,255,0.68);
    font-size: 0.68rem;
    font-weight: 600;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.06em;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.solution-panel:hover .solution-tag {
    border-color: rgba(61,184,255,0.32);
    color: #3DB8FF;
    background: rgba(61,184,255,0.08);
}

.solution-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(61,184,255,0.7);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 8px 14px;
    border: 1px solid rgba(61,184,255,0.16);
    border-radius: 8px;
    background: rgba(61,184,255,0.04);
    transition: color 0.2s, border-color 0.2s, background 0.2s, gap 0.2s;
}

.solution-cta-link:hover {
    color: #78D4FF;
    border-color: rgba(61,184,255,0.35);
    background: rgba(61,184,255,0.08);
    gap: 12px;
}

/* ══════════════════════════════════════════════════
   PRICING TIER MODULES — Floating glass modules
   ══════════════════════════════════════════════════ */

@keyframes tierPulse {
    0%   {
        box-shadow: 0 0 0 0 rgba(61,184,255,0.35),
                    0 12px 48px rgba(0,0,0,0.55);
    }
    50%  {
        box-shadow: 0 0 0 5px rgba(61,184,255,0.08),
                    0 12px 48px rgba(0,0,0,0.55),
                    0 0 48px rgba(61,184,255,0.14);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(61,184,255,0.35),
                    0 12px 48px rgba(0,0,0,0.55);
    }
}

.tier-module {
    position: relative;
    background: linear-gradient(148deg, rgba(10,21,37,0.88) 0%, rgba(6,14,30,0.96) 100%);
    border: 1px solid rgba(61,184,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s, border-color 0.28s;
    height: 100%;
    overflow: visible;
}

.tier-module:hover {
    transform: translateY(-7px);
    border-color: rgba(61,184,255,0.28) !important;
    box-shadow: 0 22px 60px rgba(0,0,0,0.68), 0 0 36px rgba(61,184,255,0.09) !important;
}

.tier-module-recommended {
    border: 2px solid rgba(61,184,255,0.42) !important;
    background: linear-gradient(148deg, rgba(13,32,96,0.48) 0%, rgba(6,14,30,0.9) 100%) !important;
    animation: tierPulse 3.8s ease-in-out infinite;
}

.tier-module-recommended:hover {
    animation: none;
    transform: translateY(-8px);
    border-color: rgba(61,184,255,0.6) !important;
    box-shadow: 0 24px 64px rgba(0,0,0,0.72), 0 0 52px rgba(61,184,255,0.18) !important;
}

.tier-price-value {
    font-family: 'Space Grotesk', monospace;
    font-size: 2.9rem;
    font-weight: 800;
    color: #3DB8FF;
    line-height: 1;
    letter-spacing: -0.03em;
    display: inline-block;
}

.tier-price-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(61,184,255,0.04);
}

.tier-feature-row:last-child { border-bottom: none; }

.tier-check-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0,212,160,0.08);
    border: 1px solid rgba(0,212,160,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Billing toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(6,14,30,0.8);
    border: 1px solid rgba(61,184,255,0.12);
    border-radius: 10px;
    padding: 4px;
    backdrop-filter: blur(14px);
}

.billing-option {
    cursor: pointer;
    padding: 9px 26px;
    border-radius: 7px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: all 0.22s var(--ease-smooth);
    user-select: none;
    color: rgba(232,244,255,0.4);
}

.billing-option.active {
    background: linear-gradient(135deg, #1B5ABA, #3DB8FF);
    color: #fff;
    box-shadow: 0 2px 14px rgba(61,184,255,0.38);
}

/* ══════════════════════════════════════════════════
   AUTH SCREENS — Cinematic glass portal panels
   ══════════════════════════════════════════════════ */

.auth-bg {
    min-height: calc(100vh - 64px);
    background: linear-gradient(160deg, #020A18 0%, #0A1A3E 40%, #0D2060 68%, #0A1A3E 100%);
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.auth-card {
    background: linear-gradient(148deg, rgba(10,21,37,0.9) 0%, rgba(6,14,30,0.96) 100%);
    border: 1px solid rgba(61,184,255,0.12);
    border-radius: 20px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    overflow: hidden;
    box-shadow:
        0 20px 70px rgba(0,0,0,0.75),
        0 0 100px rgba(13,32,96,0.3),
        inset 0 0 60px rgba(13,32,96,0.15);
}

.auth-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(27,90,186,0.5), rgba(61,184,255,0.16));
    border: 1px solid rgba(61,184,255,0.24);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(61,184,255,0.14), inset 0 0 10px rgba(61,184,255,0.07);
}

/* ══════════════════════════════════════════════════
   CONTACT — Glass contact info items
   ══════════════════════════════════════════════════ */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(13,32,96,0.22);
    border: 1px solid rgba(61,184,255,0.09);
    border-radius: 12px;
    transition: border-color 0.2s, background 0.2s;
}

.contact-item:hover {
    border-color: rgba(61,184,255,0.22);
    background: rgba(13,32,96,0.35);
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(61,184,255,0.07);
    border: 1px solid rgba(61,184,255,0.16);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ══════════════════════════════════════════════════
   DASHBOARD — Sidebar system enhancements
   ══════════════════════════════════════════════════ */

.dashboard-sidebar-header {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(61,184,255,0.07);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13,32,96,0.25) 0%, transparent 100%);
}

.dashboard-sidebar-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(61,184,255,0.28), transparent);
}

.dashboard-user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(61,184,255,0.04);
    border: 1px solid rgba(61,184,255,0.08);
    border-radius: 10px;
    transition: border-color 0.2s, background 0.2s;
}

.dashboard-user-chip:hover {
    border-color: rgba(61,184,255,0.16);
    background: rgba(61,184,255,0.07);
}

/* ══════════════════════════════════════════════════
   PRODUCTS — Enhanced holographic product tiles
   ══════════════════════════════════════════════════ */

@keyframes electricPulse {
    0%   { box-shadow: inset 0 0 0 1px rgba(61,184,255,0); }
    40%  { box-shadow: inset 0 0 0 2px rgba(61,184,255,0.55), 0 0 28px rgba(61,184,255,0.25); }
    100% { box-shadow: inset 0 0 0 1px rgba(61,184,255,0); }
}

.product-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(61,184,255,0.05);
    border: 1px solid rgba(61,184,255,0.1);
    border-radius: 6px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    color: rgba(61,184,255,0.65);
    text-transform: uppercase;
}

.product-tile-wrap {
    perspective: 1200px;
    height: 100%;
}

.product-tile {
    position: relative;
    background: linear-gradient(148deg, rgba(10,21,37,0.88) 0%, rgba(6,14,30,0.95) 100%);
    border: 1px solid rgba(61,184,255,0.12);
    border-radius: 18px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: default;
    transition: transform 0.34s cubic-bezier(0.34,1.56,0.64,1), border-color 0.28s, box-shadow 0.28s;
    box-shadow:
        0 8px 36px rgba(0,0,0,0.6),
        0 0 14px rgba(61,184,255,0.06),
        inset 0 0 24px rgba(13,32,96,0.12);
    animation: neonPulse 6s ease-in-out infinite;
    will-change: transform;
    transform-origin: center bottom;
}

.product-tile-dim {
    opacity: 0.82;
}

/* Diagonal beam sweep on idle */
.product-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(61,184,255,0.055), transparent);
    transition: left 0.6s var(--ease-smooth);
    pointer-events: none;
    z-index: 0;
}

.product-tile:hover {
    transform: translateY(-8px) rotateX(-2deg);
    border-color: rgba(61,184,255,0.3);
    box-shadow:
        0 28px 72px rgba(0,0,0,0.75),
        0 0 0 1px rgba(61,184,255,0.18),
        0 0 52px rgba(61,184,255,0.1),
        inset 0 0 40px rgba(13,32,96,0.2);
    animation: none;
    opacity: 1 !important;
}

.product-tile:hover::before { left: 160%; }

/* Electric pulse overlay on hover */
.product-tile-pulse {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    z-index: 0;
}

.product-tile:hover .product-tile-pulse {
    animation: electricPulse 1s ease-out 1;
}

/* Metric chip */
.product-metric {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(61,184,255,0.05);
    border: 1px solid rgba(61,184,255,0.1);
    border-radius: 5px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(61,184,255,0.62);
    transition: border-color 0.2s, color 0.2s;
}

.product-tile:hover .product-metric {
    border-color: rgba(61,184,255,0.22);
    color: rgba(61,184,255,0.9);
}

/* Live uptime dot */
.uptime-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #00D4A0;
    box-shadow: 0 0 4px #00D4A0;
    flex-shrink: 0;
    animation: statusBlink 2s ease-in-out infinite;
}

/* Icon container with angular geometry */
.product-icon-gem {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(27,90,186,0.6), rgba(61,184,255,0.18));
    border: 1px solid rgba(61,184,255,0.24);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(61,184,255,0.18), inset 0 0 14px rgba(61,184,255,0.08);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.28s, border-color 0.28s;
}

.product-tile:hover .product-icon-gem {
    border-color: rgba(61,184,255,0.48);
    box-shadow: 0 4px 28px rgba(61,184,255,0.32), inset 0 0 18px rgba(61,184,255,0.14);
}

/* Corner geometry shard inside icon */
.product-icon-gem::after {
    content: '';
    position: absolute;
    bottom: -7px;
    right: -7px;
    width: 22px;
    height: 22px;
    background: rgba(61,184,255,0.1);
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
}

/* ══════════════════════════════════════════════════
   COOKIE CONSENT — Holographic control panel
   ══════════════════════════════════════════════════ */

@keyframes cookieEnter {
    0%   { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}

@keyframes cookieExit {
    0%   { transform: translateY(0);    opacity: 1; }
    100% { transform: translateY(28px); opacity: 0; }
}

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

@keyframes cookieStagger {
    0%   { opacity: 0; transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0);   }
}

/* Outer wrapper — centers the panel, holds the ambient glow */
.cookie-wrap {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: min(720px, calc(100vw - 32px));
}

/* Ambient radial bloom behind the panel */
.cookie-wrap::before {
    content: '';
    position: absolute;
    inset: -28px -22px;
    background: radial-gradient(
        ellipse at 50% 85%,
        rgba(0, 240, 255, 0.09)   0%,
        rgba(164, 124, 255, 0.07) 45%,
        transparent 70%
    );
    filter: blur(42px);
    pointer-events: none;
    animation: cookieGlow 4s ease-in-out infinite;
    will-change: opacity;
}

/* Glass panel */
.cookie-banner {
    position: relative;
    background: rgba(8, 12, 26, 0.78);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 14px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow:
        0 10px 52px rgba(0, 0, 0, 0.78),
        0 0 0 1px rgba(164, 124, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 0 80px rgba(0, 240, 255, 0.04);
    overflow: hidden;
    animation: cookieEnter 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform, opacity;
}

.cookie-banner--exit {
    animation: cookieExit 155ms ease-in both !important;
}

/* Teal → violet neon top edge */
.cookie-neon-edge {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent               0%,
        rgba(0, 240, 255, 0.55)  25%,
        rgba(164, 124, 255, 0.85) 62%,
        rgba(0, 240, 255, 0.28)  85%,
        transparent              100%
    );
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.5), 0 0 28px rgba(164, 124, 255, 0.25);
}

/* Content flex row */
.cookie-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    flex-wrap: wrap;
}

/* Shield icon container */
.cookie-icon-gem {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: rgba(0, 240, 255, 0.07);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.14), inset 0 0 8px rgba(0, 240, 255, 0.05);
    animation: cookieStagger 240ms cubic-bezier(0.16, 1, 0.3, 1) 0ms both;
}

/* Text column */
.cookie-text-block {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cookie-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    background: linear-gradient(135deg, #00F0FF 0%, #A47CFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cookieStagger 240ms cubic-bezier(0.16, 1, 0.3, 1) 40ms both;
}

.cookie-body {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(180, 200, 230, 0.62);
    letter-spacing: 0.015em;
    line-height: 1.5;
    animation: cookieStagger 240ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}

/* Action buttons row */
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    animation: cookieStagger 240ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

/* "Privacy policy" link */
.cookie-learn {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(0, 240, 255, 0.4);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.15s;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.cookie-learn:hover {
    color: #00F0FF;
    text-decoration: underline;
    text-decoration-color: rgba(0, 240, 255, 0.35);
}

/* "Got it" — gradient border button */
.cookie-cta {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    padding: 7px 18px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #E8F4FF;
    white-space: nowrap;
    /* Gradient border via background-clip trick */
    background:
        linear-gradient(rgba(8, 12, 26, 0.9), rgba(8, 12, 26, 0.9)) padding-box,
        linear-gradient(135deg, #00F0FF, #A47CFF) border-box;
    border: 1.5px solid transparent;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.1), inset 0 0 8px rgba(0, 240, 255, 0.04);
    transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s;
}

.cookie-cta:hover {
    transform: scale(1.025);
    box-shadow:
        0 0 22px rgba(0, 240, 255, 0.30),
        0 0 10px rgba(164, 124, 255, 0.22),
        inset 0 0 12px rgba(0, 240, 255, 0.07);
}

.cookie-cta:active {
    transform: scale(0.975);
    transition-duration: 80ms;
}

/* Mobile: stack content vertically */
@media (max-width: 580px) {
    .cookie-content  { flex-direction: column; align-items: flex-start; gap: 10px; }
    .cookie-actions  { width: 100%; justify-content: space-between; }
    .cookie-cta      { flex: 1; text-align: center; }
}

/* ══════════════════════════════════════════════════
   BACKGROUND ENERGY — Reusable cinematic backdrop
   ══════════════════════════════════════════════════ */

/* Slow deep-space gradient drift (28s, GPU: background-position) */
@keyframes gradientDrift {
    0%   { background-position:  0%  50%; }
    33%  { background-position: 100% 30%; }
    66%  { background-position:  50% 100%;}
    100% { background-position:  0%  50%; }
}

/* Micro-particle drift: upper-right (Edentron arrow direction) */
@keyframes particleDrift {
    0%   { transform: translate( 0px,   0px) scale(0.6); opacity: 0;   }
    8%   {                                                opacity: 0.55; }
    88%  {                                                opacity: 0.3;  }
    100% { transform: translate(28px, -14px) scale(1.3); opacity: 0;   }
}

/* Arrow-direction glow pulse */
@keyframes arrowPulse {
    0%   { transform: translate(  0px,   0px); opacity: 0.12; }
    50%  { transform: translate( 22px, -11px); opacity: 0.05; }
    100% { transform: translate(  0px,   0px); opacity: 0.12; }
}

/* Container — absolutely covers parent; parent needs position:relative; overflow:hidden */
.bg-energy {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Animated gradient base (hero variant only).
   Replaces the static inline background:linear-gradient(160deg,...) on hero sections. */
.bg-energy-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        #020A18  0%,
        #071428 18%,
        #0A1A3E 40%,
        #0D2060 62%,
        #0A1A3E 82%,
        #020A18 100%
    );
    background-size: 200% 200%;
    animation: gradientDrift 28s ease-in-out infinite;
    will-change: background-position;
}

/* Mesh inherits position from parent .bg-energy */
.bg-energy-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Individual geometry shard — position set via inline style */
.bg-energy-shard {
    position: absolute;
    pointer-events: none;
}

/* Micro-particle dot */
.bg-energy-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(61, 184, 255, 0.48);
    box-shadow: 0 0 5px rgba(61, 184, 255, 0.65);
    animation: particleDrift 22s ease-in-out infinite;
    will-change: transform, opacity;
}

/* Radial glow that drifts in the Edentron arrow direction */
.bg-energy-arrow-pulse {
    position: absolute;
    top: 35%;
    left: 25%;
    width: 260px;
    height: 130px;
    background: radial-gradient(
        ellipse at 35% 50%,
        rgba(61, 184, 255, 0.07) 0%,
        transparent 70%
    );
    animation: arrowPulse 14s ease-in-out infinite;
    will-change: transform, opacity;
}

/* 1px neon horizon line at the very top of the containing section */
.bg-energy-horizon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent      0%,
        rgba(27,90,186,0.32)  20%,
        rgba(61,184,255,0.58) 50%,
        rgba(27,90,186,0.32)  80%,
        transparent      100%
    );
    box-shadow: 0 0 10px rgba(61, 184, 255, 0.28);
}

/* ══════════════════════════════════════════════════
   @media: reduced-motion accessibility
   ══════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .hero-scanline,
    .hero-beam-1,
    .hero-beam-2,
    .pipeline-beam,
    .pipeline-particle,
    .indicator-dot,
    .deploying-dot,
    .waveform-bar,
    .sparkline-bar,
    .cta-primary,
    .holo-tile,
    .product-tile,
    .uptime-dot {
        animation: none !important;
        transition: none !important;
    }
    .tier-module-recommended {
        animation: none !important;
        box-shadow: 0 0 0 2px rgba(61,184,255,0.42) !important;
    }
    .product-tile:hover .product-tile-pulse {
        animation: none !important;
    }
    .command-footer::before {
        animation: none !important;
        background-position: 50% 50% !important;
    }
    .bg-energy-gradient {
        animation: none !important;
        background-position: 50% 50% !important;
    }
    .bg-energy-particle,
    .bg-energy-arrow-pulse {
        animation: none !important;
        opacity: 0 !important;
    }
    .boot-overlay { display: none !important; }
    .preboot-line  { opacity: 1 !important; animation: none !important; }
}

/* ══════════════════════════════════════════════════
   EXTENDED TOKEN SET v4
   ══════════════════════════════════════════════════ */

:root {
    /* Holographic accent trio */
    --holo-teal:   #00F0FF;
    --holo-violet: #A47CFF;
    --holo-amber:  #FFB547;

    /* Extended depth names */
    --depth-void:  #010610;
    --depth-space: #020A18;
    --depth-deep:  #060E1E;
    --depth-field: #0A1525;

    /* Blur scale */
    --blur-xs:  blur(8px);
    --blur-sm:  blur(12px);
    --blur-md:  blur(20px) saturate(160%);
    --blur-lg:  blur(28px) saturate(200%);
    --blur-xl:  blur(36px) saturate(240%);

    /* Holographic gradient */
    --grad-holo: linear-gradient(135deg, #00F0FF 0%, #A47CFF 100%);
}

/* ══════════════════════════════════════════════════
   BOOT OVERLAY — CSS-only OS activation sequence
   ══════════════════════════════════════════════════ */

@keyframes bootOverlayExit {
    0%   { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden;  }
}

@keyframes bootLineIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

.boot-overlay {
    position: fixed;
    inset: 0;
    background: var(--depth-void);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10vw;
    animation: bootOverlayExit 400ms ease-in 1700ms forwards;
    pointer-events: none;
}

.boot-line {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    color: #3DB8FF;
    opacity: 0;
    margin-bottom: 9px;
    animation: bootLineIn 160ms ease-out var(--line-delay, 0ms) forwards;
    will-change: opacity, transform;
}

.boot-line--ready { color: var(--status-online); }

/* ══════════════════════════════════════════════════
   GLASS TIER SYSTEM
   ══════════════════════════════════════════════════ */

.glass-t1 {
    background: rgba(6,14,30,0.55);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(61,184,255,0.08);
}

.glass-t2 {
    background: rgba(8,14,30,0.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(61,184,255,0.13);
    box-shadow: 0 8px 36px rgba(0,0,0,0.6),
                inset 0 1px 0 rgba(255,255,255,0.035);
}

.glass-t3 {
    background: rgba(10,21,37,0.88);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(61,184,255,0.18);
    box-shadow: 0 20px 70px rgba(0,0,0,0.75),
                0 0 100px rgba(13,32,96,0.3),
                inset 0 0 60px rgba(13,32,96,0.15),
                inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ══════════════════════════════════════════════════
   SYSTEM STATUS BAR — below navbar
   ══════════════════════════════════════════════════ */

.sys-status-bar {
    background: rgba(2,6,16,0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(61,184,255,0.06);
    padding: 6px 0;
    position: relative;
    z-index: 2;
}

.sys-status-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(61,184,255,0.42);
    padding: 0 16px;
    border-right: 1px solid rgba(61,184,255,0.1);
}

.sys-status-item:last-child { border-right: none; }

/* ══════════════════════════════════════════════════
   SYS BADGE — inline OS-style pill
   ══════════════════════════════════════════════════ */

.sys-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    border-radius: 6px;
    border: 1px solid rgba(61,184,255,0.22);
    background: rgba(61,184,255,0.05);
    color: #3DB8FF;
}

/* ══════════════════════════════════════════════════
   CORNER FRAME — precision bracket decoration
   ══════════════════════════════════════════════════ */

.corner-frame { position: relative; }

.corner-frame::before,
.corner-frame::after,
.corner-frame > .corner-bl,
.corner-frame > .corner-tr {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.corner-frame::before {
    top: -1px; left: -1px;
    border-top:  2px solid rgba(61,184,255,0.45);
    border-left: 2px solid rgba(61,184,255,0.45);
}

.corner-frame::after {
    bottom: -1px; right: -1px;
    border-bottom: 2px solid rgba(61,184,255,0.45);
    border-right:  2px solid rgba(61,184,255,0.45);
}

/* ══════════════════════════════════════════════════
   SECTION CHROME — left-bar section header
   ══════════════════════════════════════════════════ */

.section-chrome {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.section-chrome::before {
    content: '';
    width: 3px;
    height: 32px;
    background: linear-gradient(180deg, #3DB8FF, #1B5ABA);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(61,184,255,0.55);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   AMBIENT BLOOM — depth glow behind cards
   ══════════════════════════════════════════════════ */

.bloom {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.bloom-teal   { background: rgba(61,184,255,0.12); }
.bloom-violet { background: rgba(164,124,255,0.08); }
.bloom-amber  { background: rgba(255,181,71,0.08); }

.holo-tile:hover  > .bloom,
.glass-t2:hover   > .bloom { opacity: 1; }

/* ══════════════════════════════════════════════════
   COUNT-UP — gradient tabular numbers
   ══════════════════════════════════════════════════ */

.count-up {
    font-family: 'Space Grotesk', monospace;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════════════
   TERMINAL ROW — monospace data rows
   ══════════════════════════════════════════════════ */

.terminal-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.78rem;
    color: rgba(61,184,255,0.65);
    padding: 7px 0 7px 14px;
    border-left: 2px solid rgba(61,184,255,0.18);
    border-bottom: 1px solid rgba(61,184,255,0.04);
    transition: border-left-color 0.2s, color 0.2s;
}

.terminal-row:last-child { border-bottom: none; }
.terminal-row:hover { border-left-color: rgba(61,184,255,0.5); color: #78D4FF; }

.terminal-row::before {
    content: '>';
    color: rgba(61,184,255,0.28);
    flex-shrink: 0;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════
   PRE-IGNITION CHECKLIST — CTA activation sequence
   ══════════════════════════════════════════════════ */

@keyframes prebootIn {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}

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

.preboot-line {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: rgba(61,184,255,0.5);
    margin-bottom: 5px;
    opacity: 0;
    animation: prebootIn 200ms ease-out var(--boot-d, 0ms) forwards;
}

.preboot-line--active {
    color: var(--status-online);
    animation: prebootIn 200ms ease-out var(--boot-d, 0ms) forwards;
}

.preboot-cursor {
    display: inline-block;
    animation: prebootCursorBlink 1.1s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════
   MODULE BAY CHROME — section header strip
   ══════════════════════════════════════════════════ */

.bay-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(61,184,255,0.06);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(61,184,255,0.28);
}

/* ══════════════════════════════════════════════════
   TERMINAL PROMPT — footer cursor line
   ══════════════════════════════════════════════════ */

.terminal-prompt {
    font-family: 'Space Grotesk', 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(61,184,255,0.32);
    letter-spacing: 0.06em;
}

.terminal-cursor {
    display: inline-block;
    width: 7px;
    height: 13px;
    background: rgba(61,184,255,0.45);
    border-radius: 1px;
    margin-left: 2px;
    vertical-align: middle;
    animation: statusBlink 1.1s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════
   SERVICE REGISTRY — footer status column
   ══════════════════════════════════════════════════ */

.service-registry-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(61,184,255,0.04);
    font-family: 'Space Grotesk', monospace;
}

.service-registry-row:last-child { border-bottom: none; }

/* ══════════════════════════════════════════════════
   STEP CONNECTOR — pipeline sequence labels
   ══════════════════════════════════════════════════ */

.pipeline-seq-label {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    color: rgba(61,184,255,0.2);
    text-align: center;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.step-code-tag {
    display: inline-block;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    color: rgba(61,184,255,0.35);
    border: 1px solid rgba(61,184,255,0.12);
    border-radius: 4px;
    padding: 2px 8px;
    margin-top: 8px;
    background: rgba(61,184,255,0.03);
}
