/* Suvo landing — mirrors mobile/lib/theme.ts */

:root {
  --brand: #FF6B00;
  --brand-light: #FF9040;
  --brand-dark: #CC5500;

  --bg: #0A0A0F;
  --bg-card: #15151A;
  --bg-elevated: #1E1E25;

  --text: #F5F5F7;
  --text-secondary: #A1A1A6;
  --text-muted: #56566A;

  --success: #34D399;
  --warning: #FBBF24;
  --danger: #FB7185;
  --info: #67E8F9;
  --purple: #C084FC;
  --teal: #2DD4BF;
  --pink: #F472B6;
  --lime: #A3E635;

  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 999px;

  --max: 960px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  /* Ambient background glows — echoes ambient-bg.tsx */
  background-color: var(--bg);
  background-image:
    radial-gradient(600px 400px at 85% -10%, rgba(255,107,0,0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(124,58,237,0.15), transparent 65%),
    radial-gradient(500px 400px at 50% 120%, rgba(45,212,191,0.12), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}

a { color: var(--text); text-decoration: none; }
a:hover { opacity: 0.85; }

/* ---------- Nav ---------- */

nav {
  display: flex;
  gap: 24px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand img {
  height: 32px;
  width: 32px;
  display: block;
}
.brand:hover { opacity: 0.9; }

nav a:not(.brand) {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}
nav a:not(.brand):hover { color: var(--text); }

/* ---------- Hero ---------- */

.hero {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-shot { order: -1; }
}

.hero-copy { min-width: 0; }

.hero-shot {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 280px;
  padding: 10px;
  background: #050508;
  border-radius: 40px;
  border: 1px solid var(--border-light);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.55),
    0 0 80px rgba(255,107,0,0.18);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--brand) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 0 32px;
}

.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(255,107,0,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255,107,0,0.45);
}

.status {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 18px;
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */

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

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  font-size: 28px;
  margin: 0 0 32px;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h3 {
  font-size: 17px;
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Feature grid (mirrors supplement cards) ---------- */

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

.grid article {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px 20px 20px 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Accent rail on the left — matches supplement list rows */
.grid article::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
}
.grid article:nth-child(2)::before { background: var(--teal); }
.grid article:nth-child(3)::before { background: var(--purple); }
.grid article:nth-child(4)::before { background: var(--pink); }

.grid p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.tag.teal   { color: var(--teal); }
.tag.purple { color: var(--purple); }
.tag.pink   { color: var(--pink); }
.tag.info   { color: var(--info); }
.tag.warn   { color: var(--warning); }

/* ---------- About & beta ---------- */

.about p,
.beta p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 720px;
}
.beta a { color: var(--brand-light); }
.beta a:hover { color: var(--brand); }

.beta .card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 20px;
}

/* ---------- Footer ---------- */

footer {
  padding: 40px 20px 64px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

footer a { color: var(--text-secondary); }
footer a:hover { color: var(--text); }

.fine {
  margin-top: 14px;
  font-size: 12px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 720px;
  margin: 48px auto;
  padding: 0 20px;
}
.legal h1 { font-size: 32px; margin-bottom: 12px; font-weight: 800; letter-spacing: -0.02em; }
.legal h2 { font-size: 18px; margin-top: 32px; font-weight: 600; }
.legal p, .legal li { color: var(--text-secondary); }
.legal ul { padding-left: 20px; }
.legal a { color: var(--brand-light); }
.legal a:hover { color: var(--brand); }
.legal .back { color: var(--text-muted); font-size: 13px; }
