/* Yokolo landing — shared premium surface.
   Three compositions (v1, v2, v3) share this stylesheet. */

:root {
  --bg: #07090e;
  --bg-2: #0a0d14;
  --panel: #0e131c;
  --panel-2: #121926;
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #eef2f9;
  --muted: #9aa7ba;
  --muted-2: #6f7d91;
  --accent: #8ea6ff;
  --accent-2: #49d7a8;
  --warm: #ffcf8a;
  --ui: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Source Serif 4', 'Georgia', serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--ui);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
::selection { background: rgba(142, 166, 255, 0.35); }

/* ---------- atmosphere ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 55% at 50% 0%, #000 20%, transparent 78%);
}
.bg-glow {
  position: fixed; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; left: 50%; top: -520px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(108, 134, 255, 0.22), rgba(73, 215, 168, 0.07) 42%, transparent 68%);
  filter: blur(18px);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(7, 9, 14, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 15px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.02em; font-size: 17px; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #b7c6ff, #6f8cff 55%, #4ac9a1);
  color: #080b11; font: 800 13px/1 var(--ui);
  box-shadow: 0 6px 18px rgba(111, 140, 255, 0.28);
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03);
  color: var(--text); font: 600 14px/1 var(--ui);
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.055); }
.btn-primary {
  background: linear-gradient(180deg, #a9baff, #7f9bff);
  border-color: rgba(160, 180, 255, 0.9);
  color: #070a12;
  box-shadow: 0 10px 30px rgba(108, 134, 255, 0.25), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { background: linear-gradient(180deg, #b7c6ff, #8ea6ff); box-shadow: 0 14px 36px rgba(108, 134, 255, 0.32); }
.btn-sm { padding: 9px 14px; border-radius: 9px; font-size: 13px; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--muted); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--text); background: transparent; }

/* ---------- hero ---------- */
.hero { padding: 84px 24px 40px; }
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 60px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 0 4px rgba(73,215,168,.13);
}
h1 {
  font: 600 clamp(42px, 5.6vw, 70px)/0.98 var(--ui);
  letter-spacing: -0.05em; margin: 0 0 22px; max-width: 13ch;
}
h1 .accent {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #dbe4ff 5%, #9db3ff 45%, #7fe6c4 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 18px; line-height: 1.62; color: var(--muted); max-width: 56ch; margin: 0 0 30px; }
.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font: 400 12.5px/1.5 var(--mono); color: var(--muted-2); letter-spacing: .01em; }
.hero-note b { color: var(--muted); font-weight: 500; }

/* ---------- device frame ---------- */
.device {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--panel);
  box-shadow:
    0 40px 120px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.02),
    inset 0 1px 0 rgba(255,255,255,.06);
}
.device-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a3242; display: block; }
.dots i:nth-child(1) { background: #ff6b6b; opacity: .8; }
.dots i:nth-child(2) { background: #ffd166; opacity: .8; }
.dots i:nth-child(3) { background: #49d7a8; opacity: .8; }
.url {
  flex: 1; text-align: center; font: 400 11px/1 var(--mono); color: var(--muted-2);
  background: rgba(0,0,0,.25); border: 1px solid var(--line);
  border-radius: 7px; padding: 6px 10px;
}
.device video, .device iframe { width: 100%; display: block; border: 0; background: #0a0e15; }
.device video { aspect-ratio: 16 / 10; object-fit: cover; }
.device iframe { height: 560px; }
.video-wrap { position: relative; }
.video-wrap .caption {
  position: absolute; left: 14px; bottom: 14px;
  font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: #dfe7f7; background: rgba(5,7,11,.72); border: 1px solid var(--line-2);
  padding: 7px 10px; border-radius: 999px; backdrop-filter: blur(8px);
}

/* ---------- sections ---------- */
.section { padding: 96px 24px; border-top: 1px solid var(--line); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 {
  font: 600 clamp(30px, 3.6vw, 44px)/1.06 var(--ui);
  letter-spacing: -0.04em; margin: 0 0 14px;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; max-width: 62ch; }
.kicker { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; display: block; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
  padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.008));
}
.feature .num { font: 600 11px/1 var(--mono); color: var(--muted-2); letter-spacing: .1em; }
.feature h3 { font: 600 20px/1.2 var(--ui); letter-spacing: -0.025em; margin: 12px 0 10px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }
.feature-media {
  margin-top: 18px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
}
.feature-media img { width: 100%; height: auto; }

.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.split h2 { font: 600 clamp(28px, 3.4vw, 40px)/1.08 var(--ui); letter-spacing: -0.04em; margin: 0 0 16px; }
.split p { color: var(--muted); font-size: 16px; margin: 0 0 18px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; color: var(--text); font-size: 14.5px; }
.checklist li::before {
  content: '→'; color: var(--accent); font-family: var(--mono); font-size: 12px; margin-top: 3px;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent);
}
.step .n {
  font: 500 42px/1 var(--serif); letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(142,166,255,.55);
  margin-bottom: 18px; display: block;
}
.step h3 { font: 600 17px/1.25 var(--ui); margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- trial panel ---------- */
.trial-panel {
  position: relative; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--line-2);
  background:
    radial-gradient(90% 140% at 10% 0%, rgba(108,134,255,.16), transparent 55%),
    radial-gradient(80% 120% at 95% 100%, rgba(73,215,168,.10), transparent 55%),
    var(--panel);
  padding: 48px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.trial-panel h2 { font: 600 clamp(28px, 3.4vw, 42px)/1.05 var(--ui); letter-spacing: -0.04em; margin: 0 0 14px; }
.trial-panel p { color: var(--muted); margin: 0 0 24px; max-width: 52ch; }
.trial-stats { display: grid; gap: 12px; }
.stat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(0,0,0,.18);
}
.stat span { color: var(--muted); font-size: 13.5px; }
.stat b { font: 600 22px/1 var(--ui); letter-spacing: -0.03em; }
.stat b em { font: 400 12px/1 var(--mono); color: var(--muted-2); font-style: normal; margin-left: 5px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.018); padding: 0 18px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 0;
  font: 550 15px/1.4 var(--ui); color: var(--text);
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted-2); font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; max-width: 70ch; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 42px 24px 60px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 13px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

/* ---------- reveal ----------
   Content is visible by default so a slow script, a crawler or a screenshot never
   sees blank sections. The class is kept for a future progressive enhancement. */
.reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .split, .trial-panel { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 56px; }
  h1 { max-width: 16ch; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .device iframe { height: 460px; }
  .trial-panel { padding: 32px; }
  .section { padding: 72px 24px; }
}
@media (max-width: 560px) {
  .nav-inner { padding: 13px 18px; }
  .nav-actions .btn-ghost { display: none; }
  h1 { font-size: 40px; }
  .lede { font-size: 16px; }
  .hero-ctas .btn { width: 100%; }
  .device iframe { height: 400px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* Click-to-load demo: never ship a blank iframe on a slow route. */
.demo-launch { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.demo-launch > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: .5; }
.demo-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, rgba(7,9,14,.10), rgba(7,9,14,.72));
  text-align: center; padding: 24px;
}
.demo-hint { font: 400 11px/1.4 var(--mono); color: var(--muted); letter-spacing: .04em; }
