/* VOIDL marketing site — layout mirrors levla.app (nav / split hero with tilted phones /
   quote cards / alternating feature sections / CTA), rendered in VOIDL's night palette. */

:root {
  --bg: #0c0710;          /* velvet plum-black */
  --bg-2: #130b1c;
  --ink: #efe9f6;
  --ink-2: rgba(239, 233, 246, 0.62);
  --ink-3: rgba(239, 233, 246, 0.34);
  --accent: #c3a8f2;       /* warm amethyst */
  --accent-deep: #5e3ab2;  /* deep violet */
  --ember: #c9946a;        /* the warmth of a coal, used only in whispers */
  --pool: #1c1030;
  --card: rgba(239, 233, 246, 0.035);
  --border: rgba(239, 233, 246, 0.08);
  --serif: "Iowan Old Style", "Palatino", "Georgia", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* deep pools and one warm coal, low — velvet and smoke, nothing literal */
.voidfield {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(44rem 40rem at 16% 6%,  rgba(94, 58, 178, 0.16), transparent 66%),
    radial-gradient(38rem 34rem at 86% 26%, rgba(94, 58, 178, 0.10), transparent 66%),
    radial-gradient(52rem 44rem at 38% 92%, rgba(94, 58, 178, 0.08), transparent 66%),
    radial-gradient(60rem 30rem at 55% 112%, rgba(201, 148, 106, 0.06), transparent 70%),
    var(--bg);
}
/* grain: the tooth of the fabric */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60;
  pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

/* --- nav ------------------------------------------------------------------ */
nav {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 32px 0;
}
.wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 26px;
  color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
}
.wordmark.small { font-size: 19px; color: var(--ink-2); }
nav .links { display: flex; gap: 28px; }
nav .links a {
  color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 600;
}
nav .links a:hover { color: var(--accent); }

main { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* --- hero ----------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; min-height: min(78vh, 700px); padding: 48px 0 60px;
}
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 400; letter-spacing: 0.14em;
  color: var(--ink-3);
  border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 30px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 4.8vw, 62px);
  letter-spacing: 0.01em;
  line-height: 1.08; margin: 0 0 30px;
}
.hero .sub {
  font-size: 17px; line-height: 1.85; color: var(--ink-2);
  max-width: 30em; margin: 0 0 40px;
}

.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badges.center { justify-content: center; }
.badge {
  display: flex; align-items: center; gap: 12px;
  border-radius: 12px; padding: 10px 18px;
  text-decoration: none; line-height: 1.15; font-size: 17px; font-weight: 600;
}
.badge small { font-size: 11px; font-weight: 500; opacity: 0.75; }
.badge-dark {
  background: #000; color: var(--ink); border: 1px solid rgba(239,233,246,0.28);
}
.badge-dark .badge-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--pool) 55%, transparent 56%),
              radial-gradient(circle, rgba(183,162,255,0.9), rgba(183,162,255,0) 70%);
  border: 1.5px solid var(--accent);
}
.badge-ghost {
  background: var(--card); color: var(--ink); border: 1px solid var(--border);
}
.badge:hover { transform: translateY(-1px); }

/* phones — two overlapping, tilted, like levla's hero */
.hero-phones { position: relative; height: 620px; }
.phone {
  border-radius: 42px; padding: 12px;
  background: #101018;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), 0 0 80px rgba(111, 87, 230, 0.12);
  overflow: hidden;
}
.phone img { display: block; width: 100%; border-radius: 32px; }
.phone-front {
  position: absolute; width: 285px; left: 6%; top: 30px;
  transform: rotate(-4deg); z-index: 2;
}
.phone-back {
  position: absolute; width: 285px; right: 2%; top: 90px;
  transform: rotate(7deg); z-index: 1; opacity: 0.94;
}

/* --- features ------------------------------------------------------------- */
.feature {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px;
  align-items: center; padding: 110px 0;
  border-top: 1px solid rgba(239,233,246,0.045);
}
.numeral {
  display: block;
  font-family: var(--serif);
  font-size: 15px; letter-spacing: 0.06em; color: var(--ember);
  margin-bottom: 14px; opacity: 0.85;
}
.feature.flip .feature-copy { order: 2; }
.feature.flip .feature-visual { order: 1; }
.feature h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.1vw, 38px); line-height: 1.14; margin: 0 0 24px;
}
.feature p { font-size: 16px; line-height: 1.9; color: var(--ink-2); margin: 0; max-width: 30em; }
.powers-list .mono { color: var(--accent); }
.mono { font-family: var(--mono); font-size: 0.92em; color: var(--ink); }

.feature-visual { display: flex; justify-content: center; }

/* §1 — compact fan: three small phones overlapping, one pulse strip beneath */
.stagegroup { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.stagefan { position: relative; width: 398px; height: 300px; }
.phone-mini { position: absolute; width: 130px; padding: 6px; border-radius: 24px; }
.phone-mini img { border-radius: 19px; }
.fan-1 { left: 0;    top: 10px; transform: rotate(-2deg); z-index: 1; }
.fan-2 { left: 134px; top: 4px;  transform: none;          z-index: 2; }
.fan-3 { left: 268px; top: 0;    transform: rotate(2deg);  z-index: 3; }
.fanplot { width: 398px; height: 30px; }
.fanplot line { stroke: rgba(239,233,246,0.14); stroke-width: 1; }
.fanplot rect { fill: var(--accent); opacity: 0.95; filter: drop-shadow(0 0 4px rgba(195,168,242,0.7)); }
.fanplot rect.dim { opacity: 0.45; filter: none; }

/* fog + power cards: pure-CSS visuals */
.fogcard, .powercard {
  position: relative; width: 100%; max-width: 420px; height: 340px;
  border-radius: 22px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--border);
}
.fog-blob { position: absolute; border-radius: 50%; filter: blur(26px); }
.fog-blob.b1 { width: 240px; height: 200px; left: -40px; top: -30px; background: rgba(94, 58, 178, 0.26); }
.fog-blob.b2 { width: 300px; height: 240px; right: -60px; top: 90px; background: rgba(94, 58, 178, 0.16); }
.fog-blob.b3 { width: 180px; height: 160px; left: 90px; bottom: -50px; background: rgba(201, 148, 106, 0.06); }
.fog-label {
  position: absolute; left: 0; right: 0; bottom: 26px; text-align: center;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--ink-3);
}
.powercard { display: grid; place-items: center; }
.powerring {
  width: 200px; height: 200px; border-radius: 50%;
  border: 1px solid rgba(195,168,242,0.40);
  box-shadow: 0 0 60px rgba(94,58,178,0.30) inset, 0 0 44px rgba(94,58,178,0.18);
  position: relative;
}
.powerring::after {
  content: ""; position: absolute; left: 50%; top: -5px;
  width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 14px var(--accent);
}
.powerdot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent-deep);
}

/* --- CTA + footer --------------------------------------------------------- */
.cta {
  text-align: center; padding: 100px 0 110px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 34px; }

footer {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 32px 42px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.foot-links { color: var(--ink-3); font-size: 13.5px; }
.foot-links a { color: var(--ink-3); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero-phones { height: 520px; margin-top: 10px; }
  .phone-front { left: 4%; width: 240px; }
  .phone-back { right: 4%; width: 240px; }
  .feature { grid-template-columns: 1fr; gap: 34px; padding: 60px 0; }
  .feature.flip .feature-copy { order: 1; }
  .feature.flip .feature-visual { order: 2; }
  nav .links { gap: 16px; }
}
