:root {
  --bg: #1a1a2e;
  --bg2: #16213e;
  --accent: #e94560;
  --accent2: #ff6b81;
  --text: #eaeaea;
  --text2: #888;
  --ok: #2ecc71;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.bg-gradient {
  display: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 8vw;
}
.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.nav-links .nav-signup {
  font-size: 11px;
  font-weight: 500;
  opacity: .88;
}
.nav-links a:hover { color: #fff; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
.lang-label {
  font-size: 12px;
  color: var(--text2);
}
.lang-select {
  background: #0f3460;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
}
.logo {
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--accent);
  font-size: 20px;
  text-decoration: none !important;
  border-bottom: 0 !important;
}
.logo:visited,
.logo:hover,
.logo:focus,
.logo:active {
  text-decoration: none !important;
  border-bottom: 0 !important;
}
.logo:hover { color: var(--accent2); }

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(233,69,96,.25);
}
.btn.primary:hover { background: var(--accent2); }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.12);
}
.btn.small {
  padding: 8px 12px;
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 40px 8vw 20px;
  align-items: center;
}
.anchor {
  position: relative;
  top: -80px;
  height: 0;
}
.hero h1 { font-size: 46px; line-height: 1.08; margin-bottom: 16px; }
.hero p { color: var(--text2); font-size: 16px; line-height: 1.6; }
.hero-cta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.badges { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.badges span {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #bbb;
}

.card.preview {
  background: rgba(12,12,28,.95);
  border: 1px solid rgba(233,69,96,.35);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
}
.card .chip {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(233,69,96,.15);
  color: var(--accent);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card .line { font-size: 18px; font-weight: 600; margin: 8px 0; }
.card .line.small { font-size: 13px; color: #aaa; font-style: italic; }
.card .meta { margin-top: 8px; display: flex; gap: 10px; font-size: 11px; color: #666; }
.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #0f3460;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.section { padding: 50px 8vw; }
.section h2 { margin-bottom: 18px; }

.billing-switch {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 24px rgba(0,0,0,.2);
}

.billing-label {
  color: #98a2b3;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .15px;
  user-select: none;
  transition: color .2s ease;
}

.billing-label-btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.billing-label.is-active {
  color: #f8fafc;
  background: rgba(233,69,96,.28);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: var(--bg2);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
}
.step p { color: var(--text2); margin-top: 6px; }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price-card {
  background: var(--bg2);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card.highlight {
  border-color: rgba(233,69,96,.45);
  box-shadow: 0 10px 30px rgba(233,69,96,.2);
}
.price-card.is-hover-highlight {
  border-color: rgba(255,107,129,.95);
  box-shadow:
    0 0 0 2px rgba(233,69,96,.55),
    0 20px 44px rgba(233,69,96,.52),
    0 0 42px rgba(255,107,129,.35);
  transform: translateY(-4px) scale(1.01);
}
.price { font-size: 28px; font-weight: 700; margin: 8px 0 12px; }
.price span { font-size: 12px; color: var(--text2); margin-left: 6px; }
.price-sub {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ok);
  font-weight: 600;
}
ul { list-style: none; color: var(--text2); margin-bottom: 14px; }
ul li { margin: 6px 0; }
.note {
  color: var(--text2);
  font-size: 13px;
  margin-top: 18px;
}

.auth {
  padding: 40px 8vw 80px;
  display: flex;
  justify-content: center;
}
.auth-card {
  width: min(520px, 92vw);
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 22px;
}
.auth-card h1 { font-size: 28px; margin-bottom: 8px; }
.muted { color: var(--text2); }
.form { margin-top: 16px; display: grid; gap: 10px; }
.form input {
  background: #0f3460;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #fff;
  padding: 10px 12px;
}
.auth-or {
  text-align: center;
  margin: 14px 0;
  color: var(--text2);
}
.auth-or span {
  padding: 0 8px;
  background: var(--bg2);
}
.oauth { display: grid; gap: 10px; }
.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.google-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
}
.google-icon svg { width: 100%; height: 100%; display: block; }
.link { color: var(--accent); text-decoration: none; }
.link:hover { color: var(--accent2); }
.auth-switch {
  font-size: 12px;
}
.auth-switch .link {
  font-size: 11px;
}
.stat { margin: 12px 0; }
.token-row {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}
.token-row input {
  flex: 1;
  background: #0f3460;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #fff;
  padding: 8px 10px;
  font-size: 12px;
}

.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq details {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 12px 14px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  float: right;
  color: var(--accent);
  font-weight: 800;
}
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--text2); margin-top: 8px; }

.footer {
  padding: 20px 8vw 40px;
  color: var(--text2);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-top: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.footer-links a {
  color: #cfcfcf;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-support-btn {
  font-size: 13px;
  padding: 10px 14px;
}

.legal-note {
  margin-top: 12px;
  color: var(--text2);
  font-size: 13px;
  line-height: 1.6;
}

.reset-password-page .auth {
  padding: 56px 8vw 96px;
}

.reset-password-page .auth-card {
  width: min(640px, 92vw);
  padding: 30px;
}

.reset-password-page .auth-card h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.reset-password-page #statusText {
  font-size: 19px;
  line-height: 1.45;
}

.reset-form {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.reset-form .field {
  display: grid;
  gap: 8px;
}

.reset-form label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #dfe7ff;
}

.reset-form input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  font-size: 16px;
}

.reset-form .btn.primary {
  justify-self: start;
  min-width: 180px;
  margin-top: 6px;
}

.reset-password-page #msg {
  margin-top: 16px;
  min-height: 22px;
  line-height: 1.5;
}

.reset-back-link {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .steps, .pricing, .faq { grid-template-columns: 1fr; }
  .reset-password-page .auth-card h1 { font-size: 38px; }
  .reset-form .btn.primary {
    width: 100%;
    justify-self: stretch;
  }
}
