/* =====================================================================
 * 糖糕云面板服管理 App · 落地页样式
 * 风格：科技品牌发布会 + 极光辉光 + 大数字滚动叙事 + 糖糕品牌蓝
 * 仅作用于 /community/app.php，类名统一前缀 tg-（tanggao app landing）
 * ===================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --tg-blue: #2f6bff;
  --tg-blue-bright: #4f8cff;
  --tg-cyan: #38e1ff;
  --tg-violet: #8b5cff;
  --tg-pink: #ff6ad5;
  --tg-green: #7cffc4;
  --tg-amber: #ffe66d;

  --tg-bg: #040812;
  --tg-bg-2: #07111f;
  --tg-ink: #f4f7ff;
  --tg-ink-soft: #aab6d4;
  --tg-ink-dim: #6b769a;

  --tg-glass: rgba(255, 255, 255, 0.045);
  --tg-glass-strong: rgba(255, 255, 255, 0.08);
  --tg-line: rgba(255, 255, 255, 0.10);
  --tg-line-soft: rgba(255, 255, 255, 0.06);

  --tg-grad-brand: linear-gradient(120deg, #7cffc4 0%, #38e1ff 34%, #4f8cff 68%, #8b5cff 100%);
  --tg-grad-cta: linear-gradient(120deg, #1563ff 0%, #2f86ff 48%, #38e1ff 100%);

  --tg-shadow-glow: 0 24px 80px -20px rgba(47, 107, 255, 0.55);
  --tg-radius: 22px;
  --tg-radius-sm: 14px;
  --tg-maxw: 1200px;

  --tg-font: "Sora", "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, Arial, sans-serif;
  --tg-font-display: "Rajdhani", "Sora", "Microsoft YaHei", "微软雅黑", sans-serif;
}

/* ---------- 基础重置 ---------- */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--tg-bg);
}
.tg-app * { margin: 0; padding: 0; box-sizing: border-box; }
.tg-app {
  position: relative;
  min-height: 100vh;
  width: 100%;
  font-family: var(--tg-font);
  background:
    radial-gradient(circle at 75% 10%, rgba(56, 225, 255, 0.12), transparent 30vw),
    radial-gradient(circle at 10% 35%, rgba(47, 107, 255, 0.16), transparent 34vw),
    var(--tg-bg);
  color: var(--tg-ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.tg-app img { display: block; max-width: 100%; }
.tg-app a { color: inherit; text-decoration: none; }
.tg-app button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.tg-app ::selection { background: rgba(79, 140, 255, 0.35); color: #fff; }

.tg-wrap { width: min(100% - 40px, var(--tg-maxw)); margin-inline: auto; }

/* ---------- 图标（Boxicons）尺寸 ---------- */
.tg-app i.bx { line-height: 1; display: inline-block; }
.tg-brand__logo i.bx { font-size: 22px; color: #fff; }
.tg-btn i.bx { font-size: 19px; }
.tg-pill i.bx { font-size: 15px; color: var(--tg-cyan); }
.tg-float__icon i.bx { font-size: 21px; color: #fff; }
.tg-marquee__item i.bx { font-size: 24px; color: var(--tg-ink-soft); }
.tg-card__icon i.bx { font-size: 27px; color: var(--tg-cyan); }
.tg-seg button i.bx { font-size: 17px; }
.tg-ti__dot i.bx { font-size: 14px; color: var(--tg-cyan); }
.tg-dl__os i.bx { font-size: 31px; color: #fff; }
.tg-dl__go i.bx { font-size: 15px; }
.tg-pin__hint i.bx { font-size: 19px; }
.tg-nav__burger i.bx { font-size: 22px; color: var(--tg-ink); }
.tg-power__core i.bx { font-size: 42px; color: var(--tg-green); }
.tg-power__item i.bx { font-size: 25px; color: var(--tg-cyan); }

/* 强调渐变文字 */
.tg-grad-text {
  background: var(--tg-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================================================================
 * 全局背景（极光 + 光束）
 * =================================================================== */
.tg-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.tg-bg__grid {
  display: none;
}
.tg-bg__beam {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 62vh;
  background:
    linear-gradient(115deg, transparent 18%, rgba(56,225,255,.09) 19%, transparent 34%),
    linear-gradient(100deg, transparent 50%, rgba(124,255,196,.08) 51%, transparent 66%);
  transform: skewY(-7deg);
  filter: blur(.2px);
  opacity: .9;
}
.tg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.6; will-change: transform;
}
.tg-orb--1 { width: 620px; height: 620px; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.55), transparent 65%); }
.tg-orb--2 { width: 560px; height: 560px; top: 8%; right: -160px;
  background: radial-gradient(circle, rgba(139, 92, 255, 0.45), transparent 65%); }
.tg-orb--3 { width: 720px; height: 720px; top: 52%; left: 30%;
  background: radial-gradient(circle, rgba(56, 225, 255, 0.28), transparent 65%); }
.tg-bg__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, transparent 40%, rgba(0,0,0,0.55) 100%);
}

/* ===================================================================
 * 顶部导航
 * =================================================================== */
.tg-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.tg-nav.is-stuck {
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--tg-line-soft);
}
.tg-nav__inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.tg-brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 700; letter-spacing: .2px; }
.tg-brand .tg-brand__logo {
  width: 38px; height: 38px; border-radius: 11px;
  flex: 0 0 38px;
  background: rgba(255,255,255,.94);
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 22px -6px rgba(47, 107, 255, .8);
}
.tg-brand__logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.tg-brand b { font-size: 17px; line-height: 1; }
.tg-brand__meta { font-size: 11px; color: var(--tg-ink-dim); font-weight: 500; display: block; margin-top: -3px; }
.tg-nav__links { display: flex; gap: 4px; margin-left: 10px; }
.tg-nav__links a {
  font-size: 14px; color: var(--tg-ink-soft); padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.tg-nav__links a:hover { color: #fff; background: var(--tg-glass); }
.tg-nav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tg-nav__ghost {
  display: inline-flex; align-items: center; justify-content: center;
  width: 90px; height: 42px; padding: 0 16px; box-sizing: border-box;
  font-size: 14px; color: var(--tg-ink-soft); border-radius: 999px;
  border: 1px solid var(--tg-line); transition: color .2s, border-color .2s, background .2s;
}
.tg-nav__ghost:hover { color: #fff; border-color: rgba(255,255,255,.28); background: var(--tg-glass); }
.tg-nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--tg-line); }

/* 通用按钮 */
.tg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, filter .25s;
  white-space: nowrap;
}
.tg-nav__right .tg-btn {
  width: 90px; height: 42px; padding: 0 10px; box-sizing: border-box;
  gap: 4px; font-size: 14px;
}
.tg-nav__right .tg-btn i.bx { font-size: 15px; line-height: 1; }
.tg-btn svg { width: 18px; height: 18px; }
.tg-btn--primary { background: var(--tg-grad-cta); color: #fff; box-shadow: var(--tg-shadow-glow); background-size: 160% 160%; }
.tg-btn--primary:hover { filter: brightness(1.07); box-shadow: 0 28px 90px -18px rgba(47,107,255,.75); }
.tg-btn--ghost { border: 1px solid var(--tg-line); color: var(--tg-ink); background: var(--tg-glass); }
.tg-btn--ghost:hover { border-color: rgba(255,255,255,.3); background: var(--tg-glass-strong); }
.tg-btn:active { transform: translateY(1px) scale(.99); }

/* ===================================================================
 * Hero
 * =================================================================== */
.tg-hero { position: relative; z-index: 1; min-height: 100vh; padding: 148px 0 104px; display: flex; align-items: center; }
.tg-hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.tg-badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(124,255,196,.22); color: var(--tg-ink-soft);
  letter-spacing: .7px; text-transform: uppercase;
}
.tg-badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tg-cyan);
  box-shadow: 0 0 0 4px rgba(56,225,255,.18); animation: tg-pulse 2.2s ease-in-out infinite; }
.tg-badge b { color: #fff; font-weight: 600; }
@keyframes tg-pulse { 0%,100%{ transform: scale(1); opacity:1 } 50%{ transform: scale(1.25); opacity:.65 } }

.tg-hero h1 {
  font-size: clamp(38px, 5.4vw, 70px); line-height: 1.05; font-weight: 800;
  letter-spacing: -1.3px; margin: 22px 0 0;
  text-shadow: 0 18px 60px rgba(56,225,255,.18);
}
.tg-hero h1 .tg-line { display: block; overflow: hidden; }
.tg-hero__sub {
  margin-top: 22px; font-size: clamp(15px, 1.5vw, 18px); color: var(--tg-ink-soft);
  max-width: 540px;
}
.tg-hero__proof {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
  color: rgba(244,247,255,.75); font-family: var(--tg-font-display);
  letter-spacing: 1.1px; text-transform: uppercase; font-weight: 700;
}
.tg-hero__proof span {
  padding: 6px 10px; border-left: 2px solid rgba(124,255,196,.55);
  background: linear-gradient(90deg, rgba(124,255,196,.09), transparent);
}
.tg-hero__pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.tg-pill {
  font-size: 13px; color: var(--tg-ink-soft); padding: 7px 14px; border-radius: 999px;
  background: var(--tg-glass); border: 1px solid var(--tg-line-soft);
  display: inline-flex; align-items: center; gap: 7px;
}
.tg-pill svg { width: 15px; height: 15px; color: var(--tg-cyan); }

.tg-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.tg-hero__cta .tg-btn {
  min-height: 44px;
  padding: 0 18px;
  gap: 6px;
  font-size: 14px;
}
.tg-hero__cta .tg-btn i.bx { font-size: 16px; line-height: 1; }
.tg-hero__stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.tg-hero__stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.tg-hero__stat span { font-size: 13px; color: var(--tg-ink-dim); }

/* Hero 手机展示 */
.tg-hero__stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 610px; perspective: 1400px; }
.tg-hero__glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(124,255,196,.28), transparent 48%),
    radial-gradient(circle, rgba(79,140,255,.52), transparent 66%);
  filter: blur(28px);
}
.tg-phone {
  position: relative; width: 286px; aspect-ratio: 9/19.5;
  border-radius: 42px; padding: 11px;
  background: linear-gradient(160deg, #1b2440, #0a0f1f 60%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.16);
  will-change: transform;
}
.tg-phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; border-radius: 0 0 16px 16px; background: #05070d; z-index: 3;
}
.tg-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #05070d; }
.tg-phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.tg-phone--main { z-index: 3; transform: rotateY(-6deg) rotateX(4deg); }
.tg-phone--back,
.tg-phone--side {
  position: absolute;
  z-index: 1;
  opacity: .72;
  filter: saturate(.85) brightness(.84);
}
.tg-phone--back { width: 236px; transform: translateX(-178px) translateY(38px) rotateY(21deg) rotateZ(-7deg) scale(.9); }
.tg-phone--side { width: 214px; transform: translateX(190px) translateY(72px) rotateY(-25deg) rotateZ(7deg) scale(.86); }
.tg-hero__rank {
  position: absolute;
  right: 0;
  top: 16px;
  z-index: 5;
  display: grid;
  justify-items: end;
  line-height: .88;
  pointer-events: none;
}
.tg-hero__rank span,
.tg-hero__rank small {
  font-family: var(--tg-font-display);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: rgba(244,247,255,.62);
  font-weight: 700;
}
.tg-hero__rank b {
  font-family: var(--tg-font-display);
  font-size: clamp(92px, 10vw, 150px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(124,255,196,.7);
  text-shadow: 0 0 36px rgba(56,225,255,.28);
}

/* 漂浮玻璃卡片 */
.tg-float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px;
  padding: 12px 15px; border-radius: 16px;
  background: rgba(14, 20, 38, 0.72); backdrop-filter: blur(14px);
  border: 1px solid var(--tg-line); box-shadow: 0 18px 50px -18px rgba(0,0,0,.7);
  will-change: transform;
}
.tg-float__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.tg-float__icon svg { width: 20px; height: 20px; color: #fff; }
.tg-float b { font-size: 14px; display: block; }
.tg-float span { font-size: 11.5px; color: var(--tg-ink-dim); }
.tg-float--a { top: 8%; left: -18px; }
.tg-float--b { top: 42%; right: -42px; }
.tg-float--c { bottom: 7%; left: -34px; }

.tg-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: rgba(170,182,212,.68);
  font-family: var(--tg-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.tg-scroll-cue i {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--tg-green), transparent);
  transform-origin: top;
  animation: tg-scroll-cue 1.8s ease-in-out infinite;
}
@keyframes tg-scroll-cue { 0%,100%{ transform: scaleY(.35); opacity:.45 } 50%{ transform: scaleY(1); opacity:1 } }

/* ===================================================================
 * 平台跑马灯
 * =================================================================== */
.tg-marquee { position: relative; z-index: 1; padding: 26px 0; border-block: 1px solid var(--tg-line-soft);
  background: rgba(255,255,255,.015); overflow: hidden; }
.tg-marquee__track { display: flex; gap: 56px; width: max-content; will-change: transform; }
.tg-marquee__item { display: inline-flex; align-items: center; gap: 12px; color: var(--tg-ink-soft);
  font-size: 17px; font-weight: 600; opacity: .8; }
.tg-marquee__item svg { width: 24px; height: 24px; color: var(--tg-ink-soft); }

/* ===================================================================
 * 区块通用
 * =================================================================== */
.tg-section { position: relative; z-index: 1; padding: 100px 0; }
.tg-section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.tg-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--tg-cyan); margin-bottom: 16px;
}
.tg-eyebrow::before, .tg-eyebrow::after { content:""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--tg-cyan)); }
.tg-eyebrow::after { background: linear-gradient(90deg, var(--tg-cyan), transparent); }
.tg-section__head h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.8px; line-height: 1.12; }
.tg-section__head p { margin-top: 16px; color: var(--tg-ink-soft); font-size: 16px; }

/* ---------- 数据带 ---------- */
.tg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tg-stat {
  position: relative; padding: 30px 24px; border-radius: var(--tg-radius); text-align: center;
  background: var(--tg-glass); border: 1px solid var(--tg-line); overflow: hidden;
}
.tg-stat::after { content:""; position: absolute; inset: 0; background: var(--tg-grad-brand); opacity: 0; transition: opacity .35s; }
.tg-stat:hover::after { opacity: .06; }
.tg-stat__num { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -1px; line-height: 1; }
.tg-stat__num .tg-suffix { font-size: .5em; }
.tg-stat__label { margin-top: 12px; color: var(--tg-ink-soft); font-size: 14px; }

/* ---------- 三个选择理由：参考品牌官网的大数字证言 ---------- */
.tg-reasons { padding-top: 70px; }
.tg-reasons__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
}
.tg-reasons__head span {
  font-family: var(--tg-font-display);
  font-size: clamp(50px, 8vw, 108px);
  line-height: .82;
  font-weight: 700;
  letter-spacing: -2px;
  color: rgba(244,247,255,.08);
  text-transform: uppercase;
  white-space: nowrap;
}
.tg-reasons__head h2 {
  max-width: 440px;
  font-size: clamp(25px, 3.2vw, 43px);
  line-height: 1.08;
  letter-spacing: -.9px;
}
.tg-reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tg-reason {
  position: relative;
  min-height: 330px;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.035)),
    radial-gradient(420px circle at 20% 0%, rgba(124,255,196,.12), transparent 62%);
  border: 1px solid var(--tg-line);
  overflow: hidden;
}
.tg-reason::after {
  content: "";
  position: absolute;
  inset: auto -30% -45% -30%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(56,225,255,.18), transparent 68%);
  pointer-events: none;
}
.tg-reason__eyebrow {
  color: var(--tg-green);
  font-family: var(--tg-font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 13px;
}
.tg-reason__metric {
  display: block;
  margin-top: 32px;
  font-family: var(--tg-font-display);
  font-size: clamp(64px, 9vw, 114px);
  line-height: .72;
  font-weight: 700;
  letter-spacing: -3px;
  color: #fff;
}
.tg-reason__metric .tg-suffix { font-size: .28em; margin-left: 4px; color: var(--tg-cyan); letter-spacing: 0; }
.tg-reason h3 {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  font-size: 22px;
  letter-spacing: -.3px;
}
.tg-reason p {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--tg-ink-soft);
  font-size: 14.5px;
}

/* ---------- 功能 Bento ---------- */
.tg-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tg-card {
  position: relative; border-radius: var(--tg-radius); padding: 28px;
  background: var(--tg-glass); border: 1px solid var(--tg-line); overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s, background .4s;
}
.tg-card::before {
  content:""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(79,140,255,.16), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.tg-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); background: var(--tg-glass-strong); }
.tg-card:hover::before { opacity: 1; }
.tg-card__icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(150deg, rgba(79,140,255,.22), rgba(139,92,255,.18));
  border: 1px solid var(--tg-line); position: relative; z-index: 1;
}
.tg-card__icon svg { width: 26px; height: 26px; color: var(--tg-cyan); }
.tg-card h3 { font-size: 19px; font-weight: 700; position: relative; z-index: 1; }
.tg-card p { margin-top: 10px; color: var(--tg-ink-soft); font-size: 14.5px; position: relative; z-index: 1; }
.tg-card--wide { grid-column: span 3; }
.tg-card--reg { grid-column: span 2; }
.tg-card--tall { grid-column: span 2; }

/* 通栏高亮卡 */
.tg-card--full { grid-column: 1 / -1; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.tg-card--full .tg-card__icon { margin-bottom: 16px; }
.tg-card__full-text { flex: 1 1 280px; position: relative; z-index: 1; }
.tg-card__os-row { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.tg-card__os-row span {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 14px;
  background: rgba(8,12,24,.5); border: 1px solid var(--tg-line); font-weight: 600; font-size: 15px;
  transition: transform .3s, border-color .3s;
}
.tg-card__os-row span:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.28); }
.tg-card__os-row span i.bx { font-size: 22px; color: var(--tg-cyan); }

.tg-card__shot { margin-top: 22px; border-radius: 16px; overflow: hidden; border: 1px solid var(--tg-line);
  position: relative; z-index: 1; aspect-ratio: 16/10; }
.tg-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- 能力环 ---------- */
.tg-power { overflow: hidden; }
.tg-power__grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  grid-template-areas:
    "copy visual"
    "items visual";
  gap: 36px 56px;
  align-items: center;
}
.tg-power__copy { grid-area: copy; }
.tg-power__copy .tg-eyebrow { justify-content: flex-start; }
.tg-power__copy h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -1px;
}
.tg-power__copy p { margin-top: 18px; color: var(--tg-ink-soft); font-size: 16px; }
.tg-power__visual {
  grid-area: visual;
  display: grid;
  place-items: center;
  min-height: 560px;
}
.tg-power__ring {
  position: relative;
  width: min(530px, 82vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.tg-power__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 0 36px rgba(56,225,255,.06), 0 0 40px rgba(47,107,255,.08);
  will-change: transform;
}
.tg-power__orbit--outer {
  inset: 0;
  border-color: rgba(124,255,196,.28);
  background: conic-gradient(from 35deg, transparent, rgba(124,255,196,.32), transparent 28%, rgba(56,225,255,.22), transparent 62%);
  mask: radial-gradient(circle, transparent 67%, #000 68%);
  -webkit-mask: radial-gradient(circle, transparent 67%, #000 68%);
}
.tg-power__orbit--mid { inset: 58px; border-style: dashed; border-color: rgba(79,140,255,.34); }
.tg-power__orbit--inner { inset: 122px; border-color: rgba(255,255,255,.18); }
.tg-power__core {
  position: relative;
  z-index: 2;
  width: 178px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  background:
    radial-gradient(circle at 35% 20%, rgba(124,255,196,.28), transparent 42%),
    linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 34px 100px -32px rgba(56,225,255,.8), inset 0 1px 0 rgba(255,255,255,.16);
}
.tg-power__core b {
  font-family: var(--tg-font-display);
  font-size: 24px;
  letter-spacing: 1.4px;
}
.tg-power__core span {
  font-family: var(--tg-font-display);
  font-size: 12px;
  color: var(--tg-ink-dim);
  letter-spacing: 2px;
}
.tg-power__node {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(8,12,24,.76);
  border: 1px solid rgba(124,255,196,.26);
  color: var(--tg-ink);
  font-family: var(--tg-font-display);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.8);
  will-change: transform;
}
.tg-power__node--a { top: 13%; left: 12%; }
.tg-power__node--b { right: 7%; top: 42%; }
.tg-power__node--c { left: 24%; bottom: 9%; }
.tg-power__items {
  grid-area: items;
  display: grid;
  gap: 14px;
}
.tg-power__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--tg-line);
  background: rgba(255,255,255,.045);
  transition: transform .3s, border-color .3s, background .3s;
}
.tg-power__item:hover,
.tg-power__item.is-active {
  transform: translateX(8px);
  border-color: rgba(124,255,196,.34);
  background: rgba(124,255,196,.07);
}
.tg-power__item > span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(56,225,255,.09);
  border: 1px solid var(--tg-line);
}
.tg-power__item h3 { font-size: 18px; }
.tg-power__item p { margin-top: 5px; color: var(--tg-ink-soft); font-size: 14px; }

/* ---------- 截图展示（日/夜） ---------- */
.tg-show__toggle { display: flex; justify-content: center; gap: 6px; margin-bottom: 44px; }
.tg-seg {
  position: relative; display: inline-flex; padding: 5px; border-radius: 999px;
  background: var(--tg-glass); border: 1px solid var(--tg-line);
}
.tg-seg button {
  position: relative; z-index: 1; padding: 10px 24px; border-radius: 999px; font-weight: 600;
  font-size: 14px; color: var(--tg-ink-soft); transition: color .3s; display: inline-flex; align-items: center; gap: 8px;
}
.tg-seg button svg { width: 16px; height: 16px; }
.tg-seg button.is-active { color: #fff; }
.tg-seg__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px;
  background: var(--tg-grad-cta); box-shadow: 0 10px 26px -8px rgba(47,107,255,.8); }

.tg-gallery { display: flex; justify-content: center; align-items: center; gap: 26px; flex-wrap: wrap; perspective: 1600px; }
.tg-gallery__phone {
  width: 202px; aspect-ratio: 9/19.5; border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #1b2440, #0a0f1f 60%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 90px -34px rgba(0,0,0,.8);
  will-change: transform;
}
.tg-gallery__phone .scr { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #05070d; }
.tg-gallery__phone .scr img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 桌面端横向滚动 ---------- */
.tg-desktop { position: relative; z-index: 1; }
.tg-pin { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.tg-pin__track { display: flex; gap: 32px; padding-inline: max(40px, calc((100vw - var(--tg-maxw)) / 2)); will-change: transform; }
.tg-pin__intro { flex: none; width: 360px; align-self: center; }
.tg-pin__intro .tg-eyebrow { justify-content: flex-start; }
.tg-pin__intro h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.8px; line-height: 1.1; }
.tg-pin__intro p { margin-top: 16px; color: var(--tg-ink-soft); font-size: 16px; }
.tg-pin__hint { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; color: var(--tg-ink-dim); font-size: 13px; }
.tg-pin__hint svg { width: 18px; height: 18px; }
.tg-monitor { flex: none; width: 720px; max-width: 80vw; }
.tg-monitor__frame {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--tg-line);
  background: #0c1322; box-shadow: 0 50px 120px -40px rgba(0,0,0,.8);
}
.tg-monitor__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--tg-line-soft); }
.tg-monitor__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2b3550; }
.tg-monitor__bar i:nth-child(1){ background:#ff5f57 } .tg-monitor__bar i:nth-child(2){ background:#febc2e } .tg-monitor__bar i:nth-child(3){ background:#28c840 }
.tg-monitor__bar span { margin-left: 10px; font-size: 12px; color: var(--tg-ink-dim); }
.tg-monitor__frame > img { width: 100%; display: block; }
.tg-monitor__cap { margin-top: 16px; color: var(--tg-ink-soft); font-size: 14px; text-align: center; }

/* ---------- 更新日志横向滚动探索 ---------- */
.tg-log { overflow: hidden; padding-block: 0; }
.tg-log .tg-wrap { max-width: none; padding-inline: 0; }
.tg-log__story {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.tg-log__track {
  display: flex;
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  width: max-content;
  padding-inline: max(28px, calc((100vw - 1180px) / 2));
  will-change: transform;
}
.tg-log__sticky {
  position: relative;
  flex: 0 0 clamp(340px, 34vw, 470px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(500px circle at 0% 0%, rgba(124,255,196,.12), transparent 58%),
    linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  border: 1px solid var(--tg-line);
  box-shadow: 0 40px 110px -54px rgba(56,225,255,.52);
}
.tg-log__sticky::after {
  content: "";
  position: absolute;
  inset: auto -22% -32% -22%;
  height: 46%;
  background: radial-gradient(ellipse at center, rgba(47,107,255,.22), transparent 68%);
  pointer-events: none;
}
.tg-log__sticky > * { position: relative; z-index: 1; }
.tg-log__sticky .tg-eyebrow { justify-content: flex-start; }
.tg-log__sticky h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.08; letter-spacing: -1px; font-weight: 800; }
.tg-log__sticky p { margin-top: 18px; color: var(--tg-ink-soft); font-size: 16px; }
.tg-log__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  color: var(--tg-ink-dim);
  font-size: 13px;
}
.tg-ver-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 28px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--tg-glass);
  border: 1px solid var(--tg-line);
  font-weight: 600;
}
.tg-ver-badge .tg-grad-text { font-size: 18px; }
.tg-timeline {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(26px, 4vw, 52px);
  width: max-content;
  min-height: 470px;
  margin: 0;
  padding-inline: 20px max(28px, 8vw);
}
.tg-timeline__svg {
  position: absolute;
  left: 20px;
  right: max(28px, 8vw);
  top: 130px;
  width: auto;
  height: 4px;
  border-radius: 4px;
  background: var(--tg-line);
  overflow: hidden;
  z-index: 0;
}
.tg-timeline__progress {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--tg-cyan), var(--tg-blue-bright), var(--tg-violet));
}
.tg-ti {
  position: relative;
  flex: 0 0 clamp(330px, 35vw, 440px);
  min-height: 470px;
  display: flex;
  align-items: flex-start;
  padding: 172px 0 0;
}
.tg-ti__dot {
  position: absolute;
  left: 50%;
  top: 132px;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0a0f1f;
  border: 2px solid rgba(79,140,255,.58);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(47,107,255,.10);
  z-index: 2;
}
.tg-ti__dot i.bx { font-size: 15px; color: var(--tg-cyan); }
.tg-ti__card {
  position: relative;
  width: 100%;
  min-height: 214px;
  padding: 30px 32px;
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255,255,255,.082), rgba(255,255,255,.034)),
    radial-gradient(380px circle at 100% 0%, rgba(56,225,255,.12), transparent 64%);
  border: 1px solid var(--tg-line);
  box-shadow: 0 30px 90px -56px rgba(0,0,0,.9);
  transition: opacity .35s, border-color .35s, box-shadow .35s, transform .35s, background .35s;
}
.tg-timeline.is-scroll-ready .tg-ti:not(.is-active) .tg-ti__card {
  opacity: .46;
  transform: scale(.96);
}
.tg-ti.is-active .tg-ti__card,
.tg-ti__card:hover {
  opacity: 1;
  transform: scale(1) translateY(-8px);
  border-color: rgba(124,255,196,.38);
  box-shadow: 0 42px 120px -60px rgba(56,225,255,.72);
}
.tg-ti.is-active .tg-ti__dot {
  border-color: var(--tg-cyan);
  box-shadow: 0 0 0 8px rgba(56,225,255,.16), 0 0 38px rgba(56,225,255,.42);
}
.tg-ti__index {
  position: absolute;
  right: 24px;
  top: 18px;
  color: rgba(244,247,255,.08);
  font-family: var(--tg-font-display);
  font-size: clamp(54px, 8vw, 96px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -2px;
  pointer-events: none;
}
.tg-ti__tag { position: relative; z-index: 1; font-size: 13px; font-weight: 700; color: var(--tg-cyan); letter-spacing: .5px; }
.tg-ti__card p { position: relative; z-index: 1; max-width: 520px; margin-top: 12px; color: var(--tg-ink); font-size: 17px; line-height: 1.75; }

/* ---------- 下载区 ---------- */
.tg-dl { position: relative; }
.tg-dl__panel {
  position: relative; border-radius: 34px; padding: 64px 40px; overflow: hidden;
  background: linear-gradient(160deg, rgba(47,107,255,.16), rgba(139,92,255,.10) 60%, rgba(56,225,255,.10));
  border: 1px solid var(--tg-line); text-align: center;
}
.tg-dl__panel::before { content:""; position: absolute; width: 600px; height: 600px; top: -50%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(79,140,255,.4), transparent 60%); filter: blur(20px); }
.tg-dl__panel > * { position: relative; z-index: 1; }
.tg-dl h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -1px; }
.tg-dl p { margin-top: 14px; color: var(--tg-ink-soft); font-size: 16px; }
.tg-dl__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.tg-dl__card {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 18px;
  border-radius: var(--tg-radius); background: rgba(8,12,24,.55); border: 1px solid var(--tg-line);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s;
}
.tg-dl__card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.3); background: rgba(8,12,24,.78); }
.tg-dl__os { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--tg-glass-strong); border: 1px solid var(--tg-line); }
.tg-dl__os svg { width: 30px; height: 30px; color: #fff; }
.tg-dl__card b { font-size: 16px; }
.tg-dl__card span { font-size: 12.5px; color: var(--tg-ink-dim); }
.tg-dl__card .tg-dl__go { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--tg-cyan);
  display: inline-flex; align-items: center; gap: 5px; }
.tg-dl__card .tg-dl__go svg { width: 14px; height: 14px; transition: transform .25s; }
.tg-dl__card:hover .tg-dl__go svg { transform: translateX(4px); }
.tg-dl__note { margin-top: 28px; font-size: 13px; color: var(--tg-ink-dim); }

/* ---------- 页脚 ---------- */
.tg-foot { position: relative; z-index: 1; padding: 56px 0 40px; border-top: 1px solid var(--tg-line-soft); margin-top: 40px; }
.tg-foot__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.tg-foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.tg-foot__links a { color: var(--tg-ink-soft); font-size: 14px; transition: color .2s; }
.tg-foot__links a:hover { color: #fff; }
.tg-foot__copy { color: var(--tg-ink-dim); font-size: 13px; }

/* ===================================================================
 * 入场动画初始态（JS 接管；无 JS 时回退为可见）
 * =================================================================== */
.tg-app[data-anim="on"] .tg-reveal { opacity: 0; transform: translateY(34px); }
.tg-app[data-anim="on"] .tg-fade { opacity: 0; }

/* ===================================================================
 * 响应式
 * =================================================================== */
@media (max-width: 1024px) {
  .tg-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .tg-hero__stage { min-height: 540px; margin-top: 10px; }
  .tg-hero__rank { right: 7%; }
  .tg-reasons__head { grid-template-columns: 1fr; gap: 10px; }
  .tg-reason-grid { grid-template-columns: 1fr; }
  .tg-reason { min-height: 260px; }
  .tg-power__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "items";
  }
  .tg-power__visual { min-height: 460px; }
  .tg-bento { grid-template-columns: repeat(4, 1fr); }
  .tg-card--wide { grid-column: span 4; }
  .tg-card--reg, .tg-card--tall { grid-column: span 2; }
  .tg-stats { grid-template-columns: repeat(2, 1fr); }
  .tg-log__track { gap: 28px; }
  .tg-log__sticky {
    position: relative;
    top: auto;
    min-height: auto;
    padding: 30px;
  }
  .tg-timeline { max-width: 760px; margin: 0 auto; }
  .tg-nav__links {
    display: none; position: absolute; top: 64px; right: 20px; left: 20px;
    flex-direction: column; gap: 4px; padding: 12px;
    background: rgba(8,12,24,.96); backdrop-filter: blur(18px);
    border: 1px solid var(--tg-line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  }
  .tg-nav__links.is-open { display: flex; }
  .tg-nav__links a { padding: 12px 14px; }
  .tg-nav__burger { display: grid; place-items: center; }
}
@media (max-width: 720px) {
  .tg-hero { min-height: auto; padding: 120px 0 76px; }
  .tg-section { padding: 72px 0; }
  .tg-nav__ghost { display: none; }
  .tg-nav__inner { gap: 10px; }
  .tg-brand b { font-size: 15px; }
  .tg-brand__meta { display: none; }
  .tg-hero__proof { font-size: 12px; }
  .tg-hero__stage { min-height: 470px; }
  .tg-phone { width: 252px; }
  .tg-phone--back { width: 190px; transform: translateX(-112px) translateY(44px) rotateY(18deg) rotateZ(-7deg) scale(.86); }
  .tg-phone--side { width: 170px; transform: translateX(116px) translateY(86px) rotateY(-23deg) rotateZ(7deg) scale(.82); }
  .tg-hero__rank { top: 0; right: 3%; opacity: .72; }
  .tg-scroll-cue { display: none; }
  .tg-reasons { padding-top: 42px; }
  .tg-reason { min-height: 240px; padding: 24px; }
  .tg-bento { grid-template-columns: 1fr; }
  .tg-card--wide, .tg-card--reg, .tg-card--tall { grid-column: span 1; }
  .tg-dl__grid { grid-template-columns: repeat(2, 1fr); }
  .tg-float--b { right: -12px; }
  .tg-float--c { left: -8px; }
  .tg-float--a { left: -8px; }
  .tg-pin { height: auto; padding: 56px 0; }
  .tg-pin__track { flex-direction: column; padding-inline: 20px; }
  .tg-pin__intro { width: 100%; }
  .tg-monitor { width: 100%; max-width: 100%; }
  .tg-hero__stats { gap: 22px; }
  .tg-log { padding-block: 72px; }
  .tg-log .tg-wrap { padding-inline: 20px; }
  .tg-log__story {
    min-height: auto;
    display: block;
    overflow: visible;
  }
  .tg-log__track {
    display: block;
    width: auto;
    padding-inline: 0;
  }
  .tg-log__sticky {
    min-height: auto;
    border-radius: 24px;
    padding: 24px;
  }
  .tg-log__sticky h2 { font-size: 30px; }
  .tg-log__hint { display: none; }
  .tg-timeline {
    display: block;
    width: auto;
    min-height: auto;
    max-width: 760px;
    margin: 26px auto 0;
    padding: 0 0 0 50px;
  }
  .tg-timeline__svg {
    left: 18px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 4px;
    height: auto;
  }
  .tg-timeline__progress { background: linear-gradient(180deg, var(--tg-cyan), var(--tg-blue-bright), var(--tg-violet)); }
  .tg-ti {
    display: block;
    width: auto;
    flex: none;
    min-height: auto;
    padding: 0 0 24px 34px;
  }
  .tg-ti:last-child { padding-bottom: 0; }
  .tg-ti__dot {
    left: -47px;
    top: 14px;
    transform: none;
    width: 28px;
    height: 28px;
  }
  .tg-ti__card {
    min-height: auto;
    padding: 22px 20px;
    border-radius: 20px;
  }
  .tg-timeline.is-scroll-ready .tg-ti:not(.is-active) .tg-ti__card { opacity: 1; transform: none; }
  .tg-ti.is-active .tg-ti__card,
  .tg-ti__card:hover { transform: none; }
  .tg-ti__index { right: 16px; top: 12px; font-size: 54px; }
  .tg-ti__card p { font-size: 15px; line-height: 1.68; }
  .tg-dl__panel { padding: 44px 22px; }
  .tg-power__visual { min-height: 380px; }
  .tg-power__ring { width: min(350px, 90vw); }
  .tg-power__orbit--mid { inset: 40px; }
  .tg-power__orbit--inner { inset: 86px; }
  .tg-power__core { width: 132px; }
  .tg-power__core i.bx { font-size: 32px; }
  .tg-power__core b { font-size: 18px; }
  .tg-power__node { font-size: 12px; padding: 7px 10px; }
}
@media (max-width: 420px) {
  .tg-stats { grid-template-columns: 1fr; }
  .tg-dl__grid { grid-template-columns: 1fr; }
  .tg-phone--back,
  .tg-phone--side { display: none; }
  .tg-hero__stage { min-height: 420px; }
  .tg-hero__rank { right: 0; }
  .tg-reasons__head span { font-size: 44px; }
}

/* 无障碍：尊重减少动效 */
@media (prefers-reduced-motion: reduce) {
  .tg-app[data-anim="on"] .tg-reveal,
  .tg-app[data-anim="on"] .tg-fade { opacity: 1 !important; transform: none !important; }
  .tg-orb, .tg-badge__dot, .tg-scroll-cue i { animation: none !important; }
  .tg-app * { scroll-behavior: auto !important; }
}
