/* ==========================================================================
   SiviNextz — Independent Gaming & App Studio
   Design system: dark cyber, red/orange neon, Tektur + Inter
   Hand-written, dependency-free.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts -- */
@font-face {
  font-family: 'Tektur';
  src: url('tektur-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */
:root {
  --bg: #060607;
  --bg-card: #0e0e11;
  --bg-card-2: #141417;
  --bg-deep: #0a0a0c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --muted: #8e8e98;
  --muted-2: #9c9c9d;
  --accent: #ff1e3c;
  --accent-2: #ff6b1a;
  --accent-soft: rgba(255, 30, 60, 0.12);
  --ok: #34d399;
  --warn: #fbbf24;
  --font-display: 'Tektur', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', 'Roboto Mono', Menlo, monospace;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --pill: 999px;
  --maxw: 1200px;
  --nav-h: 62px;
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #060607; }
::-webkit-scrollbar-thumb { background: #26262c; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ------------------------------------------------------------ layout ----- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 1040px; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.center { text-align: center; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.page-head { padding: 168px 0 40px; }
.page-head h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
.page-head .lede { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 720px; margin-top: 18px; }

/* --------------------------------------------------------- background ---- */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx .orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; }
.bg-fx .orb-1 { width: 520px; height: 520px; top: -180px; left: -140px; background: rgba(255, 30, 60, 0.22); animation: drift 26s ease-in-out infinite; }
.bg-fx .orb-2 { width: 460px; height: 460px; top: 34%; right: -160px; background: rgba(255, 107, 26, 0.16); animation: drift 32s ease-in-out infinite reverse; }
.bg-fx .orb-3 { width: 620px; height: 620px; bottom: -260px; left: 28%; background: rgba(180, 20, 60, 0.14); animation: drift 38s ease-in-out infinite; }
.bg-fx .grid-lines {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, -30px, 0) scale(1.12); }
}
main, .nav-shell, footer { position: relative; z-index: 1; }

/* -------------------------------------------------------------- navbar -- */
.nav-shell {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center; padding: 0 10px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 9px 10px 9px 14px;
  border-radius: var(--pill);
  background: rgba(14, 14, 17, 0.9);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px -18px rgba(0, 0, 0, 0.9), 0 0 30px -6px rgba(255, 30, 60, 0.18);
  overflow: hidden;
  max-width: 100%;
}
.nav-progress {
  position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.12s linear;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #1a0a0d, #0e0e11 60%, #0a0507);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 16px rgba(255, 30, 60, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease;
}
.brand:hover .brand-mark { transform: scale(1.06) rotate(-3deg); }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; font-size: 17px; line-height: 1; white-space: nowrap; }
.brand-word .b1 { color: var(--text); }
.brand-word .b2 { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: 2px; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  padding: 8px 13px; border-radius: var(--pill); font-size: 14px; font-weight: 500;
  color: var(--muted-2); white-space: nowrap; transition: color 0.18s ease, background 0.18s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.12); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; color: var(--muted-2);
  display: grid; place-items: center; transition: background 0.18s ease, color 0.18s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.icon-btn.is-on { color: var(--accent); }
.nav-toggle { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff1e3c 0%, #ff3d2e 100%);
  box-shadow: 0 10px 30px rgba(255, 30, 60, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px rgba(255, 30, 60, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn-light { color: #060607; background: var(--text); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 56px) 0 40px; overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 42%, rgba(6, 6, 7, 0.1) 0%, rgba(6, 6, 7, 0.78) 62%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 2px rgba(255, 30, 60, 0.8); flex-shrink: 0; }
.dot-o { background: var(--accent-2); box-shadow: 0 0 10px 2px rgba(255, 107, 26, 0.8); }
.dot-pulse { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.82); } }
.hero h1 {
  font-size: clamp(2.3rem, 6.4vw, 5rem); font-weight: 700; letter-spacing: -0.02em;
  max-width: 1000px; text-wrap: balance;
}
.hero h1 .hl { color: var(--accent); text-shadow: 0 0 34px rgba(255, 30, 60, 0.45); }
.hero .lede { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 730px; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hud {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2;
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em;
  color: var(--muted); text-transform: uppercase; pointer-events: none;
}
.hud .bar { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent); }
.hud .item { display: inline-flex; align-items: center; gap: 8px; color: var(--text); white-space: nowrap; }
.hero-scroll {
  position: relative; z-index: 2; margin-top: 6px; color: var(--muted);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  font-family: var(--font-display); display: inline-flex; align-items: center; gap: 8px;
}
.hero-scroll svg { width: 16px; height: 16px; animation: bobY 1.8s ease-in-out infinite; }
@keyframes bobY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* -------------------------------------------------------------- ticker -- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; overflow: hidden; position: relative;
  background: linear-gradient(90deg, rgba(255, 30, 60, 0.08), rgba(255, 107, 26, 0.05));
}
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.ticker-group span { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.ticker-group svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- headings -- */
.eyebrow {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
}
.h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); }
.section-head { max-width: 820px; margin-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* ---------------------------------------------------------------- cards -- */
.card {
  position: relative; border-radius: var(--radius); padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.18); }
.card-glow::before {
  content: ''; position: absolute; top: -110px; right: -110px; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 30, 60, 0.22), transparent 70%);
  opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.card-glow:hover::before { opacity: 1; }
.card-flat { background: var(--bg-card); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255, 30, 60, 0.24), rgba(255, 107, 26, 0.14));
  border: 1px solid rgba(255, 30, 60, 0.4); color: var(--accent);
  box-shadow: 0 0 24px rgba(255, 30, 60, 0.28); margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card-index { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.35); }
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stat-card {
  position: relative; border-radius: 18px; padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.stat-card::after {
  content: ''; position: absolute; top: 0; left: 26px; width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent);
}
.stat-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2); }
.stat-value { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.stat-card p { color: var(--muted); font-size: 0.9rem; }

.pillar {
  position: relative; min-height: 360px; border-radius: var(--radius-lg); padding: 36px;
  background: linear-gradient(135deg, var(--bg-card-2), var(--bg-deep));
  border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pillar::before {
  content: ''; position: absolute; top: -96px; right: -96px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(255, 30, 60, 0.2); filter: blur(60px);
  opacity: 0.6; transition: transform 0.5s ease;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(255, 30, 60, 0.5); box-shadow: 0 30px 60px -40px rgba(255, 30, 60, 0.6); }
.pillar:hover::before { transform: scale(1.3); }
.pillar-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.pillar-body { position: relative; display: flex; flex-direction: column; gap: 12px; }
.pillar-body h3 { font-size: 1.35rem; }
.pillar-body p { color: var(--muted); font-size: 0.96rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 15px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display); font-size: 12.5px; letter-spacing: 0.04em; color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.chip:hover { border-color: rgba(255, 30, 60, 0.45); background: rgba(255, 30, 60, 0.08); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 8px; font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-red { background: rgba(255, 30, 60, 0.16); color: #ff6b7a; border: 1px solid rgba(255, 30, 60, 0.4); }
.badge-orange { background: rgba(255, 107, 26, 0.16); color: #ffa366; border: 1px solid rgba(255, 107, 26, 0.4); }
.badge-green { background: rgba(52, 211, 153, 0.14); color: var(--ok); border: 1px solid rgba(52, 211, 153, 0.4); }
.badge-amber { background: rgba(251, 191, 36, 0.15); color: var(--warn); border: 1px solid rgba(251, 191, 36, 0.4); }
.badge-neutral { background: rgba(255, 255, 255, 0.06); color: var(--muted); border: 1px solid var(--line-strong); }

.note {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
}
.note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.note.ok svg { color: var(--ok); }
.note h4 { font-size: 1rem; margin-bottom: 4px; }
.note p { color: var(--muted); font-size: 0.92rem; }

/* ---------------------------------------------------------- project ----- */
.project {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -60px rgba(0, 0, 0, 0.9);
  margin-bottom: 44px;
}
.project-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 28px; background: var(--bg-deep); border-bottom: 1px solid var(--line);
}
.project-bar .name { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.project-body { padding: 40px; }
.project-body > * + * { margin-top: 28px; }
.project-media {
  position: relative; border-radius: var(--radius);
  background: radial-gradient(circle at 50% 40%, rgba(255, 30, 60, 0.14), transparent 62%), linear-gradient(180deg, #0b0507, #040405);
  border: 1px solid var(--line); padding: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  overflow: hidden;
}
.project-media .scan {
  position: absolute; left: 0; right: 0; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 107, 26, 0.11), transparent);
  animation: scanY 6.5s ease-in-out infinite;
}
@keyframes scanY { 0%, 100% { top: 6%; } 50% { top: 74%; } }
.media-caption { font-size: 12px; color: var(--muted); text-align: center; letter-spacing: 0.04em; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.94rem; color: var(--muted); }
.feature-list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.feature-list strong { color: var(--text); font-weight: 600; }

/* phone illustration (pure CSS, honest label) */
.phone {
  width: 100%; max-width: 380px; border-radius: 34px; padding: 20px;
  background: linear-gradient(180deg, #07070a, #04090a);
  border: 2px solid rgba(255, 30, 60, 0.35);
  box-shadow: 0 0 60px rgba(255, 30, 60, 0.2);
}
.phone .notch { width: 76px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); margin: 0 auto 16px; }
.phone .app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); margin-bottom: 14px; }
.phone .app-head h4 { font-family: var(--font-body); font-weight: 700; font-size: 20px; }
.phone .app-head .mini { display: flex; gap: 6px; }
.phone .app-head .mini span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 30, 60, 0.3); display: grid; place-items: center; color: var(--accent); font-size: 11px; }
.phone .status { padding: 14px; border-radius: 16px; background: #08100d; border: 1px solid rgba(52, 211, 153, 0.45); margin-bottom: 12px; }
.phone .status b { color: var(--ok); font-size: 14px; display: block; }
.phone .status span { color: var(--muted); font-size: 12px; }
.phone .mods { display: flex; flex-direction: column; gap: 8px; }
.phone .mod {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 13px; border-radius: 14px; background: #07130e; border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}
.phone .mod .left { display: flex; align-items: center; gap: 10px; }
.phone .mod .ic { width: 26px; height: 26px; border-radius: 9px; background: rgba(52, 211, 153, 0.14); color: var(--ok); display: grid; place-items: center; font-size: 12px; }
.phone .mod small { display: block; color: var(--muted); font-size: 10.5px; }
.phone .tag { font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; padding: 2px 6px; border-radius: 5px; }

/* -------------------------------------------------------------- plans --- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  border-radius: 22px; padding: 30px; background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.plan:hover { transform: translateY(-5px); }
.plan-featured { background: linear-gradient(180deg, rgba(251, 191, 36, 0.1), transparent 70%); border-color: rgba(251, 191, 36, 0.38); }
.plan-top { background: linear-gradient(180deg, rgba(255, 30, 60, 0.14), transparent 70%); border-color: rgba(255, 30, 60, 0.5); position: relative; overflow: hidden; }
.plan-top::before { content: ''; position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 30, 60, 0.22); filter: blur(46px); }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.plan-price span { color: var(--muted); font-size: 0.85rem; }
.plan ul { display: flex; flex-direction: column; gap: 11px; font-size: 0.92rem; color: var(--muted); }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; }
.plan ul svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.plan .plan-desc { font-size: 0.9rem; color: var(--muted); }
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong); }
.billing-toggle button {
  border: 0; background: transparent; color: var(--muted-2); cursor: pointer;
  padding: 8px 18px; border-radius: var(--pill); font-family: var(--font-display);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.billing-toggle button[aria-pressed="true"] { background: var(--text); color: #060607; }

/* ------------------------------------------------------------- legal ---- */
.legal { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); padding: 22px; }
.toc h4 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc a { display: block; padding: 8px 10px; border-radius: 9px; font-size: 13.5px; color: var(--muted-2); border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.toc a.active { color: var(--accent); border-left-color: var(--accent); background: rgba(255, 30, 60, 0.07); }
.legal-body { display: flex; flex-direction: column; gap: 40px; }
.legal-body section { scroll-margin-top: 110px; }
.legal-body h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 14px; }
.legal-body h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 0.96rem; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.legal-body ul li { position: relative; padding-left: 20px; }
.legal-body ul li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, 0.03); }
td { color: var(--muted); }
td strong { color: var(--text); }
tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------- form --- */
.form-card { border-radius: var(--radius-lg); padding: 36px; background: var(--bg-card); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.field label { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text); font-size: 0.95rem; transition: border-color 0.2s ease, background 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.25); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.05); }
.field textarea { resize: vertical; min-height: 130px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cat {
  padding: 14px 12px; border-radius: 14px; cursor: pointer; text-align: left;
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px; transition: border-color 0.2s ease, background 0.2s ease;
}
.cat svg { width: 16px; height: 16px; color: var(--muted); }
.cat span { font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.cat[aria-pressed="true"] { border-color: var(--accent); background: rgba(255, 30, 60, 0.1); }
.cat[aria-pressed="true"] svg, .cat[aria-pressed="true"] span { color: var(--text); }
.cat[aria-pressed="true"] svg { color: var(--accent); }
.form-status { margin-top: 18px; font-size: 0.92rem; color: var(--muted); }
.form-status.ok { color: var(--ok); }
.info-card { border-radius: 22px; padding: 26px; background: var(--bg-card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.info-card .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 30, 60, 0.15); border: 1px solid rgba(255, 30, 60, 0.32); color: var(--accent); }
.info-card .ic svg { width: 20px; height: 20px; }
.info-card .k { font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info-card .v { font-size: 1.05rem; font-weight: 600; word-break: break-word; }
.info-card .v:hover { color: var(--accent); }
.info-card p { color: var(--muted); font-size: 0.9rem; }
.info-card.hot { background: linear-gradient(135deg, rgba(255, 30, 60, 0.1), transparent 70%); border-color: rgba(255, 30, 60, 0.34); box-shadow: 0 30px 60px -50px rgba(255, 30, 60, 0.9); }

/* --------------------------------------------------------------- cta ---- */
.cta {
  position: relative; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 64px);
  background: var(--bg-deep); border: 1px solid rgba(255, 30, 60, 0.3);
  text-align: center; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  box-shadow: 0 0 90px -30px rgba(255, 30, 60, 0.35);
}
.cta::before {
  content: ''; position: absolute; top: -280px; left: 50%; transform: translateX(-50%);
  width: 860px; height: 540px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(50% 50%, rgba(255, 30, 60, 0.3), rgba(255, 107, 26, 0.08) 45%, transparent 100%);
}
.cta::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 30, 60, 0.75), transparent);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 3rem); }
.cta p { color: var(--muted); max-width: 640px; }
.cta-icon {
  width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #ff1e3c, #ff6b1a);
  box-shadow: 0 0 50px rgba(255, 30, 60, 0.6), inset 0 1px rgba(255, 255, 255, 0.45);
  transition: transform 0.3s ease;
}
.cta-icon:hover { transform: scale(1.07) rotate(3deg); }
.cta-icon svg { width: 38px; height: 38px; }
.cta small { color: var(--muted); font-size: 0.82rem; }

/* ------------------------------------------------------------ blueprint -- */
.blueprint {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); min-height: 420px;
  background: linear-gradient(135deg, #0c080d, #08080b 55%, #040405);
  padding: clamp(24px, 4vw, 52px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.blueprint .bp-grid {
  position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 30, 60, 0.4) 1px, transparent 0);
  background-size: 34px 34px;
}
.blueprint .bp-beam { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 30, 60, 0.55), transparent); animation: scanY 7s ease-in-out infinite; }
.blueprint .bp-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.blueprint .bp-tag { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong); font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.blueprint .bp-center { position: relative; max-width: 660px; margin: auto 0; display: flex; flex-direction: column; gap: 14px; }
.blueprint .bp-center h3 { font-size: clamp(1.5rem, 3.4vw, 2.5rem); }
.blueprint .bp-center p { color: var(--muted); }
.blueprint .bp-foot { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }

/* -------------------------------------------------------- brand plates -- */
.brand-plate {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: #08080a;
}
.brand-plate img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #08080a; }
.brand-plate figcaption { padding: 16px 20px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* -------------------------------------------------------------- footer -- */
footer { margin-top: 40px; border-top: 1px solid var(--line); background: #060607; position: relative; overflow: hidden; padding-top: 76px; }
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 30, 60, 0.9), transparent);
}
footer::after {
  content: ''; position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(50% 50%, rgba(255, 30, 60, 0.22), transparent 100%);
}
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; padding-bottom: 52px; }
.foot-brand { max-width: 380px; display: flex; flex-direction: column; gap: 20px; }
.foot-brand p { color: var(--muted); font-size: 0.95rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 56px; }
.foot-col h4 { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.foot-col ul { display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: var(--muted); font-size: 0.93rem; transition: color 0.2s ease; }
.foot-col a:hover { color: var(--text); }
.foot-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem; color: var(--text); transition: border-color 0.2s ease, background 0.2s ease;
}
.foot-chip:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 30, 60, 0.5); }
.foot-chip svg { width: 14px; height: 14px; color: var(--accent); }
.wordmark {
  display: flex; justify-content: center; padding: 12px 0 18px; overflow: hidden; user-select: none; pointer-events: none;
}
.wordmark span {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 15.5vw, 15rem);
  letter-spacing: 0.06em; line-height: 0.9; white-space: nowrap; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255, 30, 60, 0.3) 0%, rgba(255, 107, 26, 0.12) 45%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 50px rgba(255, 30, 60, 0.2));
  animation: wordGlow 6s ease-in-out infinite;
}
@keyframes wordGlow { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.foot-bottom p { color: var(--muted); font-size: 0.85rem; }
.foot-status { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.85rem; }
.foot-status .beacon { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 2px rgba(255, 30, 60, 0.7); }

/* ------------------------------------------------------------ reveals --- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------ helpers --- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent); }
.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 22px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.row-between { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 14px; }
.mt-2 { margin-top: 26px; }
.mt-3 { margin-top: 40px; }
.mb-2 { margin-bottom: 26px; }
.hide { display: none !important; }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; }
  .toc-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { border-left: 0; border-bottom: 2px solid transparent; }
  .toc a.active { border-left: 0; border-bottom-color: var(--accent); }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    border-radius: 22px; background: rgba(14, 14, 17, 0.97); border: 1px solid var(--line-strong);
    backdrop-filter: blur(18px); box-shadow: 0 30px 60px -30px #000;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-shell { padding: 0 12px; }
  .nav { width: 100%; justify-content: space-between; }
  .nav .btn-light { display: none; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-body { padding: 26px; }
  .project-media { padding: 26px; }
  .form-card { padding: 24px; }
  .section { padding: 68px 0; }
  .page-head { padding: 132px 0 26px; }
  .hero { padding-top: calc(var(--nav-h) + 34px); }
  .hud { font-size: 9.5px; letter-spacing: 0.12em; bottom: 14px; }
  .hud .bar { display: none; }
  .foot-links { gap: 32px; }
}
@media (max-width: 560px) {
  .g-4 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 18px; }
  .pillar { min-height: 0; padding: 26px; }
  .card { padding: 22px; }
  .brand-word { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero-cta .btn { width: 100%; }
  .stat-card::after { left: 22px; }
}

/* --------------------------------------------------- motion preference -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- print -- */
@media print {
  .nav-shell, .bg-fx, #hero-canvas, .cta-icon, .wordmark { display: none; }
  body { background: #fff; color: #111; }
  .card, .plan, .project, .legal { border-color: #ddd; background: #fff; }
}
