@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f9f8f8;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.58);
  --text: #152443;
  --text-soft: #4a5570;
  --muted: rgba(21, 36, 67, 0.58);
  --line: rgba(9, 45, 78, 0.12);
  --line-strong: rgba(9, 45, 78, 0.2);
  --accent: #4176e6;
  --accent-strong: #2f5bd0;
  --accent-soft: #c9dbff;
  --accent-wash: #eaf1ff;
  --on-accent: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 24px 60px -32px rgba(21, 36, 67, 0.28);
  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: 1200px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; }
section { position: relative; }

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(184, 212, 255, 0.55), transparent 70%),
    radial-gradient(40% 32% at 82% 18%, rgba(210, 231, 255, 0.42), transparent 72%),
    var(--bg);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(249, 248, 248, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(249, 248, 248, 0.9);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 143px; height: auto; color: var(--accent); }
.brand-name {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  font-size: 15px;
  color: var(--text-soft);
  padding: 8px 2px;
  position: relative;
  transition: color 0.18s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  border-top: 1px solid var(--line);
  background: rgba(249, 248, 248, 0.97);
  backdrop-filter: blur(20px);
  padding: 8px 24px 20px;
}
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav a {
  padding: 15px 4px;
  font-size: 17px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* Hero */
.hero {
  min-height: 780px;
  padding: calc(var(--header-h) + 78px) 24px 96px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}
.flow-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  background:
    radial-gradient(50% 55% at 50% 18%, rgba(255, 255, 255, 0.86), transparent 74%),
    linear-gradient(180deg, #eef5ff 0%, #f6f9ff 48%, var(--bg) 100%);
}
.hero-inner {
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.news-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(65, 118, 230, 0.16);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 30px -22px rgba(21, 36, 67, 0.6);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.4;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.news-chip:hover { border-color: rgba(65, 118, 230, 0.4); color: var(--text); }
.news-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(65, 118, 230, 0.14);
  flex: none;
}
.hero-title {
  margin-top: 30px;
  font-size: clamp(42px, 5.2vw, 62px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #152443;
}
.hero-sub {
  margin-top: 18px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

[data-node-id="download.primary"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3a6bdb, #2a52c4);
  color: var(--on-accent);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 44px -14px rgba(65, 118, 230, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: download-cta-glow 3s ease-in-out infinite;
}
[data-node-id="download.primary"]:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 24px 56px -14px rgba(65, 118, 230, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
[data-node-id="download.primary"]:active { transform: translateY(0) scale(0.99); }
[data-node-id="download.primary"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@keyframes download-cta-glow {
  0%, 100% { box-shadow: 0 18px 44px -14px rgba(65, 118, 230, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
  50% { box-shadow: 0 20px 54px -10px rgba(65, 118, 230, 0.86), inset 0 1px 0 rgba(255, 255, 255, 0.34); }
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  padding: 0 26px;
  border-radius: 14px;
  border: 1px solid rgba(9, 45, 78, 0.18);
  background: rgba(255, 255, 255, 0.44);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.cta-secondary:hover { background: rgba(255, 255, 255, 0.78); border-color: rgba(9, 45, 78, 0.3); }
.cta-secondary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.composer {
  width: min(760px, 100%);
  margin-top: 46px;
  padding: 22px 24px 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.5));
  box-shadow: 0 30px 70px -36px rgba(21, 36, 67, 0.45), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px);
  text-align: left;
}
.composer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.composer-placeholder { color: var(--muted); font-size: 16px; }
.composer-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  flex: none;
}
.composer-bottom { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}
.chip-active { color: var(--accent); border-color: rgba(65, 118, 230, 0.32); background: rgba(234, 241, 255, 0.9); }
.composer-note { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* Sections */
.section { padding: 104px 24px; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-head { max-width: 720px; }
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.24;
  color: var(--text);
}
.section-lede { margin-top: 16px; font-size: 16.5px; line-height: 1.75; color: var(--text-soft); }

/* Products */
.products { background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)); }
.product-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-glass);
  box-shadow: 0 18px 40px -34px rgba(21, 36, 67, 0.55);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(65, 118, 230, 0.28);
  box-shadow: var(--shadow-card);
}
.product-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-wash);
  margin-bottom: 20px;
}
.product-card h3 { font-size: 20px; line-height: 1.35; color: var(--text); }
.product-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--text-soft); flex: 1; }
.tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags span {
  font-size: 11.5px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.5);
}

/* Features */
.feature-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px -34px rgba(21, 36, 67, 0.5);
}
.feature-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 42px;
  align-items: center;
  background:
    radial-gradient(80% 120% at 90% 10%, rgba(202, 224, 255, 0.6), transparent 62%),
    rgba(255, 255, 255, 0.78);
}
.feature-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.feature-card h3 { font-size: 22px; line-height: 1.4; color: var(--text); }
.feature-card p { margin-top: 12px; font-size: 15px; line-height: 1.75; color: var(--text-soft); }
.feature-wide h3 { font-size: clamp(24px, 2.6vw, 34px); }
.feature-visual {
  position: relative;
  min-height: 210px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(234, 241, 255, 0.65));
  box-shadow: inset 0 1px 0 #fff, 0 22px 50px -34px rgba(21, 36, 67, 0.5);
  overflow: hidden;
  padding: 24px;
}
.think-line {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(65, 118, 230, 0.18), rgba(65, 118, 230, 0.55));
  margin-bottom: 14px;
  animation: think 3.2s ease-in-out infinite alternate;
}
.think-line.w1 { width: 72%; }
.think-line.w2 { width: 88%; animation-delay: -0.8s; }
.think-line.w3 { width: 56%; animation-delay: -1.6s; }
.think-line.w4 { width: 78%; animation-delay: -2.4s; }
@keyframes think { from { opacity: 0.45; transform: scaleX(0.92); transform-origin: left; } to { opacity: 1; transform: scaleX(1); transform-origin: left; } }
.think-node {
  position: absolute;
  right: 22px; bottom: 20px;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 14px 30px -12px rgba(65, 118, 230, 0.8);
}

/* News */
.news { background: linear-gradient(180deg, rgba(234, 241, 255, 0.32), rgba(249, 248, 248, 0)); }
.news-layout { margin-top: 46px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 18px; }
.news-feature {
  padding: 36px 34px;
  border-radius: var(--radius-lg);
  color: #f4f8ff;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(120, 168, 255, 0.5), transparent 60%),
    linear-gradient(150deg, #1c3f8f, #152443 78%);
  box-shadow: 0 30px 70px -36px rgba(21, 36, 67, 0.75);
}
.news-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfe0ff;
  border: 1px solid rgba(207, 224, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.news-feature h3 { margin-top: 20px; font-size: clamp(28px, 3vw, 40px); color: #fff; }
.news-feature p { margin-top: 14px; font-size: 15.5px; line-height: 1.8; color: rgba(235, 243, 255, 0.82); max-width: 520px; }
.news-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.news-meta span {
  font-size: 12px;
  color: rgba(235, 243, 255, 0.76);
  border: 1px solid rgba(207, 224, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
}
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.news-item:hover { border-color: rgba(65, 118, 230, 0.3); background: #fff; transform: translateX(4px); }
.news-item-title { font-size: 16px; font-weight: 500; color: var(--text); }
.news-item-desc { font-size: 13.5px; color: var(--text-soft); }

/* FAQ */
.faq-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-list { display: flex; flex-direction: column; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 34px 22px 0;
  position: relative;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  padding: 0 40px 24px 0;
  margin-top: -4px;
  font-size: 14.8px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* Footer */
.site-footer {
  padding: 76px 24px 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { width: 143px; }
.footer-brand p { margin-top: 18px; font-size: 14px; color: var(--text-soft); }
.footer-brand-name { display: none; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 4px; letter-spacing: 0.04em; }
.footer-col a { font-size: 14px; color: var(--text-soft); transition: color 0.18s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-wide { grid-template-columns: 1fr; }
  .faq-inner { grid-template-columns: 1fr; gap: 34px; }
  .faq-head { position: static; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .header-inner { padding: 0 22px; }
  .hero { padding-top: calc(var(--header-h) + 58px); min-height: 720px; }
  .news-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
  .mobile-nav { display: none !important; }
}

@media (max-width: 720px) {
  .section { padding: 78px 20px; }
  .hero { padding-left: 18px; padding-right: 18px; padding-bottom: 72px; }
  .hero-title { margin-top: 24px; }
  .hero-sub { font-size: 15.5px; }
  .hero-actions { width: 100%; flex-direction: column; margin-top: 28px; }
  .cta-secondary { width: 100%; justify-content: center; min-height: 52px; }
  .composer { padding: 18px 18px 16px; border-radius: 20px; margin-top: 34px; }
  .composer-bottom { flex-direction: column; align-items: flex-start; }
  .composer-note { white-space: normal; }
  .product-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .feature-card { padding: 26px 22px; }
  .news-feature { padding: 28px 24px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .footer-inner { padding-bottom: 40px; }
  .site-footer { padding-top: 58px; }
}

@media (max-width: 640px) {
  [data-node-id="download.primary"] {
    min-height: 54px;
    width: 100%;
    padding: 0 24px;
    font-size: 1.0625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-node-id="download.primary"] { animation: none; transition: none; }
  .think-line { animation: none; }
  * { transition-duration: 0.001ms !important; }
}
