/* ShakTalk website — shared styles. Brand colours match the app. */
:root {
  --bg: #0A0D0C;
  --bg-2: #0F1412;
  --card: #141917;
  --card-2: #1A211E;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(47, 224, 168, 0.25);
  --text: #F2F6F4;
  --muted: #9BA8A4;
  --faint: #63726E;
  --brand: #2FE0A8;
  --brand-ink: #06120E;
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

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

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 13, 12, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand b { color: var(--brand); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .btn { color: var(--brand-ink); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { background: var(--card-2); color: var(--text); border-color: var(--line); }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-width: 200px;
  padding: 11px 18px; border-radius: 14px; background: #fff; color: #0A0D0C;
  border: 1px solid #fff;
}
.store-btn:hover { text-decoration: none; transform: translateY(-1px); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 11px; line-height: 1.1; opacity: .75; font-weight: 500; }
.store-btn strong { display: block; font-size: 17px; line-height: 1.2; font-weight: 700; }
.store-btn.soon { background: transparent; color: var(--muted); border-color: var(--line); cursor: default; }
.store-btn.soon:hover { transform: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 72px 0 56px; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto 0; height: 700px; z-index: -1;
  background: radial-gradient(600px 400px at 75% 40%, rgba(47, 224, 168, 0.16), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(47, 224, 168, 0.1); color: var(--brand); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600; letter-spacing: .2px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.05; letter-spacing: -1.5px; margin: 20px 0 18px; font-weight: 800; }
h1 em { font-style: normal; color: var(--brand); }
.tagline { font-size: clamp(19px, 2.4vw, 23px); font-weight: 600; color: var(--text); margin: -4px 0 14px; max-width: 540px; line-height: 1.35; text-wrap: balance; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.hero-note { margin-top: 18px; color: var(--faint); font-size: 14px; }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phone { margin: 0 auto; }
}

/* ── Phone mockup (drawn in CSS, shows how a call looks) ── */
.phone {
  width: 300px; max-width: 100%; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #26302C, #0D1110); border: 1px solid #2B3632;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.screen {
  height: 100%; border-radius: 34px; background: var(--bg); overflow: hidden;
  display: flex; flex-direction: column; padding: 22px 16px 18px; position: relative;
}
.notch { width: 92px; height: 24px; border-radius: 0 0 14px 14px; background: #0D1110; position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.call-top { text-align: center; margin-top: 18px; }
.call-top .who { font-weight: 700; font-size: 16px; }
.call-top .langs { font-size: 12px; color: var(--brand); margin-top: 2px; }
.call-top .timer { font-size: 12px; color: var(--faint); margin-top: 2px; }
.wave { display: flex; gap: 4px; justify-content: center; align-items: center; height: 46px; margin: 14px 0 6px; }
.wave span { width: 4px; border-radius: 4px; background: var(--brand); animation: wave 1.2s ease-in-out infinite; }
.wave span:nth-child(1) { height: 12px; animation-delay: -1.1s }
.wave span:nth-child(2) { height: 26px; animation-delay: -0.9s }
.wave span:nth-child(3) { height: 38px; animation-delay: -0.7s }
.wave span:nth-child(4) { height: 22px; animation-delay: -0.5s }
.wave span:nth-child(5) { height: 32px; animation-delay: -0.3s }
.wave span:nth-child(6) { height: 16px; animation-delay: -0.1s }
@keyframes wave { 0%, 100% { transform: scaleY(.4); opacity: .6 } 50% { transform: scaleY(1); opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .wave span { animation: none; } }
.bubbles { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.bubble { border-radius: 16px; padding: 10px 12px; font-size: 13px; line-height: 1.4; max-width: 88%; }
.bubble .orig { color: var(--faint); font-size: 11.5px; margin-bottom: 3px; }
.bubble.partner { background: var(--card-2); align-self: flex-start; border-top-left-radius: 6px; }
.bubble.me { background: rgba(47, 224, 168, 0.14); border: 1px solid var(--line-2); align-self: flex-end; border-top-right-radius: 6px; }
.controls { display: flex; justify-content: center; gap: 14px; margin-top: 16px; }
.controls i { width: 44px; height: 44px; border-radius: 50%; background: var(--card-2); display: block; }
.controls i.end { background: #E5484D; }

/* ── Sections ───────────────────────────────────────────── */
section { padding: 76px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.kicker { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.8px; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .grid-3.features { grid-template-columns: 1fr 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 14px 0 8px; font-size: 19px; letter-spacing: -0.2px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(47, 224, 168, 0.1); border: 1px solid var(--line-2); color: var(--brand);
}
.icon svg { width: 22px; height: 22px; }
.step-num { font-size: 13px; font-weight: 800; color: var(--brand-ink); background: var(--brand); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.chip span { color: var(--faint); font-weight: 500; margin-left: 6px; }
.chip.more { color: var(--brand); border-color: var(--line-2); background: rgba(47, 224, 168, 0.06); }

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

/* ── CTA ────────────────────────────────────────────────── */
.cta {
  text-align: center; border-radius: 28px; padding: 56px 24px;
  background: radial-gradient(500px 220px at 50% 0%, rgba(47, 224, 168, 0.18), transparent 70%), var(--card);
  border: 1px solid var(--line-2);
}
.cta h2 { margin-top: 0; }
.cta p { color: var(--muted); margin: 0 auto 26px; max-width: 520px; }
.cta .store-row { justify-content: center; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }

/* ── Legal / text pages ─────────────────────────────────── */
.doc { max-width: 780px; padding: 56px 20px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 8px; }
.doc .updated { color: var(--faint); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.3px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: #C9D3CF; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; 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(--text); }
.doc td { color: #C9D3CF; }
.table-scroll { overflow-x: auto; }
.note { background: rgba(47, 224, 168, 0.07); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 18px; color: var(--text); margin: 20px 0; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 42px; margin-bottom: 14px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
