/* ==========================================================
   Telegram 官网 · 视觉样式
   风格：紧凑清晰 / 胶囊元素 / 现代玻璃质感
   ========================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --brand: #229ed9;
  --brand-strong: #1b8cc4;
  --brand-deep: #0f6c9c;
  --brand-soft: #e6f5fc;
  --brand-glow: rgba(34, 158, 217, 0.35);

  --bg: #f6f9fc;
  --bg-elev: #ffffff;
  --bg-tint: #eef5fa;
  --ink: #10202e;
  --ink-2: #46586a;
  --ink-3: #7d8fa1;
  --line: rgba(16, 32, 46, 0.09);
  --line-strong: rgba(16, 32, 46, 0.16);

  --green: #31c48d;
  --violet: #8b7cf6;
  --amber: #f4a63a;
  --rose: #f06a8a;
  --cyan: #2fc6d6;

  --radius-pill: 999px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(16, 32, 46, 0.05), 0 4px 14px rgba(16, 32, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 32, 46, 0.1);
  --shadow-lg: 0 24px 60px rgba(16, 32, 46, 0.16);
  --shadow-brand: 0 10px 26px rgba(34, 158, 217, 0.32);

  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --hdr-h: 66px;
}

/* 暗色主题 */
[data-theme="dark"] {
  --bg: #0b1622;
  --bg-elev: #101f2f;
  --bg-tint: #0d1a28;
  --ink: #eaf3fa;
  --ink-2: #a8bccd;
  --ink-3: #6f8496;
  --line: rgba(234, 243, 250, 0.09);
  --line-strong: rgba(234, 243, 250, 0.18);
  --brand-soft: rgba(34, 158, 217, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--brand); color: #fff; }

svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}
.container--narrow { width: min(780px, 100% - 48px); }

.section { padding: 96px 0; position: relative; }
.section--flush { padding-top: 28px; }
.section--tint { background: var(--bg-tint); }
.section--dark {
  background:
    radial-gradient(1000px 480px at 82% -10%, rgba(34, 158, 217, 0.22), transparent 62%),
    radial-gradient(700px 420px at 8% 110%, rgba(139, 124, 246, 0.16), transparent 60%),
    #0a1724;
  color: #eaf3fa;
}

/* ---------- 通用元素 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}
.pill--brand { color: var(--brand-strong); border-color: rgba(34, 158, 217, 0.35); background: var(--brand-soft); box-shadow: none; }
.pill--dark { color: #9fd4ef; border-color: rgba(159, 212, 239, 0.28); background: rgba(34, 158, 217, 0.12); }
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(34, 158, 217, 0.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(34, 158, 217, 0.06); }
}

.grad-text {
  background: linear-gradient(100deg, #38b6f0, #229ed9 45%, #6fc7f2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .i-arrow, .btn .i-check { width: 17px; height: 17px; }
.btn .i-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }

.btn--primary { background: linear-gradient(135deg, #38b6f0, #1e8ec7); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(34, 158, 217, 0.42); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: var(--bg-elev); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn--light { background: #fff; color: #0d2233; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36); }

.btn--dark-ghost { border-color: rgba(255, 255, 255, 0.32); color: #eaf3fa; }
.btn--dark-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.55); }

.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  background: var(--bg-elev);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { color: var(--brand-strong); border-color: var(--brand); transform: translateY(-2px); }

.ticks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 7.5' fill='none' stroke='%23229ed9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 13px no-repeat,
    var(--brand-soft);
}
.ticks--dark li { color: #b9cddd; }
.ticks--dark li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 7.5' fill='none' stroke='%2371c9f2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 13px no-repeat,
    rgba(34, 158, 217, 0.16);
}

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 顶部导航 ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: color-mix(in srgb, var(--bg-elev) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.hdr__inner { display: flex; align-items: center; gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #38b6f0, #1e8ec7);
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.35);
}
.brand__mark svg { width: 21px; height: 21px; fill: #fff; stroke: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elev) 65%, transparent);
}
.nav__link {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--brand-strong); background: var(--brand-soft); }

.hdr__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); }
.burger span { width: 17px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--hdr-h) + 62px) 0 0; overflow: clip; }
.hero__glow {
  position: absolute;
  top: -240px; right: -180px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 182, 240, 0.22), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 22px 0 18px;
}
.hero__desc { color: var(--ink-2); font-size: 17.5px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: var(--ink-3); font-size: 14px; }
.hero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta .i-check { width: 16px; height: 16px; color: var(--green); stroke-width: 2.6; }

/* 手机模型 */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 620px; }
.orb { position: absolute; border-radius: 50%; pointer-events: none; }
.orb--1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle at 32% 30%, rgba(56, 182, 240, 0.34), rgba(34, 158, 217, 0.06) 62%, transparent 72%);
  filter: blur(2px);
}
.orb--2 {
  width: 300px; height: 300px;
  right: 4%; bottom: 4%;
  background: radial-gradient(circle, rgba(139, 124, 246, 0.2), transparent 66%);
}

.phone {
  position: relative;
  width: 306px;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #20374b, #0e1d2b);
  box-shadow:
    0 40px 90px rgba(10, 30, 48, 0.42),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  z-index: 2;
  animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(0.4deg); }
  50% { transform: translateY(-14px) rotate(-0.4deg); }
}
.phone__notch {
  position: absolute;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 24px;
  border-radius: var(--radius-pill);
  background: #0b1622;
  z-index: 3;
}
.phone__screen {
  display: flex;
  flex-direction: column;
  height: 588px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(56, 182, 240, 0.1), transparent 120px),
    var(--bg-tint);
  position: relative;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 44px 16px 13px;
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.chat-top__back { color: var(--brand); width: 22px; height: 22px; }
.chat-top__back svg { width: 100%; height: 100%; stroke-width: 2.2; }
.avatar {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-weight: 700;
  flex: none;
}
.avatar--brand { background: linear-gradient(135deg, #38b6f0, #1e8ec7); color: #fff; }
.avatar--brand svg { width: 21px; height: 21px; fill: #fff; stroke: none; }
.avatar--grad { background: linear-gradient(135deg, #8b7cf6, #38b6f0); color: #fff; }
.avatar--channel { background: linear-gradient(135deg, #f4a63a, #f06a8a); }
.avatar--channel svg { width: 21px; height: 21px; stroke: #fff; }
.avatar--lg { width: 84px; height: 84px; font-size: 30px; }
.chat-top__meta { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.chat-top__meta strong { font-size: 15px; }
.chat-top__meta span { font-size: 12px; color: var(--brand); }
.chat-top__status {
  margin-left: auto;
  font-size: 11px;
  color: var(--green);
  border: 1px solid color-mix(in srgb, var(--green) 45%, transparent);
  background: color-mix(in srgb, var(--green) 12%, transparent);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 14px;
  overflow: hidden;
}
.msg {
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.msg.on { opacity: 1; transform: none; }
.msg--in {
  align-self: flex-start;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow-sm);
}
.msg--out {
  align-self: flex-end;
  background: linear-gradient(135deg, #38b6f0, #1e8ec7);
  color: #fff;
  border-bottom-right-radius: 5px;
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.3);
}
.msg--accent { border-color: rgba(34, 158, 217, 0.4); background: var(--brand-soft); }

.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 5px;
  padding: 11px 14px;
  border-radius: 16px 16px 16px 5px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.typing.on { opacity: 1; }
.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: blink 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes blink { 0%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 14px;
}
.chat-input__ph {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13.5px;
}
.chat-input__send {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38b6f0, #1e8ec7);
  box-shadow: 0 6px 14px rgba(34, 158, 217, 0.4);
}
.chat-input__send svg { width: 19px; height: 19px; fill: #fff; stroke: none; }

/* 悬浮卡片 */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 13.5px; line-height: 1.3; }
.float-card span:not(.float-card__icon) { font-size: 12px; color: var(--ink-3); }
.float-card__icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
}
.float-card__icon svg { width: 18px; height: 18px; }
.float-card__icon--green { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.float-card__icon--blue { background: var(--brand-soft); color: var(--brand); }
.float-card--a { top: 84px; left: 6%; animation-delay: 0.8s; }
.float-card--b { bottom: 96px; right: 3%; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 74px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.stat { text-align: center; padding: 16px 8px; border-radius: var(--radius-md); transition: background 0.25s var(--ease); }
.stat:hover { background: var(--brand-soft); }
.stat b { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(120deg, #38b6f0, #1b8cc4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13.5px; color: var(--ink-3); }
.stat + .stat { border-left: 1px solid var(--line); }

/* ---------- 区块标题 ---------- */
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 54px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.22; margin: 18px 0 14px; }
.sec-head p { color: var(--ink-2); font-size: 16.5px; }

/* ---------- 功能特性 ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature:hover { transform: translateY(-5px); border-color: rgba(34, 158, 217, 0.45); box-shadow: var(--shadow-md); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  margin-bottom: 18px;
}
.feature__icon svg { width: 23px; height: 23px; }
.feature__icon--blue { background: var(--brand-soft); color: var(--brand); }
.feature__icon--green { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.feature__icon--violet { background: color-mix(in srgb, var(--violet) 14%, transparent); color: var(--violet); }
.feature__icon--amber { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.feature__icon--rose { background: color-mix(in srgb, var(--rose) 14%, transparent); color: var(--rose); }
.feature__icon--cyan { background: color-mix(in srgb, var(--cyan) 15%, transparent); color: var(--cyan); }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }

/* ---------- 体验展示（标签页） ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  width: fit-content;
  margin: 0 auto 44px;
  border-radius: var(--radius-pill);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tab:hover { color: var(--brand-strong); }
.tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #38b6f0, #1e8ec7);
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.35);
}

.panel {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  animation: panelIn 0.45s var(--ease);
}
.panel[hidden] { display: none; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.panel__copy h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.panel__copy p { color: var(--ink-2); margin-bottom: 22px; }
.panel__copy .ticks { margin-top: 4px; }

/* 模拟界面卡片 */
.mock {
  width: min(340px, 100%);
  margin-inline: auto;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.mock__head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.mock__head div { display: flex; flex-direction: column; line-height: 1.35; }
.mock__head strong { font-size: 15px; }
.mock__sub { font-size: 12px; color: var(--ink-3); }
.mock__row { display: flex; margin-bottom: 9px; }
.mock__row--out { justify-content: flex-end; }
.mock__bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 15px 15px 15px 5px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
}
.mock__bubble--out { border-radius: 15px 15px 5px 15px; background: linear-gradient(135deg, #38b6f0, #1e8ec7); color: #fff; border: 0; }
.mock__bubble--burn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose);
  border-color: color-mix(in srgb, var(--rose) 38%, transparent);
  background: color-mix(in srgb, var(--rose) 8%, transparent);
}
.mock__bubble--burn svg { width: 16px; height: 16px; flex: none; }

.mock__post p { font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.mock__cover {
  height: 118px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(56, 182, 240, 0.85), rgba(139, 124, 246, 0.75)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255, 255, 255, 0.14) 14px 28px);
  margin-bottom: 14px;
}
.mock__reacts { display: flex; gap: 8px; flex-wrap: wrap; }
.react {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.react svg { width: 15px; height: 15px; }
.react:nth-child(1) svg { color: var(--rose); }
.react:nth-child(2) svg { color: var(--brand); }
.react:nth-child(3) svg { color: var(--amber); }

.mock--call {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 34px 20px;
}
.mock--call strong { font-size: 17px; }
.call-actions { display: flex; gap: 14px; margin-top: 20px; }
.call-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.call-btn svg { width: 21px; height: 21px; }
.call-btn:hover { transform: translateY(-3px); color: var(--brand-strong); border-color: var(--brand); }
.call-btn--end { background: linear-gradient(135deg, #f06a8a, #e0486c); color: #fff; border: 0; box-shadow: 0 8px 18px rgba(240, 106, 138, 0.4); }
.call-btn--end:hover { color: #fff; border: 0; }

/* ---------- 安全 ---------- */
.security {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.security__visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.shield {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(56, 182, 240, 0.3), rgba(34, 158, 217, 0.08) 65%, transparent 74%);
}
.shield::before,
.shield::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(120, 200, 240, 0.28);
  animation: spin 30s linear infinite;
}
.shield::after { inset: -42px; animation-duration: 46s; animation-direction: reverse; border-style: solid; border-color: rgba(120, 200, 240, 0.1); }
@keyframes spin { to { transform: rotate(360deg); } }
.shield svg {
  width: 96px; height: 96px;
  color: #6fc7f2;
  stroke-width: 1.4;
  filter: drop-shadow(0 0 22px rgba(56, 182, 240, 0.5));
}
.shield svg path:last-child { stroke: #31c48d; stroke-width: 2.4; }

.chip {
  position: absolute;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #bcd9ea;
  background: rgba(13, 32, 48, 0.78);
  border: 1px solid rgba(120, 200, 240, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: floatCard 7s ease-in-out infinite;
}
.chip--tl { top: 8%; left: 12%; }
.chip--tr { top: 16%; right: 6%; animation-delay: 1s; }
.chip--bl { bottom: 14%; left: 4%; animation-delay: 2s; }
.chip--br { bottom: 6%; right: 14%; animation-delay: 3s; }

.security__copy h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.22; margin: 18px 0 14px; }
.security__copy > p { color: #b9cddd; margin-bottom: 24px; }
.security__copy .btn { margin-top: 14px; }

/* ---------- 下载平台 ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.platform {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.platform:hover { transform: translateY(-4px); border-color: rgba(34, 158, 217, 0.45); box-shadow: var(--shadow-md); }
.platform__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  flex: none;
  background: var(--brand-soft);
  color: var(--brand-strong);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.platform__icon svg { width: 24px; height: 24px; }
.platform:hover .platform__icon { background: linear-gradient(135deg, #38b6f0, #1e8ec7); color: #fff; }
.platform__txt { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.platform__txt strong { font-size: 16.5px; }
.platform__txt span { font-size: 13px; color: var(--ink-3); }
.platform .i-arrow { width: 18px; height: 18px; margin-left: auto; color: var(--ink-3); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.platform:hover .i-arrow { transform: translateX(4px); color: var(--brand-strong); }

/* ---------- 常见问题 ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq__item[open] { border-color: rgba(34, 158, 217, 0.42); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand-strong); }
.faq__icon {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  flex: none;
  border: 1px solid var(--line-strong);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: linear-gradient(135deg, #38b6f0, #1e8ec7); border-color: transparent; color: #fff; transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__body { padding: 0 22px 20px; }
.faq__body p { color: var(--ink-2); font-size: 15px; line-height: 1.75; }

/* ---------- 底部行动区 ---------- */
.cta {
  padding: 20px 0 96px;
}
.cta__inner {
  text-align: center;
  padding: 64px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 18% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(500px 300px at 86% 110%, rgba(139, 124, 246, 0.32), transparent 62%),
    linear-gradient(135deg, #1e8ec7, #12688f);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta__inner h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta__inner p { color: rgba(255, 255, 255, 0.82); font-size: 16.5px; margin-bottom: 30px; }
.cta__inner .hero__actions { justify-content: center; margin-top: 0; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  padding: 64px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand p { margin-top: 16px; color: var(--ink-3); font-size: 14px; }
.footer__col h4 { font-size: 14px; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 16px; font-weight: 600; }
.footer__col a {
  display: block;
  padding: 5px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer__col a:hover { color: var(--brand-strong); transform: translateX(3px); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.footer__bottom p { font-size: 13px; color: var(--ink-3); }
.footer__social { display: flex; gap: 10px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero__desc { margin-inline: auto; }
  .hero__actions, .hero__meta { justify-content: center; }
  .hero__visual { min-height: 560px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .security { grid-template-columns: 1fr; gap: 40px; }
  .security__visual { min-height: 320px; }
  .panel { grid-template-columns: 1fr; gap: 34px; padding: 30px; }
  .nav {
    position: fixed;
    top: calc(var(--hdr-h) + 10px);
    left: 24px; right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: var(--bg-elev);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    margin-inline: 0;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 15.5px; }
  .burger { display: flex; }
  .hdr__cta { display: none; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 68px 0; }
  .features, .platforms { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 4px; margin-top: 54px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero { padding-top: calc(var(--hdr-h) + 40px); }
  .hero__visual { min-height: 520px; }
  .phone { width: min(286px, 88vw); }
  .phone__screen { height: 540px; }
  .float-card--a { left: 0; top: 46px; }
  .float-card--b { right: 0; bottom: 60px; }
  .float-card { padding: 9px 13px; }
  .float-card__icon { width: 30px; height: 30px; }
  .chip { font-size: 12px; padding: 6px 12px; }
  .cta__inner { padding: 46px 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ==========================================================
   独立页面组件（功能 / 下载 / 安全 / FAQ / Premium / 博客）
   ========================================================== */

/* ---------- 页面头部（子页通用） ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--hdr-h) + 76px) 0 56px;
  text-align: center;
  overflow: clip;
}
.page-hero__glow {
  position: absolute;
  top: -280px; left: 50%;
  transform: translateX(-50%);
  width: 820px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 182, 240, 0.2), transparent 72%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 20px 0 16px;
}
.page-hero p {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 660px;
  margin: 0 auto;
}
.page-hero .hero__actions { justify-content: center; margin-top: 30px; }

/* 导航当前页高亮 */
.nav__link.is-current { color: var(--brand-strong); background: var(--brand-soft); }

/* ---------- 左文右图分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 60px;
  align-items: center;
}
.split + .split { margin-top: 84px; }
.split--flip .split__media { order: -1; }
.split__copy h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 14px;
}
.split__copy > p { color: var(--ink-2); margin-bottom: 20px; }

/* ---------- 三步开始（步骤卡） ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: rgba(34, 158, 217, 0.45); box-shadow: var(--shadow-md); }
.step__num {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38b6f0, #1e8ec7);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.32);
  margin-bottom: 18px;
}
.step h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- 数据表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.spec-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.spec-table th,
.spec-table td {
  padding: 15px 24px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.spec-table thead th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  background: var(--bg-tint);
}
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr { transition: background 0.2s var(--ease); }
.spec-table tbody tr:hover { background: color-mix(in srgb, var(--brand-soft) 55%, transparent); }
.spec-table svg { width: 17px; height: 17px; }
.spec-table svg.yes { color: var(--green); stroke-width: 2.6; }
.spec-table svg.no { color: var(--ink-3); stroke-width: 2; }
.spec-table .cell-muted { color: var(--ink-3); }
.table-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ---------- 胶囊标签云 ---------- */
.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- 价格卡片 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--pro {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    linear-gradient(135deg, #38b6f0, #8b7cf6) border-box;
  box-shadow: var(--shadow-md);
}
.badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #38b6f0, #1e8ec7);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-brand);
  white-space: nowrap;
}
.price-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.price-card__sub { font-size: 13.5px; color: var(--ink-3); }
.price { display: flex; align-items: baseline; gap: 7px; margin: 20px 0 6px; }
.price__amount { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-card--pro .price__amount {
  background: linear-gradient(120deg, #38b6f0, #8b7cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price__unit { color: var(--ink-3); font-size: 14px; }
.price__note { font-size: 13px; color: var(--ink-3); min-height: 21px; }
.price-list { margin: 22px 0 28px; }
.price-list li { font-size: 14.5px; }
.price-card .btn { margin-top: auto; width: 100%; }

/* ---------- FAQ 工具区（搜索 + 分类） ---------- */
.faq-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(480px, 100%);
  padding: 4px 6px 4px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.search-box svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 10px 0;
}
.search-box input::placeholder { color: var(--ink-3); }
.tabs--wrap { flex-wrap: wrap; width: auto; max-width: 100%; margin-bottom: 0; }
.empty { display: none; text-align: center; padding: 48px 20px; color: var(--ink-3); }
.empty.show { display: block; }
.empty svg { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--ink-3); stroke-width: 1.4; }

/* ---------- 博客 ---------- */
.blog-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.blog-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(34, 158, 217, 0.45); }
.blog-feature__cover {
  position: relative;
  min-height: 320px;
  background:
    radial-gradient(420px 220px at 82% 4%, rgba(255, 255, 255, 0.22), transparent 62%),
    linear-gradient(135deg, #1e8ec7, #6d5df0);
}
.blog-feature__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 16px, rgba(255, 255, 255, 0.07) 16px 32px);
}
.blog-feature__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  padding: 40px 38px;
}
.blog-feature__body h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.blog-feature__body p { color: var(--ink-2); font-size: 15px; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 12.5px;
  font-weight: 700;
}
.tag-pill--violet { background: color-mix(in srgb, var(--violet) 14%, transparent); color: var(--violet); }
.tag-pill--green { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.tag-pill--amber { background: color-mix(in srgb, var(--amber) 16%, transparent); color: #c9812a; }
.tag-pill--rose { background: color-mix(in srgb, var(--rose) 14%, transparent); color: var(--rose); }

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(34, 158, 217, 0.45); }
.post-card__cover { height: 156px; position: relative; }
.post-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255, 255, 255, 0.08) 14px 28px);
}
.cover--a { background: linear-gradient(135deg, #38b6f0, #1e8ec7); }
.cover--b { background: linear-gradient(135deg, #8b7cf6, #38b6f0); }
.cover--c { background: linear-gradient(135deg, #31c48d, #2fc6d6); }
.cover--d { background: linear-gradient(135deg, #f4a63a, #f06a8a); }
.cover--e { background: linear-gradient(135deg, #f06a8a, #8b7cf6); }
.cover--f { background: linear-gradient(135deg, #2fc6d6, #1e8ec7); }
.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 20px 22px 24px;
}
.post-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; }
.post-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.post__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.post__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }

.subscribe {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 7px;
  border-radius: var(--radius-pill);
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.subscribe:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.subscribe input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 10px 16px;
}
.subscribe input::placeholder { color: var(--ink-3); }
.subscribe .btn { padding: 12px 24px; flex: none; }
.form-tip { display: none; text-align: center; margin-top: 14px; font-size: 13.5px; color: var(--rose); }
.form-tip.show { display: block; }
.form-tip.is-ok { color: var(--green); }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 38px; }
.pager a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.pager a:hover { border-color: var(--brand); color: var(--brand-strong); transform: translateY(-2px); }
.pager a svg { width: 16px; height: 16px; }
.pager a.is-active {
  background: linear-gradient(135deg, #38b6f0, #1e8ec7);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-brand);
}

/* ---------- 新组件响应式 ---------- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--flip .split__media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature__cover { min-height: 220px; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; }
  .tabs--wrap { border-radius: var(--radius-lg); }
}

@media (max-width: 640px) {
  .page-hero { padding: calc(var(--hdr-h) + 48px) 0 44px; }
  .posts { grid-template-columns: 1fr; }
  .blog-feature__body { padding: 28px 22px; }
  .price-card { padding: 30px 24px; }
  .subscribe { flex-direction: column; border-radius: var(--radius-lg); padding: 12px; }
  .subscribe .btn { width: 100%; }
  .spec-table th, .spec-table td { padding: 13px 18px; }
}
