/* ═══════════════════════════════════════════════════════════════
   SYNTHETIC HALO — Design System
   Fairchilds × BlendMode × Axiomlabs
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ── Tokens ── */
:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-accent-subtle: rgba(215, 85, 58, 0.08);
  --border-card: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --accent: #D7553A;
  --accent-light: #E8724F;
  --accent-glow: rgba(215, 85, 58, 0.25);
  --text-primary: #FFFFFF;
  --text-secondary: #888888;
  --text-muted: #555555;
  --green: var(--accent);
  --green-subtle: var(--bg-accent-subtle);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --sidebar-width: 260px;
  --content-max: 900px;
  --section-gap: 140px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}

/* ── Selection ── */
::selection {
  background: var(--accent);
  color: #fff;
}

/* ═══════════════════════════════════════
   SIDEBAR NAVIGATION
   ═══════════════════════════════════════ */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 48px 32px 32px;
  z-index: 100;
  border-right: 1px solid rgba(215, 85, 58, 0.1);
  background: linear-gradient(180deg, #0E0E0E 0%, var(--bg-primary) 100%);
  box-shadow:
    1px 0 30px rgba(215, 85, 58, 0.04),
    1px 0 60px rgba(0, 0, 0, 0.5);
}

.sidebar-logo {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(215, 85, 58, 0.15);
}

.sidebar-logo .logo-accent {
  color: var(--accent);
}

.sidebar-tagline {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-card);
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  border-radius: 8px;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}

.sidebar-nav a::before {
  content: '';
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: height 0.3s var(--ease-out);
}

.sidebar-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.sidebar-nav a.active {
  color: var(--text-primary);
  font-weight: 500;
  background: var(--bg-card);
}

.sidebar-nav a.active::before {
  height: 20px;
}

.sidebar-nav .nav-number {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  width: 18px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-card);
}

.sidebar-footer p {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Hamburger (mobile) ── */
.hamburger {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s var(--ease-out);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ═══════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════ */

.main-content {
  margin-left: var(--sidebar-width);
  padding: 80px 80px 120px;
  min-height: 100vh;
}

.content-wrapper {
  max-width: var(--content-max);
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════ */

.section {
  margin-bottom: var(--section-gap);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-label .label-number {
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.section-label .label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-card), transparent);
}

.section-label .label-text {
  white-space: nowrap;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 680px;
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */

.hero {
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 80px;
}

.hero .section-label {
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border-card);
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.hero-stat .stat-value .accent {
  color: var(--accent);
}

.hero-stat .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   CARDS
   ═══════════════════════════════════════ */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  background: var(--bg-accent-subtle);
  color: var(--accent);
  font-weight: 700;
}

.card-icon i {
  font-size: 22px;
  line-height: 1;
}

.card-icon.green {
  background: var(--bg-accent-subtle);
  color: var(--accent);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.card-tag.green {
  color: var(--accent);
}

/* ── Highlight Card (callout / quote) ── */
.highlight-card {
  background: var(--bg-accent-subtle);
  border: 1px solid rgba(215, 85, 58, 0.15);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 32px 0;
}

.highlight-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.highlight-card .highlight-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.highlight-card em, .highlight-card .italic-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.5;
  display: block;
  margin-bottom: 8px;
}

/* ── Hook cards ── */
.hook-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 16px 24px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.hook-card .hook-label {
  color: var(--accent);
  font-weight: 600;
  margin-right: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.4s var(--ease-smooth);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.pricing-card:hover {
  transform: translateY(-2px);
}

.pricing-card .tier-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-card .price-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-card);
}

.pricing-card .features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-card .features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card .features-list li .check {
  color: var(--accent);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-card .features-list li .check i {
  font-size: 14px;
  line-height: 1;
}

/* ═══════════════════════════════════════
   TIMELINE / ROADMAP
   ═══════════════════════════════════════ */

.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--border-card));
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-phase {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.timeline-tag {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   STAT BLOCKS
   ═══════════════════════════════════════ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.stat-block {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s var(--ease-smooth);
}

.stat-block:hover {
  border-color: var(--border-hover);
}

.stat-block .stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.stat-block .stat-number.accent {
  color: var(--accent);
}

.stat-block .stat-desc {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   INVESTMENT SUMMARY
   ═══════════════════════════════════════ */

.investment-total {
  background: linear-gradient(135deg, rgba(215, 85, 58, 0.08), rgba(215, 85, 58, 0.02));
  border: 1px solid rgba(215, 85, 58, 0.2);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin-bottom: 40px;
}

.investment-total .total-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.investment-total .total-value {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.investment-total .total-period {
  font-size: 14px;
  color: var(--text-muted);
}

.investment-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  font-size: 14px;
}

.breakdown-row .row-label {
  color: var(--text-secondary);
}

.breakdown-row .row-value {
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════
   FUNNEL DIAGRAM
   ═══════════════════════════════════════ */

.funnel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.funnel-stage {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s var(--ease-smooth);
}

.funnel-stage:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.funnel-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.funnel-stage-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.funnel-stage-meta {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.funnel-stage-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   CAMPAIGN THEMES (A, B, C cards)
   ═══════════════════════════════════════ */

.theme-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s var(--ease-smooth);
}

.theme-card:hover {
  border-color: var(--border-hover);
}

.theme-letter {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-accent-subtle);
}

.theme-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.theme-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1200px) {
  .main-content {
    padding: 60px 48px 100px;
  }
}

@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-out);
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.95);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .main-content {
    margin-left: 0;
    padding: 80px 32px 100px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 80px 20px 80px;
  }

  .card-grid.cols-2,
  .card-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    margin-bottom: 100px;
  }

  .card {
    padding: 24px;
  }

  .investment-total {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
  }
}

/* ── Overlay for mobile sidebar ── */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}
