/* =========================================================
   sim-ai.net — Glassmorphic SaaS landing
   Palette
     #ffffff  white  (primary surface)
     #f8f9fc  surface (secondary background)
     #0f172a  text   (primary text)
     #6366f1  primary indigo
     #8b5cf6  secondary purple
     #06b6d4  accent cyan
   Fonts: Inter (display + body), JetBrains Mono (code)
   ========================================================= */

:root {
    --white: #ffffff;
    --surface: #f8f9fc;
    --text: #0f172a;
    --text-muted: rgba(15, 23, 42, 0.66);
    --text-subtle: rgba(15, 23, 42, 0.5);
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.18),
                    0 8px 22px -10px rgba(99, 102, 241, 0.18);
    --grad-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 55%, #06b6d4 100%);
    --grad-text:  linear-gradient(120deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --grad-section: linear-gradient(160deg, #4338ca 0%, #6366f1 35%, #8b5cf6 70%, #6d28d9 100%);
    --maxw: 1200px;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: transparent; }

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin: 0 0 0.6em;
    letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

code, pre { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1;
    transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
    color: #fff;
    background: var(--grad-brand);
    background-size: 180% 180%;
    box-shadow: 0 12px 28px -12px rgba(99, 102, 241, 0.55), inset 0 0 0 1px rgba(255,255,255,0.15);
    animation: btnGrad 8s ease infinite;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px -14px rgba(99, 102, 241, 0.7), inset 0 0 0 1px rgba(255,255,255,0.25);
}
.btn-ghost {
    color: var(--text);
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--primary);
}
.btn-glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}
.btn-light {
    color: #1e1b4b;
    background: #fff;
    box-shadow: 0 10px 26px -10px rgba(255,255,255,0.5);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(255,255,255,0.6); }

@keyframes btnGrad {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ---------- Glass utilities ---------- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
}
.glass-dark {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 30px 70px -28px rgba(8, 10, 30, 0.55);
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.85rem 1.25rem;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.is-stuck {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 30px -16px rgba(15, 23, 42, 0.12);
    padding: 0.6rem 1.25rem;
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--text);
}
.logo-mark { display: inline-flex; }
.logo-text { font-family: 'Inter', sans-serif; }
.logo-dot {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin: 0 auto;
}
.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.35rem 0;
    transition: color 0.2s ease;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--grad-brand);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; gap: 0.55rem; }
.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
    border: 1px solid rgba(15,23,42,0.1);
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.nav-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 8rem 1.25rem 5rem;
    background: radial-gradient(120% 80% at 50% 0%, #1e1b4b 0%, #0f172a 55%, #020617 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hero-mesh {
    position: absolute;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
}
.blob {
    position: absolute;
    width: 56vmax;
    height: 56vmax;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.7;
    will-change: transform;
}
.blob-a { background: var(--primary);   top: -20%; left: -15%; animation: blobA 18s ease-in-out infinite; }
.blob-b { background: var(--secondary); top: 10%;  right: -20%; animation: blobB 22s ease-in-out infinite; }
.blob-c { background: var(--accent);    bottom: -25%; left: 25%;  animation: blobC 24s ease-in-out infinite; opacity: 0.55; }

@keyframes blobA {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50%      { transform: translate3d(8%, 6%, 0) scale(1.1); }
}
@keyframes blobB {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50%      { transform: translate3d(-10%, 4%, 0) scale(1.08); }
}
@keyframes blobC {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50%      { transform: translate3d(4%, -8%, 0) scale(1.12); }
}

.hero-dots {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 1.5px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 80%);
    transition: transform 0.18s ease-out;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.85rem 0.4rem 0.4rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.6rem;
}
.eyebrow-pill {
    background: var(--grad-brand);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}
.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 1.1rem;
}
.grad-text {
    background: linear-gradient(120deg, #c4b5fd 0%, #a5b4fc 25%, #67e8f9 70%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    color: rgba(255,255,255,0.78);
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto 2rem;
}
.hero-panel {
    margin: 0 auto;
    padding: 1.1rem;
    max-width: 620px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 24px 70px -30px rgba(0,0,0,0.45);
}
.hero-panel-row {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-panel-meta {
    margin-top: 0.85rem;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.72);
}
.check { display: inline-flex; align-items: center; gap: 0.35rem; }
.check svg { color: #67e8f9; }

.hero-stats {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.stat {
    padding: 1.2rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(120deg, #fff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.stat-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

/* ---------- Trusted strip ---------- */
.trust {
    background: var(--surface);
    padding: 3rem 1.25rem;
    text-align: center;
}
.trust-label {
    margin: 0 0 1.25rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-subtle);
    font-weight: 600;
}
.trust-row {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
}
.trust-logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--text-subtle);
    transition: color 0.25s ease, transform 0.25s ease;
    font-family: 'Inter', sans-serif;
}
.trust-logo:hover { color: var(--text); transform: translateY(-2px); }

/* ---------- Section base ---------- */
.section {
    padding: 6rem 1.25rem;
    position: relative;
    overflow: hidden;
}
.section-light {
    background: var(--white);
    background-image:
        radial-gradient(70% 60% at 90% -10%, rgba(99,102,241,0.08), transparent 60%),
        radial-gradient(60% 60% at -10% 110%, rgba(6,182,212,0.07), transparent 60%);
}
.section-gradient {
    background: var(--grad-section);
    color: #fff;
    isolation: isolate;
}
.section-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(40% 60% at 10% 20%, rgba(255,255,255,0.18), transparent 60%),
        radial-gradient(50% 60% at 90% 80%, rgba(6,182,212,0.35), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.section-gradient > * { position: relative; z-index: 1; }

.section-head {
    max-width: var(--maxw);
    margin: 0 auto 3.5rem;
    text-align: center;
}
.section-head-narrow { max-width: 760px; }
.kicker {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 1rem;
}
.kicker-light {
    color: #fff;
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.25);
}
.section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    margin: 0 0 0.8rem;
}
.section-title-light { color: #fff; }
.section-lede {
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
}
.section-lede-light { color: rgba(255,255,255,0.82); }

/* ---------- Feature Grid ---------- */
.feature-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-card {
    padding: 2rem 1.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.0), rgba(139,92,246,0.0));
    transition: background 0.4s ease;
    z-index: 0;
    pointer-events: none;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px -28px rgba(99, 102, 241, 0.35),
                0 12px 26px -10px rgba(15, 23, 42, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
}
.feature-card:hover::before {
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(6,182,212,0.05));
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card--featured {
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
    border-color: rgba(99, 102, 241, 0.25);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.12));
    border: 1px solid rgba(99, 102, 241, 0.25);
    margin-bottom: 1.1rem;
}
.feature-card h3 {
    font-size: 1.18rem;
    margin: 0 0 0.5rem;
}
.feature-card p {
    color: var(--text-muted);
    margin: 0 0 1rem;
    font-size: 0.95rem;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(15,23,42,0.08);
    padding-top: 0.9rem;
}
.feature-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.45rem;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--grad-brand);
    opacity: 0.8;
    transform: scale(0.4);
    box-shadow: 0 0 0 2px rgba(99,102,241,0.18);
}

/* ---------- Platform / Code ---------- */
.platform-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}
.platform-copy h2 { color: #fff; }
.platform-copy .section-lede { color: rgba(255,255,255,0.85); margin: 0 0 1.5rem; }
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
}
.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255,255,255,0.92);
    margin-bottom: 0.6rem;
    font-size: 0.97rem;
}
.bullet-dot {
    flex: 0 0 auto;
    width: 10px; height: 10px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #a5b4fc, #67e8f9);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

.platform-code {
    overflow: hidden;
    transform: rotate(-0.4deg);
    transition: transform 0.4s ease;
}
.platform-code:hover { transform: rotate(0deg) translateY(-2px); }
.code-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.6rem 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.code-tab {
    padding: 0.45rem 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    border-radius: 8px 8px 0 0;
    transition: color 0.2s ease, background 0.2s ease;
}
.code-tab:hover { color: #fff; }
.code-tab.is-active {
    color: #fff;
    background: rgba(255,255,255,0.06);
    box-shadow: inset 0 -2px 0 0 var(--accent);
}
.code-window {
    position: relative;
    padding: 1.25rem 1.4rem 1.6rem;
}
.code-dots {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}
.code-dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
}
.code-dots span:nth-child(1) { background: #fb7185; }
.code-dots span:nth-child(2) { background: #facc15; }
.code-dots span:nth-child(3) { background: #4ade80; }
.code-block {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.85rem;
    line-height: 1.7;
    white-space: pre;
    overflow-x: auto;
    display: none;
}
.code-block.is-active { display: block; }
.code-block .c-com { color: #94a3b8; font-style: italic; }
.code-block .c-key { color: #c4b5fd; font-weight: 500; }
.code-block .c-str { color: #67e8f9; }
.code-block .c-num { color: #fbbf24; }

/* ---------- Network section ---------- */
.network-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
}
.network-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    padding: 1rem;
    overflow: hidden;
    background:
        radial-gradient(80% 70% at 30% 30%, rgba(99,102,241,0.18), transparent 60%),
        radial-gradient(80% 70% at 80% 80%, rgba(6,182,212,0.18), transparent 60%),
        rgba(255,255,255,0.6);
}
.net-svg { width: 100%; height: 100%; }
.net-svg circle.node {
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 4px 8px rgba(99,102,241,0.4));
}
.net-svg .node-pulse {
    animation: nodePulse 2.6s ease-in-out infinite;
}
@keyframes nodePulse {
    0%, 100% { r: 6; opacity: 1; }
    50% { r: 8; opacity: 0.85; }
}
.net-legend {
    position: absolute;
    bottom: 0.9rem;
    left: 0.9rem;
    right: 0.9rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
}
.net-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-primary { background: var(--primary); }
.dot-secondary { background: var(--secondary); }
.dot-accent { background: var(--accent); }

.network-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.net-step {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(15,23,42,0.06);
    border-radius: var(--radius);
    padding: 1.25rem 1.1rem;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.net-step:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -16px rgba(99,102,241,0.3);
}
.net-step-num {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(99,102,241,0.1);
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}
.net-step h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }
.net-step p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ---------- Pricing ---------- */
.pricing-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.price-card {
    padding: 1.8rem 1.6rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-4px); }
.price-card--featured {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 30px 80px -24px rgba(6, 182, 212, 0.45);
}
.price-card--featured::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(103, 232, 249, 0.6));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.price-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-brand);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.6);
}
.price-head h3 { color: #fff; font-size: 1.15rem; margin: 0 0 0.3rem; }
.price-head p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin: 0 0 1.2rem; }
.price-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1.3rem;
}
.price-symbol { color: rgba(255,255,255,0.7); font-weight: 500; }
.price-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}
.price-num-sm { font-size: 1.6rem; }
.price-period { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-left: 0.3rem; }
.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
    flex: 1;
}
.price-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.55rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
}
.price-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.55rem;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: 5rem 1.25rem;
    background: var(--surface);
    background-image:
        radial-gradient(50% 60% at 20% 30%, rgba(99,102,241,0.1), transparent 60%),
        radial-gradient(50% 60% at 80% 70%, rgba(6,182,212,0.1), transparent 60%);
}
.cta-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(80% 80% at 0% 0%, rgba(99,102,241,0.18), transparent 60%),
        radial-gradient(80% 80% at 100% 100%, rgba(6,182,212,0.18), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.cta-text, .cta-actions { position: relative; z-index: 1; }
.cta-text { max-width: 540px; }
.cta-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 0.4rem; }
.cta-text p { color: var(--text-muted); margin: 0; }
.cta-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
    background: #0b1020;
    color: rgba(255,255,255,0.75);
    padding: 4rem 1.25rem 2rem;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(60% 60% at 0% 0%, rgba(99,102,241,0.18), transparent 60%),
        radial-gradient(60% 60% at 100% 100%, rgba(139,92,246,0.18), transparent 60%);
    pointer-events: none;
}
.footer-inner {
    position: relative;
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 3fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: #fff; }
.footer-tag {
    margin-top: 0.8rem;
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    max-width: 320px;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.85rem;
}
.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.45rem;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    position: relative;
    max-width: var(--maxw);
    margin: 1.5rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}
.footer-meta a { margin-left: 1rem; transition: color 0.2s ease; }
.footer-meta a:hover { color: #fff; }

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: transform, opacity;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-grid { grid-template-columns: 1fr; }
    .platform-code { transform: none; }
    .network-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1rem;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(15,23,42,0.06);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin: 0;
    }
    .nav-links.is-open { max-height: 320px; padding: 1rem; }
    .nav-links a { padding: 0.7rem 0; }
    .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }

    .hero { padding: 6.5rem 1rem 4rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-panel-row { flex-direction: column; }
    .hero-panel-row .btn { width: 100%; }

    .section { padding: 4rem 1rem; }
    .feature-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .network-copy { grid-template-columns: 1fr; }
    .cta-inner { padding: 2rem 1.4rem; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .blob, .btn-primary, .reveal { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
