/* @property for animated gradient borders */
@property --border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

/* ============================================
   DIGITALZOO.AI — Design System
   Inspired by dark space/cosmic aesthetic
   ============================================ */

/* ── CSS Variables ── */
:root {
    /* Backgrounds */
    --bg-primary: #050510;
    --bg-secondary: #080818;
    --bg-card: rgba(10, 10, 30, 0.8);
    --bg-card-hover: rgba(18, 28, 50, 0.8);
    --bg-card-border: rgba(0, 204, 255, 0.1);

    /* Accent Colors */
    --teal: #00ccff;
    --teal-dim: rgba(0, 204, 255, 0.15);
    --blue: #7733ff;
    --blue-dim: rgba(119, 51, 255, 0.15);
    --purple: #ff33aa;
    --purple-dim: rgba(255, 51, 170, 0.15);
    --orange: #ff5544;
    --orange-dim: rgba(255, 85, 68, 0.15);

    /* Text — brighter for better contrast on dark backgrounds */
    --text-primary: #f0f4ff;
    --text-secondary: rgba(220, 230, 245, 0.8);
    --text-muted: rgba(200, 215, 235, 0.5);

    /* Layout — viewport-responsive, fills screen on large monitors */
    --container-max: min(1400px, 90vw);
    --section-padding: 120px;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-xs: 6px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Scroll Reveal Animations ── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

.animate-in[data-delay="100"] { animation-delay: 0.1s; }
.animate-in[data-delay="200"] { animation-delay: 0.2s; }
.animate-in[data-delay="300"] { animation-delay: 0.3s; }
.animate-in[data-delay="400"] { animation-delay: 0.4s; }
.animate-in[data-delay="500"] { animation-delay: 0.5s; }

/* ── Gradient Text ── */
.gradient-text {
    background: linear-gradient(135deg, #00ccff, #ff33aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 204, 255, 0.06);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-dot {
    color: var(--teal);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #00ccff, #7733ff);
    color: #050510;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(0, 204, 255, 0.3);
    filter: brightness(1.1);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    padding-bottom: 40px;
    overflow: hidden;
    background: url('assets/hero-bg.jpg') center top / cover no-repeat;
}

.hero-bg-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 16, 0.2) 0%,
        rgba(5, 5, 16, 0.4) 30%,
        rgba(5, 5, 16, 0.7) 60%,
        rgba(5, 5, 16, 0.95) 80%,
        #050510 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* ── SPOTLIGHT BEAMS FROM TOP-LEFT OF BROWSER ──
   These are FULL hero-section overlays that originate from the very
   top-left corner (0,0) and fan outward diagonally toward the
   dashboard. They start narrow at the source and spread wide.
   Multiple beams at different angles + timing = cloud-filtered light */

/* Beam 1 — primary bright ray, narrow at origin, wide at target */
.spotlight-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(100, 170, 255, 0.30) 0%,
        rgba(70, 140, 255, 0.15) 10%,
        rgba(40, 110, 255, 0.08) 25%,
        rgba(20, 80, 255, 0.03) 40%,
        transparent 55%
    );
    animation: beam1Move 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Beam 2 — secondary ray, slightly different angle */
.spotlight-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        140deg,
        rgba(80, 150, 255, 0.20) 0%,
        rgba(50, 120, 255, 0.10) 12%,
        rgba(30, 90, 255, 0.05) 28%,
        transparent 48%
    );
    animation: beam2Move 11s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Beam 3 via pseudo-element — thinner, faster, creates flicker */
.spotlight-rays::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        128deg,
        rgba(120, 180, 255, 0.18) 0%,
        rgba(60, 130, 255, 0.08) 8%,
        rgba(30, 100, 255, 0.03) 20%,
        transparent 38%
    );
    animation: beam3Move 9s ease-in-out infinite;
}

/* Beam 4 via pseudo-element — widest spread */
.spotlight-beam::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        148deg,
        rgba(60, 120, 255, 0.12) 0%,
        rgba(40, 100, 255, 0.06) 15%,
        rgba(20, 70, 200, 0.02) 35%,
        transparent 50%
    );
    animation: beam4Move 14s ease-in-out infinite;
}

/* Ambient glow wash from top-left corner */
.spotlight-rays::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(
        ellipse at 0% 0%,
        rgba(80, 140, 255, 0.15) 0%,
        rgba(40, 100, 255, 0.06) 40%,
        transparent 70%
    );
    animation: ambientGlow 6s ease-in-out infinite;
}

/* Each beam drifts independently — like light through moving clouds */
@keyframes beam1Move {
    0%   { opacity: 0.4; transform: rotate(0deg); }
    25%  { opacity: 1.0; transform: rotate(0.5deg); }
    50%  { opacity: 0.5; transform: rotate(-0.3deg); }
    75%  { opacity: 0.8; transform: rotate(0.2deg); }
    100% { opacity: 0.4; transform: rotate(0deg); }
}

@keyframes beam2Move {
    0%   { opacity: 0.3; transform: rotate(0deg); }
    30%  { opacity: 0.7; transform: rotate(-0.4deg); }
    60%  { opacity: 0.2; transform: rotate(0.3deg); }
    85%  { opacity: 0.6; transform: rotate(-0.2deg); }
    100% { opacity: 0.3; transform: rotate(0deg); }
}

@keyframes beam3Move {
    0%   { opacity: 0.2; transform: rotate(0deg); }
    20%  { opacity: 0.6; transform: rotate(0.3deg); }
    45%  { opacity: 0.1; transform: rotate(-0.2deg); }
    70%  { opacity: 0.8; transform: rotate(0.4deg); }
    100% { opacity: 0.2; transform: rotate(0deg); }
}

@keyframes beam4Move {
    0%   { opacity: 0.3; transform: rotate(0deg); }
    40%  { opacity: 0.5; transform: rotate(-0.3deg); }
    70%  { opacity: 0.2; transform: rotate(0.2deg); }
    100% { opacity: 0.3; transform: rotate(0deg); }
}

@keyframes ambientGlow {
    0%, 100% { opacity: 0.6; }
    40% { opacity: 1; }
    70% { opacity: 0.5; }
}

#starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 204, 255, 0.12) 0%, transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    animation: glowFloat 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(119, 51, 255, 0.1) 0%, transparent 70%);
    top: 200px;
    right: -100px;
    animation: glowFloat 10s ease-in-out infinite reverse;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 51, 170, 0.08) 0%, transparent 70%);
    bottom: 200px;
    left: -50px;
    animation: glowFloat 12s ease-in-out infinite;
}

@keyframes glowFloat {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-30px) translateX(-50%); }
}

.hero-glow-2 {
    animation-name: glowFloat2;
}

@keyframes glowFloat2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px) translateX(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: min(1400px, 90vw);
    margin: 0 auto;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--teal-dim);
    border: 1px solid rgba(0, 204, 255, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--teal);
    margin-bottom: 16px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(1.65rem, 3.15vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.3vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    width: 130%;
    margin-left: -15%;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Dashboard Preview ── */
.hero-dashboard {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(1400px, 90vw);
    margin: 36px auto 0;
    padding: 0 24px;
}

.dashboard-frame {
    position: relative;
    background: rgba(10, 10, 30, 0.92);
    border: 1px solid rgba(60, 140, 255, 0.45);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow:
        0 0 15px rgba(60, 140, 255, 0.12),
        0 0 40px rgba(60, 140, 255, 0.06),
        inset 0 0 30px rgba(0, 0, 0, 0.4);
}

/* ── UNIVERSAL CARD GLOW SYSTEM ──
   Every card gets a soft glow aura on ALL four sides.
   Dashboard gets an extra-strong version + spotlight sweep.
   ──────────────────────────────────────────────────── */

/* Base glow mixin — applied via .glow-card class or directly */
.bento-card-inner,
.pricing-card-inner,
.feature-mock-card,
.step-card,
.dash-stat-card,
.feature-tip {
    position: relative;
}

/* All-sides glow for every card */
.bento-card-inner::after,
.pricing-card-inner::after,
.feature-mock-card::after,
.step-card::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: calc(var(--border-radius) + 12px);
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(0, 204, 255, 0.08) 0%,
        rgba(255, 51, 170, 0.06) 40%,
        transparent 70%
    );
    filter: blur(16px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

/* Stronger glow on hover */
.bento-card-inner:hover::after,
.pricing-card-inner:hover::after,
.feature-mock-card:hover::after,
.step-card:hover::after {
    opacity: 1;
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(0, 204, 255, 0.14) 0%,
        rgba(255, 51, 170, 0.10) 40%,
        transparent 70%
    );
}

/* Featured pricing card gets extra glow */
.pricing-card.featured .pricing-card-inner::after {
    inset: -18px;
    border-radius: calc(var(--border-radius) + 18px);
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(0, 204, 255, 0.15) 0%,
        rgba(255, 51, 170, 0.10) 40%,
        transparent 70%
    );
    opacity: 1;
}

/* ── DASHBOARD GLOW — using box-shadow for reliable rendering ──
   box-shadow renders ON the element, no z-index stacking issues.
   Multiple layered shadows create the wide blue aura on ALL sides. */
.dashboard-glow-wrapper {
    position: relative;
    padding: 2px;
    border-radius: calc(var(--border-radius) + 2px);
    /* THE GLOW — multiple box-shadows stacked for depth */
    box-shadow:
        /* Tight bright border glow — 1px offset all sides */
        0 0 2px 1px rgba(60, 140, 255, 0.4),
        /* Medium spread — visible blue aura */
        0 0 15px 5px rgba(40, 120, 255, 0.25),
        /* Wide ambient glow — soft halo */
        0 0 40px 15px rgba(30, 100, 255, 0.15),
        /* Extra wide bloom */
        0 0 80px 30px rgba(20, 80, 255, 0.08),
        /* Top-bright — where the spotlight hits */
        0 -10px 50px 10px rgba(60, 140, 255, 0.12);
    animation: dashGlowPulse 6s ease-in-out infinite;
}

/* Glow pulses with the spotlight — brighter when light hits */
@keyframes dashGlowPulse {
    0%, 100% {
        box-shadow:
            0 0 2px 1px rgba(60, 140, 255, 0.3),
            0 0 15px 5px rgba(40, 120, 255, 0.18),
            0 0 40px 15px rgba(30, 100, 255, 0.10),
            0 0 80px 30px rgba(20, 80, 255, 0.05),
            0 -10px 50px 10px rgba(60, 140, 255, 0.08);
    }
    30% {
        box-shadow:
            0 0 3px 2px rgba(70, 150, 255, 0.5),
            0 0 20px 8px rgba(50, 130, 255, 0.30),
            0 0 50px 20px rgba(40, 110, 255, 0.20),
            0 0 100px 40px rgba(30, 90, 255, 0.10),
            0 -15px 60px 15px rgba(70, 150, 255, 0.18);
    }
    60% {
        box-shadow:
            0 0 2px 1px rgba(60, 140, 255, 0.35),
            0 0 18px 6px rgba(40, 120, 255, 0.22),
            0 0 45px 18px rgba(30, 100, 255, 0.14),
            0 0 90px 35px rgba(20, 80, 255, 0.07),
            0 -12px 55px 12px rgba(60, 140, 255, 0.14);
    }
}

/* Dashboard frame inner glow — top edge brighter from spotlight */
/* ── SPOTLIGHT SWEEP across dashboard body ──
   A wide diagonal light beam that sweeps across the
   entire dashboard surface, illuminating content as it passes */

.dashboard-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 35%,
        rgba(0, 204, 255, 0.06) 42%,
        rgba(255, 51, 170, 0.10) 48%,
        rgba(255, 255, 255, 0.07) 50%,
        rgba(255, 51, 170, 0.10) 52%,
        rgba(0, 204, 255, 0.06) 58%,
        transparent 65%,
        transparent 100%
    );
    animation: spotlightSweep 6s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
}

/* Edge highlight line that follows the spotlight */
.dashboard-frame::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -100%;
    width: 50%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 204, 255, 0.5),
        rgba(255, 51, 170, 0.8),
        rgba(119, 51, 255, 0.5),
        transparent
    );
    animation: spotlightSweep 6s ease-in-out infinite;
    z-index: 11;
    pointer-events: none;
    filter: blur(1px);
}

@keyframes spotlightSweep {
    0% { left: -120%; }
    50% { left: 120%; }
    100% { left: 120%; }  /* pause at end before restarting */
}

/* Dashboard animated bars grow in */
.dash-bar, .mini-bar {
    transform-origin: bottom;
    animation: barGrow 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes barGrow {
    0% { transform: scaleY(0); opacity: 0; }
    100% { transform: scaleY(1); opacity: 1; }
}

.dash-bar:nth-child(1) { animation-delay: 0.8s; }
.dash-bar:nth-child(2) { animation-delay: 0.9s; }
.dash-bar:nth-child(3) { animation-delay: 1.0s; }
.dash-bar:nth-child(4) { animation-delay: 1.1s; }
.dash-bar:nth-child(5) { animation-delay: 1.2s; }
.dash-bar:nth-child(6) { animation-delay: 1.3s; }
.dash-bar:nth-child(7) { animation-delay: 1.4s; }

.mini-bar:nth-child(1) { animation-delay: 0.3s; }
.mini-bar:nth-child(2) { animation-delay: 0.4s; }
.mini-bar:nth-child(3) { animation-delay: 0.5s; }
.mini-bar:nth-child(4) { animation-delay: 0.6s; }
.mini-bar:nth-child(5) { animation-delay: 0.7s; }
.mini-bar:nth-child(6) { animation-delay: 0.8s; }

/* Stat fill bars animated */
.dash-stat-fill {
    width: 0 !important;
    animation: fillGrow 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 1s;
}

@keyframes fillGrow {
    to { width: var(--fill-width); }
}

/* Pulsing agent status dots */
.agent-status.online {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 4px var(--teal); }
    50% { box-shadow: 0 0 10px var(--teal), 0 0 20px rgba(0, 204, 255, 0.3); }
}

/* Animated donut ring for focus-style indicator in dashboard */
.dash-donut {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(var(--teal) 0deg, var(--teal) calc(var(--donut-pct) * 3.6deg), rgba(255,255,255,0.06) calc(var(--donut-pct) * 3.6deg));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dash-donut::after {
    content: '';
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-card);
    position: absolute;
}

.dash-donut-val {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
}

/* Animated gradient border shimmer for featured elements */
.shimmer-border {
    position: relative;
    overflow: hidden;
}

.shimmer-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 204, 255, 0.05),
        rgba(255, 51, 170, 0.08),
        rgba(0, 204, 255, 0.05),
        transparent
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.dashboard-url {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dashboard-body {
    display: grid;
    grid-template-columns: 160px 1fr 240px;
    min-height: 360px;
}

/* Sidebar */
.dash-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 12px;
}

.dash-logo-sm {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 10px;
    margin-bottom: 20px;
    color: var(--teal);
}

.dash-nav-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--border-radius-xs);
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: default;
    transition: background 0.2s;
}

.dash-nav-item.active {
    background: var(--teal-dim);
    color: var(--teal);
}

.dash-nav-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.dash-nav-item.active svg {
    opacity: 1;
}

/* Main dashboard content */
.dash-main {
    padding: 20px;
}

.dash-greeting {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.dash-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--teal-dim);
    border-radius: 50%;
}

.dash-welcome {
    font-size: 0.9rem;
    font-weight: 600;
}

.dash-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.dash-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.dash-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    padding: 14px;
}

.dash-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.dash-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.dash-stat-value.teal { color: var(--teal); }
.dash-stat-value.blue { color: var(--blue); }
.dash-stat-value.purple { color: var(--purple); }

.dash-stat-unit {
    font-size: 0.8rem;
    font-weight: 400;
}

.dash-stat-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.dash-stat-fill {
    height: 100%;
    background: var(--teal);
    border-radius: 3px;
    transition: width 1.5s ease;
}

.dash-stat-fill.blue { background: var(--blue); }
.dash-stat-fill.purple { background: var(--purple); }

/* Chart area */
.dash-chart-area {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    padding: 14px;
}

.dash-chart-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 14px;
}

.dash-chart-period {
    color: var(--text-muted);
    font-size: 0.65rem;
}

.dash-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.dash-bar {
    flex: 1;
    background: var(--blue-dim);
    border-radius: 3px 3px 0 0;
    transition: background 0.3s;
    min-height: 4px;
}

.dash-bar.active {
    background: var(--teal);
}

.dash-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* Right panel */
.dash-right {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-right-panel {
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 10px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow:
        0 0 12px rgba(59, 130, 246, 0.08),
        0 0 30px rgba(59, 130, 246, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dash-right-agents {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow:
        0 0 12px rgba(59, 130, 246, 0.1),
        0 0 30px rgba(59, 130, 246, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dash-right-insights {
    border-color: rgba(45, 212, 191, 0.3);
    box-shadow:
        0 0 12px rgba(45, 212, 191, 0.08),
        0 0 30px rgba(45, 212, 191, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dash-panel-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.dash-agent-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-agent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-xs);
}

.agent-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.agent-status.online { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.agent-status.idle { background: var(--orange); }

.agent-badge {
    margin-left: auto;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--teal-dim);
    color: var(--teal);
}

.agent-badge.idle {
    background: var(--orange-dim);
    color: var(--orange);
}

/* ── Rich Dashboard Styles ── */
.dashboard-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 20px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
}

.dashboard-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    cursor: default;
}

.avatar-btn {
    font-size: 0.6rem;
    font-weight: 700;
    color: #00ccff;
    background: rgba(0,204,255,0.1);
    border-color: rgba(0,204,255,0.15);
}

.dash-logo-sm {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    margin-bottom: 16px;
}

.dash-logo-icon { font-size: 1.1rem; }
.dash-logo-text { font-size: 0.75rem; font-weight: 700; color: #00ccff; }

.dash-nav-section { display: flex; flex-direction: column; gap: 2px; }
.dash-nav-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 12px 0; }
.dash-nav-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); padding: 4px 10px; }

.nav-count {
    margin-left: auto;
    font-size: 0.6rem;
    padding: 1px 6px;
    border-radius: 100px;
    background: rgba(0,204,255,0.1);
    color: #00ccff;
}

.dash-avatar-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #00ccff, #7733ff);
}

.dash-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: #0a0a1e;
    border-radius: 50%;
}

/* Gradient stat cards — diagonal gradient like OrbitAI */
.gradient-card-1 {
    background: linear-gradient(135deg, rgba(0,204,255,0.08) 0%, rgba(10,10,30,0.9) 50%, rgba(0,204,255,0.04) 100%) !important;
    border-color: rgba(0,204,255,0.12) !important;
}
.gradient-card-2 {
    background: linear-gradient(135deg, rgba(119,51,255,0.08) 0%, rgba(10,10,30,0.9) 50%, rgba(119,51,255,0.04) 100%) !important;
    border-color: rgba(119,51,255,0.12) !important;
}
.gradient-card-3 {
    background: linear-gradient(135deg, rgba(255,51,170,0.08) 0%, rgba(10,10,30,0.9) 50%, rgba(255,51,170,0.04) 100%) !important;
    border-color: rgba(255,51,170,0.12) !important;
}

/* Light-theme overrides for gradient cards */
.dashboard-frame.light-theme .gradient-card-1,
.dashboard-frame.light-theme .gradient-card-2,
.dashboard-frame.light-theme .gradient-card-3 {
    background: #f0f2f5 !important;
    border-color: #e0e0e0 !important;
    color: #212121;
}

.dashboard-frame.light-theme .gradient-card-1 .dash-stat-label,
.dashboard-frame.light-theme .gradient-card-2 .dash-stat-label,
.dashboard-frame.light-theme .gradient-card-3 .dash-stat-label {
    color: #666;
}

.dashboard-frame.light-theme .gradient-card-1 .dash-stat-change,
.dashboard-frame.light-theme .gradient-card-2 .dash-stat-change,
.dashboard-frame.light-theme .gradient-card-3 .dash-stat-change {
    color: #888;
}

.dash-stat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0,204,255,0.1);
    color: #00ccff;
    margin-bottom: 10px;
}
.dash-stat-icon.blue { background: rgba(119,51,255,0.1); color: #7733ff; }
.dash-stat-icon.purple { background: rgba(255,51,170,0.1); color: #ff33aa; }

.dash-stat-change {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.55);
    margin-top: 8px;
}
.dash-stat-change.up { color: #00ccff; }
.dash-stat-change.up::before { content: '\2191  '; }

/* Chart tabs */
.dash-chart-tabs {
    display: flex;
    gap: 4px;
}
.chart-tab {
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 4px;
    color: rgba(255,255,255,0.55);
    cursor: default;
}
.chart-tab.active {
    background: rgba(0,204,255,0.1);
    color: #00ccff;
}

/* Bottom row — chart + focus side by side */
.dash-bottom-row {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 12px;
}

/* Focus panel */
.dash-focus-panel {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.focus-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #00ccff;
    margin-bottom: 12px;
}

.focus-timer {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.focus-ring {
    position: absolute;
    width: 100%;
    height: 100%;
}

.focus-time {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.focus-label {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.55);
    margin-top: 8px;
}

/* Agent info layout */
.agent-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.agent-name { font-size: 0.7rem; }
.agent-task { font-size: 0.6rem; color: rgba(255,255,255,0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Insights mini panel */
.insight-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.insight-val {
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
}
.insight-val.teal { color: #00ccff; }
.insight-unit { font-size: 0.6rem; font-weight: 400; color: rgba(255,255,255,0.4); }

.dash-right .dash-panel-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   ORBIT / "BUILT FOR" SECTION
   ============================================ */
.orbit-section {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--bg-secondary);
}

.orbit-section .section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

.orbit-visual {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
}

#orbCanvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 1;
}

.orbit-center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--teal) 0%, rgba(0, 204, 255, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
    animation: orbGlow 3s ease-in-out infinite;
}

@keyframes orbGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.orbit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.orbit-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    z-index: 3;
}

.orbit-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.orbit-dot.teal { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.orbit-dot.blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.orbit-dot.purple { background: var(--purple); box-shadow: 0 0 8px var(--purple); }

.orbit-label-tl { top: 60px; left: 40px; }
.orbit-label-tr { top: 60px; right: 40px; }
.orbit-label-bl { bottom: 60px; left: 40px; }
.orbit-label-br { bottom: 60px; right: 40px; }

.orbit-tagline {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 40px;
    font-style: italic;
}

/* ============================================
   FEATURES BENTO GRID
   ============================================ */
.features-section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
}

.bento-card {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.bento-card-inner {
    height: 100%;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.bento-card-inner:hover {
    border-color: rgba(0, 204, 255, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-small {
    grid-column: span 1;
}

.bento-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--teal-dim);
    color: var(--teal);
    margin-bottom: 20px;
}

.bento-icon.blue { background: var(--blue-dim); color: var(--blue); }
.bento-icon.purple { background: var(--purple-dim); color: var(--purple); }
.bento-icon.teal { background: var(--teal-dim); color: var(--teal); }
.bento-icon.orange { background: var(--orange-dim); color: var(--orange); }

.bento-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Bento Mock UIs */
.bento-mock {
    margin-top: 24px;
}

.mock-agent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mock-agent {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    text-align: center;
}

.mock-agent-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.mock-agent-name {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.mock-agent-status {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--teal-dim);
    color: var(--teal);
    display: inline-block;
}

.mock-agent-status.idle {
    background: var(--orange-dim);
    color: var(--orange);
}

/* Workflow mock */
.mock-workflow {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mock-wf-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.8rem;
    border-radius: var(--border-radius-xs);
}

.mock-wf-step.active {
    background: rgba(0, 204, 255, 0.05);
}

.mock-wf-step.dim {
    opacity: 0.4;
}

.wf-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.wf-num.active {
    background: var(--teal-dim);
    color: var(--teal);
}

.wf-check {
    margin-left: auto;
    color: var(--teal);
    font-weight: 600;
}

.wf-spinner {
    margin-left: auto;
    width: 14px;
    height: 14px;
    border: 2px solid var(--teal-dim);
    border-top-color: var(--teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.mock-wf-line {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 23px;
}

.mock-wf-line.dim {
    opacity: 0.3;
}

/* Mini bars */
.mock-mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
}

.mini-bar {
    flex: 1;
    background: var(--purple-dim);
    border-radius: 3px 3px 0 0;
    min-height: 4px;
    transition: background 0.3s;
}

.mini-bar.active {
    background: var(--purple);
}

/* Shield */
.mock-shield {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 80px;
}

.shield-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(0, 204, 255, 0.15);
    animation: shieldPulse 2s ease-in-out infinite;
}

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

/* Rhythm blocks */
.mock-rhythm {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rhythm-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.rhythm-row span:first-child {
    width: 28px;
}

.rhythm-blocks {
    display: flex;
    gap: 3px;
}

.rb {
    width: 20px;
    height: 12px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
}

.rb.filled {
    background: var(--teal-dim);
}

.rb.filled.high {
    background: var(--teal);
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #00ccff, #ff33aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
    padding: var(--section-padding) 0;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 40px 30px;
}

.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border-radius: 16px;
    background: var(--teal-dim);
    color: var(--teal);
    border: 1px solid rgba(0, 204, 255, 0.1);
}

.step-icon.blue {
    background: var(--blue-dim);
    color: var(--blue);
    border-color: rgba(119, 51, 255, 0.1);
}

.step-icon.purple {
    background: var(--purple-dim);
    color: var(--purple);
    border-color: rgba(255, 51, 170, 0.1);
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 90px;
}

/* ============================================
   DEEP FEATURES
   ============================================ */
.deep-features {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.deep-features .section-title {
    text-align: center;
    margin-bottom: 80px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-pill {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    background: var(--teal-dim);
    color: var(--teal);
    border: 1px solid rgba(0, 204, 255, 0.15);
    margin-bottom: 20px;
}

.feature-pill.blue {
    background: var(--blue-dim);
    color: var(--blue);
    border-color: rgba(119, 51, 255, 0.15);
}

.feature-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.feature-text > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-list li svg {
    flex-shrink: 0;
}

.feature-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.tip-icon {
    font-size: 1rem;
}

/* Feature Terminal */
.feature-terminal {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    margin-top: 16px;
}

.terminal-prompt {
    font-size: 0.75rem;
    color: var(--teal);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.terminal-input {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.terminal-cursor {
    color: var(--teal);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Feature Mock Cards */
.feature-visual {
    display: flex;
    justify-content: center;
}

.feature-mock-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.fmc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    font-weight: 600;
}

.fmc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 8px var(--teal);
}

.fmc-dot.blue {
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
}

.fmc-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fmc-stat {
    padding: 16px;
    background: var(--bg-card);
    text-align: center;
}

.fmc-stat-val {
    font-size: 1.3rem;
    font-weight: 700;
}

.fmc-stat-val.teal { color: var(--teal); }

.fmc-stat-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.fmc-agent-rows {
    padding: 12px;
}

.fmc-agent-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--border-radius-xs);
    font-size: 0.8rem;
    transition: background 0.2s;
}

.fmc-agent-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.fmc-time {
    color: var(--text-muted);
    font-size: 0.7rem;
    width: 50px;
}

.fmc-task {
    flex: 1;
}

.fmc-badge {
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    background: var(--teal-dim);
    color: var(--teal);
}

.fmc-badge.medium {
    background: var(--orange-dim);
    color: var(--orange);
}

/* Workflow steps in feature card */
.fmc-workflow-steps {
    padding: 20px;
}

.fmc-wf-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--border-radius-xs);
    font-size: 0.85rem;
}

.fmc-wf-step.done {
    color: var(--text-secondary);
}

.fmc-wf-step.active {
    background: rgba(0, 204, 255, 0.06);
    color: var(--teal);
}

.fmc-wf-step.pending {
    opacity: 0.35;
}

.fmc-wf-icon {
    width: 24px;
    text-align: center;
    font-size: 0.85rem;
}

.fmc-wf-icon.spin {
    animation: spin 2s linear infinite;
    color: var(--teal);
}

.fmc-wf-connector {
    width: 1px;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    margin-left: 27px;
}

.fmc-wf-connector.dim {
    opacity: 0.3;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-section {
    padding: var(--section-padding) 0;
}

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

.toggle-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-label.active {
    color: var(--text-primary);
}

.save-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--teal-dim);
    color: var(--teal);
}

.toggle-switch {
    width: 48px;
    height: 26px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-primary);
    transition: transform 0.3s;
}

.toggle-switch.yearly .toggle-knob {
    transform: translateX(22px);
}

.toggle-switch.yearly {
    background: var(--teal-dim);
    border-color: rgba(0, 204, 255, 0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    border-radius: var(--border-radius);
}

.pricing-card-inner {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card-inner:hover {
    border-color: rgba(0, 204, 255, 0.12);
}

.pricing-card.featured .pricing-card-inner {
    border-color: rgba(0, 204, 255, 0.2);
    box-shadow: 0 0 60px rgba(0, 204, 255, 0.08);
    background: rgba(10, 10, 30, 0.9);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    background: linear-gradient(135deg, #00ccff, #7733ff);
    color: #050510;
    border-radius: 100px;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-amount {
    margin-bottom: 28px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-features-2col {
    columns: 2;
    column-gap: 32px;
}

.pricing-features-2col li {
    break-inside: avoid;
}

@media (max-width: 600px) {
    .pricing-features-2col {
        columns: 1;
    }
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 204, 255, 0.1) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 260px;
}

.footer-links-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-links-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-links-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: var(--text-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Large / high-res displays — scale everything up to fill viewport */
@media (min-width: 1600px) {
    :root {
        --container-max: min(1600px, 88vw);
        font-size: clamp(16px, 1.1vw, 22px);
    }

    .hero-title {
        font-size: clamp(2.6rem, 4.1vw, 4.5rem);
    }

    .hero-dashboard {
        max-width: min(1600px, 88vw);
    }

    .hero-content {
        max-width: min(1600px, 88vw);
    }

    .section-title {
        font-size: clamp(2.5rem, 4.5vw, 4rem);
    }

    .bento-card h3 {
        font-size: 1.4rem;
    }

    .btn-primary, .btn-ghost {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .nav-links a {
        font-size: 1rem;
    }
}

/* Extra-large 4K+ displays */
@media (min-width: 2200px) {
    :root {
        --container-max: min(1900px, 85vw);
        font-size: clamp(18px, 1.2vw, 26px);
    }

    .hero-title {
        font-size: clamp(3rem, 3.75vw, 5.25rem);
    }

    .hero-dashboard {
        max-width: min(1800px, 85vw);
    }

    .hero-content {
        max-width: min(1800px, 85vw);
    }
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-medium {
        grid-column: span 1;
        grid-row: span 1;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .dashboard-body {
        grid-template-columns: 1fr;
    }

    .dash-sidebar,
    .dash-right {
        display: none;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

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

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-subtitle br {
        display: none;
    }

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

    .bento-large,
    .bento-medium {
        grid-column: span 1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .orbit-visual {
        height: 400px;
    }

    .orbit-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

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

/* ── Typed Text Animation ── */
.typed-text {
    display: inline;
    border-right: none;
}

/* Hexagonal grid background pattern */
.hex-bg {
    position: relative;
}

.hex-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(60deg, rgba(0, 204, 255, 0.03) 25%, transparent 25%, transparent 75%, rgba(0, 204, 255, 0.03) 75%),
        linear-gradient(120deg, rgba(255, 51, 170, 0.03) 25%, transparent 25%, transparent 75%, rgba(255, 51, 170, 0.03) 75%);
    background-size: 60px 104px;
    background-position: 0 0, 30px 52px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Floating hexagon decorations */
.hex-float {
    position: absolute;
    width: 60px;
    height: 60px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.08;
    animation: hexFloat 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hex-float-1 {
    background: linear-gradient(135deg, #00ccff, #7733ff);
    top: 15%;
    left: 5%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.hex-float-2 {
    background: linear-gradient(135deg, #ff33aa, #ff5544);
    top: 40%;
    right: 8%;
    width: 50px;
    height: 50px;
    animation-delay: -3s;
}

.hex-float-3 {
    background: linear-gradient(135deg, #7733ff, #ff33aa);
    bottom: 20%;
    left: 12%;
    width: 70px;
    height: 70px;
    animation-delay: -6s;
}

.hex-float-4 {
    background: linear-gradient(135deg, #00ccff, #ff33aa);
    top: 60%;
    right: 15%;
    width: 40px;
    height: 40px;
    animation-delay: -9s;
}

@keyframes hexFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
    25% { transform: translateY(-15px) rotate(15deg); opacity: 0.12; }
    50% { transform: translateY(-5px) rotate(30deg); opacity: 0.06; }
    75% { transform: translateY(-20px) rotate(15deg); opacity: 0.10; }
}

/* ============================================
   NEW SHARED COMPONENTS — Multi-Page
   ============================================ */

/* ── Narrative Section (Mission/Story blocks) ── */
.narrative-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.narrative-section .container {
    max-width: 900px;
}

.narrative-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    text-align: center;
}

.narrative-body {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.85;
    color: var(--text-secondary);
    text-align: left;
}

.narrative-body p {
    margin-bottom: 24px;
}

.narrative-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.narrative-closing {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 48px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.narrative-strapline {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 800;
    text-align: center;
    margin-top: 48px;
    letter-spacing: -0.02em;
}

/* ── Dashboard Severity Bar ── */
.dash-severity-bar {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 12px;
    padding: 0 4px;
}

.severity-segment {
    height: 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

.severity-segment.critical { background: linear-gradient(90deg, #ff3366, #ff5577); }
.severity-segment.high { background: linear-gradient(90deg, #ff8844, #ffaa55); }
.severity-segment.medium { background: linear-gradient(90deg, #ffcc33, #ffdd66); }
.severity-segment.low { background: linear-gradient(90deg, #2dd4bf, #44eedd); }

.severity-labels {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    padding: 0 4px;
}

.severity-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.55rem;
    color: var(--text-muted);
}

.severity-label .severity-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.severity-dot.critical { background: #ff3366; }
.severity-dot.high { background: #ff8844; }
.severity-dot.medium { background: #ffcc33; }
.severity-dot.low { background: #2dd4bf; }

/* ── Dashboard Recent Alerts ── */
.dash-recent-alerts {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-alert-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    color: var(--text-muted);
    padding: 4px 6px;
    border-radius: var(--border-radius-xs);
    background: rgba(255, 255, 255, 0.02);
}

.dash-alert-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    flex-shrink: 0;
}

.dash-alert-icon.critical {
    background: rgba(255, 51, 102, 0.2);
    color: #ff3366;
}

.dash-alert-icon.warning {
    background: rgba(255, 136, 68, 0.2);
    color: #ff8844;
}

.dash-alert-icon.info {
    background: rgba(0, 204, 255, 0.15);
    color: var(--teal);
}

.dash-alert-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-alert-time {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

/* ── Pricing Callout ── */
.pricing-callout {
    max-width: 800px;
    margin: 0 auto 48px;
    padding: 28px 32px;
    background: rgba(0, 204, 255, 0.04);
    border: 1px solid rgba(0, 204, 255, 0.12);
    border-radius: var(--border-radius);
    text-align: center;
}

.pricing-callout h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pricing-callout p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Nav Product Links ── */
.nav-product-links {
    display: flex;
    gap: 20px;
}

/* ── Hero Minimal (text-only, no dashboard) ── */
.hero-minimal {
    min-height: 60vh;
    padding-top: 160px;
    padding-bottom: 80px;
}

/* ── Styled Tables (Mission/Corvus) ── */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 0.85rem;
}

.styled-table thead {
    border-bottom: 2px solid rgba(0, 204, 255, 0.2);
}

.styled-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.styled-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

.styled-table tbody tr {
    transition: background 0.2s ease;
}

.styled-table tbody tr:hover {
    background: rgba(0, 204, 255, 0.03);
}

.styled-table .cost-high {
    color: #ff5577;
    font-weight: 600;
}

.styled-table .cost-low {
    color: var(--teal);
    font-weight: 600;
}

/* ── Belief / Principle Cards ── */
.beliefs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.belief-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    transition: border-color 0.3s, transform 0.3s;
}

.belief-card:hover {
    border-color: rgba(0, 204, 255, 0.15);
    transform: translateX(4px);
}

.belief-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(0, 204, 255, 0.15);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}

.belief-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.belief-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Differentiator Grid (Corvus) ── */
.differentiator-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.differentiator-grid .bento-card:first-child {
    grid-row: span 2;
}

/* ── Tab Group Cards (Corvus Intelligence Coverage) ── */
.tab-group-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.tab-group-grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tab-group-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.tab-group-card:hover {
    border-color: rgba(0, 204, 255, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.tab-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.tab-pill {
    padding: 4px 10px;
    font-size: 0.6rem;
    font-weight: 500;
    border-radius: 20px;
    background: rgba(0, 204, 255, 0.08);
    color: var(--teal);
    border: 1px solid rgba(0, 204, 255, 0.15);
}

.tab-group-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tab-group-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tab-group-stat {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: var(--teal);
    font-weight: 500;
}

/* ── Doctrine Grid (Corvus) ── */
.doctrine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.doctrine-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
}

.doctrine-card:hover {
    border-color: rgba(0, 204, 255, 0.15);
    transform: translateY(-2px);
}

.doctrine-card:nth-child(1),
.doctrine-card:nth-child(4) {
    grid-row: span 1;
    min-height: 200px;
}

.doctrine-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 204, 255, 0.06);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.doctrine-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    padding-right: 40px;
}

.doctrine-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Framework Badge Grid (GRCxAI) ── */
.framework-section {
    margin-bottom: 40px;
}

.framework-category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.framework-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.framework-badge {
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 20px;
    color: var(--text-secondary);
    transition: border-color 0.3s, color 0.3s;
}

.framework-badge:hover {
    border-color: rgba(0, 204, 255, 0.25);
    color: var(--teal);
}

/* ── Integration Grid (GRCxAI) ── */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.integration-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.integration-card:hover {
    border-color: rgba(0, 204, 255, 0.15);
    transform: translateY(-2px);
}

.integration-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 204, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.2rem;
}

.integration-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.integration-card p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ── Role Cards (GRCxAI) ── */
.role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.role-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    transition: border-color 0.3s, transform 0.3s;
}

.role-card:hover {
    border-color: rgba(0, 204, 255, 0.15);
    transform: translateY(-2px);
}

.role-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.role-icon.teal { background: var(--teal-dim); }
.role-icon.blue { background: var(--blue-dim); }
.role-icon.purple { background: var(--purple-dim); }

.role-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.role-card ul {
    list-style: none;
    padding: 0;
}

.role-card ul li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
}

.role-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    transform: translateY(-50%);
    opacity: 0.5;
}

/* ── Pain Point Cards ── */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pain-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 85, 68, 0.1);
    border-radius: var(--border-radius);
    transition: border-color 0.3s, transform 0.3s;
}

.pain-card:hover {
    border-color: rgba(255, 85, 68, 0.25);
    transform: translateY(-2px);
}

.pain-card .pain-icon {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.pain-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.pain-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Platform Cards (2-up layout) ── */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.platform-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    transition: border-color 0.3s, transform 0.3s;
}

.platform-card:hover {
    border-color: rgba(0, 204, 255, 0.15);
    transform: translateY(-2px);
}

.platform-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.platform-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.platform-card .btn-ghost {
    margin-top: 20px;
    display: inline-flex;
}

/* ── Responsive for new components ── */
@media (max-width: 1024px) {
    .differentiator-grid { grid-template-columns: 1fr; }
    .differentiator-grid .bento-card:first-child { grid-row: span 1; }
    .tab-group-grid { grid-template-columns: 1fr; }
    .tab-group-grid-bottom { grid-template-columns: 1fr 1fr; }
    .doctrine-grid { grid-template-columns: 1fr; }
    .integration-grid { grid-template-columns: repeat(2, 1fr); }
    .role-grid { grid-template-columns: 1fr; }
    .pain-grid { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .tab-group-grid-bottom { grid-template-columns: 1fr; }
    .integration-grid { grid-template-columns: repeat(2, 1fr); }
    .styled-table { font-size: 0.75rem; }
    .styled-table th, .styled-table td { padding: 10px 10px; }
    .beliefs-grid { gap: 16px; }
    .belief-card { flex-direction: column; gap: 12px; padding: 20px; }
    .fw-visual-grid { grid-template-columns: 1fr; }
    .module-showcase { grid-template-columns: 1fr; }
}

/* ============================================
   GRCXAI PAGE — Rich Visual Components
   ============================================ */

/* ── Framework Visual Grid (replacing plain badges) ── */
.fw-visual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fw-visual-card {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fw-visual-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.fw-visual-card.cat-iso::before { background: linear-gradient(90deg, var(--teal), #3b82f6); }
.fw-visual-card.cat-reg::before { background: linear-gradient(90deg, #7733ff, #ff33aa); }
.fw-visual-card.cat-uk::before { background: linear-gradient(90deg, #3b82f6, var(--teal)); }
.fw-visual-card.cat-esg::before { background: linear-gradient(90deg, #4caf50, #66bb6a); }

.fw-visual-card:hover {
    border-color: rgba(0, 204, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.fw-card-count {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.fw-card-count.teal { color: var(--teal); }
.fw-card-count.purple { color: var(--blue); }
.fw-card-count.blue { color: #3b82f6; }
.fw-card-count.green { color: #66bb6a; }

.fw-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.fw-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.fw-card-tag {
    font-size: 0.55rem;
    padding: 2px 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Module Showcase (alternating tall/wide cards) ── */
.module-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
}

.module-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    border-color: rgba(0, 204, 255, 0.15);
    transform: translateY(-2px);
}

.module-card.span-2 {
    grid-column: span 2;
}

.module-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 12px;
}

.module-card-icon.risk { background: rgba(255, 85, 68, 0.12); }
.module-card-icon.compliance { background: rgba(59, 130, 246, 0.12); }
.module-card-icon.ai { background: rgba(139, 92, 246, 0.12); }
.module-card-icon.vendor { background: rgba(255, 136, 68, 0.12); }
.module-card-icon.bcp { background: rgba(0, 204, 255, 0.12); }
.module-card-icon.esg { background: rgba(76, 175, 80, 0.12); }
.module-card-icon.docs { background: rgba(255, 213, 79, 0.12); }
.module-card-icon.core { background: rgba(158, 158, 158, 0.12); }
.module-card-icon.admin { background: rgba(120, 144, 156, 0.12); }

.module-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.module-card .module-count {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.module-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ── Screenshot with caption overlay ── */
.screenshot-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--bg-card-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.screenshot-card img {
    width: 100%;
    display: block;
}

.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.screenshot-caption h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.screenshot-caption p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .fw-visual-grid { grid-template-columns: repeat(2, 1fr); }
    .module-showcase { grid-template-columns: 1fr 1fr; }
    .module-card.span-2 { grid-column: span 1; }
}

/* ── Light-Themed Dashboard Variant (GRCxAI) ── */
.dashboard-frame.light-theme {
    background: #f5f7fa;
    border-color: rgba(33, 150, 243, 0.3);
}

.dashboard-frame.light-theme .dashboard-topbar {
    background: linear-gradient(90deg, #0d47a1, #1565c0);
}

.dashboard-frame.light-theme .dashboard-search span {
    color: rgba(255, 255, 255, 0.7);
}

.dashboard-frame.light-theme .dashboard-body {
    background: #f5f7fa;
}

.dashboard-frame.light-theme .dash-sidebar {
    background: linear-gradient(180deg, #1565c0, #0d47a1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-frame.light-theme .dash-sidebar .dash-logo-sm {
    color: white;
}

.dashboard-frame.light-theme .dash-sidebar .dash-logo-text {
    color: white;
}

.dashboard-frame.light-theme .dash-sidebar .dash-nav-item {
    color: rgba(255, 255, 255, 0.7);
}

.dashboard-frame.light-theme .dash-sidebar .dash-nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.dashboard-frame.light-theme .dash-sidebar .dash-nav-item svg {
    opacity: 0.8;
}

.dashboard-frame.light-theme .dash-sidebar .dash-nav-item.active svg {
    opacity: 1;
}

.dashboard-frame.light-theme .dash-sidebar .dash-nav-label {
    color: rgba(255, 255, 255, 0.4);
}

.dashboard-frame.light-theme .dash-sidebar .dash-nav-divider {
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-frame.light-theme .dash-sidebar .nav-count {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.dashboard-frame.light-theme .dash-main {
    background: #f0f2f5;
    color: #212121;
}

.dashboard-frame.light-theme .dash-welcome {
    color: #212121;
}

.dashboard-frame.light-theme .dash-sub {
    color: #666;
}

.dashboard-frame.light-theme .dash-sub strong {
    color: #333;
}

.dashboard-frame.light-theme .dash-stat-card {
    background: white;
    border-color: #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.dashboard-frame.light-theme .dash-stat-label {
    color: #888;
}

.dashboard-frame.light-theme .dash-stat-value {
    color: #1565c0;
}

.dashboard-frame.light-theme .dash-stat-value.teal { color: #0097a7; }
.dashboard-frame.light-theme .dash-stat-value.blue { color: #1565c0; }
.dashboard-frame.light-theme .dash-stat-value.purple { color: #7b1fa2; }

.dashboard-frame.light-theme .dash-stat-bar {
    background: #e8eaf0;
}

.dashboard-frame.light-theme .dash-stat-change {
    color: #888;
}

.dashboard-frame.light-theme .dash-stat-change.up {
    color: #2e7d32;
}

.dashboard-frame.light-theme .dash-chart-area {
    background: white;
    border-color: #e0e0e0;
}

.dashboard-frame.light-theme .dash-chart-header span {
    color: #333;
}

.dashboard-frame.light-theme .chart-tab {
    color: #999;
    background: #f0f0f0;
}

.dashboard-frame.light-theme .chart-tab.active {
    background: #1565c0;
    color: white;
}

.dashboard-frame.light-theme .dash-bar {
    background: rgba(21, 101, 192, 0.2);
}

.dashboard-frame.light-theme .dash-bar.active {
    background: #1565c0;
}

.dashboard-frame.light-theme .dash-chart-labels span {
    color: #999;
}

.dashboard-frame.light-theme .dash-focus-panel {
    background: white;
    border-color: #e0e0e0;
}

.dashboard-frame.light-theme .focus-title {
    color: #333;
}

.dashboard-frame.light-theme .focus-time {
    color: #1565c0;
}

.dashboard-frame.light-theme .focus-label {
    color: #888;
}

.dashboard-frame.light-theme .severity-labels .severity-label {
    color: #888;
}

.dashboard-frame.light-theme .dash-alert-item {
    background: white;
    border: 1px solid #eee;
    color: #555;
}

.dashboard-frame.light-theme .dash-alert-text {
    color: #444;
}

.dashboard-frame.light-theme .dash-alert-time {
    color: #bbb;
}

.dashboard-frame.light-theme .dash-right {
    background: #f5f7fa;
    border-left: 1px solid #e0e0e0;
}

.dashboard-frame.light-theme .dash-right-panel {
    background: white;
    border-color: rgba(21, 101, 192, 0.2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.dashboard-frame.light-theme .dash-right-insights {
    border-color: rgba(21, 101, 192, 0.15);
}

.dashboard-frame.light-theme .dash-panel-title {
    color: #333;
}

.dashboard-frame.light-theme .dash-agent {
    background: #f8f9fb;
    border: 1px solid #eee;
}

.dashboard-frame.light-theme .agent-name {
    color: #333;
}

.dashboard-frame.light-theme .agent-task {
    color: #888;
}

.dashboard-frame.light-theme .agent-badge {
    background: rgba(21, 101, 192, 0.1);
    color: #1565c0;
}

.dashboard-frame.light-theme .agent-badge.idle {
    background: rgba(255, 152, 0, 0.1);
    color: #e65100;
}

.dashboard-frame.light-theme .insight-row {
    color: #888;
    border-bottom-color: #eee;
}

.dashboard-frame.light-theme .insight-val {
    color: #333;
}

.dashboard-frame.light-theme .insight-val.teal {
    color: #0097a7;
}

.dashboard-frame.light-theme .insight-unit {
    color: #aaa;
}

/* ============================================
   ZOO PAGE
   ============================================ */

/* Animal story cards — alternating image/text layout */
.zoo-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.zoo-card:hover {
    border-color: rgba(0, 204, 255, 0.15);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.3);
}

.zoo-card:last-child {
    margin-bottom: 0;
}

.zoo-card-reverse {
    grid-template-columns: 1fr 280px;
}

.zoo-card-reverse .zoo-card-image {
    order: 2;
}

.zoo-card-reverse .zoo-card-content {
    order: 1;
}

.zoo-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoo-animal {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 204, 255, 0.2));
    transition: transform 0.4s, filter 0.4s;
}

.zoo-card:hover .zoo-animal {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(0, 204, 255, 0.35));
}

.zoo-card-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.zoo-card-label.teal {
    background: rgba(0, 204, 255, 0.1);
    color: var(--teal);
}

.zoo-card-label.blue {
    background: rgba(119, 51, 255, 0.1);
    color: var(--blue);
}

.zoo-card-label.purple {
    background: rgba(255, 51, 170, 0.1);
    color: var(--purple);
}

.zoo-card-label.orange {
    background: rgba(255, 85, 68, 0.1);
    color: var(--orange);
}

.zoo-card-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.zoo-card-ref {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}

.zoo-card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.zoo-card-content p:last-child {
    margin-bottom: 0;
}

/* Philosophy grid — small cards with animal thumbnails */
.zoo-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.zoo-philosophy-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.zoo-philosophy-card:hover {
    border-color: rgba(0, 204, 255, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.zoo-philosophy-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0, 204, 255, 0.2));
}

.zoo-philosophy-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.zoo-philosophy-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Zoo page responsive ── */
@media (max-width: 1024px) {
    .zoo-philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .zoo-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
        text-align: center;
    }

    .zoo-card-reverse {
        grid-template-columns: 1fr;
    }

    .zoo-card-reverse .zoo-card-image {
        order: 0;
    }

    .zoo-card-reverse .zoo-card-content {
        order: 0;
    }

    .zoo-animal {
        width: 160px;
    }

    .zoo-card-content h3 {
        font-size: 1.4rem;
    }

    .zoo-philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   VISUAL EFFECTS
   ============================================ */

/* ── 1. Animated Gradient Borders ── */
@keyframes gradient-border-spin {
    to { --border-angle: 360deg; }
}

.bento-card-inner::before,
.pricing-card-inner::before,
.module-card::before,
.zoo-card::before,
.zoo-philosophy-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--border-radius) + 1px);
    background: conic-gradient(
        from var(--border-angle),
        transparent 40%,
        rgba(0, 204, 255, 0.4) 50%,
        rgba(119, 51, 255, 0.4) 55%,
        transparent 65%
    );
    z-index: -1;
    opacity: 0;
    animation: gradient-border-spin 4s linear infinite;
    transition: opacity 0.4s;
}

.bento-card-inner:hover::before,
.pricing-card-inner:hover::before,
.module-card:hover::before,
.zoo-card:hover::before,
.zoo-philosophy-card:hover::before {
    opacity: 1;
}

/* Override bento-card overflow so gradient border is visible */
.bento-card {
    overflow: visible;
}

/* ── 2. 3D Card Tilt + Shine ── */
.bento-grid,
.pricing-grid,
.module-grid,
.zoo-philosophy-grid {
    perspective: 800px;
}

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}

.tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.08) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.tilt-card:hover .tilt-shine {
    opacity: 1;
}

/* ── Hero Logo ── */
.hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 30px rgba(0, 204, 255, 0.3));
}

/* ── Hero Flanking Logos ── */
.hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;
}

.hero-title-row .hero-title {
    flex: 1 1 0;
    min-width: 0;
}

.hero-flank-logo {
    width: 320px;
    height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 204, 255, 0.25));
    opacity: 0.85;
    flex-shrink: 0;
}

.hero-flank-left {
    animation: float-left 6s ease-in-out infinite;
}

.hero-flank-right {
    animation: float-right 6s ease-in-out infinite;
}

@keyframes float-left {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes float-right {
    0%, 100% { transform: translateY(-5px) rotate(2deg); }
    50% { transform: translateY(5px) rotate(-2deg); }
}

@media (max-width: 1024px) {
    .hero-title-row {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-flank-logo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .hero-flank-logo {
        display: none;
    }
    .hero-title-row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* ── 3. (reserved) ── */

/* ── 4. Cursor Spotlight ── */
.cursor-spotlight {
    position: relative;
}

.cursor-spotlight-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 204, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s;
}

.cursor-spotlight:hover .cursor-spotlight-glow {
    opacity: 1;
}

/* ── 5. Magnetic Buttons ── */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
