:root {
  color-scheme: dark;
  --bg: #07070c;
  --bg-soft: #0c0c14;
  --card: rgba(255, 255, 255, 0.035);
  --card-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #71717a;
  --violet: #a78bfa;
  --violet-strong: #8b5cf6;
  --emerald: #34d399;
  --amber: #fbbf24;
  --radius: 18px;
  --max: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 6px;
  padding: 0.08em 0.35em;
  color: #ddd6fe;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 80%);
  z-index: 0;
}

.bg-grid::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  width: 70rem;
  height: 42rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 62%);
  filter: blur(10px);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 12, 0.55);
  border-bottom: 1px solid transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--violet);
  color: #0b0b12;
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.12);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-left: 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 46px;
  padding: 0 1.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #c4b5fd, #a78bfa);
  color: #0b0b12;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 30px -10px rgba(167, 139, 250, 0.55);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -10px rgba(167, 139, 250, 0.75);
}

.button.small {
  height: 36px;
  padding: 0 0.9rem;
  font-size: 0.8rem;
  border-radius: 9px;
  box-shadow: none;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.075);
}

.button.full {
  width: 100%;
}

.ghost {
  color: var(--muted);
}

.ghost:hover {
  color: var(--text);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.08);
  color: #ddd6fe;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.hero h1 {
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.gradient {
  background: linear-gradient(100deg, #c4b5fd 10%, #a78bfa 45%, #fbbf24 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.microcopy {
  margin-top: 1rem;
  color: var(--dim);
  font-size: 0.78rem;
}

.stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.stats div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stats strong {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.stats span {
  color: var(--dim);
  font-size: 0.76rem;
}

/* ---------- screenshot ---------- */
.hero-shot {
  position: relative;
}

.shot-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #0b0b12;
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.shot-frame:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #101018;
}

.shot-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f3f46;
}

.shot-bar span:first-child {
  background: #ef4444;
}
.shot-bar span:nth-child(2) {
  background: #f59e0b;
}
.shot-bar span:nth-child(3) {
  background: #22c55e;
}

.shot-bar em {
  margin-left: auto;
  color: var(--dim);
  font-style: normal;
  font-size: 10px;
  font-family: var(--mono);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-glow {
  position: absolute;
  inset: 12% 5% -10% 5%;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.32), transparent 68%);
  filter: blur(40px);
  z-index: 0;
}

/* ---------- sections ---------- */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.4rem;
}

.eyebrow {
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section h2,
.final-cta h2 {
  margin: 0.6rem 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-head p,
.final-cta p {
  margin: 0;
  color: var(--muted);
}

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

.card {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-strong), var(--card));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.3);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.24);
  background: rgba(167, 139, 250, 0.1);
  color: var(--violet);
  font-size: 1rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.step-number {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--violet);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- plans ---------- */
.plans-section {
  padding-top: 3rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.plans-note {
  margin: 1rem 0 0;
  color: var(--dim);
  font-size: 0.76rem;
  text-align: center;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.plan.featured {
  border-color: rgba(251, 191, 36, 0.4);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.09), rgba(255, 255, 255, 0.02));
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  padding: 0.1rem 0.5rem;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 999px;
  background: #15130d;
  color: var(--amber);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan h3 {
  margin: 0;
  font-size: 0.95rem;
}

.price {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price span {
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 500;
}

.plan p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0.2rem 0 0.9rem;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font-size: 0.76rem;
}

.plan li::before {
  content: '✓';
  margin-right: 0.4rem;
  color: var(--emerald);
}

.plan .button {
  margin-top: auto;
  height: 34px;
  border-radius: 9px;
  font-size: 0.78rem;
}

/* ---------- final cta ---------- */
.final-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max);
  margin: 2rem auto 5rem;
  padding: 2.5rem;
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at top left, rgba(139, 92, 246, 0.2), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(251, 191, 36, 0.1), transparent 60%),
    var(--bg-soft);
}

.final-cta h2 {
  margin-bottom: 0.35rem;
}

/* ---------- footer ---------- */
.footer {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1.5rem 2.4rem;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 0.78rem;
}

.footer nav {
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
}

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

.footer p {
  margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3rem;
  }

  .hero-shot {
    max-width: 760px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

}

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

  .nav {
    padding: 0.9rem 1rem;
  }

  .hero,
  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .stats {
    gap: 1.2rem;
  }

  .cards,
  .steps,
  .plans {
    grid-template-columns: 1fr;
  }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1.8rem;
  }

  .footer {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer nav {
    margin-left: 0;
  }

  .shot-frame {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
