/* ============================================================
   Balworth landing — same dark neon system as the app
   ============================================================ */

:root {
  --bg: #0a0b10;
  --panel: rgba(14, 16, 24, 0.86);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef0f6;
  --text-dim: #9aa1b5;
  --text-faint: #7d8498;
  --violet: #a78bfa;
  --cyan: #22d3ee;
  --radius: 18px;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 600px at 85% -100px, rgba(167, 139, 250, 0.13), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(34, 211, 238, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(139, 92, 246, 0.4); }

a { color: inherit; text-decoration: none; }

.wordmark {
  font-family: 'Poppins', var(--font);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #a78bfa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grad {
  background: linear-gradient(100deg, #a78bfa 10%, #22d3ee 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  font: 600 14.5px var(--font);
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: linear-gradient(100deg, #8b5cf6, #0ea5e9);
  border: none;
  color: #fff;
  box-shadow: 0 8px 26px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 34px rgba(139, 92, 246, 0.5); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 14px clamp(18px, 5vw, 56px);
  background: rgba(10, 11, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-brand { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.nav-logo { width: 34px; height: 34px; }

.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 500px) 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding: clamp(40px, 7vh, 90px) clamp(18px, 5vw, 56px) 30px;
  max-width: 1340px;
  margin: 0 auto;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.flag svg { width: 21px; height: 14px; border-radius: 2px; display: block; }

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-sub { color: var(--text-dim); font-size: clamp(15px, 1.6vw, 17.5px); max-width: 46ch; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 12px; color: var(--text-faint); font-size: 12.5px; }

.hero-shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(139, 92, 246, 0.12);
  animation: shot-in 0.9s var(--ease) both 0.15s;
}
.hero-shot img { display: block; width: 100%; height: auto; }

@keyframes shot-in {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* ---------- stats strip ---------- */

.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  padding: 26px clamp(18px, 5vw, 56px);
  margin: 30px auto 0;
  max-width: 1340px;
  color: var(--text-faint);
  font-size: 13.5px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip b { color: var(--text); font-weight: 700; }

/* ---------- sections ---------- */

section { padding: clamp(48px, 9vh, 110px) clamp(18px, 5vw, 56px); max-width: 1340px; margin: 0 auto; }

h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub { text-align: center; color: var(--text-dim); max-width: 62ch; margin: 0 auto 40px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45); }

/* features */

.features h2 { margin-bottom: 40px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--hue) 16%, transparent);
  margin-bottom: 14px;
}
.card-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--hue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.feature-grid h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature-grid p { color: var(--text-dim); font-size: 14px; }

/* regions */

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.region header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.region h3 { font-size: 18px; }
.region p { color: var(--text-dim); font-size: 13.5px; min-height: 42px; margin-bottom: 16px; }
.region .btn { width: 100%; text-align: center; }

.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-faint);
}
.badge-live {
  color: #41d488;
  border-color: rgba(65, 212, 136, 0.4);
  background: rgba(65, 212, 136, 0.1);
}
.region.live { border-color: rgba(65, 212, 136, 0.25); }

/* pricing */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  gap: 18px;
  justify-content: center;
}

.price-card { position: relative; padding: 30px 28px; }
.price-card h3 { font-size: 19px; }
.price { margin: 10px 0 18px; }
.price b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price span { color: var(--text-faint); font-size: 15px; }

.price-card ul { list-style: none; margin-bottom: 22px; }
.price-card li { padding: 6px 0 6px 26px; position: relative; color: var(--text-dim); font-size: 14px; }
.price-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(65, 212, 136, 0.14) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2341d488" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/9px no-repeat;
}

.price-card .btn { width: 100%; text-align: center; }

.price-card.pro {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.25), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(100deg, #8b5cf6, #0ea5e9);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.45);
}

.waitform { display: flex; gap: 8px; }
.waitform input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: 500 14px var(--font);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.waitform input[type="email"]:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}
.waitform .btn { width: auto; }

.waitmsg { margin-top: 10px; font-size: 13px; color: #41d488; min-height: 18px; }

/* faq */

.faq { max-width: 760px; }
.faq h2 { margin-bottom: 28px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 0 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  padding: 15px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 26px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 12px;
  font-size: 19px;
  color: var(--text-faint);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-dim); font-size: 14px; padding-bottom: 16px; }

/* footer */

.foot {
  border-top: 1px solid var(--line);
  padding: 34px clamp(18px, 5vw, 56px) 44px;
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.foot-brand { font-size: 16px; }
.foot-credits, .foot-legal { color: var(--text-faint); font-size: 12.5px; }
.foot-credits a { color: var(--text-dim); }
.foot-credits a:hover { color: var(--text); }
.foot-legal a { color: var(--text-dim); }
.foot-legal a:hover { color: var(--text); }
.foot-linkbtn {
  border: none;
  background: none;
  padding: 0;
  color: var(--text-dim);
  font: inherit;
  cursor: pointer;
}
.foot-linkbtn:hover { color: var(--text); }

/* ---------- legal pages (terms / privacy) ---------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(36px, 6vh, 70px) clamp(18px, 5vw, 56px);
}
.legal h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.legal .updated { color: var(--text-faint); font-size: 13px; margin-bottom: 34px; }
.legal h2 { font-size: 18px; text-align: left; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--text-dim); font-size: 14.5px; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal a { color: var(--violet); }
.legal a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .hero-shot { order: 2; }
  .waitform { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- legal & methodology pages ---------- */

.legal { max-width: 760px; margin: 0 auto; padding: clamp(34px, 6vh, 70px) clamp(18px, 5vw, 40px) 60px; }
.legal h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.legal .updated { color: var(--text-faint); font-size: 12.5px; margin-top: 6px; }
.legal .lede { color: var(--text); font-size: 15.5px; line-height: 1.65; margin-top: 22px; }
.legal h2 { font-size: 19px; text-align: left; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 15.5px; margin: 22px 0 7px; color: var(--text); }
.legal p, .legal li { color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.legal p { margin-bottom: 11px; }
.legal ul { margin: 0 0 14px 20px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--cyan); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal b { color: var(--text); }

.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 13px; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--text-dim); }
.legal th { color: var(--text); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.legal table.method td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.legal blockquote.cancel-form {
  border-left: 2px solid var(--line-strong);
  padding: 14px 18px;
  margin: 10px 0 18px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 10px 10px 0;
}
