/* ═══════════════════════════════════════════════════════
   AILANG Cloud — Geometric Blueprint Aesthetic
   Sunholo brand: #e73c17 primary, #314352 secondary
   ═══════════════════════════════════════════════════════ */

:root {
    --flame: #e73c17;
    --flame-dark: #c42e0f;
    --amber: #c08015;
    --slate: #314352;
    --midnight: #0f1420;
    --ink: #1a1f2e;
    --charcoal: #242938;
    --steel: #3a4250;
    --fog: #8995a3;
    --mist: #b8c2cc;
    --cloud: #e2e7ed;
    --snow: #f4f6f8;
    --white: #ffffff;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--slate);
    background: var(--snow);
    -webkit-font-smoothing: antialiased;
}

.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* ── Scroll-triggered animations ──────────────────────── */

.feature-card,
.process-step,
.pricing-card,
.arch-layer {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.feature-card.in-view,
.process-step.in-view,
.pricing-card.in-view,
.arch-layer.in-view {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }

.process-step:nth-child(2) { transition-delay: 0.12s; }
.process-step:nth-child(3) { transition-delay: 0.24s; }
.process-step:nth-child(4) { transition-delay: 0.36s; }

.pricing-card:nth-child(2) { transition-delay: 0.1s; }
.pricing-card:nth-child(3) { transition-delay: 0.2s; }

.arch-layer:nth-child(2) { transition-delay: 0.08s; }
.arch-layer:nth-child(3) { transition-delay: 0.16s; }
.arch-layer:nth-child(4) { transition-delay: 0.24s; }
.arch-layer:nth-child(5) { transition-delay: 0.32s; }
.arch-layer:nth-child(6) { transition-delay: 0.40s; }
.arch-layer:nth-child(7) { transition-delay: 0.48s; }

/* ── WIP Banner ───────────────────────────────────────── */

.wip-banner {
    background: var(--midnight);
    color: var(--mist);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wip-banner a {
    color: var(--flame);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.wip-banner a:hover { border-color: var(--flame); }

.wip-pulse {
    width: 8px;
    height: 8px;
    background: var(--flame);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(231, 60, 23, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(231, 60, 23, 0); }
}

/* ── Header ───────────────────────────────────────────── */

header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--cloud);
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--slate);
    letter-spacing: -0.3px;
}

.logo-divider {
    color: var(--cloud);
    font-size: 22px;
    font-weight: 300;
    margin: 0 2px;
}

.logo-product {
    font-size: 18px;
    font-weight: 600;
    color: var(--flame);
    letter-spacing: -0.2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--slate);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
    letter-spacing: 0.2px;
}

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

.nav-external i { font-size: 10px; margin-left: 3px; opacity: 0.5; }

.nav-cta {
    background: var(--flame) !important;
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--flame-dark) !important;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--slate);
    cursor: pointer;
}

/* ── Buttons ──────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font-body);
    letter-spacing: 0.2px;
    transition: all 0.25s var(--ease-out);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--flame);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(231, 60, 23, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
    background: var(--flame-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(231, 60, 23, 0.35);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--mist);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--slate);
    border: 2px solid var(--cloud);
}

.btn-outline:hover {
    border-color: var(--flame);
    color: var(--flame);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ── HERO ─────────────────────────────────────────────── */

.hero {
    background: var(--midnight);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-grid-bg {
    position: absolute;
    inset: 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: 60px 60px;
    mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 70%);
}

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

.hero-glow--1 {
    width: 600px;
    height: 600px;
    background: rgba(231, 60, 23, 0.12);
    top: -100px;
    right: -100px;
    animation: glow-drift 12s ease-in-out infinite alternate;
}

.hero-glow--2 {
    width: 400px;
    height: 400px;
    background: rgba(192, 128, 21, 0.08);
    bottom: -80px;
    left: 10%;
    animation: glow-drift 15s ease-in-out infinite alternate-reverse;
}

@keyframes glow-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -20px); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--fog);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.label-dot {
    width: 6px;
    height: 6px;
    background: var(--flame);
    border-radius: 50%;
}

.hero-label-link {
    color: var(--fog);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: color 0.3s, border-color 0.3s;
}

.hero-label-link:hover {
    color: var(--mist);
    border-color: var(--mist);
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--white);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--flame), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--fog);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-link {
    color: var(--flame);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(231, 60, 23, 0.4);
    transition: border-color 0.3s, color 0.3s;
}

.hero-link:hover {
    color: var(--amber);
    border-color: var(--amber);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 24px;
}

.proof-item {
    display: flex;
    flex-direction: column;
}

.proof-value {
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.proof-label {
    font-size: 12px;
    color: var(--fog);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.proof-sep {
    width: 1px;
    height: 32px;
    background: var(--steel);
}

/* ── Hero Visual — Orbiting Logo ──────────────────────── */

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hex-orbit {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-logo {
    width: 140px;
    height: 140px;
    filter: drop-shadow(0 0 40px rgba(231, 60, 23, 0.3));
    animation: hex-float 6s ease-in-out infinite;
}

@keyframes hex-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(231, 60, 23, 0.12);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring--1 { width: 220px; height: 220px; animation: orbit-pulse 4s ease-in-out infinite; }
.orbit-ring--2 { width: 290px; height: 290px; border-color: rgba(192, 128, 21, 0.08); animation: orbit-pulse 5s ease-in-out 0.5s infinite; }
.orbit-ring--3 { width: 340px; height: 340px; border-color: rgba(255,255,255,0.04); animation: orbit-pulse 6s ease-in-out 1s infinite; }

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

.orbit-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--white);
}

.orbit-dot--1 {
    background: var(--flame);
    top: 8%;
    right: 18%;
    animation: orbit-float-1 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(231, 60, 23, 0.4);
}

.orbit-dot--2 {
    background: var(--steel);
    bottom: 12%;
    right: 5%;
    animation: orbit-float-2 9s ease-in-out 1s infinite;
}

.orbit-dot--3 {
    background: var(--amber);
    bottom: 22%;
    left: 2%;
    animation: orbit-float-3 10s ease-in-out 2s infinite;
    box-shadow: 0 0 20px rgba(192, 128, 21, 0.3);
}

@keyframes orbit-float-1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-12px, 8px); }
    66% { transform: translate(8px, -6px); }
}

@keyframes orbit-float-2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(10px, -10px); }
    66% { transform: translate(-8px, 6px); }
}

@keyframes orbit-float-3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(6px, 12px); }
    66% { transform: translate(-10px, -4px); }
}

/* ── Section Headers ──────────────────────────────────── */

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

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--flame);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(231, 60, 23, 0.06);
    border-radius: 4px;
    border: 1px solid rgba(231, 60, 23, 0.12);
}

.section-tag--dark {
    color: var(--amber);
    background: rgba(192, 128, 21, 0.1);
    border-color: rgba(192, 128, 21, 0.2);
}

.section-header h2 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    color: var(--slate);
    margin-bottom: 16px;
}

.section-header--light h2 { color: var(--white); }

.section-header p {
    font-size: 17px;
    color: var(--fog);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── FEATURES ─────────────────────────────────────────── */

.features {
    padding: 120px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--snow);
    border: 1px solid var(--cloud);
    border-radius: 12px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before { opacity: 1; }

.feature-card--coordinator::before { background: linear-gradient(90deg, var(--flame), var(--amber)); }
.feature-card--hub::before { background: linear-gradient(90deg, #4285F4, #34a853); }
.feature-card--agents::before { background: linear-gradient(90deg, var(--slate), var(--fog)); }
.feature-card--chains::before { background: linear-gradient(90deg, var(--amber), var(--flame)); }

.feature-number {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--mist);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.feature-card--coordinator .feature-icon { background: var(--flame); }
.feature-card--hub .feature-icon { background: #4285F4; }
.feature-card--agents .feature-icon { background: var(--slate); }
.feature-card--chains .feature-icon { background: var(--amber); }

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 15px;
    color: var(--fog);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tags li {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    background: var(--white);
    border: 1px solid var(--cloud);
    border-radius: 4px;
    color: var(--fog);
    letter-spacing: 0.3px;
}

/* ── ARCHITECTURE ─────────────────────────────────────── */

.architecture {
    padding: 120px 0;
    background: var(--midnight);
    position: relative;
}

.arch-diagram {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.arch-layer {
    background: var(--ink);
    border: 1px solid var(--charcoal);
    border-radius: 10px;
    padding: 24px 28px;
    position: relative;
}

.arch-layer-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--fog);
    margin-bottom: 16px;
}

.arch-nodes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.arch-node {
    flex: 1;
    min-width: 140px;
    background: var(--charcoal);
    border: 1px solid var(--steel);
    border-radius: 8px;
    padding: 16px 18px;
    text-align: center;
    transition: border-color 0.3s, transform 0.2s;
    color: var(--mist);
}

.arch-node:hover {
    border-color: var(--flame);
    transform: translateY(-2px);
}

.arch-node i {
    font-size: 22px;
    color: var(--flame);
    display: block;
    margin-bottom: 8px;
}

.arch-node span {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    display: block;
    line-height: 1.3;
}

.arch-node small {
    font-size: 11px;
    color: var(--fog);
    display: block;
    margin-top: 4px;
    font-family: var(--font-mono);
}

.arch-node--wide {
    flex: 1 1 100%;
}

.arch-node--accent {
    border-color: rgba(231, 60, 23, 0.3);
    background: rgba(231, 60, 23, 0.08);
}

.arch-flow-line {
    display: flex;
    justify-content: center;
    padding: 6px 0;
    position: relative;
}

.arch-flow-line::before {
    content: '';
    width: 1px;
    height: 100%;
    background: var(--steel);
    position: absolute;
    top: 0;
}

.arch-flow-dot {
    width: 8px;
    height: 8px;
    background: var(--flame);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    animation: flow-pulse 2s ease-in-out infinite;
}

@keyframes flow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 60, 23, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(231, 60, 23, 0); }
}

.arch-caption {
    text-align: center;
    margin-top: 40px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--fog);
    letter-spacing: 0.5px;
}

.arch-caption i {
    color: var(--amber);
    margin-right: 6px;
}

/* ── WHY AILANG ───────────────────────────────────────── */

.why-ailang {
    padding: 120px 0;
    background: var(--snow);
    position: relative;
}

.why-ailang .section-header h2 {
    color: var(--slate);
}

.why-ailang .section-header h2 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--flame), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ailang-highlight {
    color: var(--flame);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid rgba(231, 60, 23, 0.3);
    transition: border-color 0.3s;
    -webkit-text-fill-color: var(--flame);
}

.ailang-highlight:hover {
    border-color: var(--flame);
}

.inline-link {
    color: var(--flame);
    text-decoration: none;
    border-bottom: 1px solid rgba(231, 60, 23, 0.3);
    transition: border-color 0.3s, color 0.3s;
}

.inline-link:hover {
    border-color: var(--flame);
}

.inline-link--dark {
    color: var(--flame);
}

/* Provenance Chain — horizontal flow diagram */

.provenance-chain {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 80px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.provenance-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
    width: 150px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.provenance-step.in-view {
    opacity: 1;
    transform: translateY(0);
}

.provenance-step:nth-child(1) { transition-delay: 0s; }
.provenance-step:nth-child(3) { transition-delay: 0.1s; }
.provenance-step:nth-child(5) { transition-delay: 0.2s; }
.provenance-step:nth-child(7) { transition-delay: 0.3s; }
.provenance-step:nth-child(9) { transition-delay: 0.4s; }

.provenance-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--white);
    border: 2px solid var(--cloud);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--flame);
    margin-bottom: 12px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.provenance-step:hover .provenance-icon {
    border-color: var(--flame);
    box-shadow: 0 4px 16px rgba(231, 60, 23, 0.15);
    transform: translateY(-2px);
}

.provenance-step--return .provenance-icon {
    border-color: var(--amber);
    color: var(--amber);
}

.provenance-step--return:hover .provenance-icon {
    border-color: var(--amber);
    box-shadow: 0 4px 16px rgba(192, 128, 21, 0.2);
}

.provenance-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.provenance-detail {
    font-size: 12px;
    color: var(--fog);
    line-height: 1.5;
    max-width: 140px;
}

.provenance-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    margin-top: 16px;
    color: var(--mist);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.provenance-arrow.in-view {
    opacity: 1;
    transform: translateX(0);
}

.provenance-arrow:nth-child(2) { transition-delay: 0.05s; }
.provenance-arrow:nth-child(4) { transition-delay: 0.15s; }
.provenance-arrow:nth-child(6) { transition-delay: 0.25s; }
.provenance-arrow:nth-child(8) { transition-delay: 0.35s; }

.provenance-arrow--return {
    color: var(--amber);
}

/* AILANG Benefits Grid */

.ailang-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.ailang-benefit {
    background: var(--white);
    border: 1px solid var(--cloud);
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.7s var(--ease-out);
    opacity: 0;
    transform: translateY(20px);
}

.ailang-benefit.in-view {
    opacity: 1;
    transform: translateY(0);
}

.ailang-benefit:nth-child(2) { transition-delay: 0.08s; }
.ailang-benefit:nth-child(3) { transition-delay: 0.16s; }
.ailang-benefit:nth-child(4) { transition-delay: 0.24s; }

.ailang-benefit:hover {
    border-color: rgba(231, 60, 23, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(231, 60, 23, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--flame);
    margin: 0 auto 16px;
}

.ailang-benefit h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.ailang-benefit p {
    font-size: 13px;
    color: var(--fog);
    line-height: 1.65;
}

.ailang-benefit code {
    font-family: var(--font-mono);
    font-size: 12px;
    background: rgba(231, 60, 23, 0.06);
    color: var(--flame);
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid rgba(231, 60, 23, 0.12);
}

.ailang-cta {
    text-align: center;
}

.btn-ailang {
    border-color: var(--flame);
    color: var(--flame);
}

.btn-ailang:hover {
    background: var(--flame);
    color: var(--white);
    border-color: var(--flame);
}

.btn-ailang i {
    font-size: 12px;
    opacity: 0.7;
}

/* ── PROCESS ──────────────────────────────────────────── */

.process {
    padding: 120px 0;
    background: var(--white);
}

.process-timeline {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--flame), var(--amber), var(--cloud));
}

.process-step {
    position: relative;
    padding-bottom: 48px;
}

.process-step:last-child { padding-bottom: 0; }

.process-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-num {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 2px solid var(--flame);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--flame);
}

.process-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.process-content p {
    font-size: 15px;
    color: var(--fog);
    line-height: 1.75;
}

.process-code {
    margin-top: 16px;
    background: var(--midnight);
    border-radius: 8px;
    padding: 20px 24px;
    overflow-x: auto;
}

.process-code code {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    color: var(--mist);
    white-space: pre;
}

.code-key { color: #7dd3fc; }
.code-val { color: #fbbf24; }

/* ── PRICING ──────────────────────────────────────────── */

.pricing {
    padding: 120px 0;
    background: var(--snow);
}

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

.pricing-card {
    background: var(--white);
    border: 1px solid var(--cloud);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s, opacity 0.7s var(--ease-out);
}

.pricing-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.pricing-card--featured {
    border: 2px solid var(--flame);
    background: var(--white);
    box-shadow: 0 8px 30px rgba(231, 60, 23, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--flame);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-tier {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--fog);
    margin-bottom: 8px;
}

.pricing-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--slate);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -2px;
}

.pricing-card--featured .pricing-amount { color: var(--flame); }

.pricing-period {
    font-size: 13px;
    color: var(--fog);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--snow);
    font-size: 14px;
    color: var(--slate);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--flame);
    font-size: 12px;
    width: 16px;
    flex-shrink: 0;
}

/* ── WAITLIST ─────────────────────────────────────────── */

.waitlist {
    padding: 120px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.waitlist-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(231, 60, 23, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(231, 60, 23, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
}

.waitlist-container {
    position: relative;
    z-index: 1;
}

.waitlist-hex {
    margin-bottom: 32px;
    animation: hex-float 6s ease-in-out infinite;
}

.waitlist-hex svg {
    filter: drop-shadow(0 0 40px rgba(231, 60, 23, 0.3));
}

.waitlist h2 {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.waitlist h2 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--flame), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.waitlist p {
    font-size: 17px;
    color: var(--fog);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.waitlist-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────── */

footer {
    background: var(--ink);
    color: var(--fog);
    padding: 64px 0 24px;
    border-top: 1px solid var(--charcoal);
}

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

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

.footer-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    font-size: 14px;
    color: var(--fog);
    max-width: 240px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--mist);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }

.footer-col a {
    color: var(--fog);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--charcoal);
    font-size: 13px;
    color: var(--steel);
    text-align: center;
}

/* ── MOBILE ───────────────────────────────────────────── */

@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-visual { order: 0; margin-bottom: 20px; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-proof { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .ailang-benefits { grid-template-columns: repeat(2, 1fr); }
    .provenance-chain { gap: 8px; }
    .provenance-step { width: 120px; }
    .provenance-detail { font-size: 11px; max-width: 110px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--cloud);
    }

    .nav-links.active { display: flex; }
    .nav-cta { text-align: center; }

    .hero { padding: 60px 0; min-height: auto; }
    .hex-orbit { width: 240px; height: 240px; }
    .hex-logo { width: 100px; height: 100px; }
    .orbit-ring--1 { width: 160px; height: 160px; }
    .orbit-ring--2 { width: 200px; height: 200px; }
    .orbit-ring--3 { width: 240px; height: 240px; }
    .orbit-dot { width: 32px; height: 32px; font-size: 13px; }

    .features, .architecture, .process, .pricing, .waitlist, .why-ailang { padding: 80px 0; }

    .provenance-chain {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .provenance-step { width: auto; max-width: 200px; }

    .provenance-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
        padding: 0;
    }

    .provenance-arrow.in-view { transform: rotate(90deg); }

    .ailang-benefits { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

    .arch-nodes { flex-direction: column; }
    .arch-node { min-width: auto; }

    .process-timeline { padding-left: 50px; }
    .process-marker { left: -50px; }
    .process-num { width: 36px; height: 36px; font-size: 13px; }
    .process-timeline::before { left: 17px; }

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

@media (max-width: 480px) {
    .hero-proof { flex-direction: column; gap: 16px; }
    .proof-sep { width: 40px; height: 1px; }
    .pricing-amount { font-size: 36px; }
}
