:root {
    --bg-deep: #030712;
    --bg-hero: #050a18;
    --bg-elevated: #0b1222;
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.06);
    --text: #0a0f1a;
    --text-on-dark: #f8fafc;
    --muted: #64748b;
    --muted-on-dark: #94a3b8;
    --line: rgba(148, 163, 184, 0.2);
    --line-strong: rgba(148, 163, 184, 0.38);
    --accent: #22d3ee;
    --accent-hot: #f472b6;
    --accent-soft: rgba(34, 211, 238, 0.14);
    --accent-2: #a78bfa;
    --accent-3: #38bdf8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --radius-sm: 0.5rem;
    --radius: 0.875rem;
    --radius-lg: 1.25rem;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow: 0 16px 48px -16px rgba(15, 23, 42, 0.18);
    --shadow-lg: 0 28px 80px -24px rgba(15, 23, 42, 0.28);
    --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --header-h: 4.25rem;
}

@keyframes mesh-drift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(2%, -3%) scale(1.05);
    }
    66% {
        transform: translate(-3%, 2%) scale(0.98);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes aurora-shift {
    0% {
        opacity: 0.55;
        filter: hue-rotate(0deg);
    }
    50% {
        opacity: 0.85;
        filter: hue-rotate(35deg);
    }
    100% {
        opacity: 0.55;
        filter: hue-rotate(0deg);
    }
}

@keyframes blob-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(12%, -8%) scale(1.08);
    }
}

@keyframes blob-float-b {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-10%, 14%) scale(1.05);
    }
}

@keyframes grid-pan {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 48px 48px, 48px 48px;
    }
}

@keyframes scan-sweep {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    8% {
        opacity: 0.35;
    }
    92% {
        opacity: 0.35;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes shimmer-text {
    0% {
        background-position: 120% 50%;
    }
    100% {
        background-position: -20% 50%;
    }
}

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

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

@keyframes pulse-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.35);
    }
    50% {
        box-shadow: 0 0 28px 4px rgba(34, 211, 238, 0.15);
    }
}

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

@keyframes noise-flicker {
    0%,
    100% {
        opacity: 0.04;
    }
    50% {
        opacity: 0.07;
    }
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    color: var(--text);
    background: #eef1f8;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.wrap {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.97) 0%, rgba(3, 7, 18, 0.94) 100%);
    border-bottom: 1px solid rgba(34, 211, 238, 0.14);
    backdrop-filter: saturate(175%) blur(18px);
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.42), 0 0 60px rgba(34, 211, 238, 0.04);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(34, 211, 238, 0.45) 22%,
        rgba(167, 139, 250, 0.5) 50%,
        rgba(34, 211, 238, 0.45) 78%,
        transparent 100%
    );
    opacity: 0.75;
    pointer-events: none;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: #fff;
    transition: opacity 0.2s var(--ease-out), transform 0.25s var(--ease-spring), filter 0.25s;
}

.brand:hover {
    opacity: 0.96;
    transform: translateY(-1px);
    filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.2));
}

.brand img {
    display: block;
    width: auto;
    height: 54px;
    max-width: min(300px, 65vw);
}

.menu {
    display: flex;
    gap: 0.1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.menu a:not(.cta-link) {
    position: relative;
    color: #e2e8f0;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.5rem 0.72rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s, transform 0.2s var(--ease-spring);
}

.menu a:not(.cta-link)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.35rem;
    width: 70%;
    height: 2px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
    border-radius: 2px;
    opacity: 0.95;
    transition: transform 0.35s var(--ease-out);
    pointer-events: none;
}

.menu a:not(.cta-link):hover {
    color: #fff;
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.12), rgba(129, 140, 248, 0.1));
    border-color: rgba(34, 211, 238, 0.28);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.menu a:not(.cta-link):hover::after {
    transform: translateX(-50%) scaleX(1);
}

.cta-link {
    margin-left: 0.35rem;
    padding: 0.52rem 1.05rem !important;
    border-radius: 999px !important;
    background: linear-gradient(125deg, var(--accent) 0%, var(--accent-3) 45%, var(--accent-2) 100%);
    background-size: 160% 100%;
    color: var(--bg-deep) !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    font-size: 0.78rem !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: background-position 0.45s var(--ease-out), filter 0.25s, transform 0.2s var(--ease-spring), box-shadow 0.25s;
}

.cta-link:hover {
    background-position: 100% 0;
    filter: brightness(1.08) saturate(1.08);
    color: var(--bg-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(34, 211, 238, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.nav-mobile {
    display: none;
    position: relative;
}

.nav-mobile summary {
    list-style: none;
    cursor: pointer;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    line-height: 1;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-spring);
}

.nav-mobile summary:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
}

.nav-mobile summary::-webkit-details-marker {
    display: none;
}

.nav-mobile[open] summary {
    background: rgba(34, 211, 238, 0.18);
    border-color: var(--accent);
    transform: scale(0.96);
}

.nav-mobile-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 230px;
    padding: 0.55rem;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(8, 12, 24, 0.99));
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), 0 0 48px rgba(34, 211, 238, 0.1);
    display: grid;
    gap: 0.15rem;
}

.nav-mobile-panel a:not(.cta-link) {
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.68rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav-mobile-panel a:not(.cta-link):hover {
    color: #fff;
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.2);
}

.nav-mobile-panel .cta-link {
    margin-left: 0;
    text-align: center;
}

.hero {
    position: relative;
    color: var(--text-on-dark);
    padding: clamp(3.75rem, 9vw, 6.5rem) 0 clamp(3.25rem, 7vw, 5rem);
    overflow: hidden;
    background: var(--bg-hero);
    isolation: isolate;
}

.hero-aurora {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(ellipse 50% 45% at 20% 20%, rgba(34, 211, 238, 0.35), transparent 55%),
        radial-gradient(ellipse 45% 40% at 85% 15%, rgba(167, 139, 250, 0.32), transparent 50%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(56, 189, 248, 0.2), transparent 55%),
        radial-gradient(ellipse 30% 35% at 70% 60%, rgba(244, 114, 182, 0.12), transparent 45%);
    animation: mesh-drift 18s ease-in-out infinite, aurora-shift 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 10%, transparent 72%);
    animation: grid-pan 24s linear infinite;
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

.hero-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
}

.hero-blob--a {
    width: min(420px, 55vw);
    height: min(420px, 55vw);
    top: -8%;
    left: -5%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.65), transparent 70%);
    animation: blob-float 14s ease-in-out infinite;
}

.hero-blob--b {
    width: min(360px, 48vw);
    height: min(360px, 48vw);
    bottom: -5%;
    right: -8%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.55), transparent 70%);
    animation: blob-float-b 16s ease-in-out infinite;
}

.hero-blob--c {
    width: min(280px, 40vw);
    height: min(280px, 40vw);
    top: 40%;
    right: 15%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 70%);
    animation: blob-float 20s ease-in-out infinite reverse;
}

.hero-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 28%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.04) 45%,
        rgba(34, 211, 238, 0.06) 50%,
        rgba(255, 255, 255, 0.03) 55%,
        transparent
    );
    animation: scan-sweep 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero .wrap {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: start;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hot), transparent);
    border-radius: 2px;
    animation: pulse-glow 2.8s ease-in-out infinite;
}

.hero-line {
    display: block;
}

.hero-line--sub {
    margin-top: 0.65rem;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.72);
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 4.8vw, 3.45rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.text-shimmer {
    background: linear-gradient(
        105deg,
        #f8fafc 0%,
        #f8fafc 35%,
        var(--accent) 48%,
        var(--accent-2) 55%,
        #f8fafc 68%,
        #f8fafc 100%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer-text 3.2s ease-in-out infinite;
}

.lead {
    margin-top: 1.35rem;
    max-width: 56ch;
    color: #cbd5e1;
    font-size: clamp(1rem, 1.12vw, 1.125rem);
    line-height: 1.68;
}

.hero-actions {
    margin-top: 2.1rem;
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.82rem 1.45rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-out), filter 0.25s;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(125deg, var(--accent) 0%, var(--accent-3) 50%, var(--accent-2) 100%);
    background-size: 160% 100%;
    color: var(--bg-deep);
    box-shadow: 0 6px 32px -4px rgba(34, 211, 238, 0.55);
}

.btn-primary:hover {
    background-position: 100% 50%;
    filter: brightness(1.06);
    box-shadow: 0 10px 40px -2px rgba(34, 211, 238, 0.5);
    transform: translateY(-2px);
}

.btn-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(34, 211, 238, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}

.hero-card {
    position: relative;
    background: #030918;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38), 0 0 32px rgba(245, 158, 11, 0.18);
    transition: transform 0.4s var(--ease-out), border-color 0.4s;
}

.hero-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(251, 191, 36, 0.45);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -42%;
    background: conic-gradient(
        from 0deg,
        rgba(2, 6, 23, 0) 0deg,
        rgba(2, 6, 23, 0.05) 240deg,
        rgba(146, 64, 14, 0.24) 284deg,
        rgba(245, 158, 11, 0.86) 316deg,
        rgba(253, 224, 71, 1) 338deg,
        rgba(251, 191, 36, 0.62) 352deg,
        rgba(2, 6, 23, 0) 360deg
    );
    pointer-events: none;
    z-index: 0;
    transform-origin: center;
    animation: neon-border-spin 5.8s linear infinite;
    filter: blur(2px) saturate(1.35);
}

.hero-card-inner {
    position: relative;
    z-index: 1;
    margin: 2px;
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 1.45rem 1.5rem;
    background: linear-gradient(160deg, rgba(10, 18, 40, 0.96), rgba(6, 12, 30, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(14px) saturate(135%);
}

.hero-card-inner > * {
    position: relative;
    z-index: 1;
}

.hero-card h2 {
    margin: 0 0 1.05rem;
    font-size: 1.08rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.72rem;
}

.hero-card li {
    position: relative;
    padding-left: 1.4rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.52;
}

.hero-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.65);
}

[data-reveal],
.reveal {
    opacity: 0;
    transform: translateY(36px) scale(0.97);
    filter: blur(8px);
    transition:
        opacity 0.85s var(--ease-out),
        transform 0.85s var(--ease-out),
        filter 0.85s var(--ease-out);
    transition-delay: calc(var(--j, 0) * 0.09s);
}

[data-reveal].is-visible,
.reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.section {
    padding: clamp(3.35rem, 6.5vw, 5rem) 0;
    scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.section-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.section-kicker--muted {
    color: #6366f1;
}

.section-head {
    max-width: 44rem;
    margin-bottom: 2.25rem;
}

.section-head h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.7rem, 2.6vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -0.028em;
    color: var(--text);
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.62;
}

.section-head--dark .heading-gradient {
    margin: 0 0 0.75rem;
}

.section-head--dark .section-lead-dark {
    margin: 0;
    color: #a8b4cf;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 52ch;
}

.section h2:not(.section-head h2):not(.heading-gradient) {
    margin-top: 0;
    font-size: clamp(1.65rem, 2.5vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.section-alt {
    background: linear-gradient(180deg, #e8ecfa 0%, #e2e8f8 55%, #eef2ff 100%);
}

.section--fx {
    position: relative;
    overflow: hidden;
}

.section--fx::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 55%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 65%);
    pointer-events: none;
}

.journey-strip {
    position: relative;
    padding: clamp(3.5rem, 7vw, 5.25rem) 0;
    background: #020617;
    color: var(--text-on-dark);
    overflow: hidden;
    scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.journey-strip__noise {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: noise-flicker 4s steps(2) infinite;
    pointer-events: none;
}

.journey-strip__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.journey-strip__glow--1 {
    width: 50%;
    height: 55%;
    top: -20%;
    left: -10%;
    background: rgba(34, 211, 238, 0.22);
    animation: blob-float 18s ease-in-out infinite;
}

.journey-strip__glow--2 {
    width: 45%;
    height: 50%;
    bottom: -25%;
    right: -5%;
    background: rgba(167, 139, 250, 0.2);
    animation: blob-float-b 20s ease-in-out infinite;
}

.journey-strip .wrap {
    position: relative;
    z-index: 2;
}

.section-head--dark .section-kicker {
    color: var(--accent);
}

.heading-gradient {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 0.75rem;
    color: #f8fafc;
    background: none;
    -webkit-text-fill-color: #f8fafc;
    -webkit-text-stroke: 0 transparent;
    text-shadow: none;
    animation: none;
}

.journey-rail {
    margin-top: 2rem;
    height: 3px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.15);
}

.journey-rail__line {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent) 20%,
        var(--accent-2) 50%,
        var(--accent-hot) 75%,
        transparent
    );
    background-size: 50% 100%;
    animation: rail-flow 2.8s linear infinite;
}

.journey-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.journey-phase {
    position: relative;
    padding: 1.35rem 1.15rem 1.25rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
    overflow: hidden;
}

.journey-phase:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(34, 211, 238, 0.08);
}

.journey-phase__orbit {
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 0deg, transparent 60%, rgba(34, 211, 238, 0.15), transparent 80%);
    animation: orbit-spin 10s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

.journey-phase--fin {
    border-color: rgba(244, 114, 182, 0.35);
    background: linear-gradient(160deg, rgba(244, 114, 182, 0.08), rgba(255, 255, 255, 0.03));
}

.journey-phase__step {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.journey-phase__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.journey-phase p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #a8b8d8;
}

.card-grid {
    margin-top: 0;
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    position: relative;
    background: var(--surface);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.35rem 1.25rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}

.card--fx::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    opacity: 0;
    transition: left 0.55s var(--ease-out), opacity 0.3s;
    pointer-events: none;
}

.card--fx:hover::before {
    left: 130%;
    opacity: 0.35;
}

.card--fx:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow), 0 0 0 1px rgba(34, 211, 238, 0.15);
    border-color: rgba(99, 102, 241, 0.35);
}

.card-icon {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(129, 140, 248, 0.2));
    color: #0369a1;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(120deg, var(--primary), #8b5cf6);
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.cases {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.15rem;
}

.case {
    position: relative;
    background: linear-gradient(155deg, #0f172a 0%, #1e1b4b 55%, #0f172a 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.case--fx::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(34, 211, 238, 0.2), transparent 55%);
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.35s;
}

.case--fx:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 50px rgba(99, 102, 241, 0.15);
}

.case--fx:hover::after {
    opacity: 1;
}

.case h3 {
    position: relative;
    margin: 0 0 0.6rem;
    font-size: 1.03rem;
    font-weight: 800;
    z-index: 1;
}

.case p {
    position: relative;
    margin: 0;
    color: #b8c5da;
    line-height: 1.55;
    font-size: 0.92rem;
    z-index: 1;
}

.steps {
    margin-top: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
    position: relative;
    background: #fff;
    border: 1px solid rgba(129, 140, 248, 0.22);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.35rem;
    display: grid;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.step--fx::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.45s var(--ease-out);
}

.step--fx:hover::before {
    transform: scaleY(1);
}

.step--fx:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: var(--shadow);
}

.step-num {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-2), var(--primary));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    display: grid;
    place-items: center;
    margin-bottom: 0.1rem;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.step strong {
    font-size: 1.03rem;
    color: var(--text);
}

.step span {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: clamp(1.85rem, 4vw, 2.45rem);
    background: linear-gradient(125deg, rgba(34, 211, 238, 0.12) 0%, rgba(129, 140, 248, 0.14) 45%, rgba(244, 114, 182, 0.08) 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.contact--fx::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.22) 45%,
        rgba(34, 211, 238, 0.2) 50%,
        rgba(255, 255, 255, 0.12) 55%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: rail-flow 3.2s linear infinite;
    opacity: 0.55;
    pointer-events: none;
}

.contact h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.4rem, 2.1vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.contact > div p {
    margin: 0;
    color: var(--muted);
    max-width: 48ch;
    line-height: 1.62;
    position: relative;
    z-index: 1;
}

.contact .btn {
    position: relative;
    z-index: 1;
}

.page-hero {
    background: linear-gradient(180deg, var(--bg-hero) 0%, #0c1428 100%);
    color: var(--text-on-dark);
    padding: clamp(2.65rem, 5vw, 3.75rem) 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 70% at 30% -10%, rgba(34, 211, 238, 0.2), transparent 50%),
        radial-gradient(ellipse 60% 50% at 100% 50%, rgba(167, 139, 250, 0.12), transparent 45%);
    animation: aurora-shift 12s ease-in-out infinite;
    pointer-events: none;
}

.page-hero .wrap {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(1.9rem, 3.2vw, 2.45rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.page-hero .lead {
    margin-top: 0.85rem;
    color: #b8c9e0;
    max-width: 52ch;
}

.form-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.form-card {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.4rem;
}

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

.field-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    font: inherit;
    padding: 0.65rem 0.85rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.alert {
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    margin-bottom: 1.1rem;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.site-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    background: #fff;
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-tag {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

@media (prefers-reduced-motion: reduce) {
    .hero-aurora,
    .hero-grid-bg,
    .hero-blob,
    .hero-scan,
    .text-shimmer,
    .heading-gradient,
    .journey-phase__orbit,
    .journey-rail__line,
    .contact--fx::before,
    .hero-card::before {
        animation: none !important;
    }

    .card--fx::before {
        display: none;
    }

    [data-reveal],
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .btn-glow {
        animation: none !important;
    }
}

@media (max-width: 1100px) {
    .journey-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .form-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .nav-mobile {
        display: block;
    }

    .contact {
        flex-direction: column;
        align-items: stretch;
    }

    .contact .btn {
        width: 100%;
    }

    .journey-flow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
