/* ============================================
   LoopLead — Theme CSS
   ============================================ */

/* --- Tokens --- */
:root {
  --bg: #0A1628;
  --bg-alt: #0F1D32;
  --bg-card: #122035;
  --fg: #F0F4F8;
  --fg-muted: #8899AA;
  --accent: #E8FF5A;
  --accent-dim: rgba(232,255,90,0.12);
  --border: rgba(240,244,248,0.08);
  --radius: 12px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }

/* --- Layout helpers --- */
.section-header { margin-bottom: 56px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
}
.section-label--lime { color: var(--accent); }
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--fg); }
.section-title--white { color: #fff; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10,22,40,0.85);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav__tag {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 32px 96px;
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(232,255,90,0.2);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 24px;
}
.hero__label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__headline {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero__headline-em {
  font-style: normal;
  color: var(--accent);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero__stat { padding: 0 24px; }
.hero__stat:first-child { padding-left: 0; }
.hero__stat-val {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.hero__stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 2px;
}
.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.hero__visual { display: flex; align-items: center; }
.hero__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  position: relative;
}
.flow-diagram { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.flow-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  width: 100%;
}
.flow-node--green { background: rgba(232,255,90,0.1); color: var(--accent); border: 1px solid rgba(232,255,90,0.2); }
.flow-node--dark { background: var(--bg-alt); color: #fff; border: 1px solid var(--border); }
.flow-arrow { display: flex; justify-content: center; padding: 4px 0; }
.hero__card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  background: var(--accent-dim);
  border: 1px solid rgba(232,255,90,0.15);
  border-radius: 100px;
  padding: 6px 14px;
}
.hero__card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.hero__card-subtext {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 8px;
  padding-left: 4px;
}

/* ============================================
   MANIFESTO
   ============================================ */
.manifesto {
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}
.manifesto__inner { max-width: 860px; margin: 0 auto; }
.manifesto__quote {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}
.manifesto__body { padding-left: 28px; }
.manifesto__body p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 16px;
  max-width: 680px;
}
.manifesto__body strong { color: var(--fg); }

/* ============================================
   HOW IT WORKS
   ============================================ */
.howitworks {
  padding: 96px 32px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.howitworks__inner { max-width: 1100px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.step { display: flex; gap: 20px; }
.step__num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 4px;
  flex-shrink: 0;
  width: 28px;
}
.step__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.step__desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; }

/* ============================================
   OUTCOMES
   ============================================ */
.outcomes {
  padding: 96px 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.outcomes__inner { max-width: 1100px; margin: 0 auto; }
.outcomes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.outcome {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.outcome__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
  margin-bottom: 16px;
}
.outcome__title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.outcome__desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; }

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}
.pricing__inner { max-width: 1100px; margin: 0 auto; }
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.pricing__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.pricing__card--featured {
  background: var(--bg-card);
  border-color: rgba(232,255,90,0.3);
}
.pricing__card-tag {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing__card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.pricing__amount {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.pricing__period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
}
.pricing__note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.pricing__features { list-style: none; }
.pricing__features li {
  font-size: 0.85rem;
  color: var(--fg-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing__features li::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7l3 3 5-5' stroke='%23E8FF5A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  flex-shrink: 0;
}
.pricing__disclaimer {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   CLOSING
   ============================================ */
.closing {
  padding: 96px 32px 112px;
  background: var(--bg-alt);
}
.closing__inner { max-width: 860px; margin: 0 auto; }
.closing__statement {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.closing__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.closing__sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
}
.footer__inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.footer__tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer__note { font-size: 0.8rem; color: var(--fg-muted); max-width: 480px; margin: 0 auto; line-height: 1.6; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { order: -1; }
  .hero__headline { font-size: 2.5rem; }
  .steps { grid-template-columns: 1fr; }
  .outcomes__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 20px; }
  .hero__stat-divider { display: none; }
  .hero__stat { padding: 0; }
  .hero, .manifesto, .howitworks, .outcomes, .pricing, .closing { padding: 64px 20px; }
  .nav__inner { padding: 16px 20px; }
}