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

:root {
  --primary: #6C3AED;
  --primary-dark: #5B21B6;
  --primary-light: #8B5CF6;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --bg: #0F0B1A;
  --bg-card: #1A1329;
  --bg-card-hover: #231A35;
  --text: #E8E0F0;
  --text-muted: #9B8EB5;
  --text-dark: #1A1329;
  --border: #2D2245;
  --success: #10B981;
  --gradient-1: linear-gradient(135deg, #6C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
  --gradient-2: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --gradient-hero: linear-gradient(160deg, #0F0B1A 0%, #1A0F30 40%, #2D1B69 100%);
  --shadow-lg: 0 25px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(108,58,237,0.3);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,11,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
nav .logo {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px;
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
nav .nav-links { display: flex; gap: 1.5rem; align-items: center; }
nav .nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
nav .nav-links a:hover { color: var(--text); text-decoration: none; }
nav .nav-cta {
  background: var(--gradient-1); color: #fff !important; padding: 0.5rem 1.25rem;
  border-radius: 8px; font-weight: 600; font-size: 0.85rem;
}
nav .nav-cta:hover { opacity: 0.9; text-decoration: none; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
  padding: 6rem 2rem 4rem;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(108,58,237,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(245,158,11,0.08) 0%, transparent 50%);
  animation: heroFloat 20s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2%, -1%); }
}
.hero-content { max-width: 780px; text-align: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(108,58,237,0.15); border: 1px solid rgba(108,58,237,0.3);
  padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; color: var(--primary-light);
  margin-bottom: 1.5rem; font-weight: 500;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; line-height: 1.15;
  letter-spacing: -1.5px; margin-bottom: 1.25rem;
}
.hero h1 .highlight {
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-muted); max-width: 560px;
  margin: 0 auto 2rem; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 10px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; border: none; text-decoration: none;
}
.btn-primary {
  background: var(--gradient-1); color: #fff;
  box-shadow: 0 4px 20px rgba(108,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,58,237,0.5); text-decoration: none; color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); text-decoration: none; color: var(--text); }
.hero-stats {
  display: flex; justify-content: center; gap: 3rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.hero-stat .label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ── LOGOS ── */
.logos { padding: 3rem 2rem; border-bottom: 1px solid var(--border); text-align: center; }
.logos p { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; }
.logos-row { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; opacity: 0.4; }
.logos-row span { font-size: 1.1rem; font-weight: 700; color: var(--text-muted); }

/* ── FEATURES ── */
.features { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.75rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; transition: all 0.3s;
}
.feature-card:hover {
  background: var(--bg-card-hover); border-color: var(--primary);
  transform: translateY(-4px); box-shadow: var(--shadow-glow);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; margin-bottom: 1rem;
}
.feature-card:nth-child(1) .feature-icon { background: rgba(108,58,237,0.15); }
.feature-card:nth-child(2) .feature-icon { background: rgba(245,158,11,0.15); }
.feature-card:nth-child(3) .feature-icon { background: rgba(16,185,129,0.15); }
.feature-card:nth-child(4) .feature-icon { background: rgba(108,58,237,0.15); }
.feature-card:nth-child(5) .feature-icon { background: rgba(245,158,11,0.15); }
.feature-card:nth-child(6) .feature-icon { background: rgba(16,185,129,0.15); }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.925rem; line-height: 1.6; }

/* ── HOW IT WORKS ── */
.how-it-works { padding: 5rem 2rem; background: linear-gradient(180deg, var(--bg) 0%, #130E20 100%); }
.how-it-works-inner { max-width: 900px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.step { text-align: center; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-1);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800;
  margin: 0 auto 1rem; color: #fff;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* ── TESTIMONIALS ── */
.testimonials { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem;
}
.testimonial-card .stars { color: var(--accent); font-size: 1rem; margin-bottom: 0.75rem; }
.testimonial-card blockquote { color: var(--text-muted); font-size: 0.95rem; font-style: italic; line-height: 1.7; margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-author .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-1);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: #fff;
}
.testimonial-author .name { font-weight: 600; font-size: 0.9rem; }
.testimonial-author .role { color: var(--text-muted); font-size: 0.8rem; }

/* ── PRICING ── */
.pricing { padding: 5rem 2rem; background: linear-gradient(180deg, #130E20 0%, var(--bg) 100%); }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
  padding: 2.5rem 2rem; text-align: center; position: relative; transition: all 0.3s;
}
.pricing-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.pricing-card.popular {
  border-color: var(--primary); background: linear-gradient(180deg, rgba(108,58,237,0.1) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-glow); transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-4px); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-1); color: #fff; padding: 0.3rem 1rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.pricing-card .tier-name { font-size: 0.85rem; font-weight: 600; color: var(--primary-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.pricing-card .price { font-size: 3rem; font-weight: 800; margin: 0.5rem 0; letter-spacing: -1px; }
.pricing-card .price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-card .price .currency { font-size: 1.5rem; vertical-align: super; }
.pricing-card .tier-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; min-height: 2.8em; }
.pricing-features { list-style: none; text-align: left; margin: 1.5rem 0; padding: 0; }
.pricing-features li {
  padding: 0.5rem 0; font-size: 0.875rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.03);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li .check { color: var(--success); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; margin-top: 1rem; }
.pricing-card.popular .btn-primary { box-shadow: 0 4px 25px rgba(108,58,237,0.5); }
.guarantee { text-align: center; margin-top: 2rem; color: var(--text-muted); font-size: 0.85rem; }

/* ── FAQ ── */
.faq { padding: 5rem 2rem; max-width: 700px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 0.75rem; overflow: hidden;
}
.faq-item summary {
  padding: 1.25rem; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--primary-light); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding: 0 1.25rem 1.25rem; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ── REFERRAL PROGRAM ── */
.referral {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, #130E20 100%);
}
.referral-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.referral h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.75rem;
}
.referral .subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto 2.5rem; }
.referral-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ref-step {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.5rem; text-align: center;
}
.ref-step-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.ref-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.ref-step p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }
.referral-cta-box {
  background: linear-gradient(135deg, rgba(108,58,237,0.15) 0%, rgba(245,158,11,0.1) 100%);
  border: 1px solid var(--primary); border-radius: 20px; padding: 2.5rem 2rem;
}
.referral-cta-box h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.referral-cta-box p { color: var(--text-muted); margin-bottom: 1.5rem; }
.referral-link-row {
  display: flex; gap: 0.75rem; max-width: 500px; margin: 0 auto 1rem;
}
.referral-link-row input {
  flex: 1; padding: 0.8rem 1rem; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  font-size: 0.9rem; outline: none;
}
.btn-copy {
  padding: 0.8rem 1.5rem; background: var(--gradient-1); color: #fff;
  border: none; border-radius: 10px; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: all 0.2s;
}
.btn-copy:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(108,58,237,0.4); }
.referral-stats-mini {
  display: flex; justify-content: center; gap: 2rem; margin-top: 1.5rem;
}
.ref-stat { text-align: center; }
.ref-stat .num { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.ref-stat .lbl { font-size: 0.75rem; color: var(--text-muted); }
.referral-reward-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3);
  padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.85rem; color: var(--accent);
  font-weight: 600; margin-bottom: 2rem;
}
@media (max-width: 600px) {
  .referral-steps { grid-template-columns: 1fr; }
  .referral-link-row { flex-direction: column; }
}

/* ── LEAD FORM / CTA ── */
.cta-section { padding: 5rem 2rem; }
.cta-box {
  max-width: 600px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(108,58,237,0.15) 0%, rgba(139,92,246,0.1) 100%);
  border: 1px solid var(--primary); border-radius: 24px; padding: 3rem 2.5rem; text-align: center;
}
.cta-box h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.cta-box > p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }
.form-group { margin-bottom: 1.25rem; text-align: left; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.form-group input {
  width: 100%; padding: 0.8rem 1rem; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,58,237,0.2); }
.form-group input::placeholder { color: var(--text-muted); opacity: 0.6; }
.btn-submit {
  width: 100%; padding: 0.9rem; background: var(--gradient-1); color: #fff;
  border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; margin-top: 0.5rem;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,58,237,0.4); }
.form-note { color: var(--text-muted); font-size: 0.78rem; margin-top: 1rem; }
.form-success { display: none; color: var(--success); font-weight: 600; padding: 1rem; }

/* ── FOOTER ── */
footer {
  padding: 3rem 2rem; border-top: 1px solid var(--border);
  text-align: center; color: var(--text-muted); font-size: 0.85rem;
}
footer .logo-footer {
  font-size: 1.2rem; font-weight: 800; margin-bottom: 0.75rem;
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-stats { gap: 2rem; }
}
@media (max-width: 600px) {
  nav { padding: 0 1rem; }
  nav .nav-links { display: none; }
  .hero { padding: 5rem 1.25rem 3rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .features, .how-it-works, .testimonials, .pricing, .faq, .cta-section { padding: 3rem 1.25rem; }
  .cta-box { padding: 2rem 1.5rem; }
  .logos-row { gap: 1.5rem; }
}
