/* ==========================================================================
   松小果官网 — 基础 + 设计 Token
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "SF Pro Rounded",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               "Helvetica Neue", sans-serif;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 宋体——仅用于 hero 和 section-title 这种大号标题 */
.serif {
  font-family: "Noto Serif SC", "Source Han Serif SC", "思源宋体 SC",
               "Songti SC", STSong, serif;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

:root {
  /* Brand */
  --orange:          #E8732A;
  --orange-light:    #F29050;
  --orange-soft:     #FFE4CF;
  --green:           #5B8C3E;
  --green-light:     #7EB055;
  --green-soft:      #E0EFD0;
  --gold:            #D4A843;
  --gold-light:      #E8C968;
  --gold-soft:       #FBF0CF;

  /* Neutrals (warm) */
  --bg:              #FFFAF5;  /* 暖奶油 */
  --bg-2:            #FDF5EC;
  --bg-card:         #FFFFFF;
  --bg-card-hover:   #FFF7EE;
  --text-1:          #3D2B1F;  /* 深咖标题 */
  --text-2:          #6B513D;  /* 中咖正文 */
  --text-3:          #9A8271;  /* 浅咖辅助 */
  --border:          rgba(61, 43, 31, 0.08);
  --border-hover:    rgba(61, 43, 31, 0.16);
  --shadow-sm:       0 1px 3px rgba(61, 43, 31, 0.04), 0 1px 2px rgba(61, 43, 31, 0.06);
  --shadow-md:       0 8px 24px rgba(61, 43, 31, 0.06), 0 2px 6px rgba(61, 43, 31, 0.04);
  --shadow-lg:       0 20px 50px rgba(232, 115, 42, 0.10), 0 8px 20px rgba(61, 43, 31, 0.06);
  --shadow-glow:     0 16px 40px rgba(232, 115, 42, 0.18);

  /* Motion */
  --ease-out:        cubic-bezier(.16, 1, .3, 1);
  --ease-spring:     cubic-bezier(.34, 1.56, .64, 1);
}

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-0 { transition-delay: 0s; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ==========================================================================
   CONTAINERS & HELPERS
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

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

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.section-intro {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-2);
  max-width: 640px;
  margin: 0 0 56px;
  line-height: 1.75;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 40px);
  background: transparent;
  transition: all .35s var(--ease-out);
  color: #FFF5E6;
}
.navbar.scrolled {
  background: rgba(255, 250, 245, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 12px clamp(20px, 4vw, 40px);
  color: var(--text-1);
}
.navbar.scrolled .nav-brand { color: var(--text-1); }
.navbar.scrolled .nav-link { color: var(--text-2); }
.navbar.scrolled .nav-cta { background: var(--text-1); color: var(--bg); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: inherit;
  transition: color .3s;
}
.nav-logo { width: 36px; height: 36px; border-radius: 10px; }
.nav-name { letter-spacing: .02em; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 245, 230, 0.7);
  transition: color .2s;
  position: relative;
}
.nav-link:hover { color: #FFF5E6; }
.navbar.scrolled .nav-link:hover { color: var(--orange); }
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s var(--ease-out);
}
.nav-link:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(255, 245, 230, 0.12);
  color: #FFF5E6;
  border: 1px solid rgba(255, 245, 230, 0.2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  transition: all .25s var(--ease-spring);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   HERO — 电影感深色 + 宋体大标题
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;                 /* 老浏览器 fallback */
  min-height: 100svh;                /* 移动端真实可见高度 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(100px, 13vh, 150px) 24px clamp(80px, 10vh, 120px);
  overflow: hidden;
  background: #0d0906;  /* 极深底色——视频加载前的 fallback */
}

/* 图片 fallback 层（视频加载前显示，放最底） */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/hero-cinematic.jpg') center/cover no-repeat;
  transform: scale(1.04);
  animation: bgKenBurns 20s ease-in-out infinite alternate;
}

/* 视频层（覆盖在 fallback 上） */
.hero-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0d0906;
}
@keyframes bgKenBurns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.10) translate(-1%, -1%); }
}

/* 电影感深色 overlay：顶暗底暗中间透 + 暖橘 vignette */
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(232,115,42,.18) 0%, transparent 65%),
    linear-gradient(180deg, rgba(13,9,6,.60) 0%, rgba(13,9,6,.35) 35%, rgba(13,9,6,.55) 70%, rgba(13,9,6,.96) 100%);
}

.hero-canvas {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,115,42,.22) 0%, rgba(212,168,67,.08) 40%, transparent 70%);
  z-index: 3;
  animation: glowPulse 7s ease-in-out infinite;
  pointer-events: none;
  filter: blur(20px);
}
@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1040px;
}

/* 顶部状态徽章 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 245, 230, 0.08);
  border: 1px solid rgba(255, 245, 230, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 245, 230, 0.85);
  letter-spacing: .08em;
  margin-bottom: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange-light);
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,144,80,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(242,144,80,0); }
}

/* 主标题——宋体、巨大、白色 + 金色渐变 */
.hero-title {
  font-family: "Noto Serif SC", "Source Han Serif SC", "思源宋体 SC",
               "Songti SC", STSong, serif;
  font-size: clamp(56px, 9.5vw, 128px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .02em;
  margin: 0 0 32px;
  color: #FFF5E6;
  text-shadow: 0 4px 30px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.5);
}
.hero-title .t1 {
  display: inline-block;
  color: #FFF5E6;
}
.hero-title .t2 {
  display: inline-block;
  background: linear-gradient(135deg,
    #FBF0CF 0%,
    #E8C968 30%,
    #D4A843 60%,
    #E8732A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 6px 30px rgba(232,115,42,.35));
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 19px);
  color: rgba(255, 245, 230, 0.72);
  margin: 0 auto 44px;
  max-width: 600px;
  line-height: 1.8;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

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

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all .25s var(--ease-spring);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: white;
  box-shadow: 0 12px 40px rgba(232,115,42,.38), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 50px rgba(232,115,42,.5), inset 0 1px 0 rgba(255,255,255,.3);
}

/* Hero 里的 ghost：玻璃风、白字 */
.hero .btn-ghost {
  background: rgba(255, 245, 230, 0.08);
  color: #FFF5E6;
  border: 1px solid rgba(255, 245, 230, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero .btn-ghost:hover {
  background: rgba(255, 245, 230, 0.14);
  border-color: rgba(255, 245, 230, 0.35);
  color: white;
  transform: translateY(-2px);
}

/* 其他区域的 ghost：浅底深字 */
.btn-ghost {
  background: rgba(255,255,255,.7);
  color: var(--text-1);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: white;
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-large { padding: 16px 30px; font-size: 16px; }

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  color: rgba(255, 245, 230, 0.55);
  animation: scrollHint 2.2s ease-in-out infinite;
  z-index: 4;
}
.hero-scroll-hint .arrow { font-size: 14px; letter-spacing: normal; }
@keyframes scrollHint {
  0%, 100% { opacity: .4; transform: translateX(-50%) translateY(0); }
  50%      { opacity: .9; transform: translateX(-50%) translateY(6px); }
}

/* ==========================================================================
   SECTIONS — SHARED
   ========================================================================== */

section {
  position: relative;
  padding: clamp(80px, 12vh, 140px) 0;
}

/* ==========================================================================
   PHILOSOPHY
   ========================================================================== */

.philosophy {
  position: relative;
  background: var(--bg);
  text-align: center;
  padding-top: clamp(160px, 20vh, 220px);
}
/* 顶部过渡带——在下一节"内部"完成深色到奶油色的渐变 */
.philosophy::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: clamp(120px, 16vh, 180px);
  background: linear-gradient(180deg,
    #0d0906 0%,
    rgba(40, 30, 22, 0.85) 35%,
    rgba(140, 110, 80, 0.45) 65%,
    rgba(253, 245, 236, 0.85) 88%,
    var(--bg) 100%);
  pointer-events: none;
}

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

.metaphor-card {
  position: relative;
  padding: 48px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all .4s var(--ease-out);
  overflow: hidden;
}
.metaphor-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.metaphor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-soft);
}
.metaphor-card:hover::before { opacity: 1; }

.metaphor-emoji {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform .4s var(--ease-spring);
}
.metaphor-card:hover .metaphor-emoji { transform: scale(1.15) rotate(-6deg); }

.metaphor-jp {
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.metaphor-card h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text-1);
}
.metaphor-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin: 0 0 16px;
}
.metaphor-desc {
  font-size: 15px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.7;
}

/* ==========================================================================
   FEATURES
   ========================================================================== */

.features { background: var(--bg); }
.features .section-title { text-align: left; }
.features .section-label { margin-top: 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  grid-column: span 3;
  position: relative;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: all .4s var(--ease-out);
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange-soft);
  box-shadow: var(--shadow-md);
}
.feature-large { grid-column: span 6; min-height: 320px; }
.feature-wide { grid-column: span 6; }

.feature-no {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: .08em;
}

.feature-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--text-1);
  max-width: 90%;
}
.feature-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: 560px;
}

.feature-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-tag {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-soft);
  border-radius: 999px;
}

.feature-large .feature-illustration {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 300px; height: 300px;
  opacity: .85;
  pointer-events: none;
}
.feature-large .feature-illustration img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle, black 40%, transparent 75%);
}

.feature-mini-stats {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}
.feature-mini-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-mini-stats strong {
  font-size: 22px;
  color: var(--orange);
  font-weight: 800;
}
.feature-mini-stats span {
  font-size: 12px;
  color: var(--text-3);
}

.feature-example {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--bg-2);
  border-radius: 12px;
  font-size: 14px;
}
.example-input {
  padding: 6px 10px;
  background: white;
  border: 1px dashed var(--border-hover);
  border-radius: 8px;
  color: var(--text-2);
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 13px;
}
.example-arrow { color: var(--orange); font-weight: 700; }
.example-output { color: var(--green); font-weight: 600; }

.feature-focus-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.feature-focus-pills span {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-2);
  border-radius: 999px;
  border: 1px solid transparent;
}
.feature-focus-pills span.active {
  color: var(--orange);
  background: var(--orange-soft);
  border-color: var(--orange-light);
}

.feature-anim-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.anim-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--bg-2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
}
.anim-chip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: dotPulse 2s infinite;
}
.dot-orange { background: var(--orange); }
.dot-green  { background: var(--green); }
.dot-gold   { background: var(--gold); }

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
  text-align: left;
}

.gallery-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .4s var(--ease-out);
  min-height: 380px;
}
.gallery-tall { min-height: 520px; }
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
  position: absolute;
  inset: 0;
}
.gallery-card:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(61,43,31,.7) 60%, rgba(61,43,31,.92) 100%);
  color: white;
  z-index: 2;
}
.caption-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  margin-bottom: 10px;
}
.gallery-caption h4 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px;
  color: white;
}
.gallery-caption p {
  font-size: 13px;
  margin: 0;
  color: rgba(255,255,255,.8);
}

/* ==========================================================================
   COMPANION
   ========================================================================== */

.companion {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.companion::before {
  content: "";
  position: absolute;
  top: 20%; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--orange-soft) 0%, transparent 70%);
  opacity: .5;
  pointer-events: none;
}

.companion-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.companion-copy .section-title { text-align: left; }

.companion-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.companion-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.li-dot {
  flex: 0 0 auto;
  width: 10px; height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}
.companion-list strong {
  display: block;
  font-size: 17px;
  color: var(--text-1);
  margin-bottom: 4px;
}
.companion-list p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* Chat mockup */
.companion-chat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.chat-header img {
  width: 44px; height: 44px;
  border-radius: 14px;
}
.chat-name {
  font-size: 15px;
  font-weight: 700;
}
.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}
.status-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.chat-msg {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 85%;
}
.chat-msg-bot {
  background: var(--bg-2);
  color: var(--text-1);
  align-self: flex-start;
  border-top-left-radius: 4px;
}
.chat-msg-user {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: white;
  align-self: flex-end;
  border-top-right-radius: 4px;
}
.chat-input {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-2);
  border-radius: 14px;
  font-size: 14px;
}
.chat-placeholder { color: var(--text-3); }
.chat-send {
  width: 30px; height: 30px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ==========================================================================
   STATS
   ========================================================================== */

.stats {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: clamp(60px, 8vh, 100px) 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stat-num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
  background:
    radial-gradient(ellipse at top, rgba(232,115,42,.08) 0%, transparent 60%),
    var(--bg-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  pointer-events: none;
  opacity: .4;
}
.cta::before {
  background: radial-gradient(circle, var(--orange-soft), transparent 70%);
  top: -100px; left: -100px;
}
.cta::after {
  background: radial-gradient(circle, var(--green-soft), transparent 70%);
  bottom: -100px; right: -100px;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}
.cta-mascot {
  width: 140px; height: 140px;
  margin: 0 auto 24px;
  border-radius: 32px;
  animation: mascotFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(232,115,42,.22));
}
.cta-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text-1);
}
.cta-desc {
  font-size: 17px;
  color: var(--text-2);
  margin: 0 0 40px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-note {
  font-size: 13px;
  color: var(--text-3);
  margin: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--text-1);
  color: rgba(255,255,255,.7);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img { width: 48px; height: 48px; border-radius: 12px; }
.footer-brand strong {
  display: block;
  color: white;
  font-size: 18px;
  margin-bottom: 2px;
}
.footer-brand span {
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h5 {
  font-size: 13px;
  color: white;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: .05em;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  padding: 5px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--orange-light); }

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .metaphor-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-large, .feature-wide { grid-column: span 1; }
  .feature-large .feature-illustration { width: 200px; height: 200px; right: -30px; bottom: -30px; }
  .gallery-row { grid-template-columns: 1fr; }
  .gallery-tall { min-height: 400px; }
  .companion-layout { grid-template-columns: 1fr; gap: 32px; }
  .companion-chat { justify-self: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 560px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 90px;
    padding-bottom: 70px;
  }
  .hero-title { font-size: clamp(44px, 13vw, 72px); }
  .hero-sub br { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .nav-logo { width: 32px; height: 32px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .metaphor-card { padding: 36px 24px; }
  .feature-card { padding: 28px 24px; }
  .feature-title { font-size: 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
