/* Booster - landing + privacy shared styles */

:root {
  /* Backgrounds & surfaces */
  --bg: #0a0b10;
  --bg-alt: #0b0c12;
  --surface: #15161d;
  --card: #11121b;

  /* Glass */
  --glass-fill: rgba(255, 255, 255, 0.05);
  --glass-stroke: rgba(255, 255, 255, 0.08);

  /* Accents */
  --accent-purple: #b07cff;
  --accent-blue: #5b9dff;
  --cyan: #43e6ff;
  --pink: #ff8ad4;

  /* Semantic */
  --profit: #46e3a0;
  --loss: #ff6b6b;
  --gold: #ffb454;

  /* Text */
  --text: #ffffff;
  --text-2: #8a90a6;
  --text-3: #7c8198;

  /* Gradients */
  --holo: linear-gradient(125deg, #b07cff, #5b9dff, #43e6ff, #ff8ad4);
  --holo-wide: linear-gradient(125deg, #b07cff, #5b9dff, #43e6ff, #ff8ad4, #ffb454);
  --cta: linear-gradient(125deg, #b07cff, #5b9dff, #43e6ff);

  /* Radii */
  --radius-card: 20px;
  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-pill: 999px;

  /* Layout */
  --maxw: 1080px;
  --pad: 24px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient radial glows behind the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 480px at 78% -8%, rgba(91, 157, 255, 0.18), transparent 70%),
    radial-gradient(620px 520px at 12% 8%, rgba(176, 124, 255, 0.16), transparent 70%),
    radial-gradient(900px 700px at 50% 120%, rgba(67, 230, 255, 0.08), transparent 70%);
  pointer-events: none;
}

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

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  color: var(--text-2);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* ---------- Layout helpers ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section-head p {
  font-size: 17px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--holo);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Gradient text helper */
.holo-text {
  background: var(--holo);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Glass card ---------- */

.glass {
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Holo-bordered card (gradient ring) */
.holo-border {
  position: relative;
  border-radius: var(--radius-card);
  background: var(--card);
}

.holo-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--holo-wide);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid var(--glass-stroke);
  color: var(--text);
  background: var(--glass-fill);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-cta {
  border: none;
  background: var(--cta);
  color: #0c0d13;
  box-shadow: 0 8px 24px rgba(91, 157, 255, 0.35);
}

.btn-cta:hover {
  box-shadow: 0 10px 30px rgba(91, 157, 255, 0.5);
}

/* App Store badge button */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #000;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12);
}

.appstore:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(255, 255, 255, 0.2);
}

.appstore svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.appstore .lines {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.appstore .lines small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
}

.appstore .lines span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 16, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-stroke);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .appstore {
  padding: 8px 16px;
}

.nav-links .appstore .lines span {
  font-size: 14px;
}

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

.hero {
  padding: 88px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(38px, 6.5vw, 68px);
  max-width: 14ch;
  margin-inline: auto;
}

.hero .sub {
  font-size: clamp(17px, 2.2vw, 21px);
  max-width: 56ch;
  margin: 18px auto 32px;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-3);
}

/* Phone frame */
.phone {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  margin: 56px auto 0;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #23252e, #0e0f15);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone::after {
  /* holo glow behind device */
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  border-radius: 60px;
  background: var(--holo);
  filter: blur(60px);
  opacity: 0.35;
}

.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(160deg, #15161d, #0a0b10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}

.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Feature row (alternating) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 96px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse .copy {
  order: 2;
}

.feature-row h3 {
  font-size: clamp(24px, 3vw, 32px);
}

.feature-row .copy p {
  font-size: 17px;
}

.feature-media {
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.feature-media .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(176, 124, 255, 0.12), transparent 60%),
    radial-gradient(120% 120% at 100% 100%, rgba(91, 157, 255, 0.12), transparent 60%),
    var(--card);
}

/* tag chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  color: var(--text-2);
}

/* ---------- Feature grid (3-up) ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tile {
  padding: 28px 24px;
  border-radius: var(--radius-card);
}

.tile .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(176, 124, 255, 0.22), rgba(91, 157, 255, 0.18));
  border: 1px solid var(--glass-stroke);
  font-size: 22px;
}

.tile h3 {
  font-size: 19px;
}

.tile p {
  font-size: 15px;
  margin: 0;
}

/* ---------- Gamification mock (XP ring) ---------- */

.xp-mock {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-card);
}

.xp-ring {
  --pct: 68;
  width: 116px;
  height: 116px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side, var(--card) 78%, transparent 79% 100%),
    conic-gradient(from -90deg, var(--accent-purple), var(--accent-blue) calc(var(--pct) * 1%), rgba(255, 255, 255, 0.06) 0);
}

.xp-ring .lvl {
  text-align: center;
}

.xp-ring .lvl small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.xp-ring .lvl b {
  font-size: 30px;
  font-weight: 800;
}

.xp-meta .tier {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.xp-meta .streak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: var(--holo);
  color: #0c0d13;
}

.badge.locked {
  background: transparent;
  border: 1px dashed var(--glass-stroke);
  color: var(--text-3);
}

/* ---------- Analytics mock ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat {
  padding: 22px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat.profit b { color: var(--profit); }
.stat.blue b { color: var(--accent-blue); }
.stat.purple b { color: var(--accent-purple); }

.stat span {
  font-size: 13px;
  color: var(--text-3);
}

/* bar chart mock */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius-lg);
  position: relative;
}

.bars .bar {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: var(--cta);
  opacity: 0.85;
}

.bars .ev-line {
  position: absolute;
  left: 20px;
  right: 20px;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.35);
}

/* ---------- Theme swatches ---------- */

.swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.swatch {
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border: 1px solid var(--glass-stroke);
  height: 90px;
  width: 68px;
  text-align: left;
}

.sw-prism  { background: var(--holo-wide); color: #0c0d13; }
.sw-aurora { background: linear-gradient(160deg, #a07bff, #46c9ff); }
.sw-solar  { background: linear-gradient(160deg, #fbe6a2, #d8a83f, #8a5a18); color: #1c160a; }
.sw-chrome { background: linear-gradient(160deg, #ffffff, #b3bcca, #5e6675); color: #101218; }
.sw-carbon { background: linear-gradient(160deg, #3b3e47, #16181d); }
.sw-onyx   { background: linear-gradient(160deg, #d4d7df, #6a6e78, #cfd2da); color: #131519; }

/* ---------- Pro comparison ---------- */

.compare {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.compare table {
  width: 100%;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--glass-stroke);
  font-size: 15px;
}

.compare thead th {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.compare thead th:nth-child(3) {
  color: var(--accent-purple);
}

.compare td:first-child {
  color: var(--text);
  font-weight: 500;
}

.compare td:nth-child(2),
.compare td:nth-child(3),
.compare th:nth-child(2),
.compare th:nth-child(3) {
  text-align: center;
  width: 110px;
}

.compare tr:last-child td {
  border-bottom: none;
}

.yes { color: var(--profit); font-weight: 700; }
.no { color: var(--text-3); }

.pro-cta {
  text-align: center;
  margin-top: 36px;
}

.pro-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 6px;
}

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

footer {
  border-top: 1px solid var(--glass-stroke);
  padding: 48px 0 56px;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer-links a {
  color: var(--text-2);
}

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

.copyright {
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- Privacy page ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0 96px;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 46px);
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--text-3);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  padding-top: 8px;
}

.legal p,
.legal li {
  color: var(--text-2);
  font-size: 16px;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: var(--accent-blue);
}

.legal a:hover {
  text-decoration: underline;
}

.note {
  border-left: 3px solid var(--accent-purple);
  background: var(--glass-fill);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
}

.note strong {
  color: var(--text);
}

/* ---------- Glow pulse ---------- */

@keyframes glowPulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: no-preference) {
  .phone::after {
    animation: glowPulse 4.5s ease-in-out infinite;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 64px;
  }
  .feature-row.reverse .copy { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .nav-links a:not(.appstore) { display: none; }
}

@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr; }
  .xp-mock { flex-direction: column; text-align: center; }
  .compare th, .compare td { padding: 12px 10px; font-size: 14px; }
  .compare td:nth-child(2), .compare td:nth-child(3),
  .compare th:nth-child(2), .compare th:nth-child(3) { width: 64px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
