﻿/* ── Variables & Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #080b14;
  --bg-card: rgba(255,255,255,0.04);
  --bg-glass: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.10);
  --text: #f0f2f8;
  --text-muted: #8892a4;
  --p1: #6366f1;
  --p2: #8b5cf6;
  --p3: #06b6d4;
  --p4: #10b981;
  --r: 16px;
  --max: 1200px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

/* ── Noise overlay ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── Ambient blobs ── */
.blob { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; opacity: 0.35; will-change: transform; }
.blob-1 { width: 600px; height: 600px; background: var(--p1); top: -200px; left: -150px; }
.blob-2 { width: 500px; height: 500px; background: var(--p3); bottom: 10%; right: -150px; }
.blob-3 { width: 400px; height: 400px; background: var(--p2); top: 40%; left: 30%; opacity: 0.18; }

/* ── Layout ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 96px 0; position: relative; z-index: 1; }

/* ── Skip link ── */
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 200; padding: 10px 14px; background: var(--p1); color: white; border-radius: 6px; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ── Utility ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 99px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06); color: var(--text-muted);
  margin-bottom: 20px;
}
.gradient-text { background: linear-gradient(135deg, #a78bfa 0%, #6366f1 40%, #06b6d4 80%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-journey { background: linear-gradient(135deg, #a78bfa, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-prism { background: linear-gradient(135deg, #06b6d4, #10b981); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.muted { color: var(--text-muted); }

/* ── Cards ── */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 99px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: opacity .2s, transform .2s; text-decoration: none; }
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--p1), var(--p2)); color: #fff; box-shadow: 0 4px 24px rgba(99,102,241,.4); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: rgba(255,255,255,.3); }
.btn-cyan { background: linear-gradient(135deg, var(--p3), var(--p4)); color: #fff; box-shadow: 0 4px 24px rgba(6,182,212,.35); }

/* ── Nav ── */
.site-header { position: sticky; top: 0; z-index: 100; padding: 0 24px; background: rgba(8,11,20,0.80); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.nav { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; height: 64px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; flex-shrink: 0; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--text-muted); transition: color .2s; padding: 4px 0; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: 16px; }
.language-btn { font-size: 13px; color: var(--text-muted); padding: 6px 12px; border: 1px solid var(--border); border-radius: 99px; transition: all .2s; }
.language-btn:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
.nav-toggle { display: none; width: 40px; height: 40px; background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--text); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; }

/* ── Hero (homepage) ── */
.hero { padding: 128px 0 96px; text-align: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; letter-spacing: -2px; line-height: 1.08; margin-bottom: 24px; }
.hero p { font-size: clamp(16px, 2vw, 20px); color: var(--text-muted); max-width: 620px; margin: 0 auto 48px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint { margin-top: 80px; font-size: 13px; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-arrow { width: 20px; height: 20px; border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted); transform: rotate(45deg); animation: scrollBounce 1.5s infinite; }
@keyframes scrollBounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(6px)} }

/* ── Page hero (inner pages) ── */
.page-hero { padding: 100px 24px 72px; position: relative; z-index: 1; }
.page-hero .container { max-width: 800px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; letter-spacing: -2px; line-height: 1.08; margin-bottom: 20px; }
.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 640px; line-height: 1.7; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-meta span { font-size: 12px; color: var(--text-muted); padding: 5px 12px; border: 1px solid var(--border); border-radius: 99px; background: var(--bg-card); }

/* ── Products overview ── */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-card { border-radius: 24px; overflow: hidden; position: relative; padding: 40px 36px 44px; border: 1px solid var(--border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: transform .3s, box-shadow .3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,.6); }
.product-card.journey { background: linear-gradient(145deg, rgba(99,102,241,.15), rgba(139,92,246,.08)); }
.product-card.prism { background: linear-gradient(145deg, rgba(6,182,212,.15), rgba(16,185,129,.08)); }
.product-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top left, rgba(255,255,255,.06), transparent 60%); pointer-events: none; }
.product-icon { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.product-icon.journey { background: linear-gradient(135deg, rgba(167,139,250,.3), rgba(99,102,241,.3)); }
.product-icon.prism { background: linear-gradient(135deg, rgba(6,182,212,.3), rgba(16,185,129,.3)); }
.product-card h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.product-card .tagline { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.product-card .desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,.1); }
.chip.j { background: rgba(99,102,241,.2); color: #c4b5fd; }
.chip.p { background: rgba(6,182,212,.2); color: #67e8f9; }

/* ── Feature rows ── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-list { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--text-muted); }
.feature-list li .fi { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.feature-list li strong { color: var(--text); display: block; font-size: 15px; }

/* ── Mock screens ── */
.mock-screen { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 80px rgba(0,0,0,.7); background: #0d1117; }
.mock-screen.auto-mock { height: 500px; overflow: visible; position: relative; }
.mock-carousel { height: 100%; overflow: hidden; position: relative; border-radius: 20px; }
.mock-track { display: flex; flex-direction: column; will-change: transform; }
.mock-slide { height: 500px; display: flex; flex-direction: column; }
.mock-pagination { position: absolute; top: 50%; right: -28px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 4; }
.mock-page-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.14); cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.mock-page-dot:hover { transform: scale(1.12); border-color: rgba(255,255,255,.5); }
.mock-page-dot.is-active { background: linear-gradient(135deg, #a78bfa, #06b6d4); border-color: transparent; box-shadow: 0 0 0 4px rgba(99,102,241,.16); }
.mock-topbar { height: 36px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 14px; gap: 6px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.r { background: #ff5f57; } .mock-dot.y { background: #ffbd2e; } .mock-dot.g { background: #28c840; }
/* Journey mock */
.journey-mock-body { padding: 18px; display: flex; gap: 14px; height: calc(100% - 36px); overflow: hidden; }
.jm-sidebar { width: 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 4px; }
.jm-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; background: rgba(255,255,255,.06); }
.jm-icon.active { background: rgba(99,102,241,.35); }
.jm-content { flex: 1; min-width: 0; }
.jm-greeting { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.jm-title { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.jm-card { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; margin-bottom: 10px; }
.jm-card-title { font-size: 12px; font-weight: 700; margin-bottom: 6px; color: #a78bfa; }
.jm-progress-bar { height: 4px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.jm-progress-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #a78bfa, #6366f1); }
.jm-tasks { font-size: 11px; color: var(--text-muted); }
.jm-task { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.jm-task:last-child { border: none; }
.jm-check { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); flex-shrink: 0; }
.jm-check.done { background: #6366f1; border-color: #6366f1; }
.jm-mindmap { display: flex; flex-direction: column; gap: 6px; }
.jm-node { font-size: 11px; padding: 5px 10px; border-radius: 6px; background: rgba(99,102,241,.2); color: #c4b5fd; display: inline-block; }
.jm-node.child { margin-left: 20px; background: rgba(99,102,241,.1); font-size: 10px; }

.journey-graph-shell { padding: 16px; height: calc(100% - 36px); background: linear-gradient(180deg, #101330 0%, #2a2f56 100%); display: grid; grid-template-rows: auto auto 1fr; gap: 12px; }
.journey-graph-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.journey-graph-copy h4 { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.journey-graph-copy p { font-size: 12px; color: rgba(240,242,248,.7); line-height: 1.55; max-width: 560px; }
.journey-graph-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.journey-graph-meta span { font-size: 10px; color: rgba(255,255,255,.72); padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.journey-graph-caption { font-size: 11px; color: rgba(255,255,255,.66); }
.journey-graph-panel { height: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(76,84,134,.16), rgba(13, 17, 30, .46)); backdrop-filter: blur(6px); overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.jg-force-graph { width: 100%; height: 100%; display: block; }
.jg-link { stroke: rgba(214, 216, 255, .52); stroke-width: 1.25; }
.jg-link-soft { stroke: rgba(167, 180, 255, .22); stroke-width: 1; }
.jg-node-top { fill: #c4b1ff; }
.jg-node-mid { fill: #96a1ff; }
.jg-node-bottom { fill: #67e4d0; }
.jg-node-bottom2 { fill: #76baff; }
.jg-node-highlight { fill: #f3d45d; }
.jg-node-core { fill: #ece9ff; }

.jm-flash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jm-flash { padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.04); }
.jm-flash h4 { font-size: 11px; color: #a78bfa; margin-bottom: 6px; }
.jm-flash p { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* Prism ERP mock */
.pm-topbar-extra { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 10px; }
.pm-brand { font-size: 11px; font-weight: 800; color: #06b6d4; }
.pm-status { font-size: 10px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.pm-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; }
.pm-body { padding: 16px; height: calc(100% - 36px); overflow: hidden; }
.pm-kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.pm-kpi { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.pm-kpi-val { font-size: 18px; font-weight: 800; color: var(--text); }
.pm-kpi-label { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.pm-kpi-trend { font-size: 10px; color: #10b981; }
.pm-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pm-panel { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.pm-panel-title { font-size: 11px; font-weight: 700; margin-bottom: 8px; color: var(--text-muted); }
.pm-bar-row { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; font-size: 10px; color: var(--text-muted); }
.pm-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; }
.pm-bar-fill { height: 100%; border-radius: 99px; }
.pm-ai-msg { font-size: 10px; color: var(--text-muted); background: rgba(99,102,241,.12); border-radius: 6px; padding: 6px 8px; line-height: 1.5; }
.pm-ai-msg strong { color: #a78bfa; }

.pm-orders { display: grid; gap: 7px; }
.pm-order { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: rgba(255,255,255,.03); display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.pm-order .o-id { font-size: 10px; color: #67e8f9; font-weight: 700; letter-spacing: .02em; }
.pm-order .o-note { font-size: 10px; color: var(--text-muted); }
.pm-pill { font-size: 10px; padding: 3px 8px; border-radius: 99px; border: 1px solid rgba(255,255,255,.16); }
.pm-pill.ok { color: #9ef3d7; border-color: rgba(16,185,129,.45); background: rgba(16,185,129,.14); }
.pm-pill.warn { color: #ffe08a; border-color: rgba(245,158,11,.45); background: rgba(245,158,11,.14); }
.pm-pill.hot { color: #ffb4be; border-color: rgba(239,68,68,.45); background: rgba(239,68,68,.14); }

.pm-ui-brief { display: grid; gap: 8px; margin-bottom: 10px; }
.pm-ui-headline { border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.04); padding: 10px 12px; }
.pm-ui-headline strong { display: block; font-size: 11px; color: #b9f8ff; margin-bottom: 5px; }
.pm-ui-headline p { font-size: 11px; color: var(--text-muted); line-height: 1.55; }
.pm-ui-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.pm-ui-step { border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.03); padding: 8px; }
.pm-ui-step span { font-size: 9px; color: #8fe7ff; display: block; margin-bottom: 4px; letter-spacing: .04em; text-transform: uppercase; }
.pm-ui-step p { font-size: 10px; color: var(--text-muted); line-height: 1.45; }
.pm-ui-stage { display: grid; grid-template-columns: 1.2fr .9fr; gap: 8px; }
.pm-ui-canvas { border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.03); padding: 12px; display: grid; gap: 8px; }
.pm-ui-block { border-radius: 9px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); padding: 10px; }
.pm-ui-block strong { display: block; font-size: 10px; color: #cbfbff; margin-bottom: 6px; }
.pm-ui-line { height: 7px; border-radius: 999px; background: rgba(255,255,255,.08); margin-bottom: 6px; overflow: hidden; }
.pm-ui-line::after { content: ''; display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(6,182,212,.9), rgba(16,185,129,.9)); }
.pm-ui-line.w1::after { width: 86%; }
.pm-ui-line.w2::after { width: 62%; }
.pm-ui-line.w3::after { width: 74%; }
.pm-ui-line.w4::after { width: 48%; }
.pm-ui-side { display: grid; gap: 8px; }
.pm-ui-mini { border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.04); padding: 10px; }
.pm-ui-mini h4 { font-size: 10px; color: #8fe7ff; margin-bottom: 6px; }
.pm-ui-chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-ui-chip { font-size: 10px; padding: 4px 7px; border-radius: 999px; background: rgba(6,182,212,.12); border: 1px solid rgba(6,182,212,.24); color: #b8f6ff; }

/* ── Stats band ── */
.stats-band { background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(6,182,212,.08)); border: 1px solid var(--border); border-radius: 24px; padding: 48px; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 42px; font-weight: 900; letter-spacing: -2px; }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

/* ── CTA band ── */
.cta-band { border-radius: 28px; padding: 72px 48px; text-align: center; background: linear-gradient(135deg, rgba(99,102,241,.2) 0%, rgba(6,182,212,.15) 50%, rgba(16,185,129,.1) 100%); border: 1px solid rgba(255,255,255,.12); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,.25), transparent 60%); }
.cta-band h2 { font-size: clamp(28px,4vw,44px); font-weight: 900; letter-spacing: -1px; margin-bottom: 16px; position: relative; }
.cta-band p { font-size: 17px; color: var(--text-muted); margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 0; position: relative; z-index: 1; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--border); padding: 48px 24px; color: var(--text-muted); font-size: 14px; position: relative; z-index: 1; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 16px; letter-spacing: .04em; }
.footer-col a { display: block; margin-bottom: 10px; font-size: 13px; color: var(--text-muted); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 12px; color: #5a6478; }
.footer-bottom a { color: #5a6478; transition: color .2s; }
.footer-bottom a:hover { color: var(--text-muted); }

/* ── Prose (legal pages) ── */
.prose-section { padding: 64px 0; position: relative; z-index: 1; }
.prose { max-width: 860px; }
.prose h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin-top: 48px; margin-bottom: 14px; color: var(--text); padding-top: 8px; border-top: 1px solid var(--border); }
.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.prose h3 { font-size: 17px; font-weight: 700; margin-top: 28px; margin-bottom: 10px; color: var(--text); }
.prose p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 8px; }
.prose a { color: var(--p3); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--p4); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; color: var(--text-muted); vertical-align: top; }
.prose th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.prose td:first-child { color: var(--text); font-weight: 600; }

/* ── Service Portal ── */
.portal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.portal-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; backdrop-filter: blur(12px); }
.portal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.portal-tab { font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 99px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; transition: all .2s; }
.portal-tab[aria-selected="true"] { background: var(--p1); border-color: var(--p1); color: white; }
.portal-tab:hover:not([aria-selected="true"]) { border-color: rgba(255,255,255,.25); color: var(--text); }
.portal-view { display: none; }
.portal-view.active { display: block; }
.portal-view h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.portal-view > p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.portal-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.portal-item { padding: 14px 16px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; }
.portal-item strong { display: block; font-size: 12px; font-weight: 700; color: var(--p3); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; }
.portal-item span { font-size: 14px; color: var(--text); display: block; margin-bottom: 4px; }
.portal-item p { font-size: 13px; color: var(--text-muted); margin: 0; }
.portal-panel h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.portal-panel > p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* ── Forms ── */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select { width: 100%; padding: 10px 14px; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 14px; transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--p1); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.2); }
.field select option { background: #1a1f2e; }
.field textarea { min-height: 120px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.form-status { min-height: 20px; font-size: 13px; color: var(--p4); margin-top: 10px; }
.btn-submit { background: linear-gradient(135deg, var(--p1), var(--p2)); color: white; border: none; border-radius: 8px; padding: 11px 24px; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity .2s, transform .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-submit:hover { opacity: .88; transform: translateY(-1px); }

/* ── Search results ── */
.search-results { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.search-result { padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.search-result strong { font-size: 15px; }
.search-result .muted { font-size: 13px; }
a.search-result:hover { border-color: rgba(255,255,255,.2); }

/* ── Trust/Compliance ── */
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 32px; }
.trust-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.trust-card .tc-icon { font-size: 28px; margin-bottom: 14px; }
.trust-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.info-row { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row .ir-label { font-size: 13px; font-weight: 600; color: var(--text-muted); min-width: 140px; flex-shrink: 0; }
.info-row .ir-val { font-size: 14px; color: var(--text); }
.info-row .ir-val a { color: var(--p3); }

/* ── Support ── */
.support-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.support-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; backdrop-filter: blur(12px); }
.support-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.support-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 32px; backdrop-filter: blur(12px); }
.form-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.form-card > p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* ── Account deletion ── */
.deletion-steps { display: flex; flex-direction: column; gap: 0; }
.deletion-step { display: flex; gap: 20px; padding-bottom: 32px; position: relative; }
.deletion-step:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1px; background: var(--border); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--p1), var(--p2)); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; flex-shrink: 0; }
.step-body { flex: 1; padding-top: 8px; }
.step-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; left: 16px; right: 16px; top: 74px; display: none; flex-direction: column; align-items: stretch; padding: 12px; background: #0d1420; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 24px 64px rgba(0,0,0,.7); gap: 4px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; border-radius: 8px; font-size: 15px; }
  .nav-links a:hover { background: rgba(255,255,255,.05); color: var(--text); }
  .products-grid, .feature-row, .feature-row.reverse, .portal-layout, .grid-2, .trust-grid, .support-grid { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 88px 0 64px; }
  .section { padding: 64px 0; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 32px 24px; }
  .cta-band { padding: 48px 24px; }
  .mock-screen.auto-mock { height: 430px; }
  .mock-slide { height: 430px; }
  .mock-pagination { right: -20px; gap: 8px; }
  .journey-graph-head, .journey-graph-meta { display: block; }
  .journey-graph-meta { margin-top: 8px; }
  .journey-graph-copy p { max-width: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-cta .btn { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .pm-kpi-row { grid-template-columns: 1fr 1fr; }
  .pm-ui-flow { grid-template-columns: 1fr; }
  .pm-ui-stage { grid-template-columns: 1fr; }
}
