/* ==========================================================================
   药伴 官网 — 基础 + 设计 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;
}

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

:root {
  /* Brand — 药伴：柔粉 + 暖金 + 薄荷 + 奶油 */
  --pink:            #EF7FA8;
  --pink-light:      #F4A5C2;
  --pink-soft:       #FFE0EB;
  --mint:            #6FC7A7;
  --mint-light:      #94D9BE;
  --mint-soft:       #DDF1E6;
  --gold:            #E8A569;
  --gold-light:      #F2C18E;
  --gold-soft:       #FBEAD4;

  /* Neutrals (warm cream) */
  --bg:              #FFF8F3;
  --bg-2:            #FDEFE7;
  --bg-card:         #FFFFFF;
  --bg-card-hover:   #FFF4EC;
  --text-1:          #3A2A33;   /* 深莓紫 */
  --text-2:          #6B4E5E;
  --text-3:          #9C8391;
  --border:          rgba(58, 42, 51, 0.08);
  --border-hover:    rgba(58, 42, 51, 0.16);
  --shadow-sm:       0 1px 3px rgba(58, 42, 51, 0.04), 0 1px 2px rgba(58, 42, 51, 0.06);
  --shadow-md:       0 8px 24px rgba(58, 42, 51, 0.06), 0 2px 6px rgba(58, 42, 51, 0.04);
  --shadow-lg:       0 20px 50px rgba(239, 127, 168, 0.12), 0 8px 20px rgba(58, 42, 51, 0.06);
  --shadow-glow:     0 16px 40px rgba(239, 127, 168, 0.22);

  /* 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(--pink) 0%, var(--gold) 55%, var(--mint) 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(--pink);
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pink-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 auto 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: #FFF5ED;
}
.navbar.scrolled {
  background: rgba(255, 248, 243, 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, 237, 0.75);
  transition: color .2s;
  position: relative;
}
.nav-link:hover { color: #FFF5ED; }
.navbar.scrolled .nav-link:hover { color: var(--pink); }
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 50%;
  width: 0; height: 2px;
  background: var(--pink);
  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, 237, 0.12);
  border: 1px solid rgba(255, 245, 237, 0.2);
  color: #FFF5ED;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .25s var(--ease-out);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: clamp(100px, 13vh, 150px) clamp(32px, 6vw, 96px) clamp(80px, 10vh, 120px);
  overflow: hidden;
  background: #14090c;
}

.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;
}

.hero-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
  background: #14090c;
}
@keyframes bgKenBurns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.10) translate(-1%, -1%); }
}

/* 轻度 overlay：保留视频的暖色氛围；左侧用柔和暖色压暗托起文字 */
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 65% 80% at 18% 52%, rgba(58, 28, 42, .45) 0%, rgba(58, 28, 42, .18) 45%, transparent 72%),
    linear-gradient(90deg, rgba(20,9,12,.25) 0%, rgba(20,9,12,.1) 42%, transparent 62%),
    linear-gradient(180deg, transparent 0%, transparent 62%, rgba(20,9,12,.8) 100%);
}

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

.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  top: 50%; left: 22%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,127,168,.22) 0%, rgba(232,165,105,.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: .5; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: .9; transform: translate(-50%, -50%) scale(1.12); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 245, 237, 0.08);
  border: 1px solid rgba(255, 245, 237, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 245, 237, 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(--pink-light);
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,165,194,.55); }
  50%      { box-shadow: 0 0 0 6px rgba(244,165,194,0); }
}

.hero-title {
  font-family: "Noto Serif SC", "Source Han Serif SC", "思源宋体 SC",
               "Songti SC", STSong, serif;
  font-size: clamp(48px, 6.4vw, 92px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .02em;
  margin: 0 0 28px;
  color: #FFF5ED;
  text-shadow:
    0 0 1px rgba(0,0,0,.8),
    0 1px 2px rgba(0,0,0,.7),
    0 4px 16px rgba(0,0,0,.55),
    0 10px 40px rgba(0,0,0,.4);
}
.hero-title .t1 { display: inline-block; color: #FFF5ED; }
.hero-title .t2 {
  display: inline-block;
  margin-left: 0.65em;  /* 第二行微缩进，和第一行错位 */
  background: linear-gradient(135deg,
    #FFE8F0 0%,
    #F9B6CD 28%,
    #F0C58A 62%,
    #9CDFC2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 2px 4px rgba(0,0,0,.5))
    drop-shadow(0 6px 20px rgba(239,127,168,.55));
}

.hero-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: #FFF5ED;
  max-width: 520px;
  margin: 0 0 36px;
  line-height: 1.8;
  font-weight: 500;
  text-shadow:
    0 0 2px rgba(0,0,0,.9),
    0 1px 3px rgba(0,0,0,.8),
    0 2px 14px rgba(0,0,0,.6);
}

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

.hero-cta {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--gold) 100%);
  color: #FFF;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 45px rgba(239,127,168,.35); }
.btn-ghost {
  background: rgba(255, 245, 237, 0.1);
  color: #FFF5ED;
  border: 1px solid rgba(255, 245, 237, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255, 245, 237, 0.18); }
.btn-large { padding: 18px 36px; font-size: 16px; }

/* 浅色区域里的 ghost 按钮 */
.cta .btn-ghost {
  background: var(--bg-card);
  color: var(--text-1);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.cta .btn-ghost:hover { background: var(--bg-card-hover); border-color: var(--border-hover); }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 245, 237, 0.5);
  font-size: 11px;
  letter-spacing: .25em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
  animation: scrollHint 2.2s ease-in-out infinite;
}
.hero-scroll-hint .arrow { font-size: 14px; letter-spacing: normal; }
@keyframes scrollHint {
  0%, 100% { transform: translate(-50%, 0); opacity: .5; }
  50%      { transform: translate(-50%, 6px); opacity: .85; }
}

/* ==========================================================================
   SECTIONS — PHILOSOPHY / FEATURES / MOODS / GALLERY
   ========================================================================== */

.philosophy, .features, .moods, .gallery, .companion {
  padding: clamp(80px, 12vh, 140px) 0;
  text-align: center;
}
.companion { text-align: left; }

.philosophy .section-title,
.features .section-title,
.moods .section-title,
.gallery .section-title { text-align: center; }

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

.metaphor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px 28px 36px;
  box-shadow: var(--shadow-sm);
  transition: all .4s var(--ease-out);
}
.metaphor-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}
.metaphor-icon {
  width: 120px; height: 120px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink-soft);
  border-radius: 36px;
  overflow: hidden;
}
.metaphor-icon img { width: 100%; height: 100%; object-fit: contain; }
.metaphor-card:nth-child(2) .metaphor-icon { background: var(--gold-soft); }
.metaphor-card:nth-child(3) .metaphor-icon { background: var(--mint-soft); }

.metaphor-jp {
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.metaphor-card h3 { font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.metaphor-role { color: var(--pink); font-weight: 600; font-size: 14px; margin: 0 0 14px; }
.metaphor-card:nth-child(2) .metaphor-role { color: var(--gold); }
.metaphor-card:nth-child(3) .metaphor-role { color: var(--mint); }
.metaphor-desc { color: var(--text-2); font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- Features grid ---------- */
.features { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }

.features-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(300px, 1fr);
  gap: 20px;
  text-align: left;
  align-items: stretch;
}
.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  grid-column: span 2;
  transition: all .4s var(--ease-out);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
/* 01 大卡：占左半边 2 行（高度由右栏两行 + gap 自动撑出） */
.feature-large {
  grid-column: 1 / span 2;
  grid-row: span 2;
  min-height: 0;
}
/* 05 与 04 同行各占半边（4x3 整齐对齐） */
.feature-wide  { grid-column: span 2; }

/* 让底部 meta 区自动顶到卡底，卡彼此对齐 */
.feature-desc { margin-bottom: 20px; }
.feature-tag-row,
.feature-mini-stats,
.feature-example,
.feature-focus-pills,
.feature-anim-row { margin-top: auto; }
.feature-no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--pink);
  margin-bottom: 18px;
}
.feature-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -.01em;
}
.feature-desc {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 20px;
}
.feature-tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.feature-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink);
}
.feature-tag:nth-child(2) { background: var(--gold-soft); color: var(--gold); }
.feature-tag:nth-child(3) { background: var(--mint-soft); color: var(--mint); }

.feature-illustration {
  margin-top: auto;
  margin-left: -32px;
  margin-right: -32px;
  margin-bottom: -32px;
  border-radius: 0 0 27px 27px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--pink-soft);
  flex: 0 0 auto;
}
.feature-illustration img { width: 100%; height: 100%; object-fit: cover; }

/* feature-large 里：tag-row 紧跟 desc，不吸空间 */
.feature-large .feature-tag-row { margin-top: 0; margin-bottom: 6px; }

.feature-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.feature-mini-stats > div {
  background: var(--bg-2);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.feature-mini-stats strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 2px;
}
.feature-mini-stats span { font-size: 12px; color: var(--text-3); }

.feature-example {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  flex-wrap: wrap;
}
.example-input { color: var(--text-1); font-weight: 500; }
.example-arrow { color: var(--text-3); }
.example-output { color: var(--pink); font-weight: 600; }

.feature-focus-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.feature-focus-pills span {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}
.feature-focus-pills .active {
  background: var(--pink);
  color: #FFF;
  box-shadow: 0 4px 12px rgba(239,127,168,.3);
}

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

/* ---------- Moods ---------- */
.moods { background: var(--bg); }
.moods-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mood {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px 16px 20px;
  margin: 0;
  text-align: center;
  transition: all .35s var(--ease-out);
}
.mood:hover {
  transform: translateY(-3px) rotate(-1deg);
  border-color: var(--pink-light);
  box-shadow: var(--shadow-md);
}
.mood img {
  width: 72%;
  max-width: 160px;
  margin: 0 auto 14px;
  filter: drop-shadow(0 10px 18px rgba(58,42,51,.1));
  transition: transform .6s var(--ease-spring);
}
.mood:hover img { transform: translateY(-4px) scale(1.04); }
.mood figcaption { }
.mood figcaption strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}
.mood figcaption span {
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- Gallery ---------- */
.gallery { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.gallery-row {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--pink-soft) 0%, var(--bg-card) 60%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .4s var(--ease-out);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 20px 20px 0;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-card.gallery-tall { }   /* 保留类名兼容旧 HTML */
.gallery-card img {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  object-position: center top;
  margin: 0 auto;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
}
.gallery-caption {
  position: relative;
  z-index: 1;
  padding: 14px 6px 18px;
  color: var(--text-1);
  text-align: left;
  flex: 0 0 auto;
}
.caption-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 10px;
  color: var(--pink);
}
.gallery-caption h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-1);
}
.gallery-caption p {
  font-size: 13px;
  margin: 0;
  color: var(--text-2);
}

/* ---------- Companion ---------- */
.companion { background: var(--bg); }
.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: 36px 0 0;
}
.companion-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.companion-list li:first-child { border-top: none; padding-top: 0; }
.li-dot {
  flex: 0 0 10px;
  margin-top: 9px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--gold));
  box-shadow: 0 0 0 4px rgba(239,127,168,.12);
}
.companion-list strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}
.companion-list p {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.7;
}

.companion-chat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.chat-header img {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--pink-soft);
  padding: 4px;
  animation: mascotFloat 4s ease-in-out infinite;
}
.chat-name { font-weight: 700; font-size: 15px; }
.chat-status {
  font-size: 12px;
  color: var(--text-3);
  display: flex; align-items: center; gap: 6px;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 2px rgba(111,199,167,.25);
}
.chat-msg {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 88%;
}
.chat-msg-bot {
  background: var(--pink-soft);
  color: var(--text-1);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}
.chat-msg-user {
  background: var(--text-1);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}
.chat-input {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-2);
}
.chat-placeholder { font-size: 13px; color: var(--text-3); }

/* ---------- Stats ---------- */
.stats {
  padding: clamp(60px, 8vh, 100px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ---------- CTA ---------- */
.cta {
  padding: clamp(100px, 14vh, 160px) 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 20%, rgba(239,127,168,.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  text-align: center;
}
.cta-inner { max-width: 720px; }
.cta-mascot {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  object-fit: contain;
  animation: mascotFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(239,127,168,.25));
}
.cta-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.cta-desc {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-2);
  margin: 0 auto 36px;
  max-width: 480px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-note {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: .04em;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--text-1);
  color: rgba(255, 245, 237, 0.7);
  padding: 64px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 56px; height: 56px;
  background: rgba(255, 245, 237, 0.08);
  border-radius: 16px;
  padding: 6px;
}
.footer-brand strong {
  display: block;
  font-size: 18px;
  color: #FFF5ED;
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-brand span { font-size: 13px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: #FFF5ED;
  letter-spacing: .05em;
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 245, 237, 0.6);
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--pink-light); }

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 245, 237, 0.08);
  font-size: 12px;
  color: rgba(255, 245, 237, 0.45);
}

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

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero {
    min-height: 92vh; min-height: 92svh;
    padding-left: 24px; padding-right: 24px;
    text-align: left;
  }
  .hero-video { object-position: 72% center; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(20,9,12,.55) 0%, rgba(20,9,12,.3) 30%, rgba(20,9,12,.55) 65%, rgba(20,9,12,.95) 100%),
      linear-gradient(90deg, rgba(20,9,12,.45) 0%, rgba(20,9,12,.15) 60%, transparent 90%);
  }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .hero-sub br { display: none; }
  .hero-glow { left: 50%; width: 600px; height: 600px; }

  .metaphor-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-large, .feature-wide { grid-column: span 1; grid-row: auto; }
  .feature-illustration { aspect-ratio: 16/11; }

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

  .gallery-row {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .gallery-tall { grid-row: auto; min-height: 380px; }

  .companion-layout { grid-template-columns: 1fr; gap: 40px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 520px) {
  .moods-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-cta span { display: none; }
  .cta-mascot { width: 120px; height: 120px; }
}
