/* ReVive — Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg:          #0D0B0F;
  --surface:     #1A1720;
  --surface2:    #231F2C;
  --surface3:    #2C2836;
  --border:      #2E2A38;
  --text:        #F0EAF5;
  --muted:       #8A829A;
  --dim:         #5A5468;
  --coral:       #F2705A;
  --coral-dim:   #3D1A14;
  --teal:        #4EC9B0;
  --teal-dim:    #0E2D28;
  --amber:       #F5A623;
  --amber-dim:   #3D2E0A;
  --purple:      #9B72CF;
  --purple-dim:  #1E1230;
  --green:       #4ADE80;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 11, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--coral), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.btn-nav {
  background: var(--coral);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 10px;
  transition: opacity 0.15s;
}
.btn-nav:hover { opacity: 0.88; }

/* ── Sections ── */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
}
h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
}
h3 { font-size: 18px; font-weight: 700; }
p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ── Hero ── */
.hero-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral-dim);
  border: 1px solid rgba(242,112,90,0.25);
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-wrap h1 { max-width: 760px; }
.hero-wrap h1 span { color: var(--coral); }
.hero-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 540px;
  margin: 20px auto 36px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: 14px;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 14px;
  transition: background 0.15s;
}
.btn-secondary:hover { background: var(--surface2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--dim); }

/* ── Stats strip ── */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-val {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--coral-dim);
  border: 1px solid rgba(242,112,90,0.2);
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: 14px; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 48px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.feature-card h3 { font-size: 15px; margin-bottom: 4px; }
.feature-card p { font-size: 13px; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 48px; }
.billing-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3px;
  margin: 24px auto 0;
}
.billing-toggle-wrap { display: flex; justify-content: center; }
.toggle-btn {
  padding: 8px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  color: var(--muted);
  background: transparent;
  border: none;
  font-family: inherit;
}
.toggle-btn.active { background: var(--coral); color: #fff; }
.plan-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  position: relative;
  transition: border-color 0.2s;
}
.plan-card.featured { border-color: var(--teal); background: var(--teal-dim); }
.plan-card.pro-card { border-color: var(--amber); background: var(--amber-dim); }
.plan-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 8px;
}
.plan-name { font-size: 20px; font-weight: 800; margin-bottom: 2px; }
.plan-gems { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.plan-price { font-size: 36px; font-weight: 900; letter-spacing: -1px; }
.plan-period { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-cta {
  display: block;
  text-align: center;
  margin-top: 20px;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.15s;
}
.plan-cta:hover { opacity: 0.85; }

/* ── CTA section ── */
.cta-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.cta-box {
  background: linear-gradient(135deg, var(--coral-dim), var(--purple-dim));
  border: 1px solid rgba(242,112,90,0.15);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { max-width: 480px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link { color: var(--muted); font-size: 14px; transition: color 0.15s; }
.footer-link:hover { color: var(--text); }
.footer-copy { color: var(--dim); font-size: 13px; }

/* ── Privacy page ── */
.privacy-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 48px;
}
.privacy-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.privacy-body h2 { font-size: 22px; font-weight: 700; margin: 48px 0 12px; color: var(--text); }
.privacy-body h2:first-child { margin-top: 0; }
.privacy-body p { font-size: 15px; margin-bottom: 14px; }
.privacy-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; padding-left: 4px; }
.privacy-body ul li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.privacy-body ul li::before { content: '·'; color: var(--coral); font-weight: 900; flex-shrink: 0; }
.privacy-body a { color: var(--coral); border-bottom: 1px solid rgba(242,112,90,0.3); transition: border-color 0.15s; }
.privacy-body a:hover { border-color: var(--coral); }
.privacy-date { font-size: 13px; color: var(--dim); margin-top: 6px; }
.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--coral);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.highlight-box p { font-size: 14px; margin: 0; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .stats-inner { gap: 28px; }
  .stat-val { font-size: 22px; }
  .hero-wrap { padding: 64px 20px 60px; }
  .cta-box { padding: 40px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; }
}
