:root {
  --ink: #0a0a0a;
  --paper: #f4f1e8;
  --volt: #75fab3;
  --fire: #ff5c1a;
  --teal: #00c896;
  --lavender: #a78bfa;
  --muted: #6b6b60;
  --border: rgba(10, 10, 10, 0.1);
  --card: #ffffff;
  --sans: "DM Sans", sans-serif;
  --display: "Avenir", sans-serif;
}

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

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── GRAIN OVERLAY ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ── PROGRESS BAR ── */
.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(115, 244, 175, 0.15);
  z-index: 999;
}
.progress-fill {
  height: 100%;
  background: var(--volt);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 0.5px solid rgba(200, 255, 0, 0.1);
}

.nav-logo {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.nav-logo span {
  color: var(--volt);
}

.nav-steps {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-step {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(115, 244, 175, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.nav-step.active {
  background: var(--volt);
}
.nav-step.done {
  background: rgba(115, 244, 175, 0.643);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.xp-badge {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  color: var(--volt);
  background: rgba(200, 255, 0, 0.1);
  border: 0.5px solid rgba(115, 244, 175, 0.643);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* ── SCREENS ── */
.screen {
  display: none;
  justify-content: center;
  min-height: 100vh;
  padding-top: 60px;
}
.screen.active {
  display: flex;
  flex-direction: column;
}

/* ── HERO SCREEN ── */
.hero-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}

.hero-bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(115, 244, 175, 0.35);
  top: 50%;
  left: 50%;
  animation: pulse-ring 6s ease-in-out infinite;
}

/* grid + grain overlay */
.hero-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E"),
    linear-gradient(rgba(200, 255, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 0, 0.025) 1px, transparent 1px);
  background-size:
    256px 256px,
    80px 80px,
    80px 80px;
  opacity: 0.035;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 0%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* static glow core */
.hero-screen::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(115, 244, 175, 0.35) 0%,
    rgba(115, 244, 175, 0.12) 45%,
    transparent 70%
  );
  filter: blur(28px);
  animation: glow-core 4s ease-in-out infinite;
  pointer-events: none;
}

.ring-1 {
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border-color: rgba(115, 244, 175, 0.2);
  box-shadow:
    0 0 18px rgba(115, 244, 175, 0.12),
    inset 0 0 18px rgba(115, 244, 175, 0.06);
  filter: blur(4px);
}
.ring-2 {
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  animation-delay: 0.8s;
  border-color: rgba(115, 244, 175, 0.22);
  box-shadow: 0 0 20px rgba(115, 244, 175, 0.1);
  filter: blur(3.5px);
}
.ring-3 {
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  animation-delay: 1.6s;
  border-color: rgba(115, 244, 175, 0.3);
  box-shadow: 0 0 22px rgba(115, 244, 175, 0.13);
  filter: blur(2.5px);
}
.ring-4 {
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  animation-delay: 2.4s;
  border-color: rgba(115, 244, 175, 0.2);
  box-shadow: 0 0 14px rgba(115, 244, 175, 0.08);
  filter: blur(2px);
}
.ring-5 {
  width: 1020px;
  height: 1020px;
  transform: translate(-50%, -50%);
  animation-delay: 3.2s;
  border-color: rgba(115, 244, 175, 0.12);
  filter: blur(2.5px);
}

/* radiating burst rings — expand outward and fade */
.ring-radiate-1 {
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border-width: 1.5px;
  border-color: rgba(115, 244, 175, 0.4);
  filter: blur(3px);
  animation: radiate 5s ease-out infinite;
}
.ring-radiate-2 {
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border-width: 1.5px;
  border-color: rgba(115, 244, 175, 0.4);
  filter: blur(3px);
  animation: radiate 5s ease-out infinite;
  animation-delay: 1.67s;
}
.ring-radiate-3 {
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border-width: 1.5px;
  border-color: rgba(115, 244, 175, 0.4);
  filter: blur(3px);
  animation: radiate 5s ease-out infinite;
  animation-delay: 3.33s;
}

@keyframes pulse-ring {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.025);
  }
}

@keyframes radiate {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(4.2);
    opacity: 0;
  }
}

@keyframes glow-core {
  0%,
  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
  border: 0.5px solid rgba(115, 244, 175, 0.455);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  animation: fade-up 0.8s ease both;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fade-up 0.8s 0.1s ease both;
}
.hero-title .volt {
  color: var(--volt);
}
.hero-title .strike {
  position: relative;
  color: var(--muted);
}
.hero-title .strike::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: var(--fire);
  transform: rotate(-2deg);
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(244, 241, 232, 0.55);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fade-up 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  animation: fade-up 0.8s 0.3s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--volt);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(115, 244, 175, 0.25);
}
.hero-cta:active {
  transform: translateY(0);
}

.cta-arrow-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--volt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  line-height: 1;
}

.hero-ghost {
  background: none;
  border: none;
  color: rgba(244, 241, 232, 0.4);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
  letter-spacing: 0.01em;
}
.hero-ghost:hover {
  color: rgba(244, 241, 232, 0.7);
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 48px;
  animation: fade-up 0.8s 0.4s ease both;
}
.hstat-n {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  color: var(--volt);
  line-height: 1;
}
.hstat-l {
  font-size: 11px;
  color: rgba(244, 241, 232, 0.4);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTION SCREENS ── */
.section-screen {
  padding: 80px 32px 40px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(244, 241, 232, 0.5);
  line-height: 1.7;
  max-width: 520px;
}

/* ── CARDS ── */
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(244, 241, 232, 0.1);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s ease;
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}
.card:hover {
  border-color: rgba(115, 244, 175, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

/* ── MINDSET REFRAME ── */
.reframe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.reframe-card {
  border-radius: 12px;
  padding: 20px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.5s ease;
}
.reframe-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.rf-old {
  background: rgba(255, 92, 26, 0.08);
  border: 0.5px solid rgba(255, 92, 26, 0.2);
}
.rf-new {
  background: rgba(115, 244, 175, 0.06);
  border: 0.5px solid rgba(115, 244, 175, 0.2);
}

.rf-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.rf-old .rf-tag {
  color: var(--fire);
}
.rf-new .rf-tag {
  color: var(--volt);
}

.rf-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 241, 232, 0.7);
}

/* ── INTERACTIVE PROMPT BUILDER ── */
.prompt-builder {
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(115, 244, 175, 0.15);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s ease;
}
.prompt-builder.visible {
  opacity: 1;
  transform: translateY(0);
}

.pb-title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--volt);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.pb-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pb-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.pb-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.4);
  margin-bottom: 6px;
}

.pb-field input,
.pb-field select,
.pb-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(244, 241, 232, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--paper);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.pb-field input::placeholder,
.pb-field textarea::placeholder {
  color: rgba(244, 241, 232, 0.25);
}
.pb-field input:focus,
.pb-field textarea:focus {
  border-color: rgba(115, 244, 175, 0.2);
}

.pb-output {
  background: rgba(10, 10, 10, 0.5);
  border: 0.5px solid rgba(115, 244, 175, 0.2);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 241, 232, 0.8);
  font-style: italic;
  min-height: 80px;
  transition: all 0.3s;
  position: relative;
}

.pb-output-label {
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--volt);
  background: #0a0a0a;
  padding: 0 6px;
}

.pb-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--volt);
  color: var(--ink);
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 12px;
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.pb-copy-btn:hover {
  opacity: 0.85;
}
.pb-copy-btn.copied {
  background: var(--teal);
}

/* ── XP FLASH ── */
.xp-flash {
  position: fixed;
  top: 70px;
  right: 24px;
  background: var(--volt);
  color: var(--ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 20px;
  z-index: 500;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.3s;
  pointer-events: none;
}
.xp-flash.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── HABIT TRACKER ── */
.habit-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 16px 0;
}

.habit-day {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(244, 241, 232, 0.1);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgba(244, 241, 232, 0.3);
  font-weight: 500;
}
.habit-day:hover {
  border-color: rgba(115, 244, 175, 0.3);
  background: rgba(200, 255, 0, 0.05);
}
.habit-day.done {
  background: rgba(200, 255, 0, 0.15);
  border-color: rgba(115, 244, 175, 0.4);
  color: var(--volt);
}
.habit-day.done::after {
  content: "✓";
}

.habit-label {
  font-size: 11px;
  color: rgba(244, 241, 232, 0.4);
  text-align: center;
  margin-top: 6px;
}

/* ── TOOL STACK ── */
.tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(244, 241, 232, 0.1);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.25s;
  opacity: 0;
  transform: translateX(-16px);
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  transition: all 0.3s;
}
.tc-claude::before {
  background: var(--volt);
}
.tc-notion::before {
  background: var(--paper);
}
.tc-reclaim::before {
  background: var(--teal);
}

.tool-card.visible {
  opacity: 1;
  transform: translateX(0);
}
.tool-card.expanded {
  border-color: rgba(115, 244, 175, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ti-claude {
  background: rgba(200, 255, 0, 0.1);
}
.ti-notion {
  background: rgba(244, 241, 232, 0.1);
}
.ti-reclaim {
  background: rgba(0, 200, 150, 0.1);
}

.tool-info {
  flex: 1;
}
.tool-name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.tool-desc {
  font-size: 12px;
  color: var(--muted);
}
.tool-arrow {
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.3s;
}
.tool-card.expanded .tool-arrow {
  transform: rotate(90deg);
  color: var(--volt);
}

.tool-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 12px 12px;
  border: 0 solid rgba(244, 241, 232, 0.1);
  border-top: none;
}
.tool-detail.open {
  max-height: 240px;
  padding: 16px 20px;
  margin-bottom: 10px;
  border: 0.5px solid rgba(115, 244, 175, 0.15);
  border-top: none;
}

.tool-detail-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-detail-steps li {
  font-size: 12px;
  color: rgba(244, 241, 232, 0.65);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.tool-detail-steps li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  color: var(--volt);
  font-weight: 700;
  font-size: 11px;
}

/* ── QUIZ ── */
.quiz-q {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(244, 241, 232, 0.12);
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  color: rgba(244, 241, 232, 0.75);
}
.quiz-opt:hover {
  border-color: rgba(115, 244, 175, 0.3);
  background: rgba(200, 255, 0, 0.04);
}
.quiz-opt.correct {
  border-color: var(--teal);
  background: rgba(0, 200, 150, 0.08);
  color: var(--paper);
}
.quiz-opt.wrong {
  border-color: var(--fire);
  background: rgba(255, 92, 26, 0.08);
  color: rgba(244, 241, 232, 0.5);
}

.quiz-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 241, 232, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  transition: all 0.2s;
}
.quiz-opt.correct .quiz-dot {
  border-color: var(--teal);
  color: var(--teal);
}
.quiz-opt.wrong .quiz-dot {
  border-color: var(--fire);
  color: var(--fire);
}

.quiz-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
  display: none;
}
.quiz-feedback.show {
  display: block;
}
.quiz-feedback.correct-fb {
  background: rgba(0, 200, 150, 0.08);
  border: 0.5px solid rgba(0, 200, 150, 0.3);
  color: rgba(244, 241, 232, 0.8);
}
.quiz-feedback.wrong-fb {
  background: rgba(255, 92, 26, 0.08);
  border: 0.5px solid rgba(255, 92, 26, 0.3);
  color: rgba(244, 241, 232, 0.8);
}

/* ── DAILY ROUTINE BUILDER ── */
.routine-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.routine-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(244, 241, 232, 0.1);
  transition: all 0.3s;
}

.slot-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--volt);
  min-width: 52px;
  font-family: var(--display);
}

.slot-select {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(244, 241, 232, 0.7);
  font-family: var(--sans);
  font-size: 12px;
  outline: none;
  cursor: pointer;
}
.slot-select option {
  background: #1a1a1a;
}

.slot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 241, 232, 0.15);
  transition: background 0.3s;
}
.routine-slot.filled .slot-indicator {
  background: var(--volt);
}

/* ── FINANCE CALCULATOR ── */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.4);
  margin-bottom: 6px;
}

.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.calc-prefix {
  position: absolute;
  left: 12px;
  font-size: 13px;
  color: var(--muted);
  pointer-events: none;
}
.calc-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(244, 241, 232, 0.15);
  border-radius: 8px;
  padding: 10px 14px 10px 26px;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--paper);
  outline: none;
  transition: border-color 0.2s;
}
.calc-input:focus {
  border-color: rgba(200, 255, 0, 0.4);
}

.calc-result {
  background: rgba(200, 255, 0, 0.06);
  border: 0.5px solid rgba(115, 244, 175, 0.2);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-metric {
  text-align: center;
}
.calc-metric-val {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  color: var(--volt);
  line-height: 1;
}
.calc-metric-label {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── FINISH SCREEN ── */
.finish-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}

.trophy {
  font-size: 64px;
  margin-bottom: 24px;
  animation: trophy-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes trophy-pop {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confetti-fall linear both;
}

@keyframes confetti-fall {
  from {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ── NAV BUTTONS ── */
.nav-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 0.5px solid rgba(244, 241, 232, 0.08);
}

.btn-back {
  background: transparent;
  border: 0.5px solid rgba(244, 241, 232, 0.2);
  color: rgba(244, 241, 232, 0.5);
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-back:hover {
  border-color: rgba(244, 241, 232, 0.4);
  color: var(--paper);
}

.btn-next {
  background: var(--volt);
  border: none;
  color: var(--ink);
  padding: 12px 28px;
  border-radius: 6px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}
.btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 255, 0, 0.2);
}

/* ── STREAK ── */
.streak-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(244, 241, 232, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.streak-label {
  font-size: 12px;
  color: var(--muted);
}
.streak-val {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--fire);
  margin-left: auto;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(47, 140, 89, 0.3);
  border-radius: 2px;
}

@media (max-width: 600px) {
  .reframe-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 24px;
  }
  .sections-grid {
    grid-template-columns: 1fr;
  }
}
