/* ============ Design tokens ============ */
:root {
  --accent: #ef5a2c;
  --accent-dark: #d8481f;
  --accent-soft: #fbe9e1;
  --bg: #fbfaf8;
  --bg-alt: #f4f2ed;
  --surface: #ffffff;
  --text: #1c1b19;
  --text-mid: #5c5953;
  --text-muted: #8b877f;
  --border: #e8e5de;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 20px rgba(28, 27, 25, 0.05);
  --shadow: 0 20px 60px rgba(28, 27, 25, 0.1);
  --shadow-lg: 0 30px 80px rgba(28, 27, 25, 0.16);
  --max-width: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 650; line-height: 1.18; letter-spacing: -0.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 26px;
  border-radius: 100px; font-size: 15px; font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(239, 90, 44, 0.28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(239, 90, 44, 0.34); }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { color: var(--accent); }
.btn-light { background: #fff; color: var(--text); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,0.18); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 250, 248, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-icon { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.brand-en { font-size: 12px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.02em; padding-left: 10px; border-left: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav-link { font-size: 15px; color: var(--text-mid); font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: 92px 0 108px; }
.hero-glow {
  position: absolute; top: -280px; right: -180px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(239,90,44,0.14) 0%, rgba(239,90,44,0) 68%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 68px; align-items: center; position: relative; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); letter-spacing: -0.04em; line-height: 1.1; }
.accent { color: var(--accent); }
.hero-desc { margin-top: 26px; max-width: 500px; color: var(--text-mid); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.hero-points li { position: relative; padding-left: 16px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-visual { position: relative; padding: 20px 0 20px 20px; }
.visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
  border: 1px solid rgba(0,0,0,0.06);
  background: #111;
}
.visual-main { width: 100%; height: auto; display: block; }
.visual-float-icon {
  position: absolute; left: -34px; bottom: -30px; width: 104px; height: 104px;
  border-radius: 26px; box-shadow: var(--shadow-lg);
  transform: rotate(-9deg);
  animation: float 6s ease-in-out infinite;
}
.visual-badge {
  position: absolute; top: 2px; right: -14px;
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); padding: 12px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-9deg); } 50% { transform: translateY(-12px) rotate(-6deg); } }

/* ============ Strip ============ */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 30px; padding-bottom: 30px; }
.strip-item { text-align: center; padding: 8px 12px; border-right: 1px solid var(--border); }
.strip-item:last-child { border-right: 0; }
.strip-item strong { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.strip-item span { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ============ Sections ============ */
.section { padding: 120px 0; }
.feature-alt { background: var(--bg-alt); }
.feature-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
.feature-grid-reverse .feature-copy { order: 2; }
.feature-grid-reverse .feature-media { order: 1; }
.feature-copy h2 { font-size: clamp(32px, 3.8vw, 50px); }
.feature-copy p:not(.eyebrow):not(.note) { margin-top: 22px; color: var(--text-mid); font-size: 16px; line-height: 1.9; }
.feature-copy .note { margin-top: 18px; font-size: 13px; color: var(--text-muted); line-height: 1.7; padding-left: 14px; border-left: 2px solid var(--border); }
.tick-list { margin-top: 28px; display: grid; gap: 14px; }
.tick-list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--text); font-weight: 500; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
}
.tick-list li::after {
  content: ""; position: absolute; left: 6px; top: 11px;
  width: 4px; height: 8px; border: solid var(--accent);
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.feature-media { position: relative; min-height: 520px; }
.media-card {
  margin: 0; border-radius: var(--radius);
  overflow: hidden; background: #111;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.05);
  position: relative; z-index: 1;
}
.media-card img { width: 100%; height: auto; display: block; }
.media-card-sm {
  position: absolute; right: -26px; bottom: -46px;
  width: 46%; z-index: 2;
  border: 5px solid var(--bg);
  transform: rotate(3deg);
  box-shadow: var(--shadow-lg);
}
.feature-alt .media-card-sm { border-color: var(--bg-alt); }

/* ============ Promise ============ */
.promise { background: var(--bg-alt); }
.promise-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.promise-head h2 { font-size: clamp(32px, 3.8vw, 50px); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.promise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.promise-icon {
  width: 50px; height: 50px; border-radius: 15px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.promise-icon svg { width: 26px; height: 26px; }
.promise-card h3 { font-size: 20px; margin-bottom: 12px; }
.promise-card p { font-size: 15px; color: var(--text-mid); line-height: 1.8; }

/* ============ Download ============ */
.download { padding: 110px 0; }
.download-inner {
  position: relative; overflow: hidden;
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 64px 72px;
  display: flex; align-items: center; gap: 48px;
  box-shadow: 0 24px 60px rgba(239, 90, 44, 0.25);
}
.download-inner::after {
  content: ""; position: absolute; right: -90px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.download-icon {
  width: 128px; height: 128px; border-radius: 30px; flex-shrink: 0;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22); position: relative; z-index: 1;
}
.download-copy { position: relative; z-index: 1; color: #fff; }
.download-copy h2 { font-size: clamp(28px, 3.2vw, 40px); color: #fff; }
.download-copy p { margin-top: 14px; max-width: 560px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.92); }
.download-copy .btn { margin-top: 26px; color: var(--text); }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0; background: var(--bg); }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand strong { display: block; font-size: 15px; }
.footer-brand span { display: block; font-size: 12px; color: var(--text-muted); }
.footer-links { display: flex; gap: 26px; font-size: 14px; color: var(--text-mid); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  width: 100%; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
}
.copyright { font-size: 13px; color: var(--text-muted); }
.beian-link { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.beian-link:hover { color: var(--accent); }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============ Policy page ============ */
.policy-hero { position: relative; overflow: hidden; padding: 64px 0 56px; border-bottom: 1px solid var(--border); }
.policy-hero-inner { position: relative; max-width: 800px; }
.back-link { display: inline-block; font-size: 14px; color: var(--text-muted); margin-bottom: 32px; transition: color 0.2s; }
.back-link:hover { color: var(--accent); }
.policy-hero h1 { font-size: clamp(40px, 5vw, 60px); }
.policy-date { margin-top: 14px; font-size: 14px; color: var(--text-muted); }
.policy-lead { margin-top: 24px; font-size: 16px; color: var(--text-mid); line-height: 1.9; }

.policy-body { max-width: 800px; padding-top: 56px; padding-bottom: 100px; }
.policy-callout { display: flex; gap: 18px; align-items: flex-start; background: var(--accent-soft); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 56px; }
.policy-callout-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: rgba(239, 90, 44, 0.14); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.policy-callout-icon svg { width: 22px; height: 22px; }
.policy-callout p { font-size: 15px; line-height: 1.85; color: var(--text-mid); }
.policy-callout strong { color: var(--text); }

.policy-section { margin-bottom: 52px; }
.policy-section h2 { font-size: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.policy-section h3 { font-size: 18px; margin: 32px 0 14px; }
.policy-section p { font-size: 15px; line-height: 1.95; color: var(--text-mid); margin-top: 14px; }
.policy-list { margin-top: 16px; display: grid; gap: 12px; }
.policy-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.85; color: var(--text-mid); }
.policy-list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.policy-list strong { color: var(--text); }

.policy-table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.policy-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.policy-table th, .policy-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.policy-table th { background: var(--bg-alt); font-weight: 600; color: var(--text); white-space: nowrap; }
.policy-table td { color: var(--text-mid); line-height: 1.7; }
.policy-table tbody tr:last-child td { border-bottom: 0; }

.policy-notice { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 20px 24px; margin-top: 18px; }
.policy-notice .policy-list { margin-top: 0; }

@media (max-width: 600px) {
  .policy-hero { padding: 48px 0 40px; }
  .policy-body { padding-top: 40px; padding-bottom: 72px; }
  .policy-callout { flex-direction: column; padding: 22px; }
  .policy-section h2 { font-size: 23px; }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 620px; }
  .feature-grid, .feature-grid-reverse { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid-reverse .feature-copy { order: 0; }
  .feature-grid-reverse .feature-media { order: 0; }
  .feature-media { min-height: 480px; }
  .promise-grid { grid-template-columns: 1fr; }
  .download-inner { padding: 48px 40px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 10px 24px 20px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 64px 0 80px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 8px 0; }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(1), .strip-item:nth-child(2) { border-bottom: 1px solid var(--border); padding-bottom: 18px; }
  .strip-item:nth-child(3), .strip-item:nth-child(4) { padding-top: 18px; }
  .section { padding: 80px 0; }
  .feature-media { min-height: 400px; }
  .media-card-sm { right: -8px; bottom: -30px; width: 48%; }
  .download-inner { flex-direction: column; align-items: flex-start; gap: 28px; padding: 40px 28px; }
  .download-icon { width: 96px; height: 96px; }
  .footer-inner { gap: 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px 22px; }
}

@media (max-width: 420px) {
  .brand-en { display: none; }
  .visual-float-icon { width: 76px; height: 76px; left: -18px; bottom: -22px; }
  .visual-badge { right: 0; font-size: 12px; padding: 10px 14px; }
}

/* ============ Dark mode ============ */
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #ff7043;
    --accent-dark: #ff865e;
    --accent-soft: #3a241c;
    --bg: #141414;
    --bg-alt: #1b1b1b;
    --surface: #222;
    --text: #f2f0ec;
    --text-mid: #b9b5ad;
    --text-muted: #8a867e;
    --border: #333;
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.3);
    --shadow: 0 20px 60px rgba(0,0,0,0.45);
    --shadow-lg: 0 30px 80px rgba(0,0,0,0.6);
  }
  .site-header { background: rgba(20,20,20,0.82); }
  .nav { background: var(--surface); }
  .hero-glow { background: radial-gradient(circle, rgba(255,112,67,0.12) 0%, rgba(255,112,67,0) 68%); }
  .media-card-sm { border-color: var(--bg); }
  .feature-alt .media-card-sm { border-color: var(--bg-alt); }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
