/* ============================================================
   NXGWorks — shared design system
   Deep-space dark · glassmorphism · electric-cyan signal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ---- color tokens ---- */
  --bg:           #06080e;
  --bg-2:         #080b14;
  --surface:      rgba(255, 255, 255, 0.035);
  --surface-2:    rgba(255, 255, 255, 0.055);
  --border:       rgba(255, 255, 255, 0.09);
  --border-2:     rgba(255, 255, 255, 0.14);

  --text:         #eef2f8;
  --text-dim:     #aab2c4;
  --text-faint:   #6b7488;

  --cyan:         oklch(0.82 0.14 210);
  --cyan-bright:  oklch(0.90 0.13 205);
  --violet:       oklch(0.64 0.19 285);
  --cyan-glow:    color-mix(in oklch, var(--cyan) 55%, transparent);

  /* ---- spacing / radius ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.006em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
}

/* ---- ambient background layers ---- */
.bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.bg-mesh {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 0%, color-mix(in oklch, var(--violet) 16%, transparent), transparent 70%),
    radial-gradient(55% 45% at 90% 10%, color-mix(in oklch, var(--cyan) 13%, transparent), transparent 65%),
    radial-gradient(70% 60% at 50% 110%, color-mix(in oklch, var(--cyan) 9%, transparent), transparent 70%),
    var(--bg);
}
.bg-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

main, header, footer { position: relative; z-index: 2; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
}
.display {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
h2.section-title { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

p { color: var(--text-dim); text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--text-dim); line-height: 1.55; }

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex; align-items: center; gap: 0.6em;
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.eyebrow.center::before { display: none; }

.grad-text {
  background: linear-gradient(120deg, var(--text) 30%, var(--cyan-bright) 75%, var(--violet));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   Layout
   ============================================================ */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
section { padding-block: clamp(72px, 11vh, 140px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vh, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 20px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --bw: 1px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.93rem; letter-spacing: -0.01em;
  padding: 0.72em 1.25em; border-radius: 10px;
  cursor: pointer; border: var(--bw) solid transparent;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .3s, border-color .3s, color .3s;
  position: relative; white-space: nowrap; will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan));
  color: #04121a;
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--cyan) 40%, transparent),
              0 10px 40px -8px var(--cyan-glow);
}
.btn-primary:hover { box-shadow: 0 0 0 1px var(--cyan), 0 16px 50px -6px var(--cyan-glow); transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border-color: var(--border-2); backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-2px); }
.btn-lg { padding: 0.82em 1.5em; font-size: 0.97rem; }

/* ============================================================
   Glass cards
   ============================================================ */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  position: relative;
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 40%);
  -webkit-mask: linear-gradient(#000, #000); opacity: .8;
}
.card-hover { transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .4s, background .4s; }
.card-hover:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--surface-2); }

.chip {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em;
  color: var(--text-dim); padding: .42em .8em; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
}

/* ============================================================
   Navigation
   ============================================================ */
/* ── Announcement bar ── */
.announce-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: 40px; display: flex; align-items: center; justify-content: center; gap: 14px;
  background: color-mix(in oklch, var(--cyan) 9%, #05090f);
  border-bottom: 1px solid color-mix(in oklch, var(--cyan) 20%, transparent);
  font-size: 0.75rem; letter-spacing: 0.03em; color: var(--text-dim);
  white-space: nowrap; overflow: hidden;
}
.announce-bar a { color: var(--cyan); text-decoration: none; font-weight: 600; flex-shrink: 0; }
.announce-bar a:hover { text-decoration: underline; }
.announce-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0;
  box-shadow: 0 0 6px var(--cyan); animation: pulse 2.2s ease-in-out infinite; }
@media (max-width: 480px) { .announce-bar span { display: none; } }

.nav {
  position: fixed; top: 40px; left: 0; right: 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gut);
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: .7em; font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; letter-spacing: -.02em; }
.brand .mark { width: 30px; height: 30px; display: grid; place-items: center; flex: none; }
.brand .mark svg { width: 100%; height: 100%; }
.brand b { font-weight: 600; }
.brand .gen { color: var(--cyan); }
.nav-logo { height: 52px; width: auto; display: block; }
.footer-logo { height: 50px; width: auto; display: block; margin-bottom: 1.25rem; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: .93rem; font-weight: 500; color: var(--text-dim);
  padding: .55em .9em; border-radius: 100px; transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--text); transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(1){ top: 15px; } .nav-toggle span:nth-child(2){ top: 20px; } .nav-toggle span:nth-child(3){ top: 25px; }
.nav-toggle.open span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: flex; }
}
.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 99; display: none; flex-direction: column;
  padding: 24px var(--gut); gap: 6px;
  background: color-mix(in oklch, var(--bg) 96%, transparent);
  backdrop-filter: blur(24px); transform: translateY(-12px); opacity: 0;
  pointer-events: none; transition: opacity .35s, transform .35s;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; padding: 14px 4px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--cyan); }
.mobile-menu .btn { margin-top: 18px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding-block: 72px 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 300px; font-size: .95rem; }
.footer h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: .95rem; color: var(--text-dim); transition: color .25s; }
.footer ul a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: .85rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text-dim); transition: all .3s; }
.socials a:hover { color: var(--cyan); border-color: var(--cyan-glow); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } .footer-brand { grid-column: 1 / -1; } }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
.reveal[data-d="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } * { scroll-behavior:auto; } }

/* ============================================================
   Media placeholder (striped) — for app screenshots etc.
   ============================================================ */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, rgba(255,255,255,.05) 12px 24px),
    var(--bg-2);
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.ph .ph-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--text-faint); text-transform: uppercase; padding: .4em .8em; border-radius: 8px; background: rgba(0,0,0,.3); }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 136px; padding-bottom: 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; width: 100%; }
.hero-copy .display { margin-top: 22px; max-width: 14ch; }
.hero-copy .lead { margin-top: 26px; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; color: var(--text-dim); }

.hero-visual { position: relative; height: 520px; display: grid; place-items: center; }
.orbit-ring { position: absolute; border: 1px solid var(--border); border-radius: 50%; }
.orbit-ring.r1 { width: 420px; height: 420px; }
.orbit-ring.r2 { width: 560px; height: 560px; border-color: rgba(255,255,255,.04); }

.device { width: 232px; border-radius: 34px; padding: 10px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); border: 1px solid var(--border-2); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.04); position: relative; z-index: 3; }
.device-screen { background: linear-gradient(180deg, #0a0f1a, #070a12); border-radius: 26px; padding: 16px; height: 460px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.dv-top { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; color: var(--text-dim); display: flex; align-items: center; gap: 7px; }
.dv-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan-glow); }
.dv-hero { height: 168px; }
.dv-row { display: flex; gap: 10px; }
.dv-row span { flex: 1; height: 46px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.dv-row.two span { height: 64px; }
.dv-cta { margin-top: auto; height: 46px; border-radius: 13px; background: linear-gradient(180deg, var(--cyan-bright), var(--cyan)); color: #04121a; font-weight: 700; font-size: .9rem; display: grid; place-items: center; font-family: var(--font-display); }

.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; }
.float-card b { font-family: var(--font-display); font-size: 1.05rem; display: block; line-height: 1; }
.float-card small { color: var(--text-faint); font-size: .72rem; font-family: var(--font-mono); }
.float-card .fc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); }
.float-card .fc-ic svg { width: 18px; height: 18px; }
.float-card .fc-ic.cyan { color: var(--cyan); }
.float-card.f1 { top: 8%; right: -2%; }
.float-card.f2 { bottom: 10%; left: -4%; }

@keyframes floatA { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
@keyframes floatB { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(12px);} }
@keyframes floatC { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 6s ease-in-out infinite; }
.float-c { animation: floatC 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ .float-a,.float-b,.float-c{ animation: none; } }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--border-2); border-radius: 100px; display: grid; justify-items: center; padding-top: 8px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%{ transform: translateY(0); opacity: 1;} 70%{ transform: translateY(14px); opacity: 0;} 100%{ opacity: 0;} }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { border-block: 1px solid var(--border); overflow: hidden; padding: 22px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 30px; white-space: nowrap; width: max-content; animation: marq 34s linear infinite; font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.7rem); color: var(--text-dim); font-weight: 500; }
.marquee-track i { color: var(--cyan); font-style: normal; font-size: .7em; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation: none; } }

/* ============================================================
   GENERIC SECTION GRIDS
   ============================================================ */
.intro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.stat-row { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--text); display: block; line-height: 1; letter-spacing: -.03em; }
.stat b { background: linear-gradient(120deg, #fff, var(--cyan-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: .9rem; color: var(--text-faint); margin-top: 8px; display: block; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px; }
.feature-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--cyan); margin-bottom: 22px; }
.feature-ic svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: .96rem; }

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card { padding: 16px; }
.app-shot { aspect-ratio: 4 / 3.4; width: 100%; }
.app-body { display: flex; gap: 14px; padding: 18px 6px 6px; }
.app-ic { width: 52px; height: 52px; flex: none; }
.app-body h3 { font-size: 1.2rem; }
.app-body p { font-size: .9rem; margin-top: 6px; }
.app-tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.process-step { padding: 28px 26px 30px; position: relative; overflow: hidden; }
.ps-num { font-family: var(--font-mono); font-size: .8rem; color: var(--cyan); letter-spacing: .1em; }
.process-step h3 { margin: 14px 0 10px; }
.process-step p { font-size: .92rem; }

.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.tech-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-cloud .chip { font-size: .9rem; padding: .7em 1.1em; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.testi blockquote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.45; color: var(--text); letter-spacing: -.01em; }
.testi figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi figcaption b { font-size: .92rem; display: block; }
.testi figcaption small { color: var(--text-faint); font-size: .8rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; }

/* ============================================================
   CTA PANEL
   ============================================================ */
.cta-section { padding-bottom: 40px; }
.cta-panel { padding: clamp(48px, 8vw, 90px) 40px; text-align: center; overflow: hidden; position: relative; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 120%, var(--cyan-glow), transparent 70%); opacity: .5; pointer-events: none; }
.cta-panel > * { position: relative; z-index: 1; }

@media (max-width: 980px){
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 440px; }
  .intro-grid, .tech-grid { grid-template-columns: 1fr; }
  .feature-grid, .app-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .feature-grid, .app-grid, .testi-grid, .process { grid-template-columns: 1fr; }
  .hero-visual { height: 400px; }
  .device { width: 200px; }
  .stat-row { gap: 28px; }
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { padding-top: 190px; padding-bottom: 40px; }
.page-hero .display { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-top: 20px; max-width: 16ch; }
.page-hero .lead { margin-top: 24px; max-width: 56ch; }

/* breadcrumb */
.crumb { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; color: var(--text-faint); text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.crumb a { color: var(--text-faint); transition: color .2s; }
.crumb a:hover { color: var(--cyan); }

/* ============================================================
   ABOUT — timeline, values, mission
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { padding: 36px; }
.vm-card .feature-ic { margin-bottom: 24px; }
.vm-card h3 { font-size: 1.5rem; margin-bottom: 12px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 28px; }
.value .vnum { font-family: var(--font-mono); font-size: .76rem; color: var(--cyan); letter-spacing: .1em; }
.value h3 { font-size: 1.15rem; margin: 14px 0 8px; }
.value p { font-size: .9rem; }

.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 0; }
.tl-item { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--cyan); text-align: right; letter-spacing: -.02em; }
.tl-body { position: relative; padding-left: 32px; border-left: 1px solid var(--border); padding-bottom: 8px; }
.tl-body::before { content: ''; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px 2px var(--cyan-glow); }
.tl-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tl-body p { font-size: .96rem; }
.tl-item:last-child .tl-body { border-left-color: transparent; }

.big-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bstat { padding: 32px 28px; text-align: center; }
.bstat b { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; background: linear-gradient(120deg,#fff,var(--cyan-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.bstat span { color: var(--text-faint); font-size: .9rem; margin-top: 12px; display: block; }

/* ============================================================
   APPS SHOWCASE
   ============================================================ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em; padding: .6em 1.1em; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); color: var(--text-dim); cursor: pointer; transition: all .25s; }
.filter-btn:hover { color: var(--text); border-color: var(--border-2); }
.filter-btn.active { background: var(--cyan); color: #04121a; border-color: var(--cyan); font-weight: 600; }

.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.showcase-card { padding: 0; overflow: hidden; display: grid; grid-template-columns: 0.85fr 1.15fr; }
.showcase-card .sc-media { background: linear-gradient(160deg,#0b1018,#070a11); padding: 28px; display: grid; place-items: center; position: relative; }
.sc-phone { width: 150px; aspect-ratio: 9/19; border-radius: 22px; padding: 7px; background: linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.02)); border: 1px solid var(--border-2); }
.sc-phone .ph { width: 100%; height: 100%; border-radius: 16px; }
.sc-body { padding: 32px; display: flex; flex-direction: column; }
.sc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.sc-ic { width: 54px; height: 54px; border-radius: 15px; flex: none; }
.sc-body h3 { font-size: 1.4rem; }
.sc-cat { font-family: var(--font-mono); font-size: .72rem; color: var(--cyan); letter-spacing: .08em; text-transform: uppercase; }
.sc-feats { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 18px 0; }
.sc-feats li { font-size: .92rem; color: var(--text-dim); display: flex; gap: 10px; align-items: flex-start; }
.sc-feats li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-top: 8px; flex: none; box-shadow: 0 0 8px var(--cyan-glow); }
.store-row { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 9px; padding: .65em 1.1em; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); font-size: .82rem; font-weight: 600; transition: all .25s; }
.store-btn:hover { background: var(--surface-2); transform: translateY(-2px); }
.store-btn svg { width: 18px; height: 18px; }
.store-btn small { display: block; font-size: .62rem; color: var(--text-faint); font-weight: 500; white-space: nowrap; }
.store-btn b { display: block; font-size: .84rem; line-height: 1.1; white-space: nowrap; }

.coming-card { border-style: dashed; display: grid; place-items: center; text-align: center; padding: 48px; min-height: 200px; }
.coming-card h3 { margin-bottom: 8px; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-list { display: flex; flex-direction: column; gap: 16px; }
.svc-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 28px; align-items: center; padding: 32px; transition: all .4s; }
.svc-row .feature-ic { margin: 0; width: 60px; height: 60px; }
.svc-row h3 { font-size: 1.5rem; margin-bottom: 8px; }
.svc-row p { font-size: .98rem; max-width: 60ch; }
.svc-tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; padding: .4em .8em; border-radius: 100px; text-transform: uppercase; white-space: nowrap; }
.svc-tag.now { background: var(--cyan); color: #04121a; }
.svc-tag.soon { background: var(--surface-2); color: var(--text-dim); border: 1px solid var(--border); }
.svc-row.is-soon { opacity: .82; }

.pricing-note { text-align: center; margin-top: 56px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.info-card { padding: 30px; margin-bottom: 16px; }
.info-card .feature-ic { margin-bottom: 18px; width: 44px; height: 44px; }
.info-card h4 { font-family: var(--font-display); font-size: 1.1rem; text-transform: none; letter-spacing: -.01em; color: var(--text); margin-bottom: 6px; }
.info-card a, .info-card p { font-size: .98rem; color: var(--text-dim); }
.info-card a:hover { color: var(--cyan); }

.form { padding: 40px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 9px; color: var(--text); }
.field label .req { color: var(--cyan); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--bg-2);
  border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 1rem;
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px color-mix(in oklch, var(--cyan) 18%, transparent); }
.field.error input, .field.error textarea { border-color: #ff6b6b; }
.field .err-msg { color: #ff8585; font-size: .8rem; margin-top: 7px; display: none; }
.field.error .err-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 30px; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in oklch,var(--cyan) 18%,transparent); border: 1px solid var(--cyan); display: grid; place-items: center; margin: 0 auto 20px; color: var(--cyan); }
.form-success .check svg { width: 30px; height: 30px; }

/* ============================================================
   LEGAL DOC
   ============================================================ */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.legal-toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.legal-toc a { font-size: .9rem; color: var(--text-dim); padding: 7px 12px; border-radius: 9px; display: block; transition: all .2s; border-left: 2px solid transparent; }
.legal-toc a:hover { color: var(--text); background: var(--surface); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.55rem; margin: 48px 0 16px; scroll-margin-top: 100px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-dim); font-size: 1.02rem; line-height: 1.7; }
.legal-body p { margin-bottom: 16px; }
.legal-body ul { padding-left: 22px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.legal-body strong { color: var(--text); }
.legal-meta { font-family: var(--font-mono); font-size: .82rem; color: var(--text-faint); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

/* ============================================================
   404
   ============================================================ */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gut) 80px; }
.nf-num { font-family: var(--font-display); font-size: clamp(8rem, 26vw, 22rem); font-weight: 700; line-height: .85; letter-spacing: -.05em; background: linear-gradient(140deg,#fff 20%,var(--cyan-bright) 55%,var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: relative; }
.nf-cube { width: 120px; height: 120px; margin: 0 auto 8px; position: relative; transform-style: preserve-3d; animation: spin 14s linear infinite; }
.nf-cube .face { position: absolute; inset: 0; border: 1px solid var(--cyan); background: color-mix(in oklch,var(--cyan) 7%,transparent); }
.nf-cube .f1 { transform: rotateY(0deg) translateZ(60px); }
.nf-cube .f2 { transform: rotateY(90deg) translateZ(60px); }
.nf-cube .f3 { transform: rotateY(180deg) translateZ(60px); }
.nf-cube .f4 { transform: rotateY(270deg) translateZ(60px); }
.nf-cube .f5 { transform: rotateX(90deg) translateZ(60px); }
.nf-cube .f6 { transform: rotateX(-90deg) translateZ(60px); }
@keyframes spin { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }
@media (prefers-reduced-motion: reduce){ .nf-cube{ animation: none; } }

@media (max-width: 980px){
  .split, .vm-grid, .contact-grid, .tech-grid { grid-template-columns: 1fr; }
  .values-grid, .big-stats { grid-template-columns: 1fr 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
}
@media (max-width: 620px){
  .values-grid, .big-stats { grid-template-columns: 1fr; }
  .showcase-card { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 64px 1fr; gap: 16px; }
  .form, .info-card { padding: 24px; }
}

/* ============================================================
   SVG ART (placeholder fills — no external images)
   ============================================================ */
.app-logo { display: grid; place-items: center; border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.app-logo svg { width: 54%; height: 54%; display: block; }
.sc-ic.app-logo { border-radius: 15px; }
.ui-art-wrap { position: relative; overflow: hidden; background: #0b1018; }
.ui-art-wrap svg { width: 100%; height: 100%; display: block; }
.dv-art { border-radius: 12px; overflow: hidden; background: #0c1320; border: 1px solid var(--border); }
.dv-art svg { width: 100%; height: 100%; display: block; }
.avatar-svg { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.avatar-svg svg { width: 100%; height: 100%; display: block; }

/* utility */
.center-text { text-align: center; }
.grid { display: grid; gap: 24px; }
.flow > * + * { margin-top: 1em; }
.divider { height: 1px; background: var(--border); border: 0; }
.glow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px 2px var(--cyan-glow); display: inline-block; }
