:root {
  --bg: #0a0e17;
  --bg-surface: #111827;
  --bg-card: #1a2235;
  --bg-card-hover: #1f2a40;
  --fg: #e8ecf4;
  --fg-muted: #8b95a8;
  --fg-dim: #5a6478;
  --green: #34d399;
  --green-glow: rgba(52, 211, 153, 0.15);
  --amber: #fbbf24;
  --amber-glow: rgba(251, 191, 36, 0.15);
  --red: #f87171;
  --red-glow: rgba(248, 113, 113, 0.15);
  --blue: #60a5fa;
  --purple: #a78bfa;
  --accent: #34d399;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green);
  background: var(--green-glow);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--fg);
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 480px;
}

.hero-detail {
  font-size: 0.9rem;
  color: var(--fg-dim);
  font-style: italic;
}

/* Pet Display */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pet-display {
  position: relative;
}

.pet-screen {
  background: var(--bg-card);
  border: 2px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius);
  padding: 24px 32px 20px;
  width: 260px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.pet-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.pet-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.vp-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
}

.vp-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.vp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--amber));
  border-radius: 3px;
  transition: width 0.5s ease;
}

.vp-value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}

.pet-character {
  margin: 20px auto;
  position: relative;
}

.pet-body {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--green), #2dd4a8);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  margin: 0 auto;
  position: relative;
  animation: petBounce 2s ease-in-out infinite;
}

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

.pet-eye {
  width: 10px;
  height: 12px;
  background: var(--bg);
  border-radius: 50%;
  position: absolute;
  top: 28px;
}

.pet-eye.left { left: 22px; }
.pet-eye.right { right: 22px; }

.pet-mouth {
  width: 16px;
  height: 8px;
  border-bottom: 3px solid var(--bg);
  border-radius: 0 0 50% 50%;
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
}

.pet-cheek {
  width: 12px;
  height: 6px;
  background: rgba(251, 191, 36, 0.4);
  border-radius: 50%;
  position: absolute;
  top: 42px;
}

.pet-cheek.left { left: 10px; }
.pet-cheek.right { right: 10px; }

.pet-shadow {
  width: 50px;
  height: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  margin: 12px auto 0;
  animation: shadowPulse 2s ease-in-out infinite;
}

@keyframes shadowPulse {
  0%, 100% { transform: scaleX(1); opacity: 0.3; }
  50% { transform: scaleX(0.8); opacity: 0.15; }
}

.pet-mood {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-top: 16px;
  letter-spacing: 1px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 32px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-dim);
  max-width: 180px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
}

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 24px;
  position: relative;
}

.problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--amber);
  margin-bottom: 16px;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 48px;
}

.muted { color: var(--fg-muted); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.3s ease;
}

.problem-card:hover {
  border-color: rgba(251, 191, 36, 0.2);
}

.problem-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 24px;
  background: var(--bg-surface);
  position: relative;
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.how-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.states-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.state-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.state-card:hover {
  transform: translateY(-4px);
}

.thriving-card:hover { border-color: rgba(52, 211, 153, 0.3); }
.stiffening-card:hover { border-color: rgba(251, 191, 36, 0.3); }
.at-risk-card:hover { border-color: rgba(248, 113, 113, 0.3); }

.state-pet {
  margin-bottom: 16px;
}

.mini-pet {
  width: 56px;
  height: 56px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  margin: 0 auto;
  position: relative;
}

.thriving-pet { background: linear-gradient(135deg, var(--green), #2dd4a8); animation: petBounce 2s ease-in-out infinite; }
.stiffening-pet { background: linear-gradient(135deg, var(--amber), #f59e0b); animation: petBounce 3s ease-in-out infinite; }
.at-risk-pet { background: linear-gradient(135deg, var(--red), #ef4444); }

.mp-eye {
  width: 7px;
  height: 9px;
  background: var(--bg);
  border-radius: 50%;
  position: absolute;
  top: 20px;
}

.mp-eye.left { left: 16px; }
.mp-eye.right { right: 16px; }
.mp-eye.sleepy { height: 3px; top: 23px; border-radius: 2px; }

.mp-mouth {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.mp-mouth.smile {
  width: 12px;
  height: 6px;
  border-bottom: 2px solid var(--bg);
  border-radius: 0 0 50% 50%;
}

.mp-mouth.neutral {
  width: 10px;
  height: 2px;
  background: var(--bg);
  border-radius: 1px;
}

.mp-mouth.frown {
  width: 12px;
  height: 6px;
  border-top: 2px solid var(--bg);
  border-radius: 50% 50% 0 0;
}

.state-vp {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.state-vp span {
  font-size: 0.75rem;
  color: var(--fg-dim);
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
}

.state-vp-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.state-vp-fill {
  height: 100%;
  border-radius: 2px;
}

.state-vp-fill.high { width: 90%; background: var(--green); }
.state-vp-fill.medium { width: 60%; background: var(--amber); }
.state-vp-fill.low { width: 25%; background: var(--red); }

.state-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.thriving-card h3 { color: var(--green); }
.stiffening-card h3 { color: var(--amber); }
.at-risk-card h3 { color: var(--red); }

.state-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.decay-rules {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rule-icon {
  font-size: 10px;
  width: 24px;
  text-align: center;
}

.rule-icon.down { color: var(--red); }
.rule-icon.up { color: var(--green); }

.rule-text {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.rule-text strong {
  color: var(--fg);
}

/* ===== B2B ===== */
.b2b {
  padding: 100px 24px;
  position: relative;
}

.b2b-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.b2b h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.b2b-content > p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.b2b-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.b2b-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--fg);
}

.feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feat-dot.green { background: var(--green); }
.feat-dot.amber { background: var(--amber); }
.feat-dot.blue { background: var(--blue); }
.feat-dot.purple { background: var(--purple); }

/* Heatmap Mock */
.heatmap-mock {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
}

.heatmap-header {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg-dim);
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.heatmap-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.dept-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dept-name {
  font-size: 0.82rem;
  color: var(--fg-muted);
  width: 90px;
  flex-shrink: 0;
}

.dept-bar {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
}

.dept-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.dept-score {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg);
  width: 30px;
  text-align: right;
}

.heatmap-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.roi-label {
  font-size: 0.78rem;
  color: var(--fg-dim);
}

.roi-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-text {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.5px;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-left: 12px;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-dot { color: var(--fg-dim); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-divider { width: 40px; height: 1px; }
  .problem-grid { grid-template-columns: 1fr; }
  .states-display { grid-template-columns: 1fr; }
  .b2b-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .problem, .how-it-works, .b2b { padding: 60px 20px; }
  .closing { padding: 80px 20px; }
}