:root {
  --bg: #060910;
  --surface: rgba(15, 23, 42, 0.72);
  --border: rgba(148, 163, 184, 0.14);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #4d7cff;
  --accent-2: #8b5cf6;
  --green: #34d399;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(77, 124, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 90% 60% at 0% 100%, rgba(139, 92, 246, 0.1), transparent 50%),
    linear-gradient(180deg, #0b1019 0%, var(--bg) 100%);
  min-height: 100vh;
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Nav */

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  transform: scale(1.35);
  box-shadow: 0 8px 24px rgba(77, 124, 255, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

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

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(77, 124, 255, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(77, 124, 255, 0.38);
}

/* Hero */

.hero {
  padding: 88px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(16, 185, 129, 0.08);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}

h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 span {
  background: linear-gradient(135deg, #f8fafc 20%, #93c5fd 55%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 28px;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-rating-text {
  font-size: 14px;
  color: var(--muted);
}

.hero-rating-text strong {
  color: var(--text);
  font-size: 15px;
}

.hero-rating-meta {
  color: #64748b;
}

.stars-display {
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}

.stars-fill {
  background: linear-gradient(90deg, #fbbf24 0%, #fbbf24 98%, #334155 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 32px rgba(77, 124, 255, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(77, 124, 255, 0.42);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.55);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.85);
}

.hero-card {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(77, 124, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.mock-signal {
  position: relative;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #a5b4fc;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(79, 70, 229, 0.08));
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.mock-stat,
.mock-level {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(6, 9, 16, 0.55);
  border: 1px solid var(--border);
}

.mock-stat span,
.mock-level span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.mock-stat strong,
.mock-level strong {
  font-size: 15px;
}

.mock-level {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Sections */

section {
  padding: 72px 0;
}

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

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.feature {
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 124, 255, 0.28);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
  background: rgba(77, 124, 255, 0.12);
  color: #93c5fd;
  font-size: 20px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Steps */

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

.step {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.45);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-weight: 800;
  font-size: 14px;
  color: #93c5fd;
  background: rgba(77, 124, 255, 0.14);
}

/* Reviews */

.reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border);
}

.reviews-score-num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.reviews-score-label {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

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

.review-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  gap: 14px;
}

.review-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
}

.review-stars .star-dim {
  color: #334155;
}

.review-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
}

.review-author {
  display: grid;
  gap: 2px;
}

.review-author strong {
  font-size: 14px;
}

.review-author span {
  font-size: 12px;
  color: #64748b;
}

/* Pricing */

.pricing-single {
  max-width: 400px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.price-card.featured {
  border-color: rgba(77, 124, 255, 0.45);
  box-shadow: 0 20px 48px rgba(77, 124, 255, 0.16);
}

.price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.price {
  margin: 0 0 18px;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.price-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.price-list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.price-card .btn {
  width: 100%;
}

/* Auth panel on site */

.auth-panel {
  max-width: 420px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(6, 9, 16, 0.55);
}

.auth-tab {
  height: 38px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.auth-tab.active {
  background: rgba(77, 124, 255, 0.18);
  color: #dbeafe;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.field input {
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(6, 9, 16, 0.65);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  border-color: rgba(77, 124, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(77, 124, 255, 0.12);
}

.auth-msg {
  min-height: 20px;
  margin: 0 0 12px;
  font-size: 13px;
  color: #f87171;
}

.auth-msg.ok {
  color: var(--green);
}

/* Legal pages */

.legal {
  padding: 56px 0 80px;
}

.legal-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.legal h1 {
  font-size: 2rem;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.legal h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}

.legal p,
.legal li {
  color: #cbd5e1;
  line-height: 1.65;
  font-size: 15px;
}

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

/* Success */

.success-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.success-card {
  text-align: center;
  max-width: 480px;
  padding: 48px 36px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: 0 24px 64px rgba(16, 185, 129, 0.08);
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--green);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

/* Footer */

.footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  color: #64748b;
  font-size: 13px;
}

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

.footer-links {
  display: flex;
  gap: 20px;
}

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

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .features,
  .steps,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }
}
