/* ============================================================
   WOBBLY WORLDS — Pippin Theme
   Cream · Olive green · Whimsical · Warm storybook
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Gaegu:wght@300;400;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #f7f3e9;
  --bg-alt: #faf6ed;
  --bg-warm: #f0ebe0;
  --card: #ffffff;
  --card-border: #e5dfd2;
  --green: #5a7a3a;
  --green-light: #6d8f4a;
  --green-dark: #4a6a2a;
  --green-bg: rgba(90, 122, 58, 0.08);
  --pink: #e8a0b4;
  --pink-light: #f0c0d0;
  --gold: #d4a017;
  --gold-light: #f0d060;
  --text: #3a3530;
  --text-mid: #6b635a;
  --text-light: #9a9088;
  --text-heading: #2d2a26;
  --cyan: #3a8a9a;
  --lavender: #8a6fba;
  --orange: #c47a30;
  --border: #e0dace;
  --border-light: #ebe6da;
  --font-heading: 'Gaegu', cursive;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 960px;
  --radius: 16px;
  --radius-sm: 10px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--green); color: white; }
a { color: var(--green); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; overflow: hidden; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 10000;
  height: 56px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav .container {
  display: flex; align-items: center;
  height: 100%;
  max-width: 100%;
  padding: 0 160px 0 24px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nav-logo-icon {
  font-size: 1.2rem;
}
.nav-links {
  display: flex; gap: 14px; list-style: none; white-space: nowrap;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-mobile-socials { display: none; }
.nav-links a {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s, border-color 0.3s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active {
  color: var(--green);
  font-weight: 600;
  border-bottom-color: var(--green);
}

.nav-cta { display: none; }

/* Play Wobbly Worlds button in nav */
.nav-cta-btn {
  margin-left: auto;
  margin-right: 40px;
  padding: 7px 18px;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.2s ease;
}
.nav-cta-btn:hover {
  background: var(--green-dark, #3a5a28);
  transform: translateY(-1px);
}

/* Nav social icons — same style as community section */
.nav-socials {
  display: flex; align-items: center; gap: 8px;
  margin-left: 12px;
  flex-shrink: 0;
}
.nav-social-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: #dde4ed;
  padding: 3px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-social-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.nav-social-icon svg { width: 16px; height: 16px; }
.nav-social-icon:hover {
  transform: translateY(-3px) scale(1.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: var(--bg-alt);
  padding: 140px 24px 60px;
  position: relative;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }

/* Pippin character */
.pippin-hero {
  width: 160px; height: 180px;
  margin: 0 auto 32px;
  position: relative;
  animation: pippin-bob 3s ease-in-out infinite;
}
.pippin-hero .pippin-img {
  width: 100%; height: 100%;
  object-fit: contain;
}
@keyframes pippin-bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pippin-blink {
  0%,95%,100% { transform: scaleY(1); }
  97% { transform: scaleY(0.1); }
}

/* Hide unused hero elements */
.pippin-glow, .hero-badge, .hero-typed, .hero-particles,
#star-canvas, .scroll-indicator, .btn-glow { display: none; }

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.2rem;
  color: var(--text-heading);
  margin-bottom: 16px;
  line-height: 1.1;
}
.gold-text { color: var(--text-heading); }

.hero-intro {
  font-size: 1.15rem;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.7;
}
.hero-intro strong { color: var(--green); }

.tagline {
  font-size: 0.95rem; color: var(--text-light);
  margin-bottom: 32px; line-height: 1.8;
  font-style: italic;
}

/* Social links row (inline like pippin.love) */
.hero-social-links {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-social-links a {
  color: var(--green);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-social-links a:hover { color: var(--green-dark); }

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer; border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--green);
  color: white;
}
.btn-primary:hover {
  background: var(--green-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(90,122,58,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--green); border: 2px solid var(--green);
}
.btn-secondary:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}

/* Divider */
.divider {
  width: 100%; max-width: 600px;
  height: 1px; background: var(--border);
  margin: 0 auto;
}

/* Pillar cards (3 cards after divider, like pippin.love) */
.pillar-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin: 40px auto 36px;
  max-width: 700px;
}
.pillar-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--green);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  border-radius: 12px;
  color: var(--green);
}
.pillar-icon svg {
  width: 24px;
  height: 24px;
}
.pillar-icon.vision { background: rgba(58, 138, 154, 0.1); color: var(--cyan); }
.pillar-icon.sparkle { background: rgba(212, 160, 23, 0.1); color: var(--gold); }
.pillar-icon.zap { background: rgba(232, 160, 180, 0.12); color: var(--pink); }
.pillar-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.pillar-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* Hero buttons spacing */
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

/* Hide dark theme elements */
.thought-ticker, .grain-overlay, .wave-divider { display: none; }

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-light);
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.1;
}
.section-subtitle {
  text-align: center;
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 50px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.highlight { color: var(--green); font-weight: 600; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg); }
.about-intro {
  max-width: 720px; margin: 0 auto 48px;
  text-align: center;
}
.about-lead {
  font-size: 1.1rem; line-height: 1.8;
  color: var(--text); margin-bottom: 16px;
}
.about-intro p:last-child {
  font-size: 0.95rem; line-height: 1.7;
  color: var(--text-mid);
}

/* Story-style about section */
.about-story {
  max-width: 720px;
  margin: 0 auto 60px;
}
.story-block {
  display: flex;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}
.story-block:last-child { border-bottom: none; }
.story-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  border-radius: 12px;
  color: var(--green);
}
.story-icon svg {
  width: 22px;
  height: 22px;
}
.story-icon.si-cyan { background: rgba(58, 138, 154, 0.1); color: var(--cyan); }
.story-icon.si-pink { background: rgba(232, 160, 180, 0.12); color: var(--pink); }
.story-icon.si-lavender { background: rgba(138, 111, 186, 0.1); color: var(--lavender); }
.story-icon.si-green { background: rgba(90, 122, 58, 0.1); color: var(--green); }
.story-icon.si-gold { background: rgba(212, 160, 23, 0.1); color: var(--gold); }
.story-icon.si-orange { background: rgba(196, 122, 48, 0.1); color: var(--orange); }
.story-block h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.story-block p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 8px;
}
.story-block p:last-child { margin-bottom: 0; }
.story-highlight {
  font-weight: 600;
  color: var(--green) !important;
  font-size: 1rem !important;
  padding: 12px 16px;
  background: var(--green-bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
  margin-top: 12px !important;
}
.highlight-block {
  background: rgba(90, 122, 58, 0.03);
  border: 1px solid rgba(90, 122, 58, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px !important;
  margin: 12px 0;
}

/* Feature cards - row layout */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-bg);
  border-radius: 12px;
  color: var(--green);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 6px;
}
.feature-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; }

/* Stat counters */
.stat-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 16px; text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.stat-number {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 2.4rem;
  color: var(--green); display: block; margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem; color: var(--text-light);
  line-height: 1.4;
}

/* ============================================================
   MEET PIPPIN
   ============================================================ */
.meet-pippin { background: var(--bg-alt); }
.pippin-showcase {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 50px; align-items: center;
}

.pippin-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 300px;
}
.pippin-spotlight { display: none; }

/* Larger Pippin */
.pippin-large {
  width: 200px; height: 240px;
  position: relative;
  animation: pippin-bob 3s ease-in-out infinite;
}
.pl-glow { display: none; }
.pippin-large .pippin-img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* Floating emotes around large Pippin */
.float-emote {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0;
  animation: float-up 4s ease-in-out infinite;
  pointer-events: none;
}
.float-emote.e1 { left: 20px; top: 40%; animation-delay: 0s; }
.float-emote.e2 { right: 20px; top: 30%; animation-delay: 1.5s; }
.float-emote.e3 { left: 50%; top: 20%; animation-delay: 3s; }
@keyframes float-up {
  0%,100% { opacity: 0; transform: translateY(0) scale(0.8); }
  20% { opacity: 0.6; transform: translateY(-8px) scale(1); }
  80% { opacity: 0.4; transform: translateY(-24px) scale(0.9); }
}

/* Pippin info */
.pippin-name-card {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.pippin-name-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 700; color: var(--text-heading);
}
.species-tag {
  font-weight: 400; font-size: 1rem; color: var(--text-light);
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}
.status-text {
  font-size: 0.8rem; color: var(--green);
  font-weight: 500;
}

.bio { font-size: 1rem; line-height: 1.9; margin-bottom: 24px; color: var(--text); }

.trait-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.trait-pill {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
  background: var(--green-bg);
  border: 1px solid rgba(90,122,58,0.2);
  color: var(--green);
}

.likes-grid { display: flex; gap: 40px; margin-bottom: 24px; flex-wrap: wrap; }
.likes-title {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  margin-bottom: 8px;
}
.likes-title.loves { color: var(--green); }
.likes-title.dislikes { color: #c0584f; }
.likes-list {
  list-style: none; font-size: 0.88rem;
  color: var(--text-mid); line-height: 2;
}
.likes-list li::before {
  content: ''; display: inline-block;
  width: 4px; height: 4px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.pippin-quote {
  padding: 20px 24px;
  background: var(--green-bg);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem; font-style: italic;
  color: var(--text); line-height: 1.8;
  position: relative;
}
.quote-mark {
  position: absolute; top: 4px; left: 8px;
  font-family: Georgia, serif;
  font-size: 2.5rem; color: var(--green); opacity: 0.2;
  line-height: 1;
}

/* ============================================================
   COMPANIONS (Friends & Family)
   ============================================================ */
.companions-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(90,122,58,0.1);
}
.companions-title {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  text-align: center;
}
.companions-intro {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 36px;
}
.companions-intro a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.companions-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.companion-card {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid rgba(90,122,58,0.1);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.companion-card:hover {
  border-color: rgba(90,122,58,0.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.companion-avatar {
  flex-shrink: 0;
  width: 120px; height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.companion-img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.companion-bob {
  animation: pippin-bob 3s ease-in-out infinite;
}
.companion-info { flex: 1; min-width: 0; }
.companion-name-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.companion-name-row h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-heading);
  margin: 0;
}
.companion-tag {
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--green-bg);
  color: var(--green);
}
.companion-bio {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}
.companion-traits {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.companion-trait {
  padding: 3px 12px;
  border-radius: 16px;
  font-size: 0.72rem; font-weight: 600;
}
.ct-cyan {
  background: rgba(120,180,200,0.1);
  border: 1px solid rgba(120,180,200,0.2);
  color: var(--cyan);
}
.ct-pink {
  background: rgba(200,120,140,0.1);
  border: 1px solid rgba(200,120,140,0.2);
  color: var(--pink);
}
.ct-gold {
  background: rgba(200,170,80,0.1);
  border: 1px solid rgba(200,170,80,0.2);
  color: var(--gold);
}
.companion-relation {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-mid);
  padding: 10px 14px;
  background: rgba(90,122,58,0.03);
  border-radius: 6px;
  border-left: 2px solid var(--green);
}
.relation-label {
  font-weight: 700;
  color: var(--text-heading);
}
.companion-quote {
  margin-top: 12px;
  padding: 10px 16px;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--pink);
  background: rgba(200,120,140,0.05);
  border-radius: 6px;
  border-left: 2px solid var(--pink);
}

/* ============================================================
   THE WORLD
   ============================================================ */
.world-section { background: var(--bg); }
.zone-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 900px; margin: 0 auto;
}
.zone-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.zone-color-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: var(--radius) var(--radius) 0 0;
}
.zone-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.zone-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  border-radius: 10px;
  color: var(--green);
  margin-bottom: 12px;
}
.zone-icon svg {
  width: 20px;
  height: 20px;
}
.zone-card.village .zone-icon { background: rgba(212, 160, 23, 0.1); color: var(--gold); }
.zone-card.forest .zone-icon { background: rgba(90, 122, 58, 0.1); color: var(--green); }
.zone-card.pond .zone-icon { background: rgba(92, 172, 238, 0.1); color: #5cacee; }
.zone-card.farm .zone-icon { background: rgba(212, 160, 23, 0.1); color: #d4a017; }
.zone-card.shrine .zone-icon { background: rgba(155, 124, 194, 0.1); color: #9b7cc2; }
.zone-card.tower .zone-icon { background: rgba(232, 160, 180, 0.12); color: var(--pink); }
.zone-card.library .zone-icon { background: rgba(92, 172, 238, 0.1); color: #5cacee; }
.zone-card.ranger .zone-icon { background: rgba(109, 143, 74, 0.1); color: #6d8f4a; }
.zone-card.cottage .zone-icon { background: rgba(107, 99, 90, 0.08); color: var(--text-mid); }
.zone-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 6px;
}
.zone-card p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; }

.zone-card.village .zone-color-bar { background: var(--gold); }
.zone-card.forest .zone-color-bar { background: var(--green); }
.zone-card.pond .zone-color-bar { background: #5cacee; }
.zone-card.farm .zone-color-bar { background: #d4a017; }
.zone-card.shrine .zone-color-bar { background: #9b7cc2; }
.zone-card.tower .zone-color-bar { background: var(--pink); }
.zone-card.library .zone-color-bar { background: #5cacee; }
.zone-card.ranger .zone-color-bar { background: #6d8f4a; }
.zone-card.cottage .zone-color-bar { background: #ccc; }

/* ============================================================
   ACTIVITIES
   ============================================================ */
.activities-section { background: var(--bg-alt); }
.activity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.activity-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 16px; text-align: center;
  transition: all 0.3s ease;
}
.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.activity-icon-wrap {
  width: 48px; height: 48px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--green-bg);
  font-size: 1.6rem;
}
.activity-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 6px;
}
.activity-card p { font-size: 0.82rem; color: var(--text-mid); margin-bottom: 12px; line-height: 1.5; }

.activity-stats {
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.a-stat {
  font-size: 0.65rem; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
}
.a-stat.negative { background: rgba(192,88,79,0.1); color: #c0584f; }
.a-stat.positive { background: rgba(90,122,58,0.1); color: var(--green); }

/* ============================================================
   AI BRAIN
   ============================================================ */
.brain-section { background: var(--bg); }

.brain-code {
  max-width: 600px; margin: 0 auto 50px;
  background: #2d2a26;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.code-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }
.code-title {
  font-size: 0.75rem; color: #999;
  margin-left: 8px;
}
.code-body {
  padding: 20px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 1.9;
  overflow-x: auto;
  color: #d4d0c8;
}
.code-kw { color: #e8a0b4; }
.code-var { color: #7cc2c2; }
.code-fn { color: #d4a017; }
.code-prop { color: #b4a0d4; }
.code-comment { color: #777; font-style: italic; }
.code-num { color: #d4a017; }
.code-str { color: #6d8f4a; }

/* Pipeline */
.pipeline {
  display: flex; align-items: start; justify-content: center;
  gap: 0; margin-bottom: 40px; flex-wrap: wrap;
}
.pipeline-step {
  text-align: center; width: 140px;
  padding: 20px 12px;
}
.step-num {
  font-family: var(--font-heading);
  font-size: 1rem; color: var(--text-light);
  margin-bottom: 8px; font-weight: 700;
}
.step-icon-wrap {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all 0.3s;
}
.step-icon-wrap svg { width: 24px; height: 24px; }
.step-icon-wrap.si-wrap-cyan { background: rgba(58, 138, 154, 0.08); border-color: rgba(58, 138, 154, 0.2); }
.step-icon-wrap.si-wrap-gold { background: rgba(212, 160, 23, 0.08); border-color: rgba(212, 160, 23, 0.2); }
.step-icon-wrap.si-wrap-pink { background: rgba(232, 160, 180, 0.08); border-color: rgba(232, 160, 180, 0.25); }
.step-icon-wrap.si-wrap-green { background: rgba(90, 122, 58, 0.08); border-color: rgba(90, 122, 58, 0.2); }
.step-icon-wrap.si-wrap-lavender { background: rgba(138, 111, 186, 0.08); border-color: rgba(138, 111, 186, 0.2); }
.pipeline-step:hover .step-icon-wrap {
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(90,122,58,0.1);
}
.pipeline-step h4 {
  font-family: var(--font-heading);
  font-size: 1rem; color: var(--text-heading); margin-bottom: 4px; font-weight: 700;
}
.pipeline-step p { font-size: 0.75rem; color: var(--text-mid); line-height: 1.4; }

.pipeline-connector {
  display: flex; align-items: center;
  padding-top: 50px; width: 30px;
}
.connector-line {
  width: 100%; height: 1px;
  background: var(--border);
  position: relative;
}
.connector-line::after {
  content: '';
  position: absolute; right: -3px; top: -3px;
  width: 0; height: 0;
  border-left: 5px solid var(--green);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.tech-stack {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-top: 30px;
}
.tech-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 500;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-mid);
  transition: all 0.3s;
}
.tech-pill:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}
.tp-dot {
  width: 6px; height: 6px; border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   VISION SYSTEM
   ============================================================ */
.vision-section { background: var(--bg-alt); }

.vision-step-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 50px;
}
.vision-step {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
}
.vision-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.vs-number {
  font-family: var(--font-heading);
  font-size: 2.4rem; font-weight: 700;
  color: var(--border-light);
  position: absolute; top: 16px; right: 20px;
  line-height: 1;
}
.vs-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  border-radius: 12px;
  color: var(--green);
  margin-bottom: 14px;
}
.vs-icon svg {
  width: 22px;
  height: 22px;
}
.vs-icon.vs-cyan { background: rgba(58, 138, 154, 0.1); color: var(--cyan); }
.vs-icon.vs-gold { background: rgba(212, 160, 23, 0.1); color: var(--gold); }
.vs-icon.vs-pink { background: rgba(232, 160, 180, 0.12); color: var(--pink); }
.vs-icon.vs-lavender { background: rgba(138, 111, 186, 0.1); color: var(--lavender); }
.vision-step h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 8px;
}
.vision-step p {
  font-size: 0.9rem; color: var(--text);
  line-height: 1.7; margin-bottom: 12px;
}
.vs-detail {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}
.vs-detail code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem; color: var(--green);
}

/* Vision comparison (before/after) */
.vision-comparison {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.vc-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.vc-badge {
  display: inline-block;
  padding: 4px 12px; border-radius: 4px;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 1px; margin-bottom: 12px;
}
.vc-card.old .vc-badge { background: rgba(192,88,79,0.1); color: #c0584f; }
.vc-card.new .vc-badge { background: var(--green-bg); color: var(--green); }
.vc-card.new { border-color: rgba(90,122,58,0.3); }
.vc-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 14px;
}
.vc-example {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}
.vc-input {
  font-size: 0.85rem; color: var(--text-mid);
  font-style: italic; line-height: 1.6;
}
.vc-arrow {
  text-align: center; color: var(--green);
  font-size: 1.2rem; margin: 8px 0;
  font-weight: 700;
}
.vc-output {
  font-size: 0.85rem; color: var(--green);
  font-weight: 600; line-height: 1.6;
}
.vc-note {
  font-size: 0.78rem; color: var(--text-light);
  font-style: italic;
}

/* ============================================================
   DECISION MAKING
   ============================================================ */
.decision-section { background: var(--bg); }

.decision-layers {
  max-width: 780px; margin: 0 auto 40px;
}
.dl-layer {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.dl-header {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.dl-badge {
  padding: 4px 12px; border-radius: 4px;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 1px;
  background: var(--green-bg); color: var(--green);
}
.dl-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-heading); flex: 1;
}
.dl-timing {
  font-size: 0.78rem; color: var(--text-light);
  font-style: italic;
}
.dl-body { padding: 24px; }
.dl-body > p {
  font-size: 0.92rem; color: var(--text);
  line-height: 1.7; margin-bottom: 16px;
}
.dl-inputs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.dl-input {
  padding: 5px 12px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 500;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-mid);
}
.dl-output {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.dl-output-label {
  font-size: 0.75rem; color: var(--text-light);
  margin-bottom: 8px; font-weight: 600;
}
.dl-json code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem; color: var(--green);
  line-height: 1.8;
}
.dl-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
.dl-action {
  padding: 6px 14px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 600;
  background: var(--card); border: 1px solid var(--card-border);
  color: var(--text-heading);
  font-family: 'SF Mono', 'Fira Code', monospace;
  transition: all 0.3s;
}
.dl-action:hover { border-color: var(--green); color: var(--green); }
.dl-note {
  font-size: 0.82rem; color: var(--text-mid);
  font-style: italic; line-height: 1.6;
}

/* Decision connector */
.dl-connector {
  display: flex; flex-direction: column;
  align-items: center; padding: 16px 0;
}
.dl-connector-line {
  width: 1px; height: 24px;
  background: var(--green);
}
.dl-connector-label {
  font-size: 0.75rem; color: var(--text-light);
  font-style: italic; margin-top: 4px;
}

/* Decision extras */
.decision-extras {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.de-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px; text-align: center;
  transition: all 0.3s ease;
}
.de-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.de-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  border-radius: 12px;
  color: var(--green);
  margin: 0 auto 12px;
}
.de-icon svg {
  width: 22px;
  height: 22px;
}
.de-icon.de-cyan { background: rgba(58, 138, 154, 0.1); color: var(--cyan); }
.de-icon.de-gold { background: rgba(212, 160, 23, 0.1); color: var(--gold); }
.de-icon.de-green { background: rgba(90, 122, 58, 0.1); color: var(--green); }
.de-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 6px;
}
.de-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }

/* ============================================================
   STATS & PERSONALITY
   ============================================================ */
.stats-section { background: var(--bg-alt); }

.stats-deep {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 50px;
}
.sd-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; gap: 16px; align-items: start;
  transition: all 0.3s ease;
}
.sd-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.sd-icon { font-size: 1.8rem; flex-shrink: 0; }
.sd-info { flex: 1; }
.sd-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 6px;
}
.sd-range {
  font-weight: 400; font-size: 0.8rem;
  color: var(--text-light);
}
.sd-info p {
  font-size: 0.85rem; color: var(--text-mid);
  line-height: 1.7; margin-bottom: 12px;
}
.sd-bar {
  width: 100%; height: 6px;
  background: var(--bg-alt);
  border-radius: 3px; overflow: hidden;
}
.sd-fill {
  height: 100%; border-radius: 3px;
  transition: width 1.5s ease;
}
.sd-fill.energy { background: var(--green); }
.sd-fill.happiness { background: var(--gold); }
.sd-fill.curiosity { background: #5cacee; }
.sd-fill.xp { background: #9b7cc2; }

/* Stats influence section */
.stats-influence {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
}
.stats-influence h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 8px;
  text-align: center;
}
.stats-influence > p {
  font-size: 0.92rem; color: var(--text-mid);
  text-align: center; margin-bottom: 24px;
  line-height: 1.7;
}
.si-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.si-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}
.si-condition {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.78rem; font-weight: 600;
  color: var(--green);
  white-space: nowrap; min-width: 110px;
}
.si-arrow { color: var(--text-light); font-size: 0.9rem; }
.si-result {
  font-size: 0.82rem; color: var(--text);
  line-height: 1.5;
}

/* ============================================================
   MEMORY SYSTEM
   ============================================================ */
.memory-section { background: var(--bg); }

.memory-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 40px;
}
.mf-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.mf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.mf-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  border-radius: 12px;
  color: var(--green);
  margin-bottom: 14px;
}
.mf-icon svg {
  width: 22px;
  height: 22px;
}
.mf-icon.mf-cyan { background: rgba(58, 138, 154, 0.1); color: var(--cyan); }
.mf-icon.mf-gold { background: rgba(212, 160, 23, 0.1); color: var(--gold); }
.mf-icon.mf-lavender { background: rgba(138, 111, 186, 0.1); color: var(--lavender); }
.mf-icon.mf-pink { background: rgba(232, 160, 180, 0.12); color: var(--pink); }
.mf-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 8px;
}
.mf-card p {
  font-size: 0.88rem; color: var(--text-mid);
  line-height: 1.7;
}

/* Memory flow */
.memory-flow {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px; margin-bottom: 30px;
}
.memory-flow h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-heading); text-align: center;
  margin-bottom: 24px;
}
.mf-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.mf-pipe-step {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border-light);
}
.mf-pipe-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.mf-pipe-step h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.mf-pipe-step p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* Memory example */
.memory-example {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.me-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.me-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  border-radius: 10px;
  color: var(--green);
  flex-shrink: 0;
}
.me-icon svg {
  width: 18px;
  height: 18px;
}
.me-header h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-heading);
}
.me-timeline { display: flex; flex-direction: column; gap: 0; }
.me-entry {
  display: flex; gap: 16px; align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.me-entry:last-child { border-bottom: none; }
.me-time {
  font-size: 0.75rem; font-weight: 600;
  color: var(--green); white-space: nowrap;
  min-width: 100px; padding-top: 2px;
}
.me-text {
  font-size: 0.88rem; color: var(--text);
  line-height: 1.6;
}
.me-text em { color: var(--green); font-style: italic; }

/* ============================================================
   FRAMEWORK
   ============================================================ */
.framework-section { background: var(--bg-alt); }
.framework-story {
  display: flex; flex-direction: column;
  gap: 0; margin-bottom: 48px;
}
.fw-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.fw-card.evolved {
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(90,122,58,0.08);
}
.fw-badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 12px;
}
.fw-badge.original { background: rgba(192,88,79,0.1); color: #c0584f; }
.fw-badge.new { background: rgba(90,122,58,0.12); color: var(--green); }
.fw-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 12px;
}
.fw-card p {
  font-size: 0.92rem; color: var(--text);
  line-height: 1.7; margin-bottom: 16px;
}
.fw-card a { color: var(--green); font-weight: 600; }
.fw-card a:hover { text-decoration: underline; }
.fw-features {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
.fw-feat {
  font-size: 0.78rem; font-weight: 600;
  padding: 5px 14px; border-radius: 20px;
  background: var(--bg-alt);
  color: var(--text-mid); border: 1px solid var(--border-light);
}
.fw-feat.highlight {
  background: rgba(90,122,58,0.08);
  color: var(--green); border-color: rgba(90,122,58,0.2);
}
.fw-limitation {
  font-style: italic; color: var(--text-mid);
  border-left: 3px solid #c0584f; padding-left: 16px;
  margin-top: 8px; margin-bottom: 0;
}
.fw-arrow-wrap {
  display: flex; justify-content: center;
  padding: 16px 0;
}
.fw-arrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 700;
  color: var(--green); text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fw-arrow::before, .fw-arrow::after {
  content: ''; width: 40px; height: 2px;
  background: var(--green); opacity: 0.3;
}
.fw-loop {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
}
.fw-loop h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 8px;
}
.fw-loop > p {
  font-size: 0.9rem; color: var(--text-mid);
  margin-bottom: 24px;
}
.fw-loop-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fw-step {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border-light);
}
.fw-step-num {
  width: 32px; height: 32px;
  border-radius: 50%; background: var(--green);
  color: white; font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.fw-step-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 6px;
}
.fw-step-info p {
  font-size: 0.8rem; color: var(--text-mid);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .fw-loop-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .fw-loop-steps { grid-template-columns: 1fr; }
  .fw-card { padding: 24px 18px; }
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-section { background: var(--bg-alt); }
.dashboard-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 40px;
}
.dash-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
}
.dash-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.dash-card.wide { grid-column: 1 / -1; }
.dash-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.dash-card-header h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700; color: var(--text-heading);
}
.live-dot {
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.live-dot::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Gauges */
.gauge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gauge-item { text-align: center; }
.gauge-item svg { width: 80px; height: 80px; margin: 0 auto; }
.gauge-bg { fill: none; stroke: var(--border-light); stroke-width: 6; }
.gauge-fill {
  fill: none; stroke-width: 6; stroke-linecap: round;
  transform: rotate(-90deg); transform-origin: center;
  transition: stroke-dashoffset 1.5s ease;
}
.gauge-fill.energy { stroke: var(--green); }
.gauge-fill.happiness { stroke: var(--gold); }
.gauge-fill.curiosity { stroke: #5cacee; }
.gauge-fill.xp { stroke: #9b7cc2; }
.gauge-value {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.2rem;
  color: var(--text-heading); margin-top: 4px;
}
.gauge-label { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }

/* Activity log */
.activity-log { display: flex; flex-direction: column; gap: 8px; }
.log-entry {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}
.log-entry:hover { background: var(--bg-warm); }
.log-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.log-time {
  font-size: 0.75rem; color: var(--text-light);
  white-space: nowrap; min-width: 50px;
}
.log-text { font-size: 0.85rem; color: var(--text); }

/* Thought display */
.thought-display {
  display: flex; align-items: start; gap: 16px;
}
.thought-avatar {
  width: 40px; height: 48px; flex-shrink: 0;
  position: relative;
}
.ta-body {
  width: 30px; height: 34px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 50% 50% 45% 45%;
  position: absolute; top: 10px; left: 5px;
}
.ta-horn {
  width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-bottom: 14px solid var(--gold-light);
  position: absolute; top: 0; left: 15px;
}
.thought-bubble {
  flex: 1;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border: 1px solid var(--border-light);
}
.thought-bubble p {
  font-size: 0.92rem; font-style: italic;
  color: var(--text-mid); line-height: 1.7;
}

/* World Info */
.world-info { display: flex; flex-direction: column; gap: 6px; }
.world-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  transition: background 0.3s;
}
.world-row:hover { background: var(--bg-warm); }
.world-label {
  font-size: 0.8rem; color: var(--text-light);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.world-val {
  font-size: 0.9rem; color: var(--text-heading);
  font-weight: 600;
}

/* Live Screenshot */
.screenshot-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.screenshot-placeholder {
  text-align: center; padding: 32px 20px;
  color: var(--text-light);
}
.sp-icon { font-size: 2.5rem; margin-bottom: 8px; }
.screenshot-placeholder p { font-size: 0.85rem; }
.live-screenshot {
  width: 100%; height: auto;
  border-radius: var(--radius-sm);
  image-rendering: pixelated;
}

/* Uptime bar */
.uptime-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-top: 20px;
  font-size: 0.85rem;
}
.uptime-label { color: var(--text-light); }
.uptime-val { color: var(--text-heading); font-weight: 600; }
.uptime-sep { color: var(--border-light); }

/* API Explainer (kept for legacy) */
.api-explainer {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.cs-badge {
  display: inline-block;
  padding: 6px 20px; border-radius: 20px;
  font-size: 0.7rem; letter-spacing: 2px; font-weight: 600;
  background: var(--green-bg);
  border: 1px solid rgba(90,122,58,0.2);
  color: var(--green);
  margin-bottom: 16px;
}
.api-explainer h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.api-lead {
  color: var(--text-mid); font-size: 0.95rem;
  margin-bottom: 24px;
}
.api-features {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 520px; margin: 0 auto;
  text-align: left;
}
.api-feature {
  display: flex; align-items: start; gap: 12px;
  font-size: 0.88rem; color: var(--text);
  line-height: 1.5;
}
.api-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ============================================================
   COMMUNITY
   ============================================================ */
.community-section { background: var(--bg); }
.social-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 800px; margin: 0 auto;
}
.social-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 16px; text-align: center;
  transition: all 0.3s ease;
  display: block;
}
.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.social-icon-wrap {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  transition: all 0.3s;
}
.social-icon-wrap svg { width: 22px; height: 22px; }
.social-icon-wrap.twitter { background: rgba(29,161,242,0.1); color: #1da1f2; }
.social-icon-wrap.github { background: rgba(51,51,51,0.08); color: #333; }
.social-icon-wrap.website { background: var(--green-bg); color: var(--green); }
.social-icon-wrap.pump { background: rgba(90,122,58,0.08); color: var(--green); }
.social-icon-wrap.telegram { background: rgba(0,136,204,0.08); color: #0088cc; }
.social-icon-wrap.discord { background: rgba(88,101,242,0.08); color: #5865F2; }
.social-card:hover .social-icon-wrap { transform: scale(1.05); }
.social-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 4px;
}
.social-card p { font-size: 0.78rem; color: var(--text-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}
.footer-simple {
  text-align: center;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem; color: var(--green);
  font-weight: 700; margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.88rem; color: var(--text-mid);
  font-style: italic; margin-bottom: 16px;
}
.copyright { font-size: 0.75rem; color: var(--text-light); opacity: 0.6; }

/* ============================================================
   CA BUTTON
   ============================================================ */
.ca-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 28px;
  transition: all 0.3s ease;
  position: relative;
  min-width: 420px;
  justify-content: center;
}
.ca-button:hover {
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(90,122,58,0.1);
}
.ca-label {
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}
.ca-value {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  color: var(--text-mid);
  letter-spacing: 0.02em;
}
.ca-copy-icon {
  width: 14px;
  height: 14px;
  color: var(--text-light);
  flex-shrink: 0;
  transition: color 0.3s;
}
.ca-button:hover .ca-copy-icon { color: var(--green); }
.ca-copied {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.ca-copied.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Floating Pippin companion */
.floating-pippin {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 52px; height: 60px;
  z-index: 9000;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: pippin-bob 3s ease-in-out infinite;
  display: none;
}
.floating-pippin.show { display: block; }
.floating-pippin:hover { transform: scale(1.15); }

.fp-img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.fp-thought {
  position: absolute;
  bottom: 100%; right: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.75rem;
  color: var(--text-mid);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s ease;
  pointer-events: none;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.fp-thought.show {
  opacity: 1; transform: translateY(0);
}

/* ============================================================
   HOVER ANIMATIONS & INTERACTIONS
   ============================================================ */

/* --- Buttons pop out --- */
.btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 20px rgba(90,122,58,0.35);
}
.btn-secondary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 16px rgba(90,122,58,0.15);
}

/* --- Pillar cards pop --- */
.pillar-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pillar-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.pillar-card:hover .pillar-icon {
  transform: scale(1.15) rotate(-4deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pillar-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Feature cards pop --- */
.feature-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.feature-card:hover .feature-icon {
  transform: scale(1.15);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-icon {
  transition: transform 0.3s ease;
}

/* --- Stat cards pop --- */
.stat-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stat-card:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.stat-card:hover .stat-number {
  transform: scale(1.1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stat-number {
  transition: transform 0.3s ease;
}

/* --- Zone cards pop --- */
.zone-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.zone-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.zone-card:hover .zone-icon {
  transform: scale(1.18) rotate(-6deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.zone-icon {
  transition: transform 0.35s ease;
}
.zone-card:hover .zone-color-bar {
  height: 5px;
  transition: height 0.3s ease;
}
.zone-color-bar {
  transition: height 0.3s ease;
}

/* --- Pipeline step icons pop --- */
.step-icon-wrap {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pipeline-step:hover .step-icon-wrap {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* --- Tech pills pop --- */
.tech-pill {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tech-pill:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* --- Trait pills pop --- */
.trait-pill {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}
.trait-pill:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 12px rgba(90,122,58,0.15);
}

/* --- Framework features pop --- */
.fw-feat {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fw-feat:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

/* --- Framework cards pop --- */
.fw-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* --- Framework loop steps pop --- */
.fw-step {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fw-step:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* --- Vision step cards pop --- */
.vision-step {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vision-step:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.vision-step:hover .vs-icon {
  transform: scale(1.15);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vs-icon {
  transition: transform 0.3s ease;
}

/* --- Vision comparison cards pop --- */
.vc-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* --- Decision layer cards pop --- */
.dl-layer {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dl-layer:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* --- Decision action pills pop --- */
.dl-action {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dl-action:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 12px rgba(90,122,58,0.12);
}

/* --- Decision extras cards pop --- */
.de-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.de-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.de-card:hover .de-icon {
  transform: scale(1.15) rotate(-4deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.de-icon {
  transition: transform 0.35s ease;
}

/* --- Memory feature cards pop --- */
.mf-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mf-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.mf-card:hover .mf-icon {
  transform: scale(1.15) rotate(-4deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mf-icon {
  transition: transform 0.35s ease;
}

/* --- Memory pipeline steps pop --- */
.mf-pipe-step {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mf-pipe-step:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* --- Memory example + flow cards pop --- */
.memory-flow {
  transition: all 0.35s ease;
}
.memory-flow:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.memory-example {
  transition: all 0.35s ease;
}
.memory-example:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* --- Dashboard cards pop --- */
.dash-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dash-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* --- Log entries pop --- */
.log-entry {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.log-entry:hover {
  transform: translateX(4px);
  background: var(--bg-warm);
}

/* --- API explainer pop --- */
.api-explainer {
  transition: all 0.35s ease;
}
.api-explainer:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* --- CA button pop --- */
.ca-button {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ca-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(90,122,58,0.15);
}
.ca-button:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

/* --- Nav social icons pop --- */
.nav-social-icon {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-social-icon:hover {
  transform: translateY(-3px) scale(1.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* --- Story block hover glow --- */
.story-block {
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
  padding-left: 8px;
  padding-right: 8px;
}
.story-block:hover {
  background: rgba(90,122,58,0.02);
}
.story-block:hover .story-icon {
  transform: scale(1.12) rotate(-4deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.story-icon {
  transition: transform 0.35s ease;
}

/* --- Brain code block hover --- */
.brain-code {
  transition: all 0.35s ease;
}
.brain-code:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

/* --- DL input/action hover glow --- */
.dl-input {
  transition: all 0.25s ease;
}
.dl-input:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(90,122,58,0.05);
}

/* --- Floating Pippin bounce on hover --- */
.floating-pippin:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pillar-cards { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .pippin-showcase { grid-template-columns: 1fr; text-align: center; }
  .pippin-stage { min-height: 260px; }
  .trait-pills { justify-content: center; }
  .likes-grid { justify-content: center; }
  .companion-card { flex-direction: column; text-align: center; align-items: center; }
  .companion-name-row { justify-content: center; }
  .companion-traits { justify-content: center; }
  .companion-relation { text-align: left; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-connector { width: 20px; }
  .pipeline-step { width: 110px; padding: 14px 8px; }
  .stat-counters { grid-template-columns: repeat(2, 1fr); }
  .vision-step-grid { grid-template-columns: 1fr 1fr; }
  .vision-comparison { grid-template-columns: 1fr 1fr; }
  .decision-extras { grid-template-columns: repeat(3, 1fr); }
  .stats-deep { grid-template-columns: 1fr 1fr; }
  .si-grid { grid-template-columns: 1fr; }
  .memory-features { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.6rem; }
  .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .nav-links, .nav-cta, .nav-socials, .nav-cta-btn { display: none; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile-socials { display: flex; gap: 12px; justify-content: center; padding-top: 8px; border-top: 1px solid var(--border-light); }
  .nav-toggle { display: flex; }
  .hero { padding: 120px 20px 60px; min-height: 80vh; }
  .hero h1 { font-size: 2.2rem; }
  .tagline { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .pillar-cards { grid-template-columns: 1fr; max-width: 300px; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .story-block { gap: 14px; }
  .story-icon { width: 40px; height: 40px; }
  .story-icon svg { width: 20px; height: 20px; }
  .highlight-block { padding: 20px 16px !important; }
  .stat-counters { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .zone-grid { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: 1fr 1fr; }
  .pipeline { flex-direction: column; align-items: center; }
  .pipeline-connector { width: auto; height: 20px; padding: 0; }
  .connector-line { width: 1px; height: 100%; }
  .connector-line::after {
    right: auto; top: auto; bottom: -3px; left: -3px;
    border-left: 3px solid transparent; border-right: 3px solid transparent;
    border-top: 5px solid var(--green); border-bottom: none;
  }
  .pipeline-step { width: 100%; max-width: 240px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .gauge-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.8rem; }
  .vision-step-grid { grid-template-columns: 1fr; }
  .vision-comparison { grid-template-columns: 1fr; }
  .decision-extras { grid-template-columns: 1fr; }
  .stats-deep { grid-template-columns: 1fr; }
  .si-grid { grid-template-columns: 1fr; }
  .si-item { flex-wrap: wrap; }
  .si-condition { min-width: auto; }
  .memory-features { grid-template-columns: 1fr; }
  .mf-pipeline { grid-template-columns: repeat(3, 1fr); }
  .me-entry { flex-direction: column; gap: 4px; }
  .me-time { min-width: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .floating-pippin { bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .ca-button { min-width: 0; width: 100%; max-width: 360px; padding: 10px 14px; }
  .ca-value { font-size: 0.72rem; }
  .hero h1 { font-size: 1.8rem; }
  .feature-row { grid-template-columns: 1fr; }
  .story-block { flex-direction: column; gap: 8px; }
  .story-icon { width: 40px; height: 40px; }
  .mf-pipeline { grid-template-columns: 1fr 1fr; }
  .activity-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .stat-counters { grid-template-columns: 1fr 1fr; }
  .gauge-grid { grid-template-columns: 1fr 1fr; }
  .api-explainer { padding: 24px 16px; }
  .pippin-hero { width: 120px; height: 140px; }
}
