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

:root {
  --bg-deep: #060306;
  --bg-navy: #101826;
  --bg-forest: #0A1A0F;
  --green: #2F5E3E;
  --green-pale: #A8D5B5;
  --green-light: #4A8A5C;
  --gray: #8A9FA8;
  --ghost: #F0F4F2;
  --yellow: #F5C417;
  --glass-bg: rgba(20, 31, 41, 0.5);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --radius-card: 16px;
  --radius-input: 30px;
  --radius-btn: 14px;
  --radius-pillar: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--ghost);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 800px 800px at 15% 15%, rgba(47, 94, 62, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 600px 600px at 80% 40%, rgba(16, 24, 38, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 500px 500px at 10% 75%, rgba(10, 26, 15, 0.25) 0%, transparent 60%),
    linear-gradient(148deg, #060306 0%, #101826 36%, #0A1A0F 71%, #060306 100%);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 3, 6, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--glass-border);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 36px; width: auto; }

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shine);
  color: var(--ghost);
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-glass:hover {
  background: rgba(47, 94, 62, 0.35);
  border-color: rgba(168, 213, 181, 0.3);
}

/* ── Buttons ── */
.btn-primary {
  background: rgba(47, 94, 62, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 213, 181, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: rgba(47, 94, 62, 0.85); }
.btn-primary.btn-success { background: var(--green-pale); color: var(--bg-deep); }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; }
.btn-pill { border-radius: var(--radius-btn); padding: 14px 28px; }

/* ── Hero ── */
.hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 150px 48px 100px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  min-height: 100vh;
  position: relative;
}
.hero-content {
  flex: 0 1 520px;
  max-width: 520px;
  padding-top: 60px;
}
.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-title .green { color: var(--green); }
.hero-sub {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.email-input {
  background: rgba(20, 31, 41, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-input);
  color: var(--ghost);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 16px 24px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.email-input:focus { border-color: rgba(168, 213, 181, 0.3); }
.email-input::placeholder { color: rgba(138, 159, 168, 0.5); }
.hero-form .btn-pill { width: fit-content; }
.hero-note {
  color: var(--gray);
  font-size: 13px;
  font-weight: 400;
}

/* ══════════════════════════════════════════════════
   PHONE MOCKUP + DATA BUBBLES
   ══════════════════════════════════════════════════ */
.hero-visual {
  position: relative;
  flex: 0 0 520px;
  height: 640px;
}

/* Phone — positioned like the reference: top-right, tilted */
.phone {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -280px;
  margin-left: -140px;
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, #0C1418 0%, #0A1217 100%);
  border-radius: 40px;
  border: 2.5px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 100px rgba(47, 94, 62, 0.1),
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  z-index: 2;
  transform: perspective(900px) rotateY(-30deg) rotateZ(5deg) rotateX(5deg);
  display: flex;
  flex-direction: column;
}

/* Status bar */
.phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 0;
  position: relative;
  flex-shrink: 0;
}
.status-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--ghost);
}
.phone-notch {
  width: 80px;
  height: 22px;
  background: #000;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.7;
}

/* Screen content */
.phone-screen {
  padding: 12px 16px 8px;
  flex: 1;
  overflow: hidden;
}
.app-header { margin-bottom: 10px; }
.app-greeting {
  font-size: 14px;
  font-weight: 700;
  color: var(--ghost);
}
.app-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.app-stat {
  background: rgba(20, 31, 41, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-streak {
  background: rgba(47, 94, 62, 0.15);
  border-color: rgba(47, 94, 62, 0.25);
}
.stat-big {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-pale);
}
.stat-sm {
  font-size: 7px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.5px;
}
.app-section-label {
  font-size: 8px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.lb-label { margin-top: 10px; }
.app-habit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin-bottom: 4px;
  font-size: 10px;
  color: var(--ghost);
}
.app-habit.done {
  background: rgba(47, 94, 62, 0.08);
  border-color: rgba(47, 94, 62, 0.15);
}
.app-habit.done span { color: var(--green-pale); }
.habit-check {
  width: 14px; height: 14px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; color: white; flex-shrink: 0;
}
.habit-dot {
  width: 14px; height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%; flex-shrink: 0;
}
.habit-status { margin-left: auto; color: var(--gray); font-size: 9px; }
.app-lb-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  margin-bottom: 3px;
  font-size: 9px; color: var(--ghost);
}
.app-lb-row.lb-you {
  background: rgba(47, 94, 62, 0.1);
  border-color: rgba(47, 94, 62, 0.2);
  color: var(--green-pale); font-weight: 600;
}
.lb-pos { width: 12px; color: var(--gray); }
.lb-name { flex: 1; }
.lb-pts { color: var(--gray); font-size: 9px; }

/* Bottom navigation */
.phone-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 8px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 18, 23, 0.9);
  flex-shrink: 0;
}
.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: rgba(138, 159, 168, 0.5);
}
.bnav-item span {
  font-size: 7px;
  font-weight: 500;
}
.bnav-item.bnav-active {
  color: var(--green-pale);
}

/* ── Screen Carousel ── */
.screen-carousel {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.screen-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.screen-slide::-webkit-scrollbar { display: none; }
.screen-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Touch cursor */
.touch-cursor {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(168, 213, 181, 0.35);
  border: 2px solid rgba(168, 213, 181, 0.6);
  box-shadow: 0 0 16px rgba(168, 213, 181, 0.3);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              left 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              transform 0.15s ease;
}
.touch-cursor.visible { opacity: 1; }
.touch-cursor.pressing {
  transform: scale(0.7);
  background: rgba(168, 213, 181, 0.6);
}

/* Tap ripple on elements */
.tap-highlight {
  box-shadow: 0 0 0 2px rgba(168, 213, 181, 0.3) !important;
  background: rgba(47, 94, 62, 0.15) !important;
  transition: all 0.2s ease;
}

/* Challenges row */
.app-challenge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(47, 94, 62, 0.06);
  border: 1px solid rgba(47, 94, 62, 0.12);
  border-radius: 8px;
  margin-bottom: 4px;
  font-size: 10px;
}
.ch-emoji { font-size: 14px; flex-shrink: 0; }
.ch-info { flex: 1; }
.ch-name { display: block; font-size: 9px; font-weight: 600; color: var(--ghost); margin-bottom: 3px; }
.ch-bar { height: 3px; background: rgba(255,255,255,0.06); border-radius: 3px; }
.ch-bar-fill { height: 100%; background: var(--green); border-radius: 3px; }
.ch-prog { font-size: 8px; color: var(--gray); }

/* Leaderboard tabs */
.lb-tabs {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 2px;
  margin-bottom: 8px;
}
.lb-tab {
  font-size: 8px;
  font-weight: 600;
  color: var(--gray);
  padding: 4px 10px;
  border-radius: 6px;
  text-align: center;
  flex: 1;
}
.lb-tab-active {
  background: rgba(47, 94, 62, 0.3);
  color: var(--green-pale);
}

/* Podium */
.lb-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 0;
}
.podium-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.podium-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(47, 94, 62, 0.3);
  border: 1.5px solid rgba(47, 94, 62, 0.4);
}
.podium-avatar-big { width: 36px; height: 36px; }
.podium-crown {
  font-size: 10px;
  color: var(--yellow);
  margin-bottom: -2px;
}
.podium-name { font-size: 7px; color: var(--ghost); font-weight: 500; }
.podium-pts { font-size: 8px; color: var(--green-pale); font-weight: 700; }

/* Community feed */
.feed-post {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 5px;
}
.fp-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.fp-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(47, 94, 62, 0.3);
  border: 1px solid rgba(47, 94, 62, 0.4);
  flex-shrink: 0;
}
.fp-av2 { background: rgba(74, 138, 92, 0.3); }
.fp-av3 { background: rgba(168, 213, 181, 0.2); }
.fp-av4 { background: rgba(138, 159, 168, 0.3); }
.fp-name {
  font-size: 9px;
  font-weight: 600;
  color: var(--ghost);
  display: block;
}
.fp-time {
  font-size: 7px;
  color: var(--gray);
  display: block;
}
.fp-text {
  font-size: 9px;
  color: var(--gray);
  line-height: 1.4;
  margin-bottom: 5px;
}
.fp-actions {
  display: flex;
  gap: 12px;
  font-size: 8px;
  color: var(--gray);
}
.fp-like, .fp-comment { cursor: default; }

/* Habits grid */
.habits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.habit-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 8px 8px 6px;
}
.habit-card.hc-green {
  background: rgba(47, 94, 62, 0.08);
  border-color: rgba(47, 94, 62, 0.15);
}
.hc-icon { font-size: 14px; display: block; margin-bottom: 4px; }
.hc-title { font-size: 9px; font-weight: 600; color: var(--ghost); display: block; }
.hc-freq { font-size: 7px; color: var(--gray); display: block; margin-bottom: 6px; }
.hc-bottom {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.hc-label { font-size: 6px; color: var(--gray); display: block; }
.hc-val { font-size: 10px; font-weight: 700; color: var(--green-pale); display: block; }
.hc-dots { display: flex; gap: 2px; }
.dot-on {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--green-pale);
}
.dot-off {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

/* ── Data Bubbles (circular) ── */
.data-bubble {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  animation: float 6s ease-in-out infinite;
  text-align: center;
}
.db-big {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-pale);
  line-height: 1;
}
.db-sm {
  font-size: 7px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-top: 3px;
}
.db-sm-yellow {
  font-size: 8px;
  font-weight: 700;
  color: var(--yellow);
  margin-top: 3px;
}
.db-sm-green {
  font-size: 8px;
  font-weight: 700;
  color: var(--green-pale);
  margin-top: 2px;
}
.db-icon {
  font-size: 22px;
  line-height: 1;
  color: var(--yellow);
}
.db-icon-check {
  font-size: 20px;
  line-height: 1;
  color: var(--green-pale);
}

/* Streak — top-left, biggest */
.db-streak {
  top: 10px; left: 10px;
  width: 96px; height: 96px;
  background: rgba(47, 94, 62, 0.3);
  border: 1.5px solid rgba(47, 94, 62, 0.5);
  animation-delay: 0s;
}
.db-streak .db-big { font-size: 26px; }

/* Steps — top-right of phone */
.db-steps {
  top: 60px; right: 0;
  width: 84px; height: 84px;
  background: rgba(20, 31, 41, 0.7);
  border: 1px solid var(--glass-border);
  animation-delay: 1.2s;
}

/* Rank — mid-left */
.db-rank {
  top: 260px; left: 0;
  width: 80px; height: 80px;
  background: rgba(20, 31, 41, 0.7);
  border: 1px solid var(--glass-border);
  animation-delay: 0.6s;
}
.db-rank .db-big { font-size: 22px; }

/* Badge — bottom-right */
.db-badge {
  bottom: 140px; right: 10px;
  width: 80px; height: 80px;
  background: rgba(245, 196, 23, 0.1);
  border: 1px solid rgba(245, 196, 23, 0.2);
  animation-delay: 1.8s;
}

/* Creators — bottom-left */
.db-creators {
  bottom: 60px; left: 20px;
  width: 88px; height: 88px;
  background: rgba(47, 94, 62, 0.2);
  border: 1px solid rgba(47, 94, 62, 0.3);
  animation-delay: 0.8s;
}

/* XP check — bottom center-right */
.db-xp {
  bottom: 10px; right: 80px;
  width: 72px; height: 72px;
  background: rgba(47, 94, 62, 0.25);
  border: 1px solid rgba(47, 94, 62, 0.4);
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Section Label ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-bottom: 48px;
}
.section-label span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gray);
  white-space: nowrap;
}
.label-line {
  height: 1px;
  width: 100%;
  max-width: 200px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* ── Glass Card ── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shine);
}

/* ── Core Pillars ── */
.pillars {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 48px 100px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar-card {
  padding: 32px 24px;
  border-radius: var(--radius-pillar);
  transition: transform 0.3s, border-color 0.3s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 94, 62, 0.3);
}
.pillar-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(47, 94, 62, 0.15);
  border: 1px solid rgba(47, 94, 62, 0.25);
  border-radius: 12px;
  color: var(--green-pale);
  margin-bottom: 20px;
}
.pillar-num {
  font-size: 36px;
  font-weight: 300;
  color: var(--green);
  display: block;
  margin-bottom: 12px;
}
.pillar-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ghost);
  line-height: 1.3;
}
.pillar-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray);
}

/* ── Tabbed Waitlist Section ── */
.waitlist-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 48px 100px;
  text-align: center;
}

/* Tabs */
.waitlist-tabs {
  display: inline-flex;
  background: rgba(20, 31, 41, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 48px;
  gap: 4px;
}
.wtab {
  padding: 12px 32px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.wtab.active {
  background: rgba(47, 94, 62, 0.5);
  color: var(--ghost);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.wtab:hover:not(.active) {
  color: var(--ghost);
  background: rgba(255,255,255,0.04);
}

/* Panels */
.wtab-panel {
  display: none;
}
.wtab-panel.active {
  display: block;
}
.wtab-panel h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.wtab-sub {
  color: var(--gray);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Shared CTA area */
.wtab-cta {
  max-width: 480px;
  margin: 40px auto 0;
}
.wtab-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wtab-form .btn-pill { width: fit-content; align-self: center; }
.wtab-note {
  color: var(--gray);
  font-size: 13px;
  margin-top: 16px;
}

/* Calculator (inside creator tab) */
.calc-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 48px;
  border-radius: var(--radius-pillar);
  text-align: left;
}
.price-tiers { margin-bottom: 32px; }
.price-tier-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ghost);
  margin-bottom: 16px;
}
.price-tier-boxes {
  display: flex;
  gap: 12px;
}
.price-tier {
  flex: 1;
  padding: 16px 12px;
  background: rgba(20, 31, 41, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--ghost);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.price-tier span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ghost);
  opacity: 0.6;
  margin-top: 4px;
}
.price-tier:hover {
  border-color: var(--green);
  color: var(--green-pale);
}
.price-tier.active {
  border-color: var(--green);
  background: rgba(47, 94, 62, 0.15);
  color: var(--green-pale);
}
.price-tier.active span {
  color: var(--green-pale);
  opacity: 0.8;
}
.slider-group { margin-bottom: 32px; }
.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.slider-header label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ghost);
}
.slider-val-box {
  background: rgba(20, 31, 41, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-pale);
  min-width: 70px;
  text-align: center;
}
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--green-pale);
  cursor: pointer;
  transition: transform 0.15s;
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--green-pale);
  cursor: pointer;
}
.calc-result {
  text-align: center;
  padding: 28px;
  background: rgba(47, 94, 62, 0.08);
  border: 1px solid rgba(47, 94, 62, 0.15);
  border-radius: var(--radius-card);
  margin: 8px 0 16px;
}
.calc-amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--green-pale);
  letter-spacing: -1px;
}
.calc-period {
  font-size: 22px;
  color: var(--gray);
  font-weight: 500;
}
.calc-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
}

/* Member features (inside member tab) */
.member-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.mf-card {
  padding: 28px 20px;
  border-radius: var(--radius-pillar);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.mf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 94, 62, 0.3);
}
.mf-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(47, 94, 62, 0.15);
  border: 1px solid rgba(47, 94, 62, 0.25);
  border-radius: 14px;
  color: var(--green-pale);
  margin: 0 auto 16px;
}
.mf-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ghost);
  margin-bottom: 8px;
}
.mf-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
}

/* ── Footer ── */
.footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 48px 40px;
}
.footer-top {
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  max-width: 120px;
  object-fit: contain;
  object-position: left;
}
.footer-divider {
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 24px;
}
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
}

/* ── Fade-in ── */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (min-width: 1441px) {
  .hero-visual { flex: 0 0 560px; }
}

/* Smaller desktop */
@media (max-width: 1200px) {
  .hero { gap: 20px; padding: 140px 36px 80px; }
  .hero-content { flex: 0 1 460px; max-width: 460px; padding-top: 40px; }
  .hero-title { font-size: 44px; }
  .hero-visual { flex: 0 0 440px; height: 560px; }
  .phone { width: 250px; height: 500px; right: 40px; border-radius: 34px; }
  .data-bubble { transform: scale(0.85); }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 140px 32px 40px;
    flex-direction: column;
    align-items: center;
  }
  .hero-content { flex: 1; max-width: 600px; padding-top: 0; text-align: center; }
  .hero-content .btn-pill { margin: 0 auto; }
  .hero-title { font-size: 44px; }
  .hero-visual {
    flex: none;
    width: 360px;
    height: 480px;
    margin: 0 auto;
    transform: scale(0.85);
  }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-inner { padding: 14px 20px; }
  .logo-img { height: 28px; }
  .btn-glass { font-size: 12px; padding: 8px 16px; }

  .hero {
    padding: 110px 20px 40px;
    flex-direction: column;
    align-items: center;
  }
  .hero-content { max-width: 100%; flex: none; padding-top: 0; text-align: center; }
  .hero-visual {
    flex: none;
    width: 100%;
    max-width: 390px;
    height: 520px;
    margin: 20px auto 0;
    transform: none;
  }
  .hero-visual .phone {
    width: 220px;
    height: 430px;
    border-radius: 30px;
    transform: perspective(900px) rotateY(-20deg) rotateZ(3deg) rotateX(3deg);
    margin-top: -215px;
    margin-left: -110px;
  }
  .hero-title { font-size: 32px; letter-spacing: -1px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .email-input { padding: 14px 20px; }
  .hero-form .btn-pill { width: 100%; text-align: center; padding: 14px; }

  .pillars { padding: 60px 20px 60px; }
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-label { gap: 16px; margin-bottom: 32px; }
  .label-line { max-width: 60px; }
  .pillar-card { padding: 24px 20px; }

  .waitlist-section { padding: 60px 20px 60px; }
  .waitlist-tabs { width: 100%; }
  .wtab { flex: 1; padding: 10px 16px; font-size: 13px; }
  .wtab-panel h2 { font-size: 26px; }
  .wtab-sub { font-size: 14px; margin-bottom: 28px; }
  .calc-card { padding: 28px 20px; }
  .calc-amount { font-size: 38px; }
  .slider-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .slider-val-box { align-self: flex-end; }
  .member-features { grid-template-columns: 1fr; max-width: 400px; }
  .wtab-cta { max-width: 100%; }
  .wtab-form .btn-pill { width: 100%; text-align: center; padding: 14px; }

  .footer { padding: 40px 20px 30px; }
  .footer-logo-img { height: 28px; }
}

/* Small mobile */
@media (max-width: 390px) {
  .hero { padding: 100px 16px 40px; }
  .hero-title { font-size: 27px; }
  .hero-visual { max-width: 340px; height: 480px; }
  .hero-sub { font-size: 14px; }
  .calc-amount { font-size: 32px; }
  .wtab-panel h2 { font-size: 24px; }
  .nav-inner { padding: 12px 16px; }
  .logo-img { height: 24px; }
}

/* ── Fee info hover tooltip ── */
.fee-info {
  position: relative;
  color: var(--green-pale);
  font-size: 12px;
  cursor: default;
  border-bottom: 1px dotted var(--green-pale);
  margin-left: 4px;
}

.fee-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  padding: 16px 18px;
  background: var(--bg-navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 100;
  pointer-events: none;
}

.fee-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--bg-navy);
}

.fee-info:hover .fee-tooltip {
  display: block;
}

@media (max-width: 480px) {
  .fee-tooltip {
    width: 260px;
    left: 0;
    transform: translateX(-20%);
    font-size: 12px;
  }
}
