/* ── VARIABLES & RESET ── */
:root {
  --bg: #08080f;
  --surface: #0f0f1a;
  --card: #13131f;
  --border: rgba(255,255,255,0.07);
  --accent: #6c47ff;
  --accent2: #a78bfa;
  --accent-glow: rgba(108,71,255,0.35);
  --gold: #f5c842;
  --text: #e8e8f0;
  --muted: #7a7a9a;
  --white: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(8,8,15,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}

.nav-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(1.2);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: #5535e0;
  transform: translateY(-1px);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 5rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,71,255,0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: rgba(108,71,255,0.15);
  border: 1px solid rgba(108,71,255,0.4);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent2);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: 80px;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.5s ease both;
  filter: drop-shadow(0 0 20px rgba(108,71,255,0.6));
}

#hero h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  animation: fadeUp 0.7s 0.1s ease both;
  max-width: 600px;
}

#hero h1 span {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero p.sub {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted);
  max-width: 460px;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  padding: 0.85rem 2.2rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary:hover {
  background: #5535e0;
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--accent-glow);
}

.btn-ghost {
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeUp 0.7s 0.4s ease both;
}

.stat { text-align: center; }

.stat strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
}

.stat span {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── SOCIAL PROOF BAR ── */
.proof-bar {
  padding: 1.5rem 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.proof-item svg { color: var(--accent2); flex-shrink: 0; }

/* ── FEATURES ── */
#features {
  padding: 5rem 5%;
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 520px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,71,255,0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(108,71,255,0.4);
  transform: translateY(-3px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(108,71,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── PRICING ── */
#pricing {
  padding: 5rem 5%;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

#pricing .inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

#pricing .section-title { margin: 0 auto 0.8rem; }

#pricing .sub-title {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(108,71,255,0.2);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,71,255,0.08), transparent 60%);
  pointer-events: none;
}

.plan-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.plan-badge.gold {
  background: linear-gradient(135deg, #f5c842, #e0a800);
  color: #000;
}

.plan-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.3rem;
  margin-bottom: 1.5rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.price-old {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price-main {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 0.78rem;
  color: var(--muted);
}

.plan-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text);
}

.plan-features li .check {
  color: #4ade80;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-plan {
  width: 100%;
  padding: 0.9rem;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-plan.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-plan.primary:hover {
  background: #5535e0;
  box-shadow: 0 0 50px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-plan.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-plan.outline:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.payment-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ── FAQ ── */
#faq {
  padding: 5rem 5%;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

#faq .inner {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  gap: 1rem;
}

.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--muted);
}

.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 0.8rem;
}

/* ── FOOTER ── */
footer {
  padding: 2.5rem 5%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

footer .footer-logo img {
  width: 24px;
  filter: brightness(1.2);
}

footer p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── SUPPORT BUTTON ── */
.support-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: #0088cc;
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,136,204,0.4);
  text-decoration: none;
  transition: all 0.2s;
}

.support-btn:hover {
  background: #006fa8;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,136,204,0.5);
}

/* ── SCROLL REVEAL (injected by JS) ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  /* Hero */
  #hero {
    padding: 5.5rem 1.4rem 3rem;
    min-height: auto;
  }
  #hero h1 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
  }
  #hero p.sub {
    font-size: 0.9rem;
    max-width: 100%;
  }
  .hero-logo { width: 52px; margin-bottom: 0.8rem; }
  .badge { font-size: 0.75rem; margin-bottom: 1rem; }

  /* Buttons */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.7rem;
    margin-top: 1.8rem;
  }
  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
  }

  /* Stats 2×2 */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2rem;
    margin-top: 2.5rem;
    width: 100%;
  }
  .stat strong { font-size: 1.4rem; }
  .stat span   { font-size: 0.7rem; }

  /* Proof bar 2 cols */
  .proof-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1rem;
    padding: 1.2rem 1.4rem;
  }
  .proof-item { font-size: 0.78rem; gap: 0.35rem; }

  /* Features */
  #features {
    padding: 2.5rem 1.4rem;
    max-width: 100%;
  }
  .feature-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .feature-card { padding: 1.2rem; }

  /* Pricing — force single column, left-aligned */
  #pricing {
    padding: 2.5rem 1.4rem;
  }
  #pricing .inner {
    max-width: 100%;
    text-align: left;
  }
  #pricing .section-title {
    font-size: 1.3rem;
    text-align: left;
    max-width: 100%;
  }
  #pricing .section-label { text-align: left; }
  #pricing .sub-title     { text-align: left; margin-bottom: 1.5rem; font-size: 0.9rem; }
  .pricing-grid           { grid-template-columns: 1fr; }
  .pricing-card           { padding: 1.4rem; }
  .payment-note           { justify-content: flex-start; flex-wrap: wrap; }

  /* FAQ */
  #faq {
    padding: 2.5rem 1.4rem;
  }
  #faq .inner  { max-width: 100%; }
  .faq-q       { font-size: 0.88rem; }
  .faq-a       { font-size: 0.85rem; }

  /* Footer */
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.4rem;
    gap: 0.4rem;
  }

  /* Support button — smaller on mobile */
  .support-btn {
    bottom: 16px;
    right: 16px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}
