/* ============================================================
   AI语音笔记 · 门户官网样式
   品牌色:橙 #FF6B35 / 青 #11C2DE / 深蓝 #152544(取自品牌封面)。
   ============================================================ */
:root {
  --brand-orange: #ff6b35;
  --brand-orange-600: #f2541b;
  --brand-cyan: #11c2de;
  --brand-cyan-600: #0aa6c0;
  --brand-purple: #7c5cfc;
  --brand-green: #28b779;
  --brand-magenta: #ff2e74;
  --grad-brand: linear-gradient(135deg, #ff8a3d 0%, #ff5e2c 100%);
  --grad-cyan: linear-gradient(135deg, #2ad0e8 0%, #0aa6c0 100%);
  --grad-title: linear-gradient(90deg, #ff6b35 0%, #ff9a3a 38%, #11c2de 100%);

  --deep: #152544;
  --bg: #fdfaf6;
  --surface: #ffffff;
  --text: #16203a;
  --text-2: #46506a;
  --text-muted: #8a93a6;
  --border: #eef1f6;
  --shadow-card: 0 14px 40px rgba(21, 37, 68, 0.08);
  --shadow-phone: 0 30px 70px rgba(21, 37, 68, 0.22);
  --radius: 18px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(255, 94, 44, .32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 94, 44, .42); }
.btn--ghost { background: #fff; color: var(--deep); border: 1.5px solid var(--border); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--brand-cyan); }
.btn--light { background: #fff; color: var(--brand-orange-600); box-shadow: 0 10px 28px rgba(0,0,0,.16); }
.btn--light:hover { transform: translateY(-2px); }

/* ── 顶栏 ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 250, 246, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.brand__peng { width: 30px; height: 30px; object-fit: contain; object-position: top; }
.brand__name { font-size: 18px; color: var(--deep); letter-spacing: .3px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--text-2); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav__links a:hover { color: var(--brand-orange); }
.nav .btn--primary { margin-left: 4px; }
.nav__toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; margin-left: auto; }
.nav__mobile { display: none; flex-direction: column; padding: 8px 24px 16px; gap: 4px; border-top: 1px solid var(--border); }
.nav__mobile.open { display: flex; }
.nav__mobile a { padding: 10px 0; color: var(--text-2); font-weight: 600; }

/* ── 几何装饰 ── */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .9; z-index: 0; pointer-events: none; }
.blob--orange { width: 320px; height: 320px; background: radial-gradient(circle at 30% 30%, #ff8a3d, #ff5e2c); top: -120px; right: -80px; opacity: .14; }
.blob--cyan { width: 260px; height: 260px; background: radial-gradient(circle at 30% 30%, #2ad0e8, #0aa6c0); bottom: -110px; left: -70px; opacity: .14; }
.blob--cta { top: -90px; right: 6%; opacity: .22; filter: blur(0); }
.dots { position: absolute; width: 120px; height: 120px; z-index: 0;
  background-image: radial-gradient(var(--brand-cyan) 2px, transparent 2px);
  background-size: 18px 18px; opacity: .25; }
.dots--tl { top: 90px; left: 3%; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px;
  background:
    radial-gradient(1100px 500px at 88% -10%, rgba(17,194,222,.10), transparent 60%),
    radial-gradient(900px 460px at 6% 8%, rgba(255,107,53,.10), transparent 55%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__eyebrow { display: inline-block; font-weight: 700; font-size: 13px; color: var(--brand-cyan-600);
  background: rgba(17,194,222,.10); padding: 6px 14px; border-radius: 999px; }
.hero__title { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; font-weight: 900; color: var(--deep); margin: 16px 0 6px; }
.grad-text { background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__tagline { font-style: italic; color: var(--brand-orange); font-weight: 700; letter-spacing: .5px; margin-bottom: 12px; }
.hero__sub { font-size: 17px; color: var(--text-2); max-width: 480px; }
.hero__cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 30px; margin-top: 34px; }
.hero__stats strong { display: block; font-size: 18px; color: var(--deep); }
.hero__stats span { font-size: 13px; color: var(--text-muted); }

.hero__device { position: relative; display: flex; justify-content: center; }
.hero__peng { position: absolute; width: 132px; left: -6px; bottom: -18px; z-index: 3;
  filter: drop-shadow(0 12px 20px rgba(21,37,68,.22)); animation: float 4.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

/* ── 手机框 ── */
.phone { width: 270px; border-radius: 36px; padding: 10px; background: #0f1830;
  box-shadow: var(--shadow-phone); position: relative; z-index: 2; }
.phone::before { content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #0f1830; border-radius: 0 0 14px 14px; z-index: 3; }
.phone img { width: 100%; border-radius: 28px; }
.phone--sm { width: 220px; }

/* ── 通用 section ── */
.section { padding: 76px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, #fff 0%, #f6f9fc 100%); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section__title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: var(--deep); }
.section__sub { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* ── 功能卡 ── */
.grid { display: grid; gap: 20px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(21,37,68,.12); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; background: color-mix(in srgb, var(--c) 14%, #fff); margin-bottom: 16px; }
.card h3 { font-size: 18px; color: var(--deep); margin-bottom: 6px; }
.card p { color: var(--text-2); font-size: 15px; }

/* ── 三步 ── */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px;
  width: 260px; box-shadow: var(--shadow-card); }
.step__no { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-brand); color: #fff;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { color: var(--deep); margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 15px; }
.step__arrow { display: grid; place-items: center; font-size: 26px; color: var(--brand-cyan); font-weight: 700; }

/* ── 截图展示 ── */
.shots { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.shot { text-align: center; }
.shot--up { transform: translateY(-22px); }
.shot figcaption { margin-top: 16px; color: var(--text-2); font-weight: 600; }

/* ── CTA 下载 ── */
.cta { position: relative; overflow: hidden; margin: 0 24px; border-radius: 28px;
  background: linear-gradient(135deg, #ff7a3c 0%, #ff5e2c 52%, #ff4d6d 120%);
  color: #fff; padding: 64px 24px; }
.cta__inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.cta__peng { width: 96px; margin: 0 auto 12px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.2)); }
.cta h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; }
.cta p { opacity: .94; margin-top: 8px; }
.cta__row { display: flex; align-items: center; justify-content: center; gap: 36px; margin-top: 28px; flex-wrap: wrap; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; opacity: .95; }
.qr__img { width: 116px; height: 116px; border-radius: 14px; background: #fff; padding: 8px; }
.cta__note { margin-top: 26px; font-size: 13px; opacity: .9; }
.cta__note a { text-decoration: underline; }

/* ── 页脚 ── */
.footer { background: var(--deep); color: #cdd6e6; padding: 50px 0 24px; margin-top: 8px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { max-width: 260px; }
.footer__brand .brand__name { color: #fff; font-size: 18px; font-weight: 800; }
.footer__brand .brand__peng { width: 28px; height: 28px; display: inline-block; vertical-align: middle; margin-right: 6px; }
.footer__brand p { margin-top: 10px; font-size: 14px; color: #9fb0cc; }
.footer__links { display: flex; gap: 56px; }
.footer__links h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer__links a { display: block; color: #9fb0cc; font-size: 14px; padding: 4px 0; transition: color .15s; }
.footer__links a:hover { color: var(--brand-cyan); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #7f8eaa; flex-wrap: wrap; gap: 8px; }
.footer__bottom a { color: #7f8eaa; }
.footer__bottom a:hover { color: var(--brand-cyan); }

/* ── 滚动浮现 ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── 微信内打开引导遮罩 ── */
.wx-mask { position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(8, 14, 28, .86); backdrop-filter: blur(2px); padding: 24px; }
.wx-mask.show { display: block; }
.wx-mask__arrow { position: absolute; top: 14px; right: 18px; color: #fff; font-weight: 700;
  font-size: 16px; padding-right: 28px; }
.wx-mask__arrow::after { content: '\2197'; position: absolute; right: 0; top: -4px; font-size: 26px; animation: bob 1.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
.wx-mask__box { max-width: 340px; margin: 120px auto 0; background: #fff; border-radius: 18px;
  padding: 26px 22px; text-align: center; }
.wx-mask__box strong { font-size: 18px; color: var(--deep); }
.wx-mask__box p { margin-top: 12px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.wx-mask__box b { color: var(--brand-orange); }
.wx-mask__close { display: inline-block; margin-top: 18px; padding: 10px 30px; border-radius: 999px;
  background: var(--grad-brand); color: #fff; font-weight: 700; }

/* ── 响应式 ── */
@media (max-width: 900px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 8px; }
  .hero__device { margin-top: 24px; }
  .step__arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav .btn--primary { display: none; }
  .nav__toggle { display: block; }
  .grid--features { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .shots { gap: 24px; }
  .shot--up { transform: none; }
  .cta__row { gap: 24px; }
}
