/* ===== 本地 Poppins 字体（仅拉丁子集，woff2，共约 40KB）===== */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/poppins-800.woff2") format("woff2");
}

/* ===== 设计变量 ===== */
:root {
  --brand: #ffb21e;
  --brand-2: #ff7a00;
  --accent: #ffd666;
  --bg: #0a0806;
  --bg-2: #120f0a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eaf2f6;
  --text-dim: #9fb2bd;
  --radius: 20px;
  --maxw: 1160px;
  --shadow-brand: 0 20px 60px -18px rgba(255, 178, 30, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ===== 背景光晕 ===== */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(255, 178, 30, 0.12), transparent 60%),
    radial-gradient(900px 600px at 0% 20%, rgba(255, 122, 0, 0.08), transparent 55%),
    var(--bg);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; background: #ffb21e; top: -120px; right: -80px; }
.orb-2 { width: 460px; height: 460px; background: #ff7a00; bottom: -140px; left: -100px; animation-delay: -6s; }
.orb-3 { width: 380px; height: 380px; background: #7b5cff; top: 40%; left: 55%; animation-delay: -11s; opacity: 0.35; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -50px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 75%);
}

/* ===== 通用按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 14px;
  padding: 13px 24px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #ffd24d, #ffb21e 45%, #e8890b);
  color: #001820;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 70px -16px rgba(255, 178, 30, 0.75); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-xl { padding: 20px 44px; font-size: 1.15rem; border-radius: 18px; }
.btn-col { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-col small { font-weight: 500; font-size: 0.72rem; opacity: 0.7; }
.btn-col b { font-size: 1.1rem; }

/* ===== 顶栏 ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 12, 15, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-size: 1.12rem; letter-spacing: 0.3px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text-dim); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { margin-left: 4px; padding: 10px 20px; }

/* 語言切換按鈕 */
.lang-switch {
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lang-switch:hover { color: var(--brand); border-color: rgba(255, 178, 30, 0.5); background: var(--surface-2); }

/* ===== Hero ===== */
.hero { padding: 150px 24px 90px; }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 122, 0, 0); } }

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 22px 0 20px;
  letter-spacing: -1px;
}
.grad-text {
  background: linear-gradient(100deg, #ffd24d, #ffc23d 50%, #ff7a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 42px;
}
.meta-item { display: flex; flex-direction: column; }
.meta-item b {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(120deg, #fff, var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.meta-item span { font-size: 0.82rem; color: var(--text-dim); }
.meta-divider { width: 1px; height: 38px; background: var(--border); }

/* ===== Hero 手机模型 ===== */
.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 290px;
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(160deg, #241c10, #0d0a06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 2px rgba(255,255,255,0.03);
  animation: floatPhone 6s ease-in-out infinite;
}
@keyframes floatPhone { 50% { transform: translateY(-16px); } }
.phone-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 50% 40%, rgba(255,178,30,0.4), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.phone-screen {
  border-radius: 30px;
  background: radial-gradient(circle at 50% 25%, #241a0c, #0a0805 70%);
  padding: 34px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 500px;
}
.phone-logo { width: 52px; height: 52px; border-radius: 13px; margin-bottom: 26px; }
.connect-ring {
  width: 150px; height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 0deg, var(--brand), #ffc23d, var(--brand-2), var(--brand));
  animation: spin 6s linear infinite;
  box-shadow: 0 0 40px rgba(255,178,30,0.5);
}
@keyframes spin { to { transform: rotate(360deg); } }
.connect-ring-inner {
  width: 128px; height: 128px;
  border-radius: 50%;
  background: #0a1418;
  display: grid;
  place-items: center;
}
.power-icon {
  font-size: 3rem;
  color: var(--brand);
  animation: spinBack 6s linear infinite;
  text-shadow: 0 0 20px rgba(255,178,30,0.8);
}
@keyframes spinBack { to { transform: rotate(-360deg); } }
.connect-status {
  margin: 24px 0 18px;
  font-size: 0.9rem;
  color: var(--brand-2);
  font-weight: 600;
}
.connect-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 46px;
  margin-bottom: 22px;
}
.connect-bars span {
  width: 9px;
  height: var(--h);
  background: linear-gradient(var(--brand), var(--brand-2));
  border-radius: 4px;
  animation: bar 1.3s ease-in-out infinite;
}
.connect-bars span:nth-child(2n) { animation-delay: 0.2s; }
.connect-bars span:nth-child(3n) { animation-delay: 0.4s; }
@keyframes bar { 50% { transform: scaleY(0.5); } }
.connect-speed {
  display: flex;
  gap: 26px;
  width: 100%;
  justify-content: center;
}
.connect-speed div { text-align: center; }
.connect-speed small { display: block; font-size: 0.72rem; color: var(--text-dim); }
.connect-speed b { font-size: 1.15rem; }
.connect-speed i { font-size: 0.7rem; font-style: normal; color: var(--text-dim); }

/* ===== 通用 section ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.eyebrow {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  margin: 12px 0 12px;
  letter-spacing: -0.5px;
}
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* ===== 功能卡片 ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,178,30,0.4); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
  background: linear-gradient(145deg, rgba(255,178,30,0.18), rgba(255,178,30,0.04));
  border: 1px solid rgba(255,178,30,0.25);
}
.card h3 { font-size: 1.2rem; margin-bottom: 9px; }
.card p { color: var(--text-dim); font-size: 0.96rem; }

/* ===== 模式 ===== */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mode-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s;
}
.mode-card:hover { transform: translateY(-6px); border-color: rgba(255,178,30,0.4); }
.mode-tag {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--brand-2);
  color: #04150c;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
}
.mode-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.mode-card p { color: var(--text-dim); font-size: 0.97rem; }

/* ===== 免费体验 ===== */
.free-card {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255,178,30,0.18), transparent 60%),
    linear-gradient(135deg, rgba(255,122,0,0.10), rgba(255,178,30,0.06));
  border: 1px solid rgba(255,178,30,0.3);
  border-radius: 28px;
  padding: 48px 44px;
}
.free-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin: 10px 0 14px; }
.free-copy p { color: var(--text-dim); font-size: 1.05rem; max-width: 560px; margin-bottom: 26px; }
.free-copy strong { color: var(--accent); }
.free-visual { display: flex; justify-content: center; }
.gift-badge {
  width: 180px; height: 180px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background: conic-gradient(from 45deg, var(--brand), var(--accent), var(--brand-2), var(--brand));
  color: #04150c;
  box-shadow: 0 20px 60px -15px rgba(248,181,81,0.5);
  animation: floatPhone 5s ease-in-out infinite;
}
.gift-num { font-size: 3.6rem; font-weight: 800; line-height: 1; }
.gift-unit { font-size: 1.1rem; font-weight: 700; }

/* ===== 下载区 ===== */
.download-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}
.download-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 50% 0%, rgba(255,178,30,0.15), transparent 70%);
  pointer-events: none;
}
.download-icon {
  width: 92px; height: 92px;
  border-radius: 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-brand);
}
.download-inner h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; }
.download-sub { color: var(--text-dim); margin: 8px 0 30px; }
.download-hint { color: var(--text-dim); font-size: 0.85rem; margin-top: 22px; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(255,178,30,0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.3s;
}
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-body {
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 0.98rem;
}

/* ===== 页脚 ===== */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 40px 24px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-copy { color: var(--text-dim); font-size: 0.88rem; }

/* ===== 移动端悬浮下载 ===== */
.floating-cta {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffd24d, #e8890b);
  color: #001820;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 14px 40px -8px rgba(255,178,30,0.7);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.floating-cta.show { transform: translateX(-50%) translateY(0); }

/* ===== 滚动进场动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .cards, .modes-grid { grid-template-columns: 1fr 1fr; }
  .free-card { grid-template-columns: 1fr; text-align: center; }
  .free-copy p { margin-left: auto; margin-right: auto; }
  .free-visual { order: -1; }
  .nav-links { display: none; }
  /* 導航連結隱藏後，語言按鈕靠右對齊 */
  .lang-switch { margin-left: auto; }
}
@media (max-width: 560px) {
  .hero { padding-top: 120px; }
  .cards, .modes-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 14px; }
  .meta-item b { font-size: 1.4rem; }
  .nav-cta { display: none; }
  .floating-cta { display: inline-flex; }
  .free-card, .download-inner { padding: 34px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
