/* 巽仙翁科技 官网 - 全站样式 */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-2: #2c6bfc;
  --brand-light: #eff6ff;
  --brand-light-2: #dbeafe;
  --ink: #0f172a;
  --ink-2: #262626;
  --muted: #5b6478;
  --muted-2: #7c8698;
  --line: #e6ebf5;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 8px 28px rgba(15, 23, 42, .07);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, .12);
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 14px; line-height: 1.35; font-weight: 700; }
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { margin: 0 0 14px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-2), #38bdf8);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px; letter-spacing: -1px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .32);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 18px; color: var(--ink); letter-spacing: .5px; }
.logo-text span { font-size: 11px; color: var(--muted-2); letter-spacing: 1.6px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 10px 14px; font-size: 15px; color: #333c4e;
  border-radius: 8px; font-weight: 500;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--brand); background: var(--brand-light); }
.nav > li > a .caret { display: inline-block; margin-left: 4px; font-size: 10px; color: #9aa3b2; }

.dropdown {
  position: absolute; top: 46px; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transition: all .18s ease;
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; color: #394356; }
.dropdown a:hover { background: var(--brand-light); color: var(--brand); }
.dropdown a small { display: block; color: var(--muted-2); font-size: 12px; line-height: 1.5; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: #394356; background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.burger i { display: block; width: 18px; height: 2px; background: #394356; margin: 4px auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #0f2f7a 0%, #1d4ed8 45%, #2c6bfc 100%);
  padding: 92px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(56, 189, 248, .45), transparent 42%),
    radial-gradient(circle at 8% 82%, rgba(96, 165, 250, .35), transparent 45%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px; letter-spacing: 1px; margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: 46px; margin-bottom: 18px; }
.hero p.lead { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 780px; margin-bottom: 12px; }
.hero p.lead.small { font-size: 15.5px; color: rgba(255, 255, 255, .74); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-actions .btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* ---------- Stats strip ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stats-grid div { padding: 34px 12px; text-align: center; border-right: 1px solid var(--line); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid b { display: block; font-size: 28px; color: var(--brand); line-height: 1.2; }
.stats-grid span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section.brandbg { background: linear-gradient(135deg, #1d4ed8, #2c6bfc); color: #fff; }
.section.brandbg h2, .section.brandbg h3 { color: #fff; }
.section.brandbg p { color: rgba(255, 255, 255, .85); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--brand);
  font-weight: 600; margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 16.5px; margin-bottom: 0; }
.section-head.center-white .eyebrow { color: rgba(255, 255, 255, .8); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: all .22s ease; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-light-2); }
.card h3, .card h4 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.card .ico {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-light); color: var(--brand); margin-bottom: 16px; font-size: 20px; font-weight: 700;
}
.card .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.card a.more { display: inline-block; margin-top: 14px; font-size: 14.5px; font-weight: 600; }

.card-min {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: all .2s;
}
.card-min:hover { border-color: var(--brand-light-2); box-shadow: var(--shadow); }
.card-min h4 { margin-bottom: 6px; }
.card-min p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px;
  background: var(--brand-light); color: var(--brand-dark); border: 1px solid var(--brand-light-2);
}
.tag.plain { background: var(--bg-soft); color: var(--muted); border-color: var(--line); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px; text-align: center;
}
.step .num {
  width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}
.step h4 { margin-bottom: 6px; font-size: 16px; }
.step p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.steps.s6 { grid-template-columns: repeat(6, 1fr); }
.steps.s3 { grid-template-columns: repeat(3, 1fr); }
.steps.s5 { grid-template-columns: repeat(5, 1fr); }

/* numbered list with big index */
.numlist { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.numitem { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.numitem .idx { font-size: 22px; font-weight: 800; color: var(--brand-light-2); line-height: 1.2; min-width: 42px; }
.numitem h4 { margin-bottom: 4px; }
.numitem p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .visual { order: -1; }
.visual {
  border-radius: var(--radius-lg); padding: 34px; min-height: 320px;
  background: linear-gradient(140deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid var(--brand-light-2); position: relative; overflow: hidden;
}
.visual .vpane { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
.visual .vpane:last-child { margin-bottom: 0; }
.visual .vpane b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.visual .vpane span { font-size: 13.5px; color: var(--muted); }
.visual .bar { height: 8px; border-radius: 999px; background: var(--brand-light-2); margin-top: 10px; overflow: hidden; }
.visual .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #38bdf8); }

.checklist li { position: relative; padding-left: 26px; margin-bottom: 10px; color: #394356; font-size: 15.5px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .38); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.cta-band .btn-primary:hover { background: #f1f5ff; color: var(--brand-dark); }

.contact-strip { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0; }
.contact-strip .grid { align-items: stretch; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; text-align: center; height: 100%;
}
.contact-card .ico {
  width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 16px;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-card b { display: block; font-size: 20px; color: var(--ink); }
.contact-card span { display: block; color: var(--muted-2); font-size: 13.5px; margin-bottom: 6px; }

/* bottom CTA (blue band above footer) */
.prefooter {
  background: linear-gradient(135deg, #0f2f7a, #2c6bfc); color: #fff; padding: 60px 0;
}
.prefooter p { color: rgba(255, 255, 255, .85); max-width: 820px; margin: 0 auto; }
.prefooter .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.prefooter .btn-primary { background: #fff; color: var(--brand-dark); }
.prefooter .btn-primary:hover { background: #eff6ff; color: var(--brand-dark); }
.prefooter .btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.prefooter .btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1220; color: #a8b1c4; padding: 62px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h5 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 600; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #a8b1c4; }
.site-footer a:hover { color: #fff; }
.site-footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.site-footer .f-logo b { color: #fff; font-size: 17px; }
.site-footer .f-desc { color: #8b95a9; line-height: 1.8; }
.footer-contact li { color: #c7cedd; }
.footer-bottom {
  margin-top: 46px; border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: center; justify-content: space-between; font-size: 13.5px; color: #8b95a9;
}
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #8b95a9; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 72px 0 78px; color: #fff;
  background: linear-gradient(135deg, #0f2f7a 0%, #1d4ed8 50%, #2c6bfc 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(56, 189, 248, .4), transparent 45%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 40px; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .86); font-size: 17px; max-width: 800px; }
.page-hero .crumb { font-size: 13.5px; color: rgba(255, 255, 255, .7); margin-bottom: 16px; }
.page-hero .crumb a { color: rgba(255, 255, 255, .85); }
.page-hero .crumb a:hover { color: #fff; }
.page-hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.page-hero .btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.page-hero .btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.page-hero .btn-primary { background: #fff; color: var(--brand-dark); }
.page-hero .btn-primary:hover { background: #eff6ff; color: var(--brand-dark); }

/* ---------- Content blocks for long pages ---------- */
.block { padding: 72px 0; }
.block.soft { background: var(--bg-soft); }
.block + .block { border-top: 1px solid var(--line); }
.block-title { margin-bottom: 34px; }
.block-title h2 { margin-bottom: 10px; }
.block-title p { color: var(--muted); margin: 0; max-width: 780px; }

.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kv div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.kv b { display: block; color: var(--ink); margin-bottom: 4px; }
.kv span { color: var(--muted); font-size: 14.5px; }

/* timeline */
.timeline { border-left: 2px solid var(--brand-light-2); padding-left: 26px; }
.timeline li { position: relative; margin-bottom: 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-light);
}
.timeline b { display: block; color: var(--brand-dark); font-size: 15px; }
.timeline p { color: var(--muted); font-size: 15px; margin: 2px 0 0; }

/* prose (privacy) */
.prose { max-width: 900px; margin: 0 auto; }
.prose h3 { margin-top: 34px; font-size: 19px; }
.prose p, .prose li { color: #394356; }
.prose ul.dot li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.prose ul.dot li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.prose .meta { color: var(--muted-2); font-size: 14px; }

/* table-ish info */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.info-table th { background: var(--bg-soft); color: var(--ink); width: 180px; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid div:nth-child(3) { border-right: 0; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.s6, .steps.s5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .header-inner { height: 64px; gap: 14px; }
  .nav.open {
    display: block; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg); max-height: 76vh; overflow-y: auto;
  }
  .nav.open > li > a { padding: 12px 6px; }
  .nav.open .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0;
  }
  .g2, .g3 { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .visual { order: 0; }
  .numlist, .kv { grid-template-columns: 1fr; }
  .steps, .steps.s6, .steps.s5, .steps.s3 { grid-template-columns: repeat(2, 1fr); }
  h1, .hero h1, .page-hero h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .section { padding: 56px 0; }
  .hero { padding: 60px 0 64px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 10px; }
  .info-table th { width: 120px; }
}
@media (max-width: 560px) {
  .steps, .steps.s6, .steps.s5, .steps.s3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-cta { display: none; }
}
