/* zStereo site: the app's Midnight theme (true black, violet and mint, Manrope). */
@font-face { font-family: "Oxanium"; src: url("fonts/oxanium.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #000;
  --surface: #0e0e12;
  --surface-high: #18181e;
  --line: #26262e;
  --text: #f3f2f7;
  --muted: #9c9aa8;
  --accent: #a98bff;
  --accent-2: #7fe0cc;
  --on-accent: #120a2a;
  --radius: 18px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 "Manrope", system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h2 { font-family: "Oxanium", "Manrope", sans-serif; font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand svg, .brand img { width: 32px; height: 32px; display: block; }
.top nav { margin-left: auto; display: flex; gap: 22px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #bba3ff; }
.btn-ghost { color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn[aria-disabled="true"] { opacity: 0.9; cursor: default; }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; padding: 72px 0 88px; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 420px at 78% 30%, rgba(169, 139, 255, 0.28), transparent 70%),
    radial-gradient(520px 380px at 62% 70%, rgba(127, 224, 204, 0.16), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; color: var(--accent-2); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 21px); color: #cfcdd8; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.small { font-size: 14px; color: var(--muted); }

/* Hero: three real screens, tilted, with a neon glow */
.stack { position: relative; justify-self: center; width: min(460px, 100%); aspect-ratio: 1 / 1.25; perspective: 1400px; }
.stack .dev { position: absolute; top: 50%; left: 50%; width: 52%; height: auto; border-radius: 26px; border: 2px solid #2d2a3c; background: #000; }
.stack .front { transform: translate(-50%, -50%); z-index: 3; box-shadow: 0 0 0 1px rgba(255, 46, 170, 0.35), 0 30px 90px rgba(255, 46, 170, 0.35), 0 0 60px rgba(0, 229, 255, 0.18); }
.stack .back { width: 44%; z-index: 1; filter: brightness(0.62) saturate(1.2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7); }
.stack .left { transform: translate(-108%, -46%) rotateY(24deg) rotateZ(-4deg); }
.stack .right { transform: translate(8%, -46%) rotateY(-24deg) rotateZ(4deg); }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(169, 139, 255, 0.14); color: var(--accent); }
.icon.mint { background: rgba(127, 224, 204, 0.13); color: var(--accent-2); }
.icon svg { width: 24px; height: 24px; }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sources { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--surface-high); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }

/* Price */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { border-radius: var(--radius); padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.plan.full { border-color: rgba(169, 139, 255, 0.55); background: linear-gradient(160deg, rgba(169, 139, 255, 0.14), var(--surface) 60%); }
.plan .amount { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 2px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan li { padding: 7px 0 7px 30px; position: relative; color: #d6d4de; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent-2); border-bottom: 2.5px solid var(--accent-2); transform: rotate(-45deg); }

/* FAQ */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Showcase: neon grid floor, scanlines, galleries of real screens */
.kicker { display: inline-block; font-family: "Oxanium", monospace; font-weight: 600; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-2); text-shadow: 0 0 12px rgba(127, 224, 204, 0.55); margin-bottom: 12px; }
.showcase { position: relative; overflow: hidden; background:
  radial-gradient(900px 500px at 15% 0%, rgba(255, 46, 170, 0.16), transparent 70%),
  radial-gradient(800px 500px at 90% 40%, rgba(0, 229, 255, 0.12), transparent 70%),
  radial-gradient(900px 600px at 50% 100%, rgba(169, 139, 255, 0.16), transparent 70%), #04030a; }
.showcase::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(169, 139, 255, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 139, 255, 0.14) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.showcase::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(transparent 0 3px, rgba(0, 0, 0, 0.18) 3px 4px); }
.showcase .wrap { position: relative; z-index: 1; }
.gallery { margin-top: 64px; }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.gallery-head h3 { font-family: "Oxanium", sans-serif; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; margin-bottom: 6px; }
.gallery-head p { color: var(--muted); margin: 0; max-width: 40em; }
.arrows { display: flex; gap: 10px; flex-shrink: 0; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(169, 139, 255, 0.5); background: rgba(14, 14, 18, 0.8); color: var(--text); font-size: 20px; cursor: pointer; transition: box-shadow 0.2s, border-color 0.2s; }
.arrow:hover { border-color: var(--accent); box-shadow: 0 0 18px rgba(169, 139, 255, 0.6); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: 236px; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 4px 26px; scrollbar-width: thin; scrollbar-color: #3a3550 transparent; overscroll-behavior-x: contain; }
.track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.shot { margin: 0; scroll-snap-align: start; }
.shot .dev { border-radius: 26px; padding: 2px; background: linear-gradient(160deg, #ff2eaa, #6b4dff 45%, #00e5ff); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 34px rgba(255, 46, 170, 0.22); transition: transform 0.25s, box-shadow 0.25s; }
.shot:nth-child(even) .dev { background: linear-gradient(160deg, #00e5ff, #6b4dff 55%, #ff2eaa); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 34px rgba(0, 229, 255, 0.2); }
.shot .dev img { display: block; width: 100%; height: auto; border-radius: 24px; background: #000; }
.shot:hover .dev { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7), 0 0 48px rgba(255, 46, 170, 0.4); }
.shot figcaption { margin-top: 14px; }
.shot figcaption b { display: block; font-family: "Oxanium", sans-serif; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 15px; }
.shot figcaption span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.shot-note { margin-top: 40px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal pages */
.doc { max-width: 760px; padding: 56px 24px 88px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc p, .doc li { color: #d6d4de; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 700; }
.table-wrap { overflow-x: auto; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .stack { width: min(400px, 92%); }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; padding: 10px 16px; font-size: 14px; }
  section { padding: 64px 0; }
  .grid, .price { grid-template-columns: 1fr; }
  .track { grid-auto-columns: 62vw; gap: 18px; }
  .arrows { display: none; }
  .doc { padding: 40px 16px 64px; }
  footer nav { margin-left: 0; }
}
