/* Beat The Blox — site styles */
:root {
  color-scheme: dark;
  --bg: #06060d;
  --bg-2: #0a0a14;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f3f4f7;
  --text-dim: #a8acb6;
  --text-soft: #6e727b;
  --cyan: #66e6ff;
  --violet: #a26cff;
  --magenta: #ff5ce0;
  --amber: #ffd25e;
  --green: #5eff9e;
  --gradient: linear-gradient(120deg, #66e6ff, #a26cff 50%, #ff5ce0);
  --gradient-soft: linear-gradient(120deg, rgba(102,230,255,.18), rgba(162,108,255,.18) 50%, rgba(255,92,224,.14));
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 8px 24px -8px rgba(102,230,255,.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ambient orbs */
body::before, body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
}
body::before { width: 520px; height: 520px; top: -120px; left: -160px; background: #66e6ff; }
body::after  { width: 600px; height: 600px; bottom: -180px; right: -200px; background: #a26cff; }

main, header, footer { position: relative; z-index: 1; }

a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: #fff; }

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

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

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,6,13,.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; letter-spacing: -.02em; font-size: 17px;
  color: #fff;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--gradient);
  box-shadow: 0 0 20px rgba(162,108,255,.45);
}
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--text-dim); font-size: 14px; }
.nav-links a:hover { color: #fff; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* HERO */
.hero {
  padding: 88px 0 72px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 56px 0; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
h1.title {
  font-size: clamp(44px, 7vw, 84px);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0 0 24px;
  font-weight: 800;
}
h1.title .gradient {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text-dim);
  margin: 0 0 32px;
  max-width: 540px;
}

/* CTA buttons */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  letter-spacing: -.01em;
}
.btn-primary {
  background: var(--gradient);
  color: #06060d;
  box-shadow: 0 14px 40px -12px rgba(162,108,255,.5);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  background: var(--panel);
  border-color: var(--panel-border);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.2); }

/* iPhone frame for hero image */
.phone {
  position: relative;
  margin: 0 auto;
  max-width: 360px;
  aspect-ratio: 1206 / 2622;
  border-radius: 56px;
  background: linear-gradient(160deg, #1a1a26, #0a0a14);
  padding: 14px;
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone::before {
  content: "";
  position: absolute; left: 50%; top: 18px;
  transform: translateX(-50%);
  width: 100px; height: 26px; border-radius: 14px;
  background: #06060d;
  z-index: 2;
}
.phone img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 44px;
  display: block;
}
.phone-glow {
  position: absolute; inset: -40px;
  background: var(--gradient);
  filter: blur(80px);
  opacity: .25;
  z-index: -1;
  border-radius: 50%;
}

/* SECTION */
section.block { padding: 96px 0; }
@media (max-width: 720px) { section.block { padding: 64px 0; } }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  color: var(--cyan);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .15em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 800;
}
.section-head p {
  font-size: 17px;
  color: var(--text-dim);
  margin: 0;
}

/* CARD GRID — modes */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.mode-card {
  position: relative;
  padding: 32px 26px 30px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.mode-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.18); }
.mode-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient);
  opacity: .8;
}
.mode-card .icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--gradient-soft);
  border: 1px solid var(--panel-border);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.mode-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -.015em;
}
.mode-card p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}
.mode-card .cost {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(102,230,255,.1);
  color: var(--cyan);
  border: 1px solid rgba(102,230,255,.2);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.mode-card .cost.free { background: rgba(94,255,158,.08); color: var(--green); border-color: rgba(94,255,158,.22); }

/* SHOWCASE — alternating image+text */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.showcase:last-child { margin-bottom: 0; }
.showcase.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 36px; margin-bottom: 64px; }
  .showcase.reverse > :first-child { order: 0; }
}
.showcase img.shot {
  width: 100%; max-width: 320px; margin: 0 auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--panel-border);
}
.showcase h3 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.showcase p { color: var(--text-dim); font-size: 16px; margin: 0 0 16px; }
.showcase ul { color: var(--text-dim); padding-left: 20px; margin: 0; }
.showcase li { margin-bottom: 6px; }

/* features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.feature {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panel-border);
}
.feature .ico {
  font-size: 22px;
  margin-bottom: 12px;
}
.feature h4 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* pricing */
.packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.pack {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  text-align: center;
  transition: transform .2s, border-color .2s;
}
.pack:hover { transform: translateY(-3px); }
.pack.featured { border-color: rgba(162,108,255,.5); box-shadow: 0 12px 40px -8px rgba(162,108,255,.25); }
.pack h4 { font-size: 14px; color: var(--text-dim); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.pack .credits {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin: 0 0 4px;
}
.pack .price { font-size: 18px; color: var(--text); margin: 0 0 0; font-weight: 600; }
.pack small { color: var(--text-soft); font-size: 12px; }

/* CTA section */
.cta-banner {
  position: relative;
  text-align: center;
  padding: 76px 28px;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  border: 1px solid var(--panel-border);
  overflow: hidden;
}
.cta-banner h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.cta-banner p { color: var(--text-dim); margin: 0 0 26px; font-size: 16px; }

/* FOOTER */
.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 80px;
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.site-footer .meta { color: var(--text-soft); font-size: 13px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { font-size: 13px; color: var(--text-dim); }

/* DOC pages (privacy/support/terms) */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0 80px;
}
.doc h1 {
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -.02em;
  margin: 0 0 8px;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
}
.doc .updated { color: var(--text-soft); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -.015em; }
.doc h3 { font-size: 17px; margin: 28px 0 8px; color: #fff; }
.doc p, .doc li { color: var(--text-dim); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

/* responsive helpers */
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .btn { padding: 12px 18px; font-size: 14px; }
}
