:root {
  --bg: #141616;
  --surface: #1f2222;
  --surface-alt: #2a2e2e;
  --border: #2f3333;
  --text: #ffffff;
  --muted: #a3a9a9;
  --dim: #6e7575;
  --primary: #ff3d57;
  --gold: #ffc24b;
  --tg: #2aabee;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(20, 22, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 900; font-style: italic; font-size: 22px; letter-spacing: -0.5px; text-decoration: none; }
.logo span { color: var(--primary); }
nav { display: flex; gap: 24px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto; height: 520px;
  background: radial-gradient(closest-side, rgba(255, 61, 87, 0.28), transparent);
  pointer-events: none;
}
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 61, 87, 0.12); color: var(--primary);
  font-size: 13px; font-weight: 700; margin-bottom: 20px; position: relative;
}
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; font-weight: 900; letter-spacing: -1px; position: relative; }
.hero p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 20px auto 0; position: relative; }

.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; position: relative; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 16px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--primary); border-color: var(--primary); }
.btn.tg { background: var(--tg); border-color: var(--tg); }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; line-height: 1; }
.btn .two { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.btn.soon { opacity: 0.55; cursor: default; }
.btn.soon:hover { transform: none; }

/* Features */
section { padding: 64px 0; }
section h2 { font-size: 32px; font-weight: 800; text-align: center; letter-spacing: -0.5px; }
section .lead { text-align: center; color: var(--muted); margin-top: 10px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 16px; background: var(--surface-alt);
}
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 40px auto 0; max-width: 640px; }
.plan { background: var(--surface); border: 2px solid var(--border); border-radius: 20px; padding: 28px; position: relative; }
.plan.best { border-color: var(--primary); }
.plan .tag {
  position: absolute; top: -12px; right: 20px; background: #3ddc84; color: #002612;
  font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 8px;
}
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 600; }
.plan .price { font-size: 34px; font-weight: 900; margin-top: 6px; }
.plan .price span { font-size: 15px; color: var(--muted); font-weight: 500; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 12px; max-width: 640px; margin: 40px auto 0; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.step::before {
  counter-increment: s; content: counter(s);
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--primary);
  display: grid; place-items: center; font-weight: 800;
}
.step p { color: var(--muted); }
.step b { color: var(--text); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 0; margin-top: 32px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { gap: 20px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 32px; }
.legal h1 { font-size: 36px; font-weight: 900; letter-spacing: -0.5px; }
.legal .updated { color: var(--dim); margin-top: 6px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; text-align: left; }
.legal p, .legal li { color: #d8dcdc; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--tg); }

@media (max-width: 640px) {
  nav.main { display: none; }
  .hero { padding: 64px 0 48px; }
  .hero p { font-size: 17px; }
}
