/* ============ Prompta — marketing landing page ============
   Deliberately standalone: no app.js/prompter.js/voice.js load here, so
   this page stays light. Shares the app's exact brand tokens/fonts (see
   styles.css's :root) but keeps its own small stylesheet rather than
   pulling in the whole app bundle for a page with none of that UI.       */

@font-face {
  font-family: 'Orbitron';
  src: url('fonts/Orbitron-Variable.ttf') format('truetype-variations');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #0E0E13;
  --bg-raised: #17171F;
  --line: #26262F;
  --text: #F0EFF4;
  --text-dim: #9C9AA8;
  --accent: #7C5CFF;
  --accent-soft: #2A2140;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }

.kicker {
  font-family: 'Orbitron', -apple-system, sans-serif;
  font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-dim); font-size: .8rem;
}

.btn {
  font: inherit; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-raised); color: var(--text);
  padding: 10px 18px; border-radius: 10px; transition: filter .15s ease, border-color .15s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); }
.btn-lg { padding: 15px 30px; border-radius: 12px; font-size: 1.05rem; }

section { padding: 96px 24px; }
.wrap { max-width: 1080px; margin: 0 auto; }
.eyebrow {
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); font-size: .78rem; margin-bottom: 14px;
}

/* ---------- nav ---------- */
nav.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; background: rgba(14,14,19,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-size: 1.1rem; font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; background: #07070a;
  padding: 120px 24px 110px; text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 20%, rgba(124,92,255,.16) 0%, rgba(7,7,10,0) 70%);
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hero-mark { width: 76px; height: 76px; margin: 0 auto 28px; display: block; animation: mark-pulse 4.5s ease-in-out infinite; }
@keyframes mark-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(124,92,255,.35)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 28px rgba(124,92,255,.7)); transform: scale(1.03); }
}
.hero .kicker { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem); line-height: 1.12; font-weight: 700;
  margin-bottom: 22px;
}
.hero p.pitch { font-size: 1.15rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-fine { margin-top: 18px; font-size: .8rem; color: #5c5a68; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 52px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.05rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--text-dim); line-height: 1.6; font-size: .95rem; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 1.02rem; line-height: 1.6; }

/* ---------- themes ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.theme-chip {
  aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--line);
  position: relative; overflow: hidden; background-color: #000;
  /* contain (not cover) so the full 720x720 image always shows edge to
     edge with zero cropping, even with any fractional-pixel rounding on
     the box's own size */
  background-size: contain; background-repeat: no-repeat; background-position: center;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s ease;
}
.theme-chip::before {
  /* scrim so the label stays legible over any photo, same recipe as the
     in-app theme tiles */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.82) 100%);
}
.theme-chip:hover { transform: translateY(-4px); border-color: var(--accent); }
.theme-chip span.label {
  position: absolute; left: 12px; bottom: 10px; right: 12px; z-index: 1;
  font-size: .82rem; font-weight: 700; color: #fff; letter-spacing: .01em;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 640px; margin: 52px auto 0; }
.plan {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; position: relative; text-align: left;
}
.plan-best { border-color: var(--accent); }
.plan-badge {
  position: absolute; top: -12px; right: 20px; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.plan-price { font-size: 1.7rem; font-weight: 800; }
.plan-price small { font-size: .85rem; font-weight: 500; color: var(--text-dim); }
.plan-note { font-size: .82rem; color: var(--text-dim); margin: 8px 0 16px; line-height: 1.5; }
.plan-cta { display: block; text-align: center; }
.pricing-fine { text-align: center; color: #5c5a68; font-size: .8rem; margin-top: 22px; line-height: 1.6; }
.pricing-fine a { color: var(--text-dim); text-decoration: underline; }
.pricing-fine a:hover { color: var(--accent); }

/* ---------- final cta ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 16px; }
.final-cta p { color: var(--text-dim); margin-bottom: 34px; font-size: 1.05rem; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line); padding: 30px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-dim); font-size: .85rem; max-width: 1080px; margin: 0 auto;
}
footer nav { display: flex; gap: 20px; }
footer a { color: var(--text-dim); }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  section { padding: 72px 20px; }
}

@media (max-width: 480px) {
  nav.top { padding: 14px 16px; }
  .brand-name { font-size: 1rem; }
  .nav-actions .btn { padding: 8px 13px; font-size: .86rem; }
  .hero { padding: 90px 20px 80px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
}
