:root {
    color-scheme: dark;
    --ink: #08101a;
    --panel: rgba(16, 35, 56, 0.76);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --mist: #8ea6c6;
    --glow: rgba(0, 194, 255, 0.2);
    --gold: rgba(212, 175, 55, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(0, 194, 255, 0.12), transparent 26%),
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 24%),
        linear-gradient(180deg, #08101a 0%, #050a12 55%, #071119 100%);
    font-family: 'IBM Plex Sans', sans-serif;
}

.page-shell {
    position: relative;
    isolation: isolate;
}

.page-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    z-index: -3;
}

.particle-engine {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.9;
    z-index: -4;
}

.ambient {
    position: fixed;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.24;
    pointer-events: none;
    z-index: -2;
    animation: drift 18s ease-in-out infinite;
}

.ambient-one {
    top: 8%;
    left: 8%;
    width: 17rem;
    height: 17rem;
    background: rgba(0, 194, 255, 0.18);
}

.ambient-two {
    top: 28%;
    right: 10%;
    width: 22rem;
    height: 22rem;
    background: rgba(212, 175, 55, 0.12);
    animation-delay: -5s;
}

.ambient-three {
    bottom: 8%;
    left: 42%;
    width: 20rem;
    height: 20rem;
    background: rgba(69, 115, 255, 0.12);
    animation-delay: -10s;
}

.site-header {
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.18);
}

.nav-chip,
.footer-link {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.72rem 1rem;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.nav-chip:hover,
.footer-link:hover {
    border-color: rgba(0, 194, 255, 0.45);
    color: white;
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.hero-shell {
    min-height: min(84vh, 920px);
    padding-top: 1.5rem;
}

.hero-panel,
.section-frame,
.use-case-card,
.story-card,
.method-card,
.insight-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(18px);
}

.eyebrow-pill,
.status-badge,
.pill-tag,
.section-kicker,
.method-step {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.eyebrow-pill {
    border: 1px solid rgba(0, 194, 255, 0.25);
    background: rgba(0, 194, 255, 0.09);
    padding: 0.7rem 1rem;
    font-size: 0.72rem;
    color: #b6e8ff;
}

.status-badge {
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: rgba(212, 175, 55, 0.08);
    padding: 0.65rem 0.9rem;
    font-size: 0.72rem;
    color: #f4de9a;
}

.pill-tag {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.72rem 1rem;
    font-size: 0.76rem;
    color: #dbe8ff;
}

.section-kicker,
.method-step {
    font-size: 0.72rem;
    color: #73d8ff;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.cta-primary {
    border: 1px solid rgba(0, 194, 255, 0.35);
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.18), rgba(0, 194, 255, 0.08));
    color: #effbff;
    box-shadow: 0 18px 50px rgba(0, 194, 255, 0.14);
}

.cta-secondary {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
    color: #d9e8ff;
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
}

.metric-card,
.mini-stat {
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
}

.metric-card {
    padding: 1rem;
}

.metric-label,
.mini-stat span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mist);
}

.metric-value,
.mini-stat strong {
    display: block;
    margin-top: 0.6rem;
    color: white;
}

.metric-value {
    font-size: 1.7rem;
    font-weight: 800;
}

.mini-stat {
    padding: 1rem;
}

.mini-stat strong {
    font-size: 1.25rem;
    font-weight: 700;
}

.story-card,
.method-card,
.use-case-card {
    border: 1px solid var(--line);
    border-radius: 1.9rem;
    padding: 1.55rem;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.story-card:hover,
.method-card:hover,
.use-case-card:hover,
.insight-panel:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 194, 255, 0.28);
}

.story-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.08);
    color: #f0d68a;
    font-weight: 700;
}

.story-title,
.method-card h3 {
    margin-top: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
}

.story-copy,
.method-card p {
    margin-top: 1rem;
    color: #c3d0e6;
    line-height: 1.75;
}

.insight-panel {
    border: 1px solid var(--line);
    transition: transform 180ms ease, border-color 180ms ease;
}

.cta-band {
    background:
        radial-gradient(circle at top right, rgba(0, 194, 255, 0.12), transparent 36%),
        linear-gradient(135deg, rgba(16, 35, 56, 0.8), rgba(5, 10, 18, 0.9));
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.22);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(12px, -18px, 0) scale(1.06);
    }
}

@media (max-width: 1024px) {
    .hero-shell {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .site-header {
        border-radius: 1.5rem;
    }

    .ambient {
        opacity: 0.18;
    }
}

::selection {
    background: rgba(0, 194, 255, 0.35);
    color: white;
}