/* ============================================================
   Trioans — cosmic studio site
   ============================================================ */
:root {
  --bg: #04050d;
  --ink: #eef2ff;
  --ink-2: #b7c1dc;
  --ink-3: #7d89a8;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(14, 18, 38, 0.52);
  --glass-2: rgba(22, 27, 54, 0.62);
  --cyan: #5ce1ff;
  --violet: #a978ff;
  --amber: #ffb547;
  --accent: #8ab4ff;           /* updated per galaxy by JS */
  --accent-2: #a978ff;
  --radius: 22px;
  --ease: cubic-bezier(.22, .9, .25, 1);
  --nav-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--accent) 45%, transparent); }

/* ---------- background layers ---------- */
#cosmos { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(2, 3, 9, .55) 100%),
    linear-gradient(180deg, rgba(4, 5, 13, .35), transparent 22%, transparent 78%, rgba(4, 5, 13, .5));
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1200px, calc(100% - 32px)); height: 62px; z-index: 50;
  display: flex; align-items: center; gap: 24px; padding: 0 10px 0 16px;
  background: rgba(8, 11, 26, .55);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font: 700 17px/1 Sora, sans-serif; letter-spacing: .28em; }
.nav__brand img { filter: drop-shadow(0 0 10px rgba(140, 180, 255, .45)); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 9px 16px; border-radius: 999px;
  color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color .3s, background .3s;
}
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav__links a.is-active { color: var(--ink); background: rgba(255, 255, 255, .08); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent); transform: translateX(-50%);
}
.nav__cta { padding: 10px 18px !important; font-size: 14px !important; }
.nav__toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; cursor: pointer; margin-left: auto; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.nav__toggle span:first-child { top: 16px; } .nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- galaxy map (side dots) ---------- */
.galaxy-map { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 16px; }
.galaxy-map a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--ink-3); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.galaxy-map span { opacity: 0; transform: translateX(8px); transition: .35s var(--ease); white-space: nowrap; }
.galaxy-map i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink-3); transition: .35s var(--ease); flex: none; }
.galaxy-map a:hover span, .galaxy-map a.is-active span { opacity: 1; transform: none; }
.galaxy-map a.is-active { color: var(--ink); }
.galaxy-map a.is-active i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 14px var(--accent); }

/* ---------- warp HUD ---------- */
.warp-hud {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  display: grid; place-content: center; text-align: center; gap: 6px;
  opacity: 0; transition: opacity .45s;
}
.warp-hud.is-on { opacity: 1; }
.warp-hud__ring {
  width: 130px; height: 130px; margin: 0 auto 14px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); border-top-color: var(--accent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 35%, transparent) inset;
  animation: spin 1s linear infinite;
}
.warp-hud__label { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--ink-2); }
.warp-hud__dest { font: 700 clamp(28px, 4vw, 44px)/1.1 Sora, sans-serif; letter-spacing: .02em; text-shadow: 0 0 30px var(--accent); }
.warp-hud__coords { font: 500 12px/1 ui-monospace, Consolas, monospace; color: var(--ink-3); letter-spacing: .12em; }

/* ---------- pages ---------- */
main { position: relative; z-index: 10; }
.page { display: none; min-height: 100vh; padding: calc(var(--nav-h) + 60px) 24px 0; }
.page.is-active { display: block; }
.page > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.page.is-entering > .hero, .page.is-entering > .page-hero { animation: pageIn 1.1s var(--ease) .35s both; }
.page.is-leaving { animation: pageOut .55s var(--ease) both; display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pageOut { to { opacity: 0; transform: scale(1.06); filter: blur(12px); } }

.hero { min-height: calc(100vh - var(--nav-h) - 60px); display: flex; align-items: center; padding-bottom: 60px; }
.hero__copy { max-width: 640px; }
.page-hero { padding: 40px 0 40px; max-width: 1200px; }
.page-hero > .lead, .page-hero > .display { max-width: 760px; }
.page-hero--split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; min-height: calc(100vh - var(--nav-h) - 100px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 600 12px/1 Inter, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.display { font: 800 clamp(44px, 7vw, 92px)/1.02 Sora, sans-serif; letter-spacing: -.035em; margin-bottom: 26px; }
h2 { font: 700 clamp(30px, 4vw, 48px)/1.12 Sora, sans-serif; letter-spacing: -.025em; margin-bottom: 14px; }
h3 { font: 600 22px/1.25 Sora, sans-serif; margin-bottom: 10px; }
h4 { font: 600 18px/1.3 Sora, sans-serif; margin-bottom: 8px; }
.grad {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 50%, var(--amber) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer { 50% { background-position: 100% 0; } }
.lead { font-size: clamp(17px, 1.4vw, 19.5px); color: var(--ink-2); max-width: 600px; }
.muted { color: var(--ink-2); max-width: 640px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, background .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--glow {
  background: linear-gradient(110deg, #3fc8ff, #7a6bff 55%, #c06bff);
  color: #fff;
  box-shadow: 0 8px 30px rgba(110, 120, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--glow:hover { box-shadow: 0 12px 44px rgba(120, 130, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); }
.btn--block { width: 100%; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.stats { display: flex; gap: 42px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats dt { font: 700 34px/1 Sora, sans-serif; background: linear-gradient(180deg, #fff, #9fb3d9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { color: var(--ink-3); font-size: 13.5px; margin-top: 6px; }

/* ---------- sections & grids ---------- */
.section { padding: 70px 0; }
.section__head { margin-bottom: 44px; max-width: 760px; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card, .feat, .principle, .step, .product, .plan, .founder, .form, .mock, .tech, .feature-banner, .split, .timeline {
  position: relative;
  background: linear-gradient(160deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.card, .feat { padding: 30px; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.card:hover, .feat:hover, .product:hover, .founder:hover, .plan:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent), 0 0 50px color-mix(in srgb, var(--accent) 14%, transparent);
}
.card p, .feat p, .principle p, .step p, .product p, .founder p { color: var(--ink-2); font-size: 15px; }

.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-cyan { color: var(--cyan); background: radial-gradient(circle at 30% 20%, rgba(92, 225, 255, .3), rgba(92, 225, 255, .06)); }
.ic-violet { color: var(--violet); background: radial-gradient(circle at 30% 20%, rgba(169, 120, 255, .3), rgba(169, 120, 255, .06)); }
.ic-amber { color: var(--amber); background: radial-gradient(circle at 30% 20%, rgba(255, 181, 71, .3), rgba(255, 181, 71, .06)); }

/* feature banner */
.feature-banner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding: 56px; overflow: hidden; }
.feature-banner .btn { margin-top: 26px; }
.feature-banner::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(92, 225, 255, .55), transparent 40%, transparent 60%, rgba(169, 120, 255, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.feature-banner__orb { justify-self: center; position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.feature-banner__orb::before, .feature-banner__orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .2); animation: spin 24s linear infinite;
}
.feature-banner__orb::after { inset: 28px; border-style: solid; border-color: rgba(92, 225, 255, .25); animation-duration: 14s; animation-direction: reverse; }
.feature-banner__orb img { width: 96px; filter: drop-shadow(0 0 40px rgba(99, 102, 241, .8)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* founders */
.founder { padding: 34px 30px; overflow: hidden; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.founder__planet { width: 92px; height: 92px; border-radius: 50%; margin-bottom: 26px; position: relative; animation: float 7s ease-in-out infinite; }
.founder__planet::after { content: ""; position: absolute; inset: -14px -26px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); transform: rotate(-18deg) scaleY(.32); }
.p-cyan { background: radial-gradient(circle at 32% 28%, #e8fdff, #5ce1ff 35%, #0a5d9e 75%, #031a33); box-shadow: 0 0 50px rgba(92, 225, 255, .5); }
.p-violet { background: radial-gradient(circle at 32% 28%, #f6ecff, #a978ff 35%, #3b1590 75%, #12052e); box-shadow: 0 0 50px rgba(169, 120, 255, .5); animation-delay: -2s; }
.p-amber { background: radial-gradient(circle at 32% 28%, #fff6e0, #ffb547 35%, #a5400d 75%, #2e0f02); box-shadow: 0 0 50px rgba(255, 181, 71, .5); animation-delay: -4s; }
.founder__role { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 20px; }
.tags li { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }

.principle, .step { padding: 28px; }
.principle span, .step b { display: block; font: 700 14px/1 Sora, sans-serif; color: var(--accent); margin-bottom: 18px; letter-spacing: .1em; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); padding: 40px 34px; gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 34px; right: 34px; top: 48px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--amber), transparent); }
.timeline__item { position: relative; padding-top: 30px; }
.timeline__item::before { content: ""; position: absolute; top: 2px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.timeline__item.is-future::before { background: transparent; border: 1.5px dashed var(--ink-2); box-shadow: none; }
.timeline__item b { font-family: Sora, sans-serif; }
.timeline__item p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }

/* product badge */
.product-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 700 22px/1 Sora, sans-serif; }
.product-badge em { font: 500 13px Inter, sans-serif; color: var(--ink-3); font-style: normal; }

/* mockup */
.mock { overflow: hidden; transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); transition: transform .8s var(--ease); }
.mock:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .08), transparent 35%); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock__bar i:nth-child(2) { background: #febc2e; } .mock__bar i:nth-child(3) { background: #28c840; }
.mock__bar span { margin-left: 12px; font-size: 12px; color: var(--ink-3); }
.mock__body { display: flex; min-height: 340px; }
.mock__side { width: 56px; border-right: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock__side b { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .07); }
.mock__side b.on { background: linear-gradient(135deg, #22d3ee, #a855f7); box-shadow: 0 0 16px rgba(99, 102, 241, .7); }
.mock__main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis > div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); min-width: 0; }
.kpis small { display: block; font-size: 11px; color: var(--ink-3); }
.kpis strong { display: block; font: 700 18px/1.4 Sora, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis em { font-style: normal; font-size: 11px; }
.up { color: #4ade80; } .down { color: #f87171; }
.chart { height: 110px; display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 0; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.chart span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #5ce1ff, rgba(99, 102, 241, .35)); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.chart span:nth-child(odd) { background: linear-gradient(180deg, #a978ff, rgba(169, 120, 255, .25)); }
.chart span:nth-child(2) { animation-delay: .05s } .chart span:nth-child(3) { animation-delay: .1s } .chart span:nth-child(4) { animation-delay: .15s } .chart span:nth-child(5) { animation-delay: .2s } .chart span:nth-child(6) { animation-delay: .25s } .chart span:nth-child(7) { animation-delay: .3s } .chart span:nth-child(8) { animation-delay: .35s } .chart span:nth-child(9) { animation-delay: .4s } .chart span:nth-child(10) { animation-delay: .45s }
@keyframes grow { from { transform: scaleY(0); } }
.inv { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.inv li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); font-size: 12.5px; }
.inv span { flex: 1; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv b { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.inv .paid { background: rgba(74, 222, 128, .14); color: #4ade80; }
.inv .due { background: rgba(255, 181, 71, .14); color: var(--amber); }
.inv em { font-style: normal; font-weight: 600; }

/* split / flow */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 56px; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.flow { display: flex; flex-direction: column; align-items: center; }
.flow__node { padding: 14px 34px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); font-family: Sora, sans-serif; min-width: 180px; text-align: center; }
.flow__node--end { background: linear-gradient(110deg, rgba(63, 200, 255, .3), rgba(192, 107, 255, .3)); border-color: rgba(255, 255, 255, .25); }
.flow__line { width: 2px; height: 34px; background: linear-gradient(var(--cyan), var(--violet)); position: relative; overflow: hidden; }
.flow__line::after { content: ""; position: absolute; left: -2px; width: 6px; height: 10px; border-radius: 3px; background: #fff; box-shadow: 0 0 10px #fff; animation: drip 1.6s linear infinite; }
@keyframes drip { from { top: -10px; } to { top: 34px; } }

/* pricing */
.plan { padding: 34px 30px; display: flex; flex-direction: column; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.plan .btn { margin-top: auto; }
.plan .checks { margin: 22px 0 30px; }
.plan__desc { color: var(--ink-3); font-size: 14px; }
.plan__price { font: 700 40px/1 Sora, sans-serif; margin-top: 22px; }
.plan__price small { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.plan--hot { border-color: rgba(169, 120, 255, .5); box-shadow: 0 0 0 1px rgba(169, 120, 255, .3), 0 30px 80px rgba(99, 102, 241, .25); }
.plan__tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: linear-gradient(110deg, #3fc8ff, #c06bff); }

/* universe */
.product { padding: 34px; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.product__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.product img { filter: drop-shadow(0 0 22px rgba(99, 102, 241, .7)); }
.orb { width: 48px; height: 48px; border-radius: 50%; }
.orb--violet { background: radial-gradient(circle at 32% 28%, #f6ecff, #a978ff 35%, #3b1590 75%); box-shadow: 0 0 30px rgba(169, 120, 255, .55); animation: pulse 3s infinite; }
.status { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.status--live { color: #4ade80; border-color: rgba(74, 222, 128, .4); background: rgba(74, 222, 128, .08); }
.status--live::before { content: "● "; animation: pulse 1.6s infinite; }
.link { display: inline-block; margin-top: 18px; color: var(--accent); font-weight: 600; }
.tech { padding: 40px; text-align: center; }
.tech__list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tech__list li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 14.5px; }

/* contact */
.contact-list { list-style: none; margin-top: 36px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { width: 70px; color: var(--ink-3); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; padding-top: 2px; }
.contact-list a { color: var(--accent); font-weight: 600; }
.form { padding: 36px; display: grid; gap: 16px; }
.form h3 { margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(3, 5, 15, .55);
  outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.form select option { background: #0b0f24; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.form .is-invalid { border-color: #f87171; }
.form__note { font-size: 14px; min-height: 22px; color: #4ade80; }
.form__note.is-error { color: #f87171; }

/* footer */
.footer { margin-top: 80px; padding: 50px 0 34px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand p { color: var(--ink-3); font-size: 14px; max-width: 320px; margin-top: 14px; }
.footer__cols { display: flex; gap: 70px; }
.footer__cols h5 { font: 600 13px Sora, sans-serif; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--ink-3); font-size: 14.5px; padding: 4px 0; transition: color .3s; }
.footer__cols a:hover { color: var(--ink); }
.footer__legal { margin-top: 40px; color: var(--ink-3); font-size: 13px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .45s, box-shadow .45s; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.is-in:hover { transform: translateY(-6px); }
.mock.reveal.is-in { transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); }
.mock.reveal.is-in:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.split.reveal.is-in:hover, .timeline.reveal.is-in:hover, .tech.reveal.is-in:hover, .feature-banner.reveal.is-in:hover, .form.reveal.is-in:hover { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .galaxy-map { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .page-hero--split { grid-template-columns: 1fr; min-height: 0; }
  .mock, .mock.reveal.is-in { transform: none; }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; padding: 12px;
    background: rgba(8, 11, 26, .92); border: 1px solid var(--line); border-radius: 22px; backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .35s var(--ease);
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { padding: 14px 18px; font-size: 16px; }
  .nav__cta { display: none !important; }
  .nav__toggle { display: block; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .feature-banner, .split { grid-template-columns: 1fr; padding: 34px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
}
@media (max-width: 600px) {
  .page { padding: calc(var(--nav-h) + 30px) 16px 0; }
  .grid--4, .timeline, .form__row, .kpis { grid-template-columns: 1fr; }
  .stats { gap: 24px; }
  .stats dt { font-size: 26px; }
  .section { padding: 46px 0; }
  .card, .feat, .form, .tech, .plan, .product, .founder { padding: 24px; }
  .mock__side { display: none; }
  .footer__cols { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
