:root {
  --bg: #0A0E1A;
  --bg-2: #111827;
  --surface: #1A1F2E;
  --surface-2: #232938;
  --teal: #5ED4F3;
  --teal-dark: #3BB8D6;
  --gold: #D4A853;
  --text: #ECEFF4;
  --text-2: #B0B8C8;
  --text-3: #6B7280;
  --outline: #2E3548;
  --radius: 14px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--teal); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Header ────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 26, 0.78);
  border-bottom: 1px solid var(--outline);
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  font-weight: 700; font-size: 17px;
  background: linear-gradient(120deg, var(--teal), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo small { display: block; font-weight: 400; font-size: 11px; color: var(--text-3); -webkit-text-fill-color: var(--text-3); margin-top: 2px; }
nav ul { display: flex; gap: 22px; list-style: none; }
nav a { color: var(--text-2); font-size: 14px; }
nav a:hover { color: var(--text); }
.lang-switch { font-size: 12px; color: var(--text-3); border: 1px solid var(--outline); padding: 4px 10px; border-radius: 999px; }
.lang-switch:hover { border-color: var(--teal); color: var(--teal); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 20% 0%, rgba(94,212,243,.18), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(212,168,83,.12), transparent 60%);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  background: linear-gradient(120deg, #fff 0%, var(--teal) 60%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-2);
  max-width: 640px;
  margin-bottom: 32px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn-primary { background: var(--teal); color: #06161E; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); color: #06161E; }
.btn-ghost { color: var(--text); border-color: var(--outline); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-visual {
  aspect-ratio: 4/5; max-width: 320px; margin: 0 auto;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 30%, rgba(94,212,243,.35), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--outline);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-visual svg { width: 60%; height: auto; opacity: .9; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(212,168,83,.08));
  border-radius: 28px;
}

/* ── Sections ──────────────────────────────────────────── */
section { padding: 80px 0; }
.section-tag {
  display: inline-block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px; font-weight: 600;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2;
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.section-lede { color: var(--text-2); max-width: 600px; margin-bottom: 48px; }

/* ── Video section (YouTube Short, 9:16 portrait) ────────── */
.video-section { text-align: center; }
.video-wrap {
  max-width: 360px;
  margin: 32px auto 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--outline);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-cta { margin-top: 20px; }

/* Features grid */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: var(--teal); transform: translateY(-2px); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(94,212,243,.18), rgba(212,168,83,.1));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--teal);
}
.feature-mock {
  width: 70px; height: 132px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--outline);
  margin-bottom: 18px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.35), inset 0 0 0 2px rgba(0,0,0,.4);
  flex-shrink: 0;
}
.feature-mock::before {
  content: ""; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 7px; background: #000; border-radius: 999px;
}
.feature-mock svg { width: 64%; height: auto; opacity: .85; }
.feature:hover .feature-mock { border-color: var(--teal); }

/* ── Slideshow ─────────────────────────────────────────── */
.slideshow {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}
.slideshow-frame {
  aspect-ratio: 9/19;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--outline);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 0 0 6px #000, inset 0 0 0 7px rgba(94,212,243,.15);
  position: relative;
}
.slideshow-frame::before {
  /* phone notch */
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 18px; background: #000; border-radius: 999px; z-index: 3;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
  margin: 0;
}
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.slide figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 36px 16px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: var(--text);
  font-size: 13px; font-weight: 500;
  text-align: center;
  z-index: 2;
}

.slideshow-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--outline);
  color: var(--text);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, transform .15s;
  z-index: 4;
  user-select: none;
}
.slideshow-arrow:hover { background: var(--teal); color: #06161E; border-color: var(--teal); }
.slideshow-arrow:active { transform: translateY(-50%) scale(.95); }
.slideshow-prev { left: -60px; }
.slideshow-next { right: -60px; }
@media (max-width: 520px) {
  .slideshow-prev { left: 8px; }
  .slideshow-next { right: 8px; }
}

.slideshow-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 24px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--outline);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .15s, transform .15s;
}
.dot.is-active { background: var(--teal); transform: scale(1.3); }
.dot:hover:not(.is-active) { background: var(--text-3); }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 0.92rem; }

/* Screenshots */
.screens-bg {
  background: linear-gradient(180deg, transparent, rgba(94,212,243,.04), transparent);
}
.screens {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.screen {
  aspect-ratio: 9/19;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--outline);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,.4), inset 0 0 0 4px rgba(0,0,0,.4);
}
.screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.screen-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  color: var(--text-2); font-size: 12px; text-align: center; padding: 24px 16px;
}
.screen-placeholder svg { width: 38%; height: auto; opacity: .7; }
.screen-placeholder strong { color: var(--text); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; }
.screen::before {
  /* Phone notch */
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 16px; background: #000; border-radius: 999px; z-index: 2;
}

/* Pro section */
.pro {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 48px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
@media (max-width: 720px) { .pro { grid-template-columns: 1fr; padding: 32px 24px; } }
.pro h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pro p { color: var(--text-2); margin-bottom: 18px; }
.pro ul { list-style: none; }
.pro li { padding: 4px 0; color: var(--text-2); display: flex; gap: 10px; }
.pro li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--gold); white-space: nowrap; }
.price small { display: block; font-size: 0.85rem; font-weight: 400; color: var(--text-3); }

/* Footer */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--outline);
  padding: 48px 0 32px;
  margin-top: 60px;
  color: var(--text-3); font-size: 0.88rem;
}
footer .container {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px;
}
@media (max-width: 720px) { footer .container { grid-template-columns: 1fr; gap: 28px; } }
footer h4 { color: var(--text); margin-bottom: 14px; font-size: 0.95rem; }
footer ul { list-style: none; }
footer li { padding: 4px 0; }
footer a { color: var(--text-2); }
footer a:hover { color: var(--teal); }
.copy {
  border-top: 1px solid var(--outline);
  margin-top: 32px; padding-top: 20px;
  text-align: center; font-size: 0.82rem;
}

/* ── Legal pages ───────────────────────────────────────── */
.legal {
  padding: 60px 0 80px;
  max-width: 720px;
}
.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal .updated { color: var(--text-3); font-size: 0.88rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 10px; color: var(--teal); }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { padding: 3px 0; }
.legal hr { border: none; border-top: 1px solid var(--outline); margin: 48px 0; }
.legal a { word-break: break-word; }

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--teal); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; padding-right: 24px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--teal); font-weight: 400; font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { margin-top: 12px; color: var(--text-2); font-size: 0.95rem; }
