:root {
    --bg: #0b0f14;
    --bg-soft: #10161d;
    --surface: rgba(17, 22, 29, 0.78);
    --surface-strong: #151b23;
    --surface-hover: #18202a;
    --text: #e6edf3;
    --muted: #92a0ad;
    --muted-2: #6e7b88;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --accent: #7c5cff;
    --accent-soft: rgba(124, 92, 255, 0.18);
    --accent-soft-2: rgba(124, 92, 255, 0.1);
    --cyan-soft: rgba(89, 182, 255, 0.12);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.2);
    --radius: 22px;
    --radius-sm: 16px;
    --container: 1200px;
    --nav-h: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(124, 92, 255, 0.13), transparent 28%),
        radial-gradient(circle at 15% 20%, rgba(89, 182, 255, 0.08), transparent 20%),
        linear-gradient(180deg, #0b0f14 0%, #0d1117 45%, #0b0f14 100%);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
    opacity: 0.45;
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: #c8d4df;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent);
}

.section {
    padding: 110px 0;
    position: relative;
}

.section-title {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-copy {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.02rem;
}

.muted {
    color: var(--muted);
}

.accent {
    color: #b8a8ff;
}

/* =========================
   NAV
========================= */

.site-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    padding-top: 14px;
}

.site-nav {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 20px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(10, 14, 19, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.brand-mark {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(135deg, #9d84ff, #6f4fff);
    box-shadow: 0 0 28px rgba(124, 92, 255, 0.48);
    transform: rotate(45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #c5d0da;
    font-size: 0.95rem;
}

.nav-links a {
    color: #c5d0da;
    transition: color 0.22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

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

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 600;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        color 0.22s ease;
    cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #8f73ff, #6e4cff);
    color: white;
    box-shadow: 0 12px 28px rgba(124, 92, 255, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 18px 36px rgba(124, 92, 255, 0.38);
}

.btn-secondary {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.05);
}

/* =========================
   HERO
========================= */

.hero {
    padding-top: 42px;
    min-height: calc(100vh - 20px);
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 54px;
}

.hero-copy {
    position: relative;
}

.hero-copy::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 36px;
    width: 2px;
    height: 116px;
    background: linear-gradient(to bottom, transparent, #7C5CFF, transparent);
    opacity: 0.34;
    pointer-events: none;
}

.hero-copy h1 {
    margin: 22px 0 0;
    font-size: clamp(3.1rem, 6.6vw, 5.4rem);
    line-height: 0.92;
    letter-spacing: -0.07em;
    max-width: 8ch;
    font-weight: 700;
}

.hero-copy p {
    max-width: 620px;
    color: #aeb9c4;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.68;
    margin-top: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-proof-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    margin-top: 28px;
    color: #b7c3cf;
    font-size: 0.94rem;
    opacity: 0.78;
}

.hero-proof-line span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-proof-line span:not(:first-child)::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(143, 115, 255, 0.9);
    box-shadow: 0 0 10px rgba(124, 92, 255, 0.38);
    margin-right: 4px;
}

.hero-accent {
    background: linear-gradient(90deg, #9B87FF, #65B9FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-visual-wrap {
    position: relative;
}

.hero-visual-glow {
    position: absolute;
    inset: auto 8% -8% 12%;
    height: 180px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 68%);
    filter: blur(12px);
    pointer-events: none;
}

/* =========================
   HERO PANEL / LOADER / SVG / TOOLTIP
========================= */

.hero-panel {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    padding-bottom: 140px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 20% 20%, rgba(124,92,255,0.18), transparent 28%),
        radial-gradient(circle at 80% 25%, rgba(89,182,255,0.12), transparent 24%),
        linear-gradient(180deg, rgba(17, 22, 29, 0.95), rgba(11, 15, 20, 0.96));
    box-shadow: var(--shadow);
    isolation: isolate;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.55;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 24% 26%, rgba(124, 92, 255, 0.16), transparent 22%),
        radial-gradient(circle at 68% 30%, rgba(101, 185, 255, 0.12), transparent 24%),
        radial-gradient(circle at 52% 72%, rgba(124, 92, 255, 0.08), transparent 20%);
    filter: blur(22px);
    opacity: 0.85;
    animation: heroAmbientDrift 14s ease-in-out infinite alternate;
}

.hero-panel-top {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    color: #b9c4cf;
    font-size: 0.82rem;
    transition: opacity 0.45s ease, transform 0.45s ease;
    opacity: 0;
    transform: translateY(4px);
}

.hero-chip {
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.035);
    backdrop-filter: blur(10px);
}

.hero-loader {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, rgba(124, 92, 255, 0.08), transparent 38%),
        linear-gradient(180deg, rgba(11, 15, 20, 0.68), rgba(11, 15, 20, 0.82));
    backdrop-filter: blur(8px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-loader-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 18px 40px rgba(0, 0, 0, 0.25);
}

.hero-loader-line span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b29fff, #65b9ff);
    box-shadow:
        0 0 12px rgba(124, 92, 255, 0.55),
        0 0 28px rgba(101, 185, 255, 0.22);
    opacity: 0.28;
    transform: scale(0.9);
    animation: heroLoaderPulse 1.6s ease-in-out infinite;
}

.hero-loader-line span:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-loader-line span:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-loader-label {
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b7c3cf;
    opacity: 0.9;
}

.hero-panel-flow-aura {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 31% 31%, rgba(143, 115, 255, 0.12), transparent 8%),
        radial-gradient(circle at 49% 31%, rgba(143, 115, 255, 0.16), transparent 10%),
        radial-gradient(circle at 49% 50%, rgba(138, 155, 255, 0.12), transparent 10%),
        radial-gradient(circle at 49% 70%, rgba(101, 185, 255, 0.12), transparent 10%);
    filter: blur(16px);
    opacity: 0.55;
    animation: heroFlowAuraPulse 4.8s ease-in-out infinite;
}

.hero-panel-grid-sheen {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            115deg,
            transparent 0%,
            transparent 42%,
            rgba(255,255,255,0.035) 50%,
            transparent 58%,
            transparent 100%
        );
    mix-blend-mode: screen;
    opacity: 0.22;
    animation: heroGridSweep 8s linear infinite;
}

.hero-svg {
    position: absolute;
    inset: 52px 22px 146px 22px;
    width: calc(100% - 44px);
    height: calc(100% - 198px);
    z-index: 2;
    transition: opacity 0.45s ease, transform 0.45s ease;
    opacity: 0;
    transform: translateY(6px);
}

.hero-stats {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    z-index: 3;
    transition: opacity 0.45s ease, transform 0.45s ease;
    opacity: 0;
    transform: translateY(4px);
}

.stat-card {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(11, 15, 20, 0.72);
    backdrop-filter: blur(12px);
}

.stat-label {
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.stat-note {
    margin-top: 6px;
    color: #b0bcc7;
    font-size: 0.82rem;
    line-height: 1.45;
}

.hero-panel.is-ready .hero-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-panel.is-ready .hero-svg,
.hero-panel.is-ready .hero-stats,
.hero-panel.is-ready .hero-panel-top {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroLoaderPulse {
    0%, 100% {
        opacity: 0.25;
        transform: scale(0.88);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes heroAmbientDrift {
    0% {
        transform: translate3d(-1.2%, -0.8%, 0) scale(1);
        opacity: 0.78;
    }
    50% {
        transform: translate3d(1.4%, 1%, 0) scale(1.03);
        opacity: 0.92;
    }
    100% {
        transform: translate3d(0.6%, -1.1%, 0) scale(1.01);
        opacity: 0.82;
    }
}

@keyframes heroGridSweep {
    0% {
        transform: translateX(-38%);
        opacity: 0;
    }
    12% {
        opacity: 0.18;
    }
    50% {
        opacity: 0.24;
    }
    88% {
        opacity: 0.12;
    }
    100% {
        transform: translateX(42%);
        opacity: 0;
    }
}

@keyframes heroFlowAuraPulse {
    0%, 100% {
        opacity: 0.38;
        transform: scale(0.995);
    }
    50% {
        opacity: 0.68;
        transform: scale(1.012);
    }
}

.hero-svg text {
    user-select: none;
}

.hero-diagram-layer {
    fill: #9eacb9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    opacity: 0.8;
}

.hero-diagram-support-line {
    stroke: #8ea0b5;
    stroke-opacity: 0.24;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.hero-diagram-node {
    cursor: pointer;
    outline: none;
}

.hero-diagram-hit {
    fill: transparent;
    stroke: transparent;
    stroke-width: 20;
    pointer-events: all;
}

.hero-diagram-node .hero-diagram-pill rect {
    fill: rgba(8, 12, 18, 0.9);
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
    transition: fill 0.18s ease, stroke 0.18s ease;
}

.hero-diagram-node .hero-diagram-pill text {
    fill: #e5edf5;
    font-size: 12px;
    font-weight: 500;
    transition: fill 0.18s ease;
}

.hero-diagram-node:hover .hero-diagram-pill rect,
.hero-diagram-node:focus .hero-diagram-pill rect,
.hero-diagram-node:focus-visible .hero-diagram-pill rect {
    fill: rgba(11, 15, 20, 0.97);
    stroke: rgba(124, 92, 255, 0.34);
}

.hero-diagram-node:hover .hero-diagram-pill text,
.hero-diagram-node:focus .hero-diagram-pill text,
.hero-diagram-node:focus-visible .hero-diagram-pill text {
    fill: #ffffff;
}

.hero-tooltip {
    position: absolute;
    z-index: 4;
    min-width: 260px;
    max-width: 320px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at top left, rgba(124, 92, 255, 0.12), transparent 35%),
        linear-gradient(180deg, rgba(14, 18, 24, 0.97), rgba(10, 14, 19, 0.99));
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 0 42px rgba(124, 92, 255, 0.08);
    backdrop-filter: blur(14px);
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.985);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
    pointer-events: none;
}

.hero-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.hero-tooltip-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.hero-tooltip-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-tooltip-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a890ff, #65b9ff);
    box-shadow: 0 0 14px rgba(124, 92, 255, 0.45);
}

.hero-tooltip-badge {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #d7e2eb;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-tooltip-copy {
    color: #bdc9d4;
    font-size: 0.9rem;
    line-height: 1.55;
}

.hero-tooltip-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-tooltip-meta-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
}

.hero-tooltip-meta-item span {
    color: #8ea0b2;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-tooltip-meta-item strong {
    color: #e6edf3;
    font-size: 0.84rem;
    font-weight: 600;
    text-align: right;
}

/* =========================
   GRID / CARDS
========================= */

.principles-strip {
    padding-top: 10px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.principle-card,
.card,
.solution-card,
.philosophy-card,
.process-card,
.reliability-card,
.cta-panel,
.footer-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.principle-card {
    padding: 22px;
    border-radius: 20px;
    min-height: 132px;
    box-shadow: var(--shadow-soft);
}

.principle-card strong {
    display: block;
    font-size: 1.02rem;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.principle-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.capabilities-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.card {
    padding: 28px;
    border-radius: 22px;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    background: rgba(21, 27, 35, 0.9);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid rgba(124, 92, 255, 0.18);
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.18), rgba(124, 92, 255, 0.06));
    color: #cabfff;
    font-size: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.card h3 {
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.feature-list li {
    position: relative;
    padding-left: 22px;
    color: #c8d4df;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a890ff, #6e4cff);
    box-shadow: 0 0 18px rgba(124, 92, 255, 0.35);
    transform: translateY(-50%);
}

.solutions-layout {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.solution-card {
    padding: 28px;
    border-radius: 22px;
    min-height: 100%;
}

.solution-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}

.solution-card p {
    color: var(--muted);
    margin-bottom: 16px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #cdd7e1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.philosophy-layout {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
    align-items: stretch;
}

.philosophy-main {
    padding: 34px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(124, 92, 255, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(17, 22, 29, 0.92), rgba(11, 15, 20, 0.95));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.philosophy-main p + p {
    margin-top: 14px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.philosophy-card {
    padding: 22px;
    border-radius: 20px;
}

.philosophy-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
}

.philosophy-card p {
    color: var(--muted);
    font-size: 0.94rem;
}

.process-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.process-card {
    position: relative;
    padding: 28px 22px 24px;
    border-radius: 22px;
}

.process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(124, 92, 255, 0.14);
    border: 1px solid rgba(124, 92, 255, 0.2);
    color: #d3c9ff;
    font-weight: 700;
    margin-bottom: 18px;
}

.process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}

.process-card p {
    color: var(--muted);
}

.reliability-layout {
    margin-top: 38px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}

.reliability-main {
    padding: 34px;
    border-radius: 26px;
    background:
        radial-gradient(circle at bottom left, rgba(89, 182, 255, 0.1), transparent 25%),
        linear-gradient(180deg, rgba(17, 22, 29, 0.92), rgba(11, 15, 20, 0.95));
    border: 1px solid var(--border);
}

.reliability-points {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.reliability-card {
    padding: 20px;
    border-radius: 18px;
}

.reliability-card strong {
    display: block;
    margin-bottom: 8px;
}

.reliability-card p {
    color: var(--muted);
    font-size: 0.94rem;
}

.topology-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border-radius: 26px;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at top center, rgba(124,92,255,0.14), transparent 24%),
        linear-gradient(180deg, rgba(17, 22, 29, 0.95), rgba(11, 15, 20, 0.98));
}

.topology-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
}

.topology-label {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    color: #c6d0da;
    font-size: 0.84rem;
    backdrop-filter: blur(10px);
}

.topology-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* =========================
   CTA / FOOTER
========================= */

.cta-panel {
    padding: 40px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background:
        radial-gradient(circle at 15% 20%, rgba(124,92,255,0.18), transparent 26%),
        linear-gradient(180deg, rgba(17, 22, 29, 0.95), rgba(11, 15, 20, 0.98));
    box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: -0.05em;
    max-width: 12ch;
}

.cta-panel p {
    max-width: 620px;
    color: var(--muted);
    margin-top: 14px;
}

.footer {
    padding: 0 0 34px;
}

.footer-panel {
    padding: 28px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand .brand {
    font-size: 0.95rem;
}

.footer-copy {
    color: var(--muted);
    max-width: 520px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #c9d3dc;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--text);
}

/* =========================
   CONTACT FORM
========================= */

.contact-panel {
    align-items: stretch;
    gap: 42px;
}

.contact-copy {
    flex: 1 1 58%;
    min-width: 0;
}

.contact-form {
    flex: 0 1 380px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: auto;
}

.form-row {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
    color: var(--text);
    font: inherit;
    outline: none;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease,
        transform 0.22s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-form input {
    min-height: 52px;
    padding: 0 16px;
}

.contact-form textarea {
    min-height: 140px;
    padding: 14px 16px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8f9aa6;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(124, 92, 255, 0.55);
    box-shadow:
        0 0 0 4px rgba(124, 92, 255, 0.14),
        0 16px 34px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.04);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035));
}

.form-row-turnstile {
    margin-top: 4px;
}

.form-row-turnstile .cf-turnstile {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 78px; /* key: reserve space */

    padding: 12px;
    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.025),
        0 10px 24px rgba(0, 0, 0, 0.16);
}

.cf-turnstile iframe {
    margin: 0 auto !important;
}

.form-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2px;
}

.form-row-actions .btn {
    min-width: 148px;
}

/* Optional nicer textarea scrollbar */
.contact-form textarea::-webkit-scrollbar {
    width: 10px;
}

.contact-form textarea::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03);
    border-radius: 999px;
}

.contact-form textarea::-webkit-scrollbar-thumb {
    background: rgba(124, 92, 255, 0.38);
    border-radius: 999px;
}

/* =========================
   CONTACT RESPONSIVE
========================= */
.contact-success {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 16px;

    background:
        radial-gradient(circle at top left, rgba(46, 204, 113, 0.18), transparent 40%),
        rgba(46, 204, 113, 0.08);

    border: 1px solid rgba(46, 204, 113, 0.28);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.04);

    backdrop-filter: blur(10px);

    animation: contactSuccessIn 0.35s ease;
}

.contact-success-badge {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8df5b6;
    margin-bottom: 8px;
}

.contact-success p {
    color: #baf7d3;
    font-size: 0.95rem;
}

.hidden {
    display: none;
}

@keyframes contactSuccessIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.contact-flash {
    margin-bottom: 14px;
}

.contact-alert {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.92rem;
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
}

.contact-alert-success {
    background: rgba(46, 204, 113, 0.12);
    border-color: rgba(46, 204, 113, 0.28);
    color: #9ff0c6;
}

.contact-alert-danger {
    background: rgba(255, 82, 82, 0.12);
    border-color: rgba(255, 82, 82, 0.28);
    color: #ffb3b3;
}

@media (max-width: 1120px) {
    .contact-form {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 680px) {
    .contact-panel {
        gap: 26px;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-row-actions {
        flex-direction: column;
    }

    .form-row-actions .btn {
        width: 100%;
    }
}

/* =========================
   CONTACT FORM / SUCCESS UX
========================= */

.contact-panel {
    align-items: stretch;
    gap: 42px;
}

.contact-copy {
    flex: 1 1 58%;
    min-width: 0;
}

.contact-copy p {
    max-width: 58ch;
}

.contact-form-stage {
    position: relative;
    flex: 0 1 380px;
    width: 100%;
    max-width: 380px;
    min-height: 560px;
    margin-left: auto;
}

.contact-form,
.contact-success-card {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition:
        opacity 0.38s ease,
        transform 0.38s ease,
        filter 0.38s ease,
        visibility 0.38s ease;
    will-change: opacity, transform, filter;
}

.contact-form.is-submitting {
    opacity: 0.72;
    pointer-events: none;
}

.contact-form.is-hidden {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    filter: blur(8px);
    pointer-events: none;
    visibility: hidden;
}

.form-row {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
    color: var(--text);
    font: inherit;
    outline: none;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease,
        transform 0.22s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-form input {
    min-height: 52px;
    padding: 0 16px;
}

.contact-form textarea {
    min-height: 188px;
    padding: 14px 16px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8f9aa6;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(124, 92, 255, 0.55);
    box-shadow:
        0 0 0 4px rgba(124, 92, 255, 0.14),
        0 16px 34px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.04);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035));
}

.form-row-turnstile {
    margin-top: 2px;
}

.form-row-turnstile .cf-turnstile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 96px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.025),
        0 10px 24px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.cf-turnstile iframe {
    margin: 0 auto !important;
}

.form-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2px;
}

.form-row-actions .btn {
    min-width: 148px;
}

/* Left-side success append */

.contact-success-inline {
    margin-top: 22px;
    max-width: 430px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(85, 214, 141, 0.24);
    background:
        radial-gradient(circle at top left, rgba(85, 214, 141, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(20, 44, 32, 0.7), rgba(12, 26, 20, 0.72));
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 0 0 0 rgba(85, 214, 141, 0);
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    pointer-events: none;
}

.contact-copy.is-success .contact-success-inline {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    animation:
        contactSuccessInlineIn 0.45s ease,
        contactSuccessGlow 4.8s ease-in-out infinite;
}

.contact-success-inline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #92f2bb;
}

.contact-success-inline-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #63e697;
    box-shadow: 0 0 16px rgba(99, 230, 151, 0.5);
}

.contact-success-inline p {
    color: #c7f7da;
    font-size: 0.96rem;
    line-height: 1.58;
}

/* Right-side replacement success card */

.contact-success-card {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 28px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(85, 214, 141, 0.18);
    background:
        radial-gradient(circle at 18% 14%, rgba(85, 214, 141, 0.16), transparent 26%),
        radial-gradient(circle at 82% 18%, rgba(101, 185, 255, 0.1), transparent 24%),
        linear-gradient(180deg, rgba(16, 24, 21, 0.96), rgba(10, 14, 17, 0.98));
    box-shadow:
        0 24px 60px rgba(0,0,0,0.34),
        inset 0 1px 0 rgba(255,255,255,0.03);
    backdrop-filter: blur(14px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.985);
    filter: blur(10px);
    transition:
        opacity 0.42s ease,
        transform 0.42s ease,
        filter 0.42s ease,
        visibility 0.42s ease;
}

.contact-success-card.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.contact-success-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.34;
}

.contact-success-card-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    right: -60px;
    top: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 230, 151, 0.16), transparent 68%);
    filter: blur(14px);
    animation: contactSuccessOrb 5.6s ease-in-out infinite;
    pointer-events: none;
}

.contact-success-card-icon,
.contact-success-card-copy,
.contact-success-card-actions {
    position: relative;
    z-index: 1;
}

.contact-success-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d7ffe6;
    background:
        linear-gradient(180deg, rgba(99, 230, 151, 0.22), rgba(99, 230, 151, 0.1));
    border: 1px solid rgba(99, 230, 151, 0.3);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.22),
        0 0 40px rgba(99, 230, 151, 0.08);
}

.contact-success-card-icon svg {
    width: 28px;
    height: 28px;
}

.contact-success-card-eyebrow {
    margin-bottom: 8px;
    color: #92f2bb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-success-card h3 {
    font-size: clamp(1.7rem, 3vw, 2.1rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.contact-success-card p {
    color: #b4c8bb;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 32ch;
}

.contact-success-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2px;
}

/* Animations */

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

@keyframes contactSuccessGlow {
    0%, 100% {
        box-shadow:
            0 16px 40px rgba(0, 0, 0, 0.24),
            inset 0 1px 0 rgba(255,255,255,0.03),
            0 0 0 0 rgba(85, 214, 141, 0.00);
    }
    50% {
        box-shadow:
            0 16px 40px rgba(0, 0, 0, 0.24),
            inset 0 1px 0 rgba(255,255,255,0.03),
            0 0 28px 0 rgba(85, 214, 141, 0.12);
    }
}

@keyframes contactSuccessOrb {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate3d(-10px, 8px, 0) scale(1.04);
        opacity: 1;
    }
}

/* Optional textarea scrollbar */
.contact-form textarea::-webkit-scrollbar {
    width: 10px;
}

.contact-form textarea::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03);
    border-radius: 999px;
}

.contact-form textarea::-webkit-scrollbar-thumb {
    background: rgba(124, 92, 255, 0.38);
    border-radius: 999px;
}

/* Responsive */

@media (max-width: 1120px) {
    .contact-form-stage {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 680px) {
    .contact-panel {
        gap: 26px;
    }

    .contact-form-stage {
        min-height: 540px;
        max-width: 100%;
    }

    .form-row-actions,
    .contact-success-card-actions {
        flex-direction: column;
    }

    .form-row-actions .btn,
    .contact-success-card-actions .btn {
        width: 100%;
    }

    .contact-success-card {
        padding: 24px;
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-form,
    .contact-success-card,
    .contact-success-inline,
    .contact-success-card-orb {
        transition: none !important;
        animation: none !important;
    }
}
/* =========================
   TABLET
========================= */

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

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-panel {
        min-height: 520px;
    }

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

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

/* =========================
   MOBILE / STACKED HERO
========================= */

@media (max-width: 920px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 30px;
    }

    .hero-grid,
    .capabilities-grid,
    .solutions-layout,
    .reliability-points,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 88px 0;
    }

    .hero-copy::before {
        display: none;
    }

    .hero-copy h1 {
        max-width: 9ch;
        font-size: clamp(2.9rem, 10vw, 4.7rem);
    }

    .hero-panel {
        min-height: auto;
        padding: 72px 18px 18px;
    }

    .hero-svg {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        margin-bottom: 18px;
    }

    .hero-stats {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 0;
    }

    .hero-loader {
        position: absolute;
        inset: 0;
    }

    .hero-tooltip {
        display: none;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 680px) {
    :root {
        --nav-h: 70px;
    }

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .site-nav {
        padding: 0 14px;
        border-radius: 18px;
    }

    .nav-actions .btn-secondary {
        display: none;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-panel {
        border-radius: 24px;
    }

    .hero-panel-top {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin-bottom: 14px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-chip {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .hero-panel-top .hero-chip:last-child {
        display: none;
    }

    .hero-proof-line {
        font-size: 0.9rem;
        gap: 10px 14px;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    .principles-grid,
    .process-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid,
    .solutions-layout {
        grid-template-columns: 1fr;
    }

    .cta-panel,
    .philosophy-main,
    .reliability-main,
    .card,
    .solution-card,
    .process-card,
    .footer-panel {
        padding: 24px;
    }

    .footer-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================
   REDUCED MOTION
========================= */

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

    .hero-svg animate,
    .hero-svg animateMotion,
    .hero-loader-line span {
        display: none;
        animation: none !important;
    }

    .btn,
    .card,
    .hero-svg,
    .hero-stats,
    .hero-panel-top,
    .hero-loader,
    .hero-panel::after,
    .hero-panel-flow-aura,
    .hero-panel-grid-sheen {
        transition: none !important;
        animation: none !important;
    }
}
