:root {
  --bg: #0a0d0b;
  --surface: #111a15;
  --surface-2: #16221b;
  --line: #22322a;
  --green: #3ecf8e;
  --green-dim: #1f6b4d;
  --gold: #e0a94a;
  --ink: #f1f2ef;
  --ink-dim: #9aa39c;
  --ink-faint: #5e685f;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --rail-bg: rgba(10, 13, 11, 0.92);
}

[data-theme="light"] {
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-2: #e9f2ec;
  --line: #d0dfd5;
  --green: #0d8a5b;
  --green-dim: #27b07b;
  --gold: #b87d18;
  --ink: #0b140e;
  --ink-dim: #3f4e44;
  --ink-faint: #718276;
  --rail-bg: rgba(244, 247, 245, 0.94);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .25s ease, color .25s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

::selection {
  background: var(--green);
  color: #04241a;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ===== preloader ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
}

.preloader-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: preloader-spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 20px rgba(62, 207, 142, 0.15);
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preloader-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 8px;
}

.preloader-subtext {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.05em;
}

/* ===== theme toggler ===== */
.theme-toggler {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggler:hover {
  transform: scale(1.1);
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(62, 207, 142, 0.35);
}

.theme-toggle-wrap .sun-svg {
  display: none;
}

.theme-toggle-wrap .moon-svg {
  display: block;
  stroke: var(--green);
  width: 20px;
  height: 20px;
}

[data-theme="light"] .theme-toggle-wrap .sun-svg {
  display: block;
  stroke: var(--gold);
  width: 20px;
  height: 20px;
}

[data-theme="light"] .theme-toggle-wrap .moon-svg {
  display: none;
}

/* ===== trip rail (desktop nav) ===== */
.trip-rail {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  z-index: 100;
  border-right: 1px solid var(--line);
  background: var(--rail-bg);
  backdrop-filter: blur(8px);
  transition: background-color .25s ease, border-color .25s ease;
}

.trip-rail .brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  writing-mode: vertical-rl;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.trip-line {
  position: relative;
  flex: 1;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}

.trip-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--green);
  border-radius: 2px;
  height: 0%;
  transition: height .1s linear;
}

.trip-stop {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ink-faint);
  cursor: pointer;
  transition: all .15s ease;
}

.trip-stop.active {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(62, 207, 142, 0.22);
}

.trip-stop .label {
  display: none;
}

.odo-float {
  position: absolute;
  left: 16px;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 10px;
  pointer-events: none;
  transition: top .08s linear;
}

/* ===== layout ===== */
main {
  margin-left: 88px;
  overflow-x: hidden;
}

section {
  /* padding: 96px 64px; */
  padding: 30px 40px;

  border-bottom: 1px solid var(--line);
  position: relative;
  transition: border-color .25s ease;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow i {
  font-size: 15px;
}

.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ===== hero ===== */
#hero {
  padding: 80px 64px 60px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: url('../img/hero.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 13, 11, 0.96) 0%, rgba(10, 13, 11, 0.9) 35%, rgba(10, 13, 11, 0.4) 100%);
  z-index: 1;
  transition: background-color 0.25s ease;
}

[data-theme="light"] #hero::before {
  background: linear-gradient(to right, rgba(244, 247, 245, 1) 0%, rgba(244, 247, 245, 0.96) 35%, rgba(244, 247, 245, 0.75) 55%, rgba(244, 247, 245, 0) 100%);
}

[data-theme="light"] #hero {
  background-image: url('../img/hero-2.png');
}

@media (max-width: 1024px) {
  #hero {
    background-attachment: scroll;
  }
}

.hero-bg-glow {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 169, 74, 0.1);
  border: 1px solid rgba(224, 169, 74, 0.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  opacity: 0;
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 100ms;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.hero-title {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.18;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 250ms;
}

.text-gradient {
  background: linear-gradient(135deg, var(--green) 0%, #a8f5d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0d8a5b 0%, #1ab87b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  opacity: 0;
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 400ms;
}

.hero-desc p {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 540px;
}

.hero-desc p:last-child {
  margin-bottom: 0;
}

/* ===== Hero Category Strip ===== */
.category-strip {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.category-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 34, 27, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: default;
  opacity: 0;
  transform: translateY(30px);
}

.category-strip.revealed .category-strip-item {
  animation: scrollRevealUp 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

[data-theme="light"] .category-strip-item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--ink);
}

.category-icon {
  width: 20px;
  height: 20px;
  stroke: #3EE6A5;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  transition: transform 300ms ease;
}

[data-theme="light"] .category-icon {
  stroke: var(--green);
}

.category-strip-item:hover {
  transform: translateY(-2px);
  border-color: #3EE6A5;
  background: rgba(62, 230, 165, 0.05);
  box-shadow: 0 0 15px rgba(62, 230, 165, 0.15);
  color: var(--ink);
}

[data-theme="light"] .category-strip-item:hover {
  border-color: var(--green);
  background: rgba(13, 138, 91, 0.05);
  box-shadow: 0 4px 12px rgba(13, 138, 91, 0.08);
}

.category-strip-item:hover .category-icon {
  transform: scale(1.05);
}

/* Stagger delays */
.category-strip.revealed .category-strip-item:nth-child(1) { animation-delay: 0ms; }
.category-strip.revealed .category-strip-item:nth-child(2) { animation-delay: 100ms; }
.category-strip.revealed .category-strip-item:nth-child(3) { animation-delay: 200ms; }
.category-strip.revealed .category-strip-item:nth-child(4) { animation-delay: 300ms; }
.category-strip.revealed .category-strip-item:nth-child(5) { animation-delay: 400ms; }

@keyframes scrollRevealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile layout styling */
@media (max-width: 768px) {
  .category-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }

  .category-strip-item {
    flex: 1 1 calc(33.33% - 8px);
    min-width: 96px;
    justify-content: center;
    padding: 10px 6px;
    font-size: 12px;
  }
}

.hero-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  align-items: center;
  opacity: 0;
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1000ms;
}

.btn-hero-primary {
  background: var(--green);
  color: #ffffff;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(62, 207, 142, 0.28);
  transition: all 0.2s ease;
  font-size: 14px;
}

[data-theme="dark"] .btn-hero-primary {
  color: #04241a;
}

.btn-hero-primary:hover {
  background: var(--green-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(62, 207, 142, 0.42);
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
}

[data-theme="light"] .btn-hero-ghost {
  background: rgba(0, 0, 0, 0.03);
}

.btn-hero-ghost:hover {
  border-color: var(--green-dim);
  color: var(--green);
  background: rgba(62, 207, 142, 0.08);
  transform: translateY(-2px);
}

/* Right Column Card Styling */
/* Hero Image styling */
.hero-app-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 0 35px rgba(62, 207, 142, 0.08);
  transition: transform 0.3s ease;
}

.hero-app-img:hover {
  transform: translateY(-4px);
}

.phone-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  transition: background-color .25s ease, border-color .25s ease;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-faint);
  margin-bottom: 12px;
}

.phone-insight {
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 16px;
}

.phone-insight span {
  color: var(--green);
  font-weight: 500;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat-mini {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
  color: var(--ink-dim);
  transition: background-color .25s ease;
}

.stat-mini b {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink);
  margin-top: 2px;
  font-weight: 500;
}

.stat-mini.gold b {
  color: var(--green);
}

.ring {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 86%, var(--line) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.ring-inner {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-card-sm {
  padding: 16px;
}

.ring-sm {
  width: 92px;
  height: 92px;
  margin-bottom: 12px;
}

.ring-inner-sm {
  width: 74px;
  height: 74px;
}

.ring-inner-sm b {
  font-size: 22px;
}

.ring-inner b {
  font-family: var(--font-mono);
  font-size: 30px;
  color: var(--ink);
  line-height: 1;
  font-weight: 500;
}

.ring-inner span {
  font-size: 10px;
  color: var(--ink-faint);
  margin-top: 4px;
}

.streak-row {
  display: flex;
  justify-content: space-between;
  margin: 14px 0 16px;
}

.streak-day {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.streak-day:hover {
  transform: scale(1.15);
}

.streak-day.selected {
  transform: scale(1.18);
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.45);
}

[data-theme="dark"] .streak-day {
  color: #04241a;
}

.streak-day.pending {
  background: transparent;
  border: 1px dashed var(--ink-faint);
  color: var(--ink-faint);
}

.streak-day.pending:hover {
  border-color: var(--green);
  color: var(--green);
}

.streak-day.pending.selected {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.25);
}

/* ===== intelligence grid ===== */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 16px;
  transition: border-color .15s, transform .15s, background-color .25s ease;
}

.cell:hover {
  border-color: var(--green-dim);
  transform: translateY(-3px);
}

.cell .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.cell h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.cell p {
  font-size: 12px;
  color: var(--ink-dim);
}

.pillar-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.pillar {
  display: grid;
  grid-template-columns: 75px 1fr 520px;
  gap: 36px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.pillar .icon {
  font-size: 24px;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
}

.pillar .n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.04em;
}

.pillar .n span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-dim);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  max-width: 360px;
}

.pillar-visual {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  position: relative;
  width: 100%;
  max-width: 520px;
  perspective: 1200px;
  -webkit-perspective: 1200px;
}

/* 3D Pillar Card */
.pillar-card-3d {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  border-radius: 16px;
  cursor: pointer;
  outline: none;
}

.pillar-visual:hover .pillar-card-3d,
.pillar-card-3d:hover,
.pillar-card-3d:focus-visible {
  transform: rotateY(180deg);
}

.pillar-card-3d:focus-visible {
  box-shadow: 0 0 0 3px var(--green);
}

/* Pillar Card Faces */
.pillar-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.pillar-face-front {
  transform: rotateY(0deg);
  z-index: 2;
}

.pillar-face-front .pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pillar-face-back {
  transform: rotateY(180deg);
  background: rgba(14, 21, 17, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(62, 207, 142, 0.35);
  box-shadow: 0 0 35px rgba(62, 207, 142, 0.18),
              inset 0 0 20px rgba(62, 207, 142, 0.05),
              0 20px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

[data-theme="light"] .pillar-face-back {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(13, 138, 91, 0.3);
  box-shadow: 0 0 30px rgba(13, 138, 91, 0.12),
              inset 0 0 20px rgba(13, 138, 91, 0.04),
              0 16px 36px rgba(0, 0, 0, 0.08);
}

.pillar-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  height: 100%;
  padding: 24px 28px;
  box-sizing: border-box;
}

.pillar-panel-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-panel-lead {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.pillar-panel-body {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.5;
  margin: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.pillar-panel-footer {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(62, 207, 142, 0.2);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

[data-theme="light"] .pillar-panel-footer {
  border-top-color: rgba(13, 138, 91, 0.18);
}

.pillar-panel-conclusion {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green);
  line-height: 1.45;
  margin: 0;
}

/* Stagger reveal on hover */
.pillar-visual:hover .pillar-panel-lead,
.pillar-card-3d:hover .pillar-panel-lead,
.pillar-card-3d:focus-visible .pillar-panel-lead {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1) 220ms,
              transform 400ms cubic-bezier(0.22, 1, 0.36, 1) 220ms;
}

.pillar-visual:hover .pillar-panel-body,
.pillar-card-3d:hover .pillar-panel-body,
.pillar-card-3d:focus-visible .pillar-panel-body {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1) 300ms,
              transform 400ms cubic-bezier(0.22, 1, 0.36, 1) 300ms;
}

.pillar-visual:hover .pillar-panel-footer,
.pillar-card-3d:hover .pillar-panel-footer,
.pillar-card-3d:focus-visible .pillar-panel-footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 450ms cubic-bezier(0.22, 1, 0.36, 1) 420ms,
              transform 450ms cubic-bezier(0.22, 1, 0.36, 1) 420ms;
}

.foundation-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 48px;
  align-items: center;
  position: relative;
}

.foundation-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.foundation-heading {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 420px;
  margin: 0;
}

/* 3D Visual Container */
.foundation-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  perspective: 1200px;
  -webkit-perspective: 1200px;
  animation: foundationFloat 6s ease-in-out infinite;
}

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

/* 3D Card */
.foundation-card-3d {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  border-radius: 18px;
  cursor: pointer;
  outline: none;
}

.foundation-visual:hover .foundation-card-3d,
.foundation-card-3d:hover,
.foundation-card-3d:focus-visible,
.foundation-grid.is-hovered .foundation-card-3d {
  transform: rotateY(180deg);
}

.foundation-card-3d:focus-visible {
  box-shadow: 0 0 0 3px var(--green);
}

/* Card Faces */
.foundation-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* Front Face */
.foundation-face-front {
  transform: rotateY(0deg);
  z-index: 2;
}

.foundation-face-front .foundation-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Back Face */
.foundation-face-back {
  transform: rotateY(180deg);
  background: rgba(14, 21, 17, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(62, 207, 142, 0.35);
  box-shadow: 0 0 35px rgba(62, 207, 142, 0.18),
              inset 0 0 20px rgba(62, 207, 142, 0.05),
              0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

[data-theme="light"] .foundation-face-back {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(13, 138, 91, 0.3);
  box-shadow: 0 0 30px rgba(13, 138, 91, 0.12),
              inset 0 0 20px rgba(13, 138, 91, 0.04),
              0 16px 36px rgba(0, 0, 0, 0.08);
}

/* Memory Content Panel inside Back Face */
.memory-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  height: 100%;
  padding: 22px 26px;
  box-sizing: border-box;
}

.memory-items-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.memory-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 150ms ease, transform 150ms ease;
}

/* Staggered reveal when flipped / hovered */
.foundation-visual:hover .memory-item,
.foundation-card-3d:hover .memory-item,
.foundation-card-3d:focus-visible .memory-item,
.foundation-grid.is-hovered .memory-item {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(220ms + (var(--item-index, 0) * 80ms));
}

.memory-item-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 15px;
  box-shadow: 0 0 10px rgba(62, 207, 142, 0.15);
  flex-shrink: 0;
}

[data-theme="light"] .memory-item-icon {
  background: rgba(13, 138, 91, 0.08);
  border-color: rgba(13, 138, 91, 0.25);
  color: var(--green);
  box-shadow: 0 0 10px rgba(13, 138, 91, 0.1);
}

.memory-item-text {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

.memory-footer {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(62, 207, 142, 0.18);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease;
}

[data-theme="light"] .memory-footer {
  border-top-color: rgba(13, 138, 91, 0.15);
}

.foundation-visual:hover .memory-footer,
.foundation-card-3d:hover .memory-footer,
.foundation-card-3d:focus-visible .memory-footer,
.foundation-grid.is-hovered .memory-footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 450ms cubic-bezier(0.22, 1, 0.36, 1) 560ms,
              transform 450ms cubic-bezier(0.22, 1, 0.36, 1) 560ms;
}

.memory-divider-msg {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.35;
  margin-bottom: 3px;
}

.memory-brand-msg {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  line-height: 1.35;
}

/* Laptop / Mid-size Screen Optimization */
@media (min-width: 861px) and (max-width: 1200px) {
  .pillar {
    grid-template-columns: 65px 1fr 460px;
    gap: 24px;
  }
  .pillar-visual {
    max-width: 460px;
    padding-left: 20px;
  }
  .pillar-panel {
    padding: 20px 22px;
  }
  .pillar-panel-lead {
    font-size: 13.5px;
  }
  .pillar-panel-body,
  .pillar-panel-conclusion {
    font-size: 12.5px;
  }
  .foundation-grid {
    grid-template-columns: 1fr 460px;
    gap: 32px;
  }
  .foundation-visual {
    max-width: 460px;
  }
}

/* Mobile Responsive */
@media (max-width: 860px) {
  .foundation-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .foundation-heading {
    font-size: 24px;
    margin-bottom: 0;
  }

  .foundation-visual {
    perspective: none;
    animation: none;
    max-width: 100%;
  }

  .foundation-card-3d {
    aspect-ratio: auto;
    transform: none !important;
    cursor: default;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .foundation-face {
    position: static;
    transform: none !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    height: auto;
  }

  .foundation-face-front .foundation-img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .foundation-face-back {
    height: auto;
    padding: 0;
  }

  .memory-panel {
    padding: 18px 20px;
    gap: 14px;
  }

  .memory-items-list {
    gap: 12px;
  }

  .memory-item,
  .memory-footer {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .memory-item-text {
    font-size: 13px;
  }

  .memory-divider-msg {
    font-size: 12px;
  }

  .memory-brand-msg {
    font-size: 12.5px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .foundation-visual,
  .foundation-card-3d,
  .foundation-heading,
  .memory-item,
  .memory-footer {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .memory-item,
  .memory-footer {
    opacity: 1 !important;
  }
}



.chart-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink);
}

.chart-legend .sw {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chart-legend b {
  font-family: var(--font-mono);
  font-weight: 500;
  margin-left: auto;
  color: var(--ink-dim);
}

.bar-item {
  margin-bottom: 14px;
}

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

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-dim);
  margin-bottom: 5px;
}

.bar-label b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 500;
}

.bar-track {
  height: 6px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
}

/* ===== product ===== */
#product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  text-align: left;
}

.product-text-col .eyebrow {
  justify-content: flex-start;
}

.product-text-col h2 {
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.product-text-col > p {
  font-size: 14.5px;
  color: var(--ink-dim);
  margin-bottom: 28px;
  max-width: 440px;
  line-height: 1.65;
}

.feat-line {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 0;
  font-size: 13.5px;
  color: var(--ink-dim);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feat-line:hover {
  transform: translateY(-2px);
  border-color: var(--green-dim);
  box-shadow: 0 4px 16px rgba(62, 207, 142, 0.08);
}

.feat-lines-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat-line b {
  color: var(--ink);
  font-weight: 500;
}

.feat-icon-chip {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(62, 207, 142, 0.08);
  border: 1px solid rgba(62, 207, 142, 0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
  transition: background 0.25s ease;
}

.feat-line:hover .feat-icon-chip {
  background: rgba(62, 207, 142, 0.14);
}

/* Phone card glow wrapper */
.phone-card-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-card-wrapper::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(62, 207, 142, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.phone-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  transition: background-color .25s ease, border-color .25s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(62, 207, 142, 0.04);
}

.phone-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16), 0 0 24px rgba(62, 207, 142, 0.06);
}

/* ===== proof ===== */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  max-width: 1180px;
}

.proof-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  transition: background-color .25s ease, border-color .25s ease;
}

.proof-card .proof-icon {
  font-size: 26px;
  color: var(--green);
  margin-bottom: 10px;
  display: block;
}

.proof-card .big {
  font-family: var(--font-mono);
  font-size: 38px;
  color: var(--green);
  font-weight: 500;
}

.proof-card .big small {
  font-size: 15px;
  color: var(--ink-faint);
}

.proof-card p {
  font-size: 13px;
  color: var(--ink-dim);
  margin-top: 8px;
}

/* ===== promise / cta ===== */
#promise {
  background: var(--surface);
  text-align: left;
  transition: background-color .25s ease;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0 40px;
  max-width: 1180px;
}

.promise-item {
  font-size: 13px;
  color: var(--ink-dim);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promise-item i {
  color: var(--green);
  font-size: 28px;
}

.close-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 1180px;
  flex-wrap: wrap;
  gap: 16px;
}

.close-row h2 {
  font-size: 22px;
}

.close-row h2 span {
  color: var(--green);
}

/* ===== waitlist form & modal ===== */
.btn-primary {
  background: var(--green);
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 9px;
  padding: 12px 20px;
  transition: all .2s ease;
}

[data-theme="dark"] .btn-primary {
  color: #04241a;
}

.btn-primary:hover {
  background: var(--green-dim);
}

.input-field {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 16px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .15s, background-color .25s ease;
}

.input-field:focus {
  border-color: var(--green);
}

.input-field::placeholder {
  color: var(--ink-faint);
}

.form-success {
  display: none;
  background: rgba(62, 207, 142, 0.1);
  border: 1px solid var(--green-dim);
  color: var(--green);
  padding: 14px 16px;
  border-radius: 9px;
  font-size: 13px;
  margin-top: 14px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 11, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

[data-theme="light"] .modal-backdrop {
  background: rgba(244, 247, 245, 0.88);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  max-width: 440px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform .2s ease;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--ink-faint);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--ink);
}

footer {
  margin-left: 88px;
  padding: 24px 64px;
  font-size: 12px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 6px;
}

.powered-by img {
  height: 16px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}

/* ===== mobile: bottom trip bar ===== */
.trip-bottom {
  display: none;
}

@media (max-width:860px) {
  .trip-rail {
    display: none;
  }

  main,
  footer {
    margin-left: 0;
  }

  section {
    padding: 48px 20px;
  }

  #hero {
    min-height: auto;
    padding: 60px 20px 30px;
  }

  #hero::before {
    background: rgba(10, 13, 11, 0.92);
  }

  [data-theme="light"] #hero::before {
    background: rgba(244, 247, 245, 0.92);
  }

  footer {
    padding: 24px 20px 88px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-text-col {
    text-align: center;
  }

  .product-text-col .eyebrow {
    justify-content: center;
  }

  .product-text-col > p {
    max-width: 100%;
  }

  .phone-card-wrapper::before {
    width: 240px;
    height: 240px;
  }

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

  .pillar {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    padding: 24px 0;
  }

  .pillar h3 {
    font-size: 19px;
  }

  .pillar-visual {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    max-width: 100%;
    perspective: none;
  }

  .pillar-card-3d {
    aspect-ratio: auto;
    transform: none !important;
    cursor: default;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .pillar-face {
    position: static;
    transform: none !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    height: auto;
  }

  .pillar-face-front .pillar-img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .pillar-face-back {
    height: auto;
    padding: 0;
  }

  .pillar-panel {
    padding: 16px;
    gap: 8px;
  }

  .pillar-panel-lead,
  .pillar-panel-body,
  .pillar-panel-footer {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

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

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

  .close-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .close-row button {
    width: 100%;
    justify-content: center;
  }

  .trip-bottom {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--rail-bg);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    padding: 8px 4px 10px;
    justify-content: space-around;
    align-items: center;
  }

  .trip-bottom-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line);
  }

  .trip-bottom-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--green);
    width: 0%;
    transition: width 0.1s linear;
  }

  .odo-float-bottom {
    position: absolute;
    top: -24px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--green);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 2px 7px;
    border-radius: 8px;
    pointer-events: none;
    transition: left 0.08s linear;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  }

  .trip-bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: var(--ink-faint);
    font-family: var(--font-mono);
  }

  .trip-bottom a i {
    font-size: 16px;
  }

  .trip-bottom a.active {
    color: var(--green);
  }

  body {
    padding-bottom: 64px;
  }
}

/* ===== Interactive Streak Insights ===== */
.streak-insight-container {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, margin-top 0.3s ease;
}

.streak-insight-container.show {
  max-height: 300px;
  opacity: 1;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.insight-card {
  background: rgba(22, 34, 27, 0.4);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  transition: background-color 0.25s ease;
}

[data-theme="light"] .insight-card {
  background: rgba(233, 242, 236, 0.4);
}

.insight-card.pending-card {
  text-align: center;
  padding: 20px 14px;
}

.pending-icon {
  font-size: 28px;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.pending-card h4 {
  font-size: 14px;
  font-family: var(--font-display);
  margin-bottom: 6px;
  color: var(--ink);
}

.pending-card p {
  font-size: 11px;
  color: var(--ink-dim);
  line-height: 1.5;
}

.insight-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.insight-header-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(62, 207, 142, 0.15);
  border: 1px solid var(--green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.insight-header-text h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.insight-header-text span {
  font-size: 10px;
  color: var(--ink-dim);
  display: block;
  margin-top: 2px;
}

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

.metric-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.metric-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.metric-icon.distance-color {
  color: var(--green);
}

.metric-icon.duration-color {
  color: #3b82f6;
}

.metric-icon.idling-color {
  color: #f59e0b;
}

.metric-icon.fuel-color {
  color: var(--green);
}

[data-theme="light"] .metric-icon.fuel-color {
  color: #0d8a5b;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.metric-lbl {
  font-size: 9px;
  color: var(--ink-faint);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
  flex-shrink: 0;
}

/* Premium Insight Card */
.premium-insight-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.25s ease;
}

.premium-insight-card .insight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 8px;
}

[data-theme="dark"] .premium-insight-card .insight-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.insight-tag-lbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.insight-day-lbl {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.insight-content-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.insight-icon-chip {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.insight-text-wrapper {
  flex: 1;
}

.insight-text-wrapper .insight-text {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
  text-align: left;
  font-weight: 450;
}

.insight-text-wrapper .insight-text strong {
  color: var(--gold);
  font-weight: 600;
}

/* ===== Premium Waitlist Card ===== */
.waitlist-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 36px;
  margin: 48px auto 0;
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.waitlist-card:hover {
  border-color: rgba(62, 207, 142, 0.35);
  box-shadow: 0 12px 40px rgba(62, 207, 142, 0.08);
}

.waitlist-card form {
  width: 100%;
  max-width: 520px;
}

.waitlist-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green-dim);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 14px;
  background: rgba(62, 207, 142, 0.06);
}

.waitlist-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.2;
}

.waitlist-subtitle {
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 24px;
  line-height: 1.5;
  max-width: 480px;
}

.waitlist-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(62, 207, 142, 0.08);
  border: 1px solid var(--green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 15px rgba(62, 207, 142, 0.15);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.waitlist-form-container {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 5px;
  max-width: 520px;
  width: 100%;
  align-items: center;
  transition: border-color .15s, box-shadow .15s ease, background-color .25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
}

.waitlist-form-container:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.12), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.waitlist-form-container input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.waitlist-form-container input::placeholder {
  color: var(--ink-faint);
}

.waitlist-form-container button {
  background: var(--green);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s, transform 0.1s;
  font-size: 13px;
  flex-shrink: 0;
}

[data-theme="dark"] .waitlist-form-container button {
  color: #04241a;
}

.waitlist-form-container button:hover {
  background: var(--green-dim);
}

.waitlist-form-container button:active {
  transform: scale(0.98);
}

.waitlist-form-container button i {
  font-size: 13px;
}

@media (max-width: 500px) {
  .waitlist-card {
    padding: 24px;
  }

  .waitlist-badge {
    display: none;
  }

  .waitlist-form-container {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 10px;
    box-shadow: none;
  }

  .waitlist-form-container input {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .waitlist-form-container button {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
}

/* ===== FAQ Section ===== */
#faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#faq h2,
#faq p {
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  width: 100%;
  max-width: 800px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.faq-item[open] {
  border-color: var(--green);
}

.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-dim);
  border-bottom: 2px solid var(--ink-dim);
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
  margin-right: 4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--green);
}

.faq-content {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.65;
}

.faq-content p {
  margin: 0;
}

@media (max-width: 768px) {
  .faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
  }
  .faq-content {
    padding: 0 18px 16px;
    font-size: 13.5px;
  }
}