/* ── Variables ─────────────────────────────────────── */
:root {
  --ocean:    #0e6b8c;
  --ocean-dk: #094f69;
  --ocean-lt: #1a9dbf;
  --land:     #2a7a4b;
  --land-lt:  #3aad6a;
  --sky:      #e0f4fb;
  --sky-dk:   #b8e6f5;
  --accent:   #f0a500;
  --accent-lt:#ffd166;
  --white:    #ffffff;
  --text:     #1a2e3b;
  --text-lt:  #4a6272;
  --card-bg:  #f7fcff;
  --radius:   14px;
  --shadow:   0 4px 24px rgba(14,107,140,.12);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ── Nav ────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(9,79,105,.92);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 60px;
}
.nav-logo { color: var(--white); font-size: 1.1rem; font-weight: 700; letter-spacing: .5px; display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 32px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: .88rem; transition: color .2s; }
.nav-links a:hover { color: var(--accent-lt); }
.nav-ai-btn { display: flex; align-items: center; gap: 6px; }
.nav-ai-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.9); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #0a4d66 0%, #0e6b8c 40%, #1a9dbf 70%, #2a7a4b 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 80px 5% 60px;
}
/* 背景图层：图片 + 渐变遮罩叠加 */
#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: url('earth-from-space-stockcake.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.65;
}
/* 渐变遮罩：让底色透出来，增强文字区域对比 */
#hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(9,79,105,.55) 0%,
    rgba(14,107,140,.35) 50%,
    rgba(26,109,58,.45) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 60px;
  max-width: 1100px; width: 100%;
}
/* 确保内容在两个伪元素之上 */
.hero-content, .globe-wrap, .hero-text { position: relative; z-index: 2; }
.globe-wrap { flex-shrink: 0; position: relative; width: 260px; height: 260px; }
.globe {
  width: 260px; height: 260px;
  display: block;
  animation: globeRotate 60s linear infinite;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.9)) drop-shadow(0 0 24px rgba(255,255,255,.6)) drop-shadow(0 0 60px rgba(255,255,255,.25));
}
@keyframes globeRotate { to { transform: rotate(360deg); } }
.globe-wrap::before {
  content: ''; position: absolute;
  width: 320px; height: 320px; top: -30px; left: -30px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  animation: orbitSpin 12s linear infinite;
}
.globe-wrap::after {
  content: '🛰'; position: absolute;
  font-size: 1.2rem; top: -12px; left: 50%;
  transform-origin: 0 142px;
  animation: orbitSpin 12s linear infinite;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.hero-text { flex: 1; color: var(--white); }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px; padding: 4px 14px; font-size: .8rem; letter-spacing: 1px;
  margin-bottom: 16px; color: var(--accent-lt);
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 8px;
}
.hero-title span { color: var(--accent-lt); }
.hero-sub { font-size: 1.05rem; opacity: .85; margin-bottom: 28px; line-height: 1.8; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--text);
  padding: 13px 28px; border-radius: 30px; font-weight: 700; font-size: 1rem;
  box-shadow: 0 4px 20px rgba(240,165,0,.4); transition: transform .2s, box-shadow .2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(240,165,0,.5); }

.wave { display: block; width: 100%; overflow: hidden; line-height: 0; margin-bottom: -2px; }
.wave svg { display: block; }

/* ── Stats Bar ──────────────────────────────────────── */
#stats { background: var(--ocean-dk); padding: 28px 5%; }
.stats-grid {
  max-width: 900px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px;
}
.stat-item { text-align: center; color: var(--white); }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--accent-lt); display: block; line-height: 1; }
.stat-label { font-size: .82rem; opacity: .75; margin-top: 4px; }

/* ── Section common ─────────────────────────────────── */
section { padding: 72px 5%; }
.section-title {
  text-align: center; font-size: 1.9rem; font-weight: 800;
  color: var(--ocean-dk); margin-bottom: 8px;
}
.section-sub {
  text-align: center; color: var(--text-lt); font-size: 1rem; margin-bottom: 48px;
}
.section-sub em { color: var(--ocean); font-style: normal; font-weight: 600; }

/* ── Why Learn Geography ────────────────────────────── */
#why { background: var(--sky); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 1000px; margin: 0 auto;
}
.why-col {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.why-col-header {
  padding: 28px 28px 24px; color: var(--white); text-align: center;
}
.why-col-header.blue { background: linear-gradient(135deg, var(--ocean), var(--ocean-lt)); }
.why-col-header.green { background: linear-gradient(135deg, var(--land), var(--land-lt)); }
.why-col-icon { font-size: 2.5rem; margin-bottom: 8px; }
.why-col-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.why-col-sub { font-size: .85rem; opacity: .85; }
.why-items { padding: 20px 24px; display: flex; flex-direction: column; gap: 18px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-item-icon { font-size: 1.4rem; flex-shrink: 0; width: 28px; text-align: center; margin-top: 2px; }
.why-item-title { font-size: .95rem; font-weight: 700; color: var(--ocean-dk); margin-bottom: 4px; }
.why-col:last-child .why-item-title { color: var(--land); }
.why-item-desc { font-size: .84rem; color: var(--text-lt); line-height: 1.65; }

/* ── Products ───────────────────────────────────────── */
#products { background: var(--white); }

.product-highlights {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 900px; margin: 0 auto 52px;
}
.ph-item {
  text-align: center; background: var(--card-bg);
  border-radius: var(--radius); padding: 28px 16px;
  box-shadow: var(--shadow); transition: transform .2s;
  border-top: 3px solid var(--ocean);
}
.ph-item:nth-child(even) { border-top-color: var(--land); }
.ph-item:hover { transform: translateY(-3px); }
.ph-num {
  font-size: 2.4rem; font-weight: 900; color: var(--ocean);
  line-height: 1; margin-bottom: 6px;
}
.ph-item:nth-child(even) .ph-num { color: var(--land); }
.ph-label { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ph-sub { font-size: .78rem; color: var(--text-lt); line-height: 1.5; }

.products-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 900px; margin: 0 auto;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .25s;
}
.product-card:hover { transform: translateY(-4px); }
.card-header {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-lt) 100%);
  color: var(--white);
}
.card-header.green { background: linear-gradient(135deg, var(--land) 0%, var(--land-lt) 100%); }
.card-level { font-size: .78rem; opacity: .8; letter-spacing: 1px; margin-bottom: 6px; }
.card-title { font-size: 1.5rem; font-weight: 800; }
.card-body { padding: 24px 28px; }
.card-stats { display: flex; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }
.cstat { text-align: center; }
.cstat-n { font-size: 1.5rem; font-weight: 800; color: var(--ocean); display: block; }
.card-header.green ~ .card-body .cstat-n { color: var(--land); }
.cstat-l { font-size: .75rem; color: var(--text-lt); }
.card-books { display: flex; flex-wrap: wrap; gap: 8px; }
.book-tag {
  background: var(--sky); color: var(--ocean-dk);
  padding: 4px 10px; border-radius: 6px; font-size: .78rem; font-weight: 600;
}
.card-header.green ~ .card-body .book-tag { background: #e8f5ee; color: var(--land); }

/* ── Pain Point ─────────────────────────────────────── */
#pain { background: #f0f0f4; }
#pain .section-title { color: #3a3a4a; }
#pain .section-sub em { color: #b94040; }

.pain-kps {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 900px; margin: 0 auto 44px;
}
.raw-kp-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid #d0d0da; padding: 20px;
  position: relative; transition: box-shadow .2s;
}
.raw-kp-card::before {
  content: '📄'; position: absolute; top: -10px; right: 16px;
  font-size: 1.4rem; opacity: .3;
}
.raw-kp-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.raw-kp-subject { font-size: .7rem; color: #999; font-weight: 600; letter-spacing: .5px; }
.kp-play-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; border: none; cursor: pointer;
  font-size: .72rem; font-weight: 600;
  background: linear-gradient(135deg, #1a8fb5, #0d6e90);
  color: #fff; white-space: nowrap;
  transition: opacity .2s, transform .1s;
}
.kp-play-btn:hover { opacity: .85; transform: scale(1.04); }
.raw-kp-name { font-size: 1rem; font-weight: 700; color: #3a3a4a; margin-bottom: 10px; }
.raw-kp-text { font-size: .82rem; color: #6a6a7a; line-height: 1.9; }
.boring-meter { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee; }
.boring-label { font-size: .7rem; color: #aaa; white-space: nowrap; }
.boring-dots { display: flex; gap: 4px; }
.boring-dot { width: 9px; height: 9px; border-radius: 50%; background: #e0e0e0; }
.boring-dot.filled { background: #c0392b; }

.pain-arrow {
  max-width: 580px; margin: 0 auto; text-align: center; padding: 0 16px;
}
.pain-quote {
  font-size: 1.05rem; color: #6a6a7a; font-style: italic;
  padding: 16px 20px; background: white; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); margin-bottom: 20px;
}
.pain-transition {
  font-size: 1.15rem; color: #3a3a4a; font-weight: 600; margin-bottom: 16px; line-height: 1.6;
}
.pain-transition strong { color: var(--ocean); }
.pain-arrow-icon {
  font-size: 2.4rem; color: var(--ocean); display: block;
  animation: bounce 1.6s ease infinite;
}
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* ── Hosts ──────────────────────────────────────────── */
#hosts { background: linear-gradient(160deg, #f0f8fc 0%, #eaf6ef 100%); }
.hosts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 1000px; margin: 0 auto 48px;
}
.host-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s;
}
.host-card:hover { transform: translateY(-4px); }
.host-avatar-wrap {
  display: flex; align-items: center; justify-content: center;
  background: var(--sky);
}
.host-img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  display: block;
}
.host-info { padding: 24px; }
.host-name-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.host-name { font-size: 1.5rem; font-weight: 800; color: var(--ocean-dk); }
.host-badge {
  font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 10px;
}
.host-badge.blue { background: var(--sky); color: var(--ocean); }
.host-badge.green { background: #e8f5ee; color: var(--land); }
.host-age { font-size: .82rem; color: var(--text-lt); margin-bottom: 12px; }
.host-traits { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.trait {
  font-size: .78rem; padding: 4px 10px;
  background: var(--sky); color: var(--ocean-dk);
  border-radius: 10px; font-weight: 600;
}
.host-card:last-child .trait { background: #e8f5ee; color: var(--land); }
.host-desc { font-size: .88rem; color: var(--text-lt); line-height: 1.7; margin-bottom: 14px; }
.host-quote {
  font-size: .85rem; color: var(--text); font-style: italic;
  background: var(--sky); border-left: 3px solid var(--ocean);
  padding: 10px 14px; border-radius: 0 8px 8px 0; line-height: 1.6;
}
.host-card:last-child .host-quote { background: #e8f5ee; border-left-color: var(--land); }

.host-approach {
  max-width: 820px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius);
  padding: 32px 40px; box-shadow: var(--shadow);
}
.approach-title {
  text-align: center; font-size: 1.1rem; font-weight: 700;
  color: var(--ocean-dk); margin-bottom: 28px;
}
.approach-steps {
  display: flex; align-items: flex-start; gap: 12px;
  justify-content: center; flex-wrap: wrap;
}
.approach-step { flex: 1; min-width: 160px; text-align: center; }
.as-num {
  font-size: 2rem; font-weight: 900; color: var(--ocean-lt);
  line-height: 1; margin-bottom: 8px;
}
.as-text { font-size: .88rem; color: var(--text-lt); line-height: 1.6; }
.approach-arrow { font-size: 1.5rem; color: var(--sky-dk); padding-top: 8px; }

/* ── Podcast Demo ───────────────────────────────────── */
#podcast { background: var(--sky); }
.podcast-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; max-width: 1000px; margin: 0 auto; }
.track-list { display: flex; flex-direction: column; gap: 10px; }
.track-btn {
  background: var(--white); border: 2px solid transparent;
  border-radius: var(--radius); padding: 14px 16px;
  cursor: pointer; text-align: left; transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.track-btn:hover { border-color: var(--ocean-lt); }
.track-btn.active { border-color: var(--ocean); background: var(--sky); }
.track-level { font-size: .7rem; color: var(--ocean); font-weight: 600; letter-spacing: .5px; margin-bottom: 4px; }
.track-title { font-size: .88rem; font-weight: 700; color: var(--text); line-height: 1.4; }

.player-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 20px;
}
.player-meta { display: flex; align-items: flex-start; gap: 16px; }
.player-icon {
  width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ocean), var(--land));
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.player-info h3 { font-size: 1.05rem; font-weight: 700; color: var(--ocean-dk); margin-bottom: 4px; }
.player-info p { font-size: .82rem; color: var(--text-lt); }

.audio-controls { display: flex; flex-direction: column; gap: 10px; }
.progress-wrap {
  background: var(--sky-dk); border-radius: 4px; height: 6px;
  cursor: pointer; position: relative; overflow: hidden;
}
.progress-bar {
  height: 100%; width: 0%; border-radius: 4px;
  background: linear-gradient(90deg, var(--ocean), var(--land));
  transition: width .1s linear;
}
.controls-row { display: flex; align-items: center; gap: 12px; }
.btn-play {
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--ocean); color: var(--white); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s; flex-shrink: 0;
}
.btn-play:hover { background: var(--ocean-dk); transform: scale(1.08); }
.time-display { font-size: .8rem; color: var(--text-lt); font-variant-numeric: tabular-nums; }

.transcript {
  background: var(--sky); border-radius: 10px; padding: 16px;
  max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
}
.utt { display: flex; gap: 10px; align-items: flex-start; }
.utt-role {
  flex-shrink: 0; font-size: .72rem; font-weight: 700; padding: 2px 8px;
  border-radius: 10px; margin-top: 2px;
  background: var(--ocean); color: var(--white);
}
.utt-role.qinglv { background: var(--land); }
.utt-text { font-size: .88rem; color: var(--text); line-height: 1.6; }

/* ── Quiz ───────────────────────────────────────────── */
#quiz { background: var(--white); }

.quiz-feature-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; max-width: 720px; margin: 0 auto 40px;
  background: var(--card-bg); border-radius: var(--radius);
  border: 1px solid var(--sky-dk); overflow: hidden;
}
.qf-item {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 20px 24px;
}
.qf-highlight {
  background: linear-gradient(135deg, #f0f8ff, #e6f7f0);
  border-left: 3px solid var(--ocean);
}
.qf-divider { width: 1px; background: var(--sky-dk); align-self: stretch; }
.qf-icon { font-size: 1.6rem; flex-shrink: 0; }
.qf-title {
  font-size: .9rem; font-weight: 700; color: var(--ocean-dk);
  margin-bottom: 3px; display: flex; align-items: center; gap: 6px;
}
.qf-highlight .qf-title { color: var(--ocean); }
.qf-desc { font-size: .78rem; color: var(--text-lt); }
.ai-badge-icon {
  display: inline-block; font-size: .6rem; font-weight: 800;
  background: linear-gradient(135deg, #1a8fb5, #0d6e90);
  color: white; padding: 2px 7px; border-radius: 8px;
  letter-spacing: .5px; vertical-align: middle; margin-left: 6px;
}
.qf-hot {
  font-size: .65rem; font-weight: 800; background: #e03030;
  color: white; padding: 1px 6px; border-radius: 6px; letter-spacing: .5px;
}
.qf-new {
  font-size: .65rem; font-weight: 800; background: var(--ocean);
  color: white; padding: 1px 6px; border-radius: 6px; letter-spacing: .5px;
}

.quiz-wrap { max-width: 720px; margin: 0 auto; }
.quiz-topic {
  text-align: center; color: var(--ocean); font-weight: 600;
  font-size: .88rem; margin-bottom: 24px; letter-spacing: .5px;
}
.quiz-q {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.q-label { font-size: .72rem; color: var(--text-lt); margin-bottom: 8px; font-weight: 600; }
.q-text { font-size: .95rem; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.q-options { display: flex; flex-direction: column; gap: 8px; }
.opt-btn {
  background: var(--sky); border: 2px solid transparent;
  border-radius: 8px; padding: 10px 14px; cursor: pointer;
  font-size: .88rem; text-align: left; transition: all .18s;
  display: flex; gap: 10px; align-items: center;
}
.opt-btn:hover:not(:disabled) { border-color: var(--ocean-lt); background: #d0eef8; }
.opt-btn.selected { border-color: var(--ocean); background: #c8e8f5; }
.opt-btn.correct { border-color: var(--land); background: #d4f0e0; color: var(--land); font-weight: 600; }
.opt-btn.wrong { border-color: #d9534f; background: #fde8e8; color: #c0392b; }
.opt-btn:disabled { cursor: default; }
.opt-key { font-weight: 700; color: var(--ocean); flex-shrink: 0; }
.opt-btn.correct .opt-key { color: var(--land); }
.opt-btn.wrong .opt-key { color: #c0392b; }

.tf-row { display: flex; gap: 10px; margin-top: 14px; }
.tf-btn {
  flex: 1; padding: 10px; border-radius: 8px; border: 2px solid transparent;
  background: var(--sky); cursor: pointer; font-size: .88rem; font-weight: 600;
  transition: all .18s;
}
.tf-btn:hover:not(:disabled) { border-color: var(--ocean-lt); }
.tf-btn.selected { border-color: var(--ocean); background: #c8e8f5; }
.tf-btn.correct { border-color: var(--land); background: #d4f0e0; color: var(--land); }
.tf-btn.wrong { border-color: #d9534f; background: #fde8e8; color: #c0392b; }
.tf-btn:disabled { cursor: default; }

.q-explanation {
  display: none; margin-top: 12px;
  background: #fffbea; border-left: 3px solid var(--accent);
  padding: 10px 14px; border-radius: 0 8px 8px 0;
  font-size: .84rem; color: var(--text-lt); line-height: 1.6;
}
.q-explanation.show { display: block; }
.quiz-submit-row { text-align: center; margin-top: 8px; }
.btn-submit {
  background: var(--ocean); color: var(--white); border: none;
  padding: 13px 36px; border-radius: 30px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background .2s, transform .15s;
}
.btn-submit:hover { background: var(--ocean-dk); transform: translateY(-2px); }
.quiz-result {
  display: none; text-align: center; margin-top: 20px;
  background: var(--card-bg); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.quiz-result.show { display: block; }
.result-score { font-size: 2.4rem; font-weight: 800; color: var(--ocean); }
.result-msg { color: var(--text-lt); margin-top: 8px; font-size: .95rem; }

/* ── AI Chat ────────────────────────────────────────── */
.ai-chat-wrap {
  max-width: 720px; margin: 40px auto 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--sky-dk);
}
.ai-chat-header {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--ocean-dk), var(--ocean));
  padding: 16px 20px;
}
.ai-avatar-wrap { flex-shrink: 0; }
.ai-avatar-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; }
.ai-chat-intro { flex: 1; }
.ai-chat-name { color: var(--white); font-size: 1rem; font-weight: 700; }
.ai-chat-sub { color: rgba(255,255,255,.75); font-size: .78rem; margin-top: 2px; }
.ai-count-badge {
  background: rgba(255,255,255,.15); color: var(--accent-lt);
  padding: 5px 12px; border-radius: 20px;
  font-size: .78rem; font-weight: 700; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.25);
}
.ai-count-badge.exhausted { color: #ff9999; background: rgba(200,50,50,.2); }

.ai-messages {
  padding: 16px 20px; min-height: 100px; max-height: 360px;
  overflow-y: auto; display: flex; flex-direction: column; gap: 12px;
  background: var(--sky);
}
.ai-msg { display: flex; flex-direction: column; gap: 4px; }
.ai-msg-host { align-items: flex-start; }
.ai-msg-user { align-items: flex-end; }
.ai-bubble {
  max-width: 85%; padding: 10px 14px; border-radius: 14px;
  font-size: .88rem; line-height: 1.65;
}
.ai-msg-host .ai-bubble {
  background: var(--white); color: var(--text);
  border-radius: 4px 14px 14px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.ai-msg-user .ai-bubble {
  background: var(--ocean); color: var(--white);
  border-radius: 14px 4px 14px 14px;
}
.ai-msg-label {
  font-size: .7rem; color: var(--text-lt); padding: 0 4px;
}
.ai-typing .ai-bubble { background: var(--white); }
.ai-dots { display: inline-flex; gap: 5px; align-items: center; padding: 2px 0; }
.ai-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ocean); opacity: 0.4;
  animation: dotBounce 1.2s infinite ease-in-out;
}
.ai-dots span:nth-child(2) { animation-delay: .2s; }
.ai-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .3; }
  40% { transform: translateY(-5px); opacity: 1; }
}
.ai-speaker {
  background: none; border: none; cursor: pointer;
  font-size: .85rem; padding: 2px 4px; margin-top: 4px;
  opacity: .55; transition: opacity .2s;
  align-self: flex-start;
}
.ai-speaker:hover { opacity: 1; }

.ai-input-row {
  display: flex; gap: 10px; padding: 14px 20px;
  border-top: 1px solid var(--sky-dk); background: var(--white);
}
.ai-input {
  flex: 1; border: 1.5px solid var(--sky-dk); border-radius: 24px;
  padding: 9px 16px; font-size: .9rem; color: var(--text);
  outline: none; font-family: inherit; transition: border-color .2s;
}
.ai-input:focus { border-color: var(--ocean-lt); }
.ai-input:disabled { background: #f5f5f5; color: #aaa; }
.ai-send {
  background: var(--ocean); color: var(--white); border: none;
  border-radius: 24px; padding: 9px 20px; font-size: .9rem;
  font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background .2s, transform .15s; white-space: nowrap;
}
.ai-send:hover:not(:disabled) { background: var(--ocean-dk); transform: scale(1.04); }
.ai-send:disabled { background: #aaa; cursor: default; transform: none; }

.ai-messages::-webkit-scrollbar { width: 4px; }
.ai-messages::-webkit-scrollbar-track { background: transparent; }
.ai-messages::-webkit-scrollbar-thumb { background: var(--sky-dk); border-radius: 2px; }

/* ── Footer ─────────────────────────────────────────── */
footer {
  background: var(--ocean-dk); color: rgba(255,255,255,.7);
  text-align: center; padding: 32px 5%; font-size: .85rem;
}
footer strong { color: var(--white); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .why-grid, .hosts-grid { grid-template-columns: 1fr; }
  .product-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-content { flex-direction: column; text-align: center; }
  .globe-wrap { width: 180px; height: 180px; }
  .globe { width: 180px; height: 180px; }
  .globe-wrap::before { width: 220px; height: 220px; top: -20px; left: -20px; }
  .globe-wrap::after { transform-origin: 0 98px; }
  .products-grid, .podcast-layout { grid-template-columns: 1fr; }
  .pain-kps { grid-template-columns: 1fr; }
  .quiz-feature-bar { flex-direction: column; }
  .qf-divider { width: 100%; height: 1px; }
  .qf-highlight { border-left: none; border-top: 3px solid var(--ocean); }
  .approach-arrow { display: none; }
  .approach-steps { flex-direction: column; gap: 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(9,79,105,.97);
    padding: 8px 0; border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: .9rem; padding: 12px 24px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-ai-btn { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .product-highlights { grid-template-columns: 1fr 1fr; }
}

/* ── Animations ─────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

.transcript::-webkit-scrollbar { width: 4px; }
.transcript::-webkit-scrollbar-track { background: transparent; }
.transcript::-webkit-scrollbar-thumb { background: var(--sky-dk); border-radius: 2px; }

.wave-bars { display: flex; gap: 3px; align-items: flex-end; height: 16px; }
.wave-bar {
  width: 3px; background: var(--accent-lt); border-radius: 2px;
  animation: waveBar .8s ease-in-out infinite alternate;
}
.wave-bar:nth-child(1) { animation-delay: 0s;   height: 6px; }
.wave-bar:nth-child(2) { animation-delay: .15s; height: 10px; }
.wave-bar:nth-child(3) { animation-delay: .3s;  height: 14px; }
.wave-bar:nth-child(4) { animation-delay: .15s; height: 10px; }
.wave-bar:nth-child(5) { animation-delay: 0s;   height: 6px; }
@keyframes waveBar { to { height: 14px; } }
.wave-bars.paused .wave-bar { animation-play-state: paused; }
