/* Shanent 官网 —— 浅色科技风 · 海外产品页现代化 */
:root {
  --bg: #f7f9ff;
  --card: #ffffff;
  --line: #e6ecf8;
  --text: #34415a;
  --muted: #7a88a3;
  --accent: #2563eb;
  --accent-ink: #17337f;
  --accent-soft: #f1f5ff;
  --grad: linear-gradient(135deg, #2563eb, #6d8dff);
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(52, 65, 90, 0.04), 0 4px 14px rgba(52, 65, 90, 0.05);
  --shadow-md: 0 10px 34px rgba(52, 65, 90, 0.11);
  --shadow-lg: 0 24px 64px rgba(52, 65, 90, 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", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── 导航 ── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(247, 249, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo { height: 22px; width: auto; }
.brand-cn { color: var(--muted); font-weight: 400; }
.links a {
  margin-left: 22px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.links a:hover { opacity: 1; color: var(--accent); }

/* ── Hero ── */
.hero {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 104px 24px 72px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40px -60px 0;
  background:
    radial-gradient(640px 300px at 50% 0%, rgba(37, 99, 235, 0.10), transparent 70%),
    radial-gradient(420px 220px at 88% 18%, rgba(109, 141, 255, 0.10), transparent 70%),
    radial-gradient(420px 220px at 12% 22%, rgba(109, 141, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 65, 90, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 65, 90, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero > * { position: relative; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: 1px solid rgba(37, 99, 235, 0.16);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.tagline {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  margin: 20px 0 18px;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--accent-ink) 10%, var(--accent) 55%, #6d8dff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
}
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-shot-wrap {
  margin-top: 64px;
  position: relative;
}
.hero-shot-wrap::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.35), rgba(109, 141, 255, 0.08) 40%, rgba(37, 99, 235, 0.18));
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}
.hero-shot {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(52, 65, 90, 0.08);
}

/* ── 按钮 ── */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.btn.primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(37, 99, 235, 0.4); }
.btn.ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.ghost[aria-disabled="true"] {
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: not-allowed;
  opacity: 0.7;
}
.btn.ghost[aria-disabled="true"]:hover { border-color: var(--line); color: var(--muted); }

/* ── 特性 ── */
.features { max-width: 1080px; margin: 0 auto; padding: 88px 24px; }
.features h2, .pipeline h2, .faq h2, .download h2, .closing h2 {
  text-align: center;
  font-size: 32px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.features .lead, .pipeline .lead {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 46px;
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.28);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ── 流水线 ── */
.pipeline {
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px 24px;
  border-top: 1px solid var(--line);
}
.steps {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 37px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.5), rgba(109, 141, 255, 0.18));
  z-index: 0;
}
.steps li {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.28);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.steps h3 { font-size: 15px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; padding: 88px 24px; }
.faq-list { margin-top: 8px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease;
}
.faq details[open] { border-color: rgba(37, 99, 235, 0.28); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  color: var(--muted);
  font-size: 14.5px;
  padding: 0 0 18px;
}

/* ── 引言 ── */
.quote { max-width: 700px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.quote blockquote {
  font-size: 20px;
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  text-align: left;
  opacity: 0.85;
}

/* ── 下载 ── */
.download {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  text-align: center;
  background: linear-gradient(180deg, var(--accent-soft), #f7f9ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.download .cta { margin-top: 22px; }
.muted { color: var(--muted); margin-top: 14px; }
.muted.small { font-size: 13px; }
.muted a { color: var(--accent); }

/* ── 收尾 CTA ── */
.closing {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 110px 24px 120px;
  text-align: center;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 40px -80px 0;
  background: radial-gradient(560px 260px at 50% 100%, rgba(37, 99, 235, 0.09), transparent 70%);
  pointer-events: none;
}
.closing h2 { font-size: 38px; letter-spacing: -0.02em; }
.closing p { color: var(--muted); font-size: 16px; max-width: 520px; margin: 0 auto 30px; }

/* ── 页脚 ── */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 24px 32px;
  background: #fff;
}
.footer-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .brand { font-size: 16px; }
.footer-tag {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
  max-width: 240px;
}
.footer-col h4 {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.footer-col a, .footer-col .status-line {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.85;
}
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-col .status-line { display: flex; align-items: center; gap: 6px; opacity: 0.7; }
.footer-bottom {
  max-width: 1080px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ── 滚动淡入动效 ── */
.card, .steps li, .hero-shot-wrap, .quote blockquote, .closing {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.in { opacity: 1; transform: none; }

/* ── 响应式 ── */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 72px 24px 56px; }
  .hero h1 { font-size: 38px; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .links a { margin-left: 12px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .closing h2 { font-size: 30px; }
}
