:root {
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --line: #e7e9f0;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 18px 50px rgba(79, 70, 229, 0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: .5px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff !important;
  padding: 9px 20px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { opacity: .92; }
.menu-btn { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(124, 58, 237, .18), transparent 60%),
    radial-gradient(800px 500px at 10% 10%, rgba(79, 70, 229, .16), transparent 55%),
    #0b1020;
  color: #fff;
  padding: 96px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08);
  padding: 7px 16px; border-radius: 999px; font-size: 13px; margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.18; font-weight: 800; letter-spacing: .5px; }
.hero h1 .grad {
  background: linear-gradient(90deg, #a5b4fc, #c4b5fd, #f0abfc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { margin-top: 22px; font-size: 18px; color: #cbd5e1; max-width: 640px; }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 12px; font-size: 16px; font-weight: 600; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 26px rgba(99, 102, 241, .4); }
.btn-ghost { border: 1px solid rgba(255,255,255,.3); color: #e2e8f0; background: rgba(255,255,255,.06); }
.hero-meta { margin-top: 52px; display: flex; gap: 44px; flex-wrap: wrap; }
.hero-meta .m b { font-size: 26px; display: block; }
.hero-meta .m span { font-size: 13px; color: #94a3b8; }

/* ===== Section common ===== */
section { padding: 84px 0; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 54px; }
.sec-tag {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand);
  background: rgba(79, 70, 229, .1); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
.sec-head p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }

/* ===== Services ===== */
.services { background: var(--bg-soft); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: #d6d3f7; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card ul { margin-top: 14px; list-style: none; }
.card ul li { font-size: 14px; color: var(--ink-3); padding: 4px 0 4px 22px; position: relative; }
.card ul li::before { content: "›"; position: absolute; left: 4px; color: var(--brand); font-weight: 700; }

/* ===== About / strengths ===== */
.about .grid { align-items: center; }
.about-text h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; }
.about-text p { color: var(--ink-2); margin-top: 18px; font-size: 16px; }
.points { margin-top: 30px; display: grid; gap: 18px; }
.point { display: flex; gap: 14px; }
.point .n {
  width: 34px; height: 34px; flex: none; border-radius: 10px; font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.point b { display: block; font-size: 16px; }
.point span { font-size: 14px; color: var(--ink-3); }

/* ===== Contact ===== */
.contact { background: linear-gradient(135deg, #0b1020, #1a1245); color: #fff; }
.contact .sec-head h2 { color: #fff; }
.contact .sec-head p { color: #cbd5e1; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 720px; margin: 0 auto; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 24px 26px;
}
.contact-card .ic { font-size: 26px; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.contact-card b { display: block; font-size: 15px; color: #cbd5e1; font-weight: 500; }
.contact-card .v { font-size: 17px; font-weight: 600; word-break: break-all; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer-inner .f-brand { font-weight: 700; }
.footer-inner .f-meta { font-size: 13px; color: var(--ink-3); }
.footer-inner .f-meta a { color: var(--ink-3); }
.footer-inner .f-meta a:hover { color: var(--brand); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.footer-links a { color: var(--ink-3); }
.footer-links a:hover { color: var(--brand); }
.beian a { color: var(--ink-3); font-size: 13px; }
.beian a:hover { color: var(--brand); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 68px; right: 0; left: 0; flex-direction: column; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .hero { padding: 68px 0 78px; }
  .hero-meta { gap: 28px; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 文档页（用户协议 / 隐私政策） ===== */
.doc-wrap { padding: 72px 0 96px; background: var(--bg-soft); }
.doc { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 56px; }
.doc .doc-head { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.doc .doc-head h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.doc .doc-head .meta { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.doc h2 { font-size: 20px; font-weight: 700; margin: 34px 0 12px; color: var(--ink); }
.doc h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: var(--ink); }
.doc p { font-size: 15px; color: var(--ink-2); margin: 10px 0; }
.doc ul { margin: 10px 0 10px 2px; padding-left: 22px; }
.doc ul li { font-size: 15px; color: var(--ink-2); margin: 6px 0; }
.doc .party { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 18px 0; font-size: 14px; color: var(--ink-2); }
.doc .party b { color: var(--ink); }
@media (max-width: 720px) {
  .doc { padding: 32px 24px; }
}

/* ===== 产品页 ===== */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.prod-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #d6d3f7; }
.prod-feature .icon { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, #eef2ff, #f5f3ff); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.prod-feature h3 { font-size: 18px; margin-bottom: 10px; }
.prod-feature p { font-size: 14px; color: var(--ink-2); }
.app-facts { margin-top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.app-facts h3 { font-size: 16px; margin-bottom: 16px; }
.app-facts table { width: 100%; border-collapse: collapse; font-size: 14px; }
.app-facts td { padding: 9px 0; color: var(--ink-2); vertical-align: top; }
.app-facts td:first-child { color: var(--ink-3); width: 150px; white-space: nowrap; }
.app-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 16px; border-radius: 999px; background: rgba(79,70,229,.08); color: var(--brand); font-size: 14px; font-weight: 600; }
