/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --primary: #6c47ff;
  --primary-dark: #5535d4;
  --accent: #ff6b35;
  --bg: #0f0e17;
  --bg-light: #1a1827;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-light: #555;
  --border: #e2e2ef;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

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

img { max-width: 100%; display: block; }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 71, 255, 0.45);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 71, 255, 0.55);
  text-decoration: none;
}

.btn--primary:active { transform: translateY(0); }

.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn--large {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  background: var(--bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav__link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: color 0.15s;
}

.nav__link:hover { color: #fff; text-decoration: none; }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-wrap {
  background: #fff3cd;
  border-bottom: 1px solid #ffc107;
  padding: 0.75rem 1.25rem;
  text-align: center;
}

.flash { margin: 0; font-size: 0.95rem; }
.flash--error { color: #842029; }
.flash--success { color: #155724; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, #1c1540 100%);
  color: #fff;
  padding: 5rem 0 4rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__kicker {
  display: inline-block;
  background: rgba(108, 71, 255, 0.25);
  color: #b5a0ff;
  border: 1px solid rgba(108, 71, 255, 0.4);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__reassurance {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   OPT-IN FORM
   ============================================================ */
.opt-in-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.opt-in-form--centered {
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}

.opt-in-form__input {
  flex: 1;
  min-width: 220px;
  padding: 0.8rem 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s;
}

.opt-in-form__input::placeholder { color: rgba(255, 255, 255, 0.4); }

.opt-in-form__input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.15);
}

/* Dark section override */
.cta-section .opt-in-form__input {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ============================================================
   MOCK DASHBOARD (hero visual)
   ============================================================ */
.mock-dashboard {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.mock-dashboard__bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  margin-bottom: 1rem;
  width: 60%;
}

.mock-dashboard__row {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-bottom: 0.6rem;
}

.mock-dashboard__row--short { width: 45%; }

.mock-dashboard__chart {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  height: 100px;
  margin-top: 1.5rem;
}

.mock-dashboard__bar-item {
  flex: 1;
  background: linear-gradient(to top, var(--primary), #a78bfa);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

/* ============================================================
   SOCIAL PROOF STRIP
   ============================================================ */
.proof-strip {
  background: var(--bg-light);
  color: #fff;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.proof-strip__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}

.proof-strip__stat strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
}

.proof-strip__stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.proof-strip__divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
  padding: 5rem 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: #f8f7ff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.benefit-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.benefit-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 5rem 0;
  background: #f4f3ff;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card footer strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-card footer span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================================
   SECOND CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--bg) 0%, #1c1540 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.cta-section__inner h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.cta-section__inner p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta-section__direct-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.cta-section__direct-link:hover { color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0a0914;
  color: rgba(255, 255, 255, 0.4);
  padding: 2rem 0;
  font-size: 0.8rem;
  line-height: 1.7;
  text-align: center;
}

.footer a { color: rgba(255, 255, 255, 0.5); }
.footer a:hover { color: #fff; }

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-page {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg) 0%, #1c1540 100%);
  color: #fff;
  padding: 4rem 0;
}

.success-page__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.success-page__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-page h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.success-page__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.success-page__reassurance {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual { display: none; }

  .proof-strip__inner { gap: 0.5rem; }
  .proof-strip__divider { display: none; }

  .opt-in-form { flex-direction: column; }
  .opt-in-form .btn { width: 100%; text-align: center; }
}
