@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --bg: #0F0B1E;
  --bg-card: #1A1040;
  --bg-card2: #231558;
  --primary: #7B5EA7;
  --primary-light: #9B7EC8;
  --accent: #F5C842;
  --text: #F0EBF8;
  --text-muted: #9B8FBB;
  --radius: 16px;
  --radius-sm: 8px;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--primary-light); text-decoration: none; }
a:hover { color: var(--accent); }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 11, 30, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 94, 167, 0.2);
  padding: 0 24px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(123, 94, 167, 0.5);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--text);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* ── HERO ── */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 64px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(123, 94, 167, 0.2);
  border: 1px solid rgba(123, 94, 167, 0.4);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1.5px solid rgba(123, 94, 167, 0.4);
  border-radius: var(--radius);
  padding: 12px 24px;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
}

.store-badge:hover {
  border-color: var(--primary-light);
  color: var(--text);
  transform: translateY(-2px);
}

.store-badge .store-icon { font-size: 28px; }

.store-badge-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  text-align: left;
}

.store-badge-name {
  font-size: 17px;
  font-weight: 800;
  display: block;
  text-align: left;
}

.hero-preview {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border: 1px solid rgba(123, 94, 167, 0.3);
  border-radius: 24px;
  padding: 48px 24px;
  font-size: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 680px;
  margin: 0 auto;
}

/* ── SECTION ── */
section {
  padding: 72px 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(123, 94, 167, 0.2);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.feature-icon { font-size: 36px; margin-bottom: 16px; display: block; }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CATEGORIES ── */
.categories-bg {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 50%, var(--bg) 100%);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.category-card {
  background: rgba(123, 94, 167, 0.1);
  border: 1px solid rgba(123, 94, 167, 0.25);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s;
}

.category-card:hover {
  background: rgba(123, 94, 167, 0.2);
  transform: translateY(-2px);
}

.category-card .cat-icon { font-size: 40px; margin-bottom: 10px; display: block; }
.category-card .cat-name { font-size: 15px; font-weight: 700; color: var(--text); }
.category-card .cat-count { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.step {
  text-align: center;
  padding: 8px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-card2) 0%, #2D1B6B 100%);
  border: 1px solid rgba(123, 94, 167, 0.3);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-banner h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 32px; font-size: 16px; }

/* ── CONTACT FORM ── */
.contact-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid rgba(123, 94, 167, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

#form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

#form-status.success {
  background: rgba(72, 199, 142, 0.15);
  border: 1px solid rgba(72, 199, 142, 0.4);
  color: #48c78e;
  display: block;
}

#form-status.error {
  background: rgba(255, 100, 100, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.3);
  color: #ff6464;
  display: block;
}

/* ── PRIVACY ── */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 12px;
  color: var(--text);
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.75;
}

.prose ul {
  color: var(--text-muted);
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.9;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(123, 94, 167, 0.2);
  padding: 32px 24px;
  text-align: center;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── PAGE HEADER ── */
.page-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.page-header h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 48px 20px 40px; }
  .hero-preview { font-size: 48px; padding: 32px 20px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .cta-banner { padding: 40px 24px; }
}
