:root {
  --accent: #f53661;
  --accent-strong: #e12550;
  --blue: #3773f5;
  --ink: #1d2129;
  --ink-2: #1a1a1a;
  --muted: #5b6573;
  --muted-2: #7d8794;
  --surface: #f2f6fc;
  --surface-2: #f7fafc;
  --line: #e3eaf3;
  --white: #fff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 55px rgba(29, 33, 41, .09);
  --shadow-soft: 0 10px 30px rgba(29, 33, 41, .06);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang SC", "Microsoft Yahei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding-left: 20px; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 76px;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(227, 234, 243, .8);
  backdrop-filter: blur(14px);
}

.header-inner { height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 246px; }
.brand-logo { height: 34px; width: auto; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 30px; flex: 1; }
.main-nav a { font-size: 15px; color: #3b4350; font-weight: 500; transition: color .18s ease; }
.main-nav a:hover { color: var(--accent); }
.header-contact {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 18px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--blue); background: rgba(255, 255, 255, .7);
  transition: border-color .18s ease, background .18s ease;
}
.header-contact:hover { border-color: #c5d7fb; background: #f2f7ff; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--surface); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 156px 0 86px;
  background: linear-gradient(102deg, #f8fbff 0%, #f4f8ff 46%, #eef5ff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("assets/hero-bg.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: .9;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(248, 251, 255, .98) 0%, rgba(248, 251, 255, .9) 40%, rgba(248, 251, 255, .52) 66%, rgba(248, 251, 255, .06) 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; min-height: 500px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .08em; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
h1 { font-size: clamp(42px, 4.4vw, 62px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; color: #111722; }
.hero-tagline { margin-top: 18px; font-size: clamp(22px, 2vw, 30px); line-height: 1.45; font-weight: 600; color: #202733; }
.hero-subtitle { margin-top: 18px; max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }

.download-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 62px; padding: 0 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e01e48, #d81b45 58%, #c9153d);
  color: #fff; font-size: 19px; font-weight: 700; line-height: 1;
  box-shadow: 0 16px 38px -12px rgba(245, 54, 97, .68), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .18s ease, box-shadow .18s ease;
  animation: cta-glow 3s ease-in-out infinite;
}
.download-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 22px 52px -12px rgba(245, 54, 97, .82), inset 0 1px 0 rgba(255, 255, 255, .35); }
.download-cta:active { transform: translateY(0) scale(.99); }
.download-cta:focus-visible { outline: 3px solid rgba(245, 54, 97, .45); outline-offset: 3px; }
.download-cta svg { animation: icon-bob 2.6s ease-in-out infinite; }
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 16px 38px -12px rgba(245, 54, 97, .55), inset 0 1px 0 rgba(255, 255, 255, .3); }
  50% { box-shadow: 0 20px 50px -8px rgba(245, 54, 97, .82), inset 0 1px 0 rgba(255, 255, 255, .35); }
}
@keyframes icon-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }

.secondary-link { color: var(--blue); font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(55, 115, 245, .3); padding-bottom: 2px; }
.secondary-link:hover { border-color: var(--blue); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-badges span { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .76); border: 1px solid rgba(227, 234, 243, .9); color: #4a5564; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); }

.hero-visual { position: relative; }
.visual-frame { position: relative; padding: 14px; border-radius: 26px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 80px rgba(26, 64, 128, .16); backdrop-filter: blur(8px); }
.visual-frame img { width: 100%; border-radius: 18px; aspect-ratio: 5 / 3; object-fit: cover; }
.visual-chip { position: absolute; padding: 10px 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-soft); font-size: 13px; font-weight: 700; color: #253041; }
.chip-top { top: 34px; left: -24px; }
.chip-bottom { right: -18px; bottom: 44px; }

.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; }
.stat { text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 32px; line-height: 1.1; color: var(--blue); font-weight: 600; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; }

.section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-kicker { color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.section-kicker.light { color: #ff9ab1; }
h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; color: #121722; }
.section-head > p:last-child { margin-top: 14px; color: var(--muted); font-size: 16px; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 650; color: #18202b; }

.scenarios { background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); }
.scenario-panel { display: grid; grid-template-columns: 300px 1fr; gap: 0; border-radius: 26px; overflow: hidden; border: 1px solid #e7eef8; box-shadow: var(--shadow); background: #fff; }
.scenario-tabs { padding: 20px; background: linear-gradient(180deg, rgba(209, 228, 255, .5), rgba(236, 246, 255, .55)); display: flex; flex-direction: column; gap: 8px; }
.scenario-tab { text-align: left; border: 1px solid transparent; background: transparent; border-radius: 14px; padding: 16px 18px; cursor: pointer; color: #334052; font-size: 18px; font-weight: 650; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.scenario-tab span { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--muted-2); }
.scenario-tab:hover { background: rgba(255, 255, 255, .7); }
.scenario-tab.active { background: #fff; border-color: #d8e6fb; color: var(--blue); box-shadow: 0 8px 24px rgba(55, 115, 245, .1); }
.scenario-tab.active span { color: #6d7b8d; }
.scenario-content { padding: 46px 48px; background: linear-gradient(104deg, #f2f6fc 0%, #fdfeff 82%); min-height: 440px; }
.scenario-copy { display: none; max-width: 680px; }
.scenario-copy.active { display: block; animation: fade-up .28s ease both; }
.scenario-copy h3 { font-size: 28px; margin-bottom: 12px; }
.scenario-copy p { color: var(--muted); }
.scenario-copy ul { margin: 22px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding-left: 18px; color: #3b4655; font-size: 14px; }
.scenario-copy li::marker { color: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 650; font-size: 14px; }
.text-link::after { content: "→"; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(3px); }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #fff, #fbfdff); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #d5e4fb; }
.feature-card img { width: 58px; height: 58px; object-fit: contain; margin-bottom: 18px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; }

.enterprise { background: var(--surface); }
.enterprise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.enterprise-card { padding: 34px; border-radius: 22px; background: #fff; border: 1px solid #e5edf8; box-shadow: 0 12px 32px rgba(29, 33, 41, .04); }
.enterprise-card img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 20px; }
.enterprise-card h3 { margin-bottom: 8px; }
.enterprise-card p { color: var(--muted); font-size: 14px; }
.enterprise-card ul { margin-top: 18px; color: #3b4655; font-size: 14px; display: grid; gap: 6px; }
.enterprise-card li::marker { color: var(--blue); }

.platforms { background: #fff; }
.platform-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 56px; border-radius: 28px; background: linear-gradient(112deg, #f7fbff 0%, #eef6ff 58%, #f9fcff 100%); border: 1px solid #e2edfb; }
.platform-copy p:not(.section-kicker) { margin-top: 14px; color: var(--muted); }
.platform-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.platform-chips span { padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid #dce8f8; color: #2f4055; font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px rgba(55, 115, 245, .06); }
.platform-visual { position: relative; min-height: 330px; display: grid; place-items: center; }
.platform-ring { width: 220px; height: 220px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, #eaf3ff 68%, #dcecff); border: 1px solid #d8e8fb; box-shadow: 0 24px 60px rgba(55, 115, 245, .16); }
.platform-ring img { width: 150px; height: auto; }
.platform-note { position: absolute; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid #deebfb; color: #334052; font-size: 13px; font-weight: 650; box-shadow: var(--shadow-soft); }
.note-1 { top: 18px; left: 8%; }
.note-2 { top: 46%; right: 0; }
.note-3 { bottom: 12px; left: 20%; }

.security { background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.security-card { padding: 34px; border-radius: 22px; background: var(--surface); border: 1px solid #e2ebf7; }
.security-card img { width: 92px; height: 92px; object-fit: contain; margin-bottom: 18px; }
.security-card h3 { margin-bottom: 8px; }
.security-card p { color: var(--muted); font-size: 14px; }

.hardware { background: #fff; }
.hardware-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hardware-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft); }
.hardware-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hardware-card div { padding: 24px; }
.hardware-card h3 { margin-bottom: 6px; }
.hardware-card p { color: var(--muted); font-size: 14px; }

.faq { background: var(--surface-2); }
.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: 60px; }
.faq-intro { position: sticky; top: 30px; align-self: start; }
.faq-intro > p:not(.section-kicker) { margin: 14px 0 22px; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq-list summary { cursor: pointer; padding: 20px 0; font-size: 16px; font-weight: 650; color: #222b38; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue); font-size: 20px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 20px; color: var(--muted); font-size: 14px; }

.cta-band { background: #121212; color: #fff; padding: 66px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); }
.cta-band p:not(.section-kicker) { margin-top: 12px; color: rgba(255, 255, 255, .68); max-width: 720px; }
.band-link { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 10px; background: #fff; color: #121212; font-weight: 700; font-size: 15px; transition: transform .18s ease, background .18s ease; }
.band-link:hover { transform: translateY(-2px); background: #f0f5ff; }

.site-footer { background: linear-gradient(180deg, #f7fafc 0%, #fff 75%); border-top: 1px solid var(--line); padding-top: 56px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; }
.footer-logo { height: 38px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 16px; font-weight: 700; }
.footer-brand span { display: block; margin-top: 6px; color: var(--muted-2); font-size: 13px; }
.footer-col h3 { font-size: 14px; margin-bottom: 14px; color: #1c2531; }
.footer-col a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }
.footer-bottom div { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .main-nav { gap: 20px; }
  .brand { min-width: 210px; }
  .hero-inner { gap: 30px; }
  .scenario-content { padding: 36px; }
  .faq-layout { grid-template-columns: 280px 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .main-nav, .header-contact { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { display: grid; gap: 4px; padding: 10px 24px 18px; background: #fff; border-bottom: 1px solid var(--line); position: absolute; top: 76px; left: 0; right: 0; z-index: 30; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid #eef2f8; }
  .hero { padding-top: 130px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(248, 251, 255, .94) 0%, rgba(248, 251, 255, .85) 52%, rgba(248, 251, 255, .45) 100%); }
  .hero-visual { max-width: 620px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .scenario-panel { grid-template-columns: 1fr; }
  .scenario-tabs { flex-direction: row; overflow-x: auto; padding: 14px; }
  .scenario-tab { min-width: 170px; }
  .scenario-copy ul { grid-template-columns: 1fr; }
  .feature-grid, .enterprise-grid, .security-grid, .hardware-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-panel { grid-template-columns: 1fr; padding: 40px; gap: 30px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .site-header, .header-inner { height: 68px; }
  .brand-logo { height: 30px; }
  .brand-name { font-size: 15px; }
  .mobile-nav { top: 68px; }
  .hero { padding: 108px 0 60px; }
  h1 { font-size: 40px; }
  .hero-tagline { font-size: 22px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .download-cta { width: 100%; min-height: 56px; padding: 0 24px; font-size: 18px; }
  .secondary-link { text-align: center; align-self: center; }
  .hero-badges span { font-size: 12px; }
  .visual-chip { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; padding: 26px 0; }
  .stat strong { font-size: 26px; }
  .section { padding: 68px 0; }
  .feature-grid, .enterprise-grid, .security-grid, .hardware-grid, .footer-top { grid-template-columns: 1fr; }
  .scenario-content { padding: 28px 24px; }
  .scenario-copy h3 { font-size: 23px; }
  .platform-panel { padding: 28px 22px; }
  .platform-visual { min-height: 280px; }
  .platform-ring { width: 180px; height: 180px; }
  .platform-ring img { width: 120px; }
  .platform-note { font-size: 12px; padding: 8px 12px; }
  .faq-list details { padding: 0 18px; }
  .cta-band { padding: 48px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download-cta, .download-cta svg { animation: none; transition: none; }
  .feature-card, .band-link, .download-cta { transition: none; }
}
