:root {
  --bg: #070709;
  --bg2: #12060b;
  --surface: rgba(24, 12, 16, 0.72);
  --text: #fff7f8;
  --muted: #c4a4ab;
  --faint: #8a6a72;
  --brand: #e11d48;
  --brand2: #fb7185;
  --brand-deep: #4c0519;
  --line: rgba(225, 29, 72, 0.28);
  --ok: #34d399;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(225, 29, 72, 0.28), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(127, 29, 29, 0.35), transparent 50%),
    linear-gradient(180deg, var(--bg2), var(--bg) 40%, #050506);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.nav, main, footer { position: relative; z-index: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 9, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  z-index: 20;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span, .logo-hero span, .plus-inner h2 span { color: var(--brand); }

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--text); }

.nav-cta, .btn {
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  border-radius: 999px;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.nav-cta {
  background: var(--brand);
  color: white;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: white; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--brand), #be123c); padding: 0.85rem 1.35rem; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); padding: 0.85rem 1.2rem; }
.btn.danger-outline { background: transparent; border: 1px solid rgba(239,68,68,.45); color: #fca5a5; padding: 0.85rem 1.2rem; }
.btn.lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn.wide { width: 100%; }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-copy { max-width: 720px; text-align: center; animation: rise .8s ease both; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand2);
  margin: 0 0 0.8rem;
}
.logo-hero {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.04em;
}
.lede {
  margin: 1.1rem auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}
.cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.cta-row.wrap { justify-content: flex-start; }
.price-line { margin-top: 1rem; color: var(--faint); font-size: 0.9rem; }

.hero-orb {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  right: -120px; bottom: -180px;
  background: radial-gradient(circle, rgba(225,29,72,.35), transparent 65%);
  filter: blur(8px);
  animation: pulse 6s ease-in-out infinite;
}

.features, .download, .plus-band { padding: 4.5rem 1.5rem; max-width: 1040px; margin: 0 auto; }
.features h2, .download h2, .plus-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
}
.section-sub { color: var(--muted); margin: 0 0 1.8rem; max-width: 36rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}
.feature-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.15rem;
  backdrop-filter: blur(8px);
}
.feature-grid h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }

.plus-band { max-width: none; padding: 0 1.5rem 4.5rem; }
.plus-inner {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 2.4rem 1.6rem;
  background:
    linear-gradient(135deg, rgba(225,29,72,.28), rgba(76,5,25,.55)),
    #14060b;
  border: 1px solid rgba(251,113,133,.35);
  text-align: center;
}
.plus-price { font-size: 1.6rem; font-weight: 800; margin: 0.8rem 0 1.2rem; }

.download { text-align: center; }
.fine { color: var(--faint); font-size: 0.82rem; margin-top: 0.8rem; }

.panel { min-height: 70vh; display: grid; place-items: center; padding: 2rem 1.2rem 4rem; }
.card {
  width: min(520px, 100%);
  background: rgba(18, 8, 12, 0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.account-card { width: min(640px, 100%); }
.tabs { display: flex; gap: 0.4rem; margin: 1rem 0 1.2rem; }
.tab {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem;
  font-weight: 700;
  cursor: pointer;
}
.tab.active { border-color: var(--line); color: var(--text); background: rgba(225,29,72,.12); }

.field { display: block; margin-bottom: 0.85rem; }
.field span { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.35rem; font-weight: 700; }
.field input, .field select {
  width: 100%;
  background: #0c0c0e;
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}
.inline { display: flex; gap: 0.5rem; }
.inline input { flex: 1; }
.form-error { color: #fca5a5; min-height: 1.2em; font-size: 0.88rem; }
.linkish {
  background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; margin-top: 1rem;
}
.linkish.danger { color: #f87171; }
.account-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1rem 0; }
.pill {
  background: var(--brand);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.pill.free { background: #3f3f46; }
.rule { border: 0; border-top: 1px solid rgba(255,255,255,.08); margin: 1.3rem 0; }
.account-foot { display: flex; justify-content: space-between; margin-top: 0.5rem; }
.muted { color: var(--muted); }

.foot {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--faint);
  font-size: 0.85rem;
}
.foot a { color: var(--brand2); }

.hidden { display: none !important; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  background: #1c1014;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  z-index: 50;
  font-weight: 700;
  font-size: 0.9rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 720px) {
  .nav-links a { display: none; }
  .account-grid { grid-template-columns: 1fr; }
}
