@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  --bg: #0D0812;
  --surface: #17101F;
  --surface-2: #1E1529;
  --surface-3: #251A30;
  --rose: #E8547B;
  --rose-muted: #C4415F;
  --rose-glow: rgba(232, 84, 123, 0.2);
  --amethyst: #9B7FE8;
  --amethyst-muted: #7B63C9;
  --amethyst-glow: rgba(155, 127, 232, 0.22);
  --text: #F0EAF6;
  --text-muted: #9B8FAD;
  --text-faint: #4A4057;
  --border: rgba(155, 127, 232, 0.2);
  --border-subtle: rgba(240, 234, 246, 0.07);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 70px;
  --content-w: 1120px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; text-size-adjust: 100%; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── NAV ─────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 max(24px, env(safe-area-inset-left));
  background: rgba(13, 8, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav__inner {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img { height: 34px; width: auto; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── LANGUAGE SWITCHER ──────────────────── */

.nav__lang {
  position: relative;
}

.nav__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.8125rem;
  font-family: var(--font);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav__lang-btn:hover {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface-2);
}

.lang-chevron {
  transition: transform 0.2s;
}

.nav__lang-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.nav__lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-width: 140px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.nav__lang-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
  background: var(--surface-3);
  color: var(--text);
}

.lang-option.active {
  color: var(--amethyst);
  font-weight: 600;
  background: rgba(155, 127, 232, 0.08);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--rose);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.nav__cta:hover {
  background: var(--rose-muted);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--rose-glow);
}
.nav__cta:active { transform: translateY(0); }

/* ─── HERO ────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 80px) 24px 100px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  top: -250px; left: 50%;
  transform: translateX(-55%);
  background: radial-gradient(circle, var(--amethyst-glow) 0%, transparent 60%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  bottom: -150px; right: -100px;
  background: radial-gradient(circle, var(--rose-glow) 0%, transparent 65%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--amethyst);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.hero__eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--rose);
  border-radius: 50%;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  padding-bottom: 4px;
}

.hero__title em {
  font-style: italic;
  color: var(--rose);
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.175rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 44px;
  font-weight: 400;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── STORE BUTTON ───────────────────────── */

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s;
  cursor: pointer;
}

.btn-store:hover {
  border-color: var(--amethyst);
  background: var(--surface-3);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px var(--amethyst-glow);
}

.btn-store:active { transform: translateY(0); box-shadow: none; }

.btn-store__text small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.2;
}

.btn-store__text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ─── SECTIONS ───────────────────────────── */

.section {
  padding: 80px 24px;
}

.section--alt { background: rgba(23, 16, 31, 0.5); }

.section__inner {
  max-width: var(--content-w);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-label--rose { color: var(--rose); }
.section-label--amethyst { color: var(--amethyst); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 14px auto 0;
  line-height: 1.65;
}

/* ─── FEATURES GRID ──────────────────────── */

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 36px 32px;
  transition: border-color 0.25s, transform 0.22s, box-shadow 0.22s;
}

.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.feature-card__icon {
  width: 52px; height: 52px;
  background: var(--surface-3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.feature-card__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── WHO SECTION ────────────────────────── */

.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin-top: 0;
}

.who-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: border-color 0.2s;
}

.who-item:hover { border-color: var(--border); }

.who-item__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.who-item__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.who-item__text strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 3px;
}

/* ─── CTA BANNER ─────────────────────────── */

.cta-banner {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  bottom: -200px; right: -100px;
  background: radial-gradient(circle, var(--rose-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  top: -150px; left: -80px;
  background: radial-gradient(circle, var(--amethyst-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner__title em {
  font-style: italic;
  color: var(--rose);
}

.cta-banner__sub {
  font-size: 1.075rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cta-banner .hero__actions { position: relative; z-index: 1; }

/* ─── FOOTER ──────────────────────────────── */

footer {
  padding: 36px 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo img { height: 22px; width: auto; opacity: 0.6; }

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-faint);
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* ─── LEGAL PAGES ─────────────────────────── */

.legal-hero {
  padding: calc(var(--nav-h) + 64px) 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 400px;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--amethyst-glow) 0%, transparent 70%);
  pointer-events: none;
}

.legal-hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amethyst);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  position: relative;
}

.legal-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
  position: relative;
}

.legal-hero__date {
  font-size: 0.875rem;
  color: var(--text-muted);
  position: relative;
}

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.legal-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  color: var(--text);
}

.legal-section p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none;
  margin: 14px 0;
}

.legal-section ul li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}

.legal-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rose);
  font-weight: 500;
}

.legal-section a {
  color: var(--amethyst);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-highlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amethyst);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}

.legal-highlight p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.legal-email-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--amethyst);
  text-decoration: none;
  margin-top: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.legal-email-box:hover {
  border-color: var(--amethyst);
  background: var(--surface-3);
}

/* ─── STEPS (delete account) ──────────────── */

.steps-list {
  list-style: none;
  margin: 8px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  gap: 18px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.step-item:hover { border-color: var(--border); }

.step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: rgba(155, 127, 232, 0.12);
  border: 1px solid rgba(155, 127, 232, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--amethyst);
  margin-top: 1px;
}

.step-content strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.email-alt {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 36px;
  text-align: center;
}

.email-alt p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

/* ─── SCROLL ANIMATIONS ───────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.in-view { opacity: 1; transform: translateY(0); }

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ──────────────────────────── */

@media (max-width: 860px) {
  .features-grid { grid-template-columns: 1fr; }

  .cta-banner { padding: 48px 32px; }

  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn-store { justify-content: center; }

  .cta-banner { padding: 40px 24px; }

  .legal-highlight { padding: 16px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero__eyebrow-dot { animation: none; }
  html { scroll-behavior: auto; }
}
