/* ============================================================
   域见 YUJIAN · 域名注册与云服务平台
   设计系统 / Design System
   视觉基调：Trust & Authority · 深蓝 + 品牌蓝 + 极简白
   ============================================================ */

:root {
  --ink: #0B1730;
  --ink-2: #1E2B45;
  --body: #475569;
  --muted: #7A89A3;
  --line: #E5ECF7;
  --line-soft: #EFF4FB;
  --bg: #F6F9FE;
  --white: #FFFFFF;
  --brand: #1B5CF3;
  --brand-dark: #1246CC;
  --brand-deep: #0B2E8A;
  --brand-soft: #EAF1FF;
  --cyan: #12B5E5;
  --orange: #FF7A45;
  --ok: #0F9D6B;
  --ok-soft: #E4F7EF;
  --warn: #D97706;
  --warn-soft: #FFF3E0;
  --danger: #DC2626;
  --navy: #08142C;
  --shadow-xs: 0 2px 8px rgba(16, 42, 90, .05);
  --shadow-sm: 0 6px 20px rgba(16, 42, 90, .07);
  --shadow-md: 0 14px 40px rgba(16, 42, 90, .11);
  --shadow-lg: 0 24px 70px rgba(8, 28, 78, .18);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --nav-h: 76px;
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Segoe UI", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { color: var(--ink); margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
:focus-visible { outline: 3px solid rgba(27, 92, 243, .45); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

/* ---------- Layout ---------- */
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.section { padding: 92px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section.soft { background: var(--bg); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 14px 0 16px; }
.section-head p { font-size: 16px; color: var(--body); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: var(--brand); text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: var(--brand-soft);
}
.eyebrow.light { color: #BBD4FF; background: rgba(255,255,255,.12); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.flex { display: flex; }
.center { text-align: center; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 44px; }
.mb-s { margin-bottom: 14px; }
.text-brand { color: var(--brand); }
.mono { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 12px;
  padding: 12px 22px; font-size: 14px; font-weight: 650;
  line-height: 1.4; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
  cursor: pointer;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(27, 92, 243, .25); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 12px 26px rgba(27, 92, 243, .32); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #16264A; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #F0F5FF; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-ghost { background: var(--brand-soft); color: var(--brand); }
.btn-ghost:hover { background: #DBE8FF; }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 8px 15px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #AEC3E8; font-size: 12.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.topbar a { color: #AEC3E8; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar-tag { display: inline-flex; align-items: center; gap: 7px; }
.topbar-tag svg { width: 14px; height: 14px; }

.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .25s ease; }
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; gap: 28px; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 40px; height: 40px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 20px; color: var(--ink); letter-spacing: .06em; font-weight: 800; }
.brand-text span { font-size: 9.5px; letter-spacing: .24em; color: var(--muted); font-weight: 700; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .2s, background-color .2s; white-space: nowrap; }
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a.active { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, border-color .2s, color .2s; }
.icon-btn:hover { background: var(--brand-soft); border-color: #C9DCFF; color: var(--brand); }
.icon-btn svg { width: 19px; height: 19px; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; font-family: var(--font-num); }
.cart-count:empty, .cart-count[data-zero="1"] { display: none; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(118deg, #0A2568 0%, #1244C4 48%, #1D7BE8 100%); padding: 74px 0 64px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; top: -280px; right: -140px; background: radial-gradient(circle, rgba(64,190,255,.45), transparent 65%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 30px; min-height: 470px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); border-radius: 999px; font-size: 13px; color: #DCEBFF; backdrop-filter: blur(6px); }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #5CE1A6; box-shadow: 0 0 0 4px rgba(92,225,166,.2); }
.hero h1 { color: #fff; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.22; margin: 22px 0 18px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: #8FE4FF; }
.hero-lead { font-size: 16.5px; color: #CFE0FF; max-width: 530px; line-height: 1.85; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; font-size: 13.5px; color: #DCE9FF; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 16px; height: 16px; color: #6BE0B0; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-art img { width: 100%; max-width: 540px; filter: drop-shadow(0 24px 40px rgba(0,18,70,.32)); animation: float 6s ease-in-out infinite; }
.hero-art .glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(120, 210, 255, .18); filter: blur(50px); }

/* Domain search */
.search-wrap { position: relative; z-index: 5; margin-top: -0px; padding-bottom: 0; }
.search-card {
  background: #fff; border-radius: var(--r-lg); padding: 16px;
  box-shadow: 0 24px 60px rgba(6, 28, 80, .24);
  border: 1px solid rgba(255,255,255,.7);
  max-width: 940px; margin: 0 auto;
}
.search-row { display: flex; gap: 10px; align-items: stretch; }
.search-field { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 13px; background: #FBFDFF; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(27,92,243,.1); }
.search-field > svg { width: 21px; height: 21px; color: var(--brand); }
.search-field input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; padding: 15px 0; font-size: 16px; color: var(--ink); font-weight: 600; }
.search-field input::placeholder { color: #A3B1C6; font-weight: 400; }
.search-select { position: relative; flex: none; }
.search-select select { appearance: none; height: 100%; padding: 0 38px 0 16px; border: 1.5px solid var(--line); border-radius: 13px; background: #FBFDFF; color: var(--ink); font-weight: 650; font-size: 15px; cursor: pointer; min-width: 118px; }
.search-select svg { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.search-btn { flex: none; padding: 0 30px; border-radius: 13px; font-size: 16px; }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.search-hints b { color: var(--ink-2); font-weight: 600; }
.chip { padding: 4px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); font-size: 12.5px; cursor: pointer; transition: all .2s; font-weight: 550; }
.chip:hover { background: var(--brand-soft); border-color: #C7DBFF; color: var(--brand); }
.search-note { text-align: center; margin-top: 14px; font-size: 12px; color: #C9DDFB; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; margin-top: -38px; position: relative; z-index: 4; }
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-num); font-size: 34px; color: var(--ink); line-height: 1.2; letter-spacing: -.02em; }
.stat strong i { font-style: normal; font-size: 18px; color: var(--brand); margin-left: 3px; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; transition: border-color .22s, box-shadow .22s, transform .22s; }
.card:hover { border-color: #C7DBFF; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 20px; }
.card-icon svg { width: 25px; height: 25px; }
.card-icon.cyan { background: #E2F7FD; color: #0B91BC; }
.card-icon.orange { background: #FFF0E9; color: #E9632C; }
.card-icon.green { background: var(--ok-soft); color: var(--ok); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14px; line-height: 1.8; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13px; }
.card-meta .price { font-family: var(--font-num); font-size: 20px; font-weight: 700; color: var(--brand); }
.card-meta .price small { font-size: 12px; color: var(--muted); font-weight: 500; font-family: var(--font); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 650; font-size: 13.5px; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* TLD cards */
.tld-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; transition: all .22s; position: relative; overflow: hidden; }
.tld-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.tld-name { font-family: var(--font-num); font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.tld-desc { font-size: 12.5px; color: var(--muted); min-height: 20px; }
.tld-price { font-family: var(--font-num); font-size: 20px; font-weight: 700; color: var(--brand); margin-top: 10px; }
.tld-price small { font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--muted); }
.tld-tag { position: absolute; top: 0; right: 0; padding: 4px 11px; border-radius: 0 0 0 10px; background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }

/* Feature rows */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-art { position: relative; border-radius: var(--r-xl); background: linear-gradient(150deg, #EAF2FF, #DCEBFF); padding: 36px; min-height: 380px; display: grid; place-items: center; }
.feature-art img { max-height: 340px; width: auto; object-fit: contain; }
.feature-art::after { content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(27,92,243,.18); border-radius: 22px; pointer-events: none; }
.check-list { display: grid; gap: 18px; margin-top: 26px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; }
.check-ico svg { width: 16px; height: 16px; }
.check-item h4 { font-size: 15.5px; margin-bottom: 3px; }
.check-item p { font-size: 13.5px; line-height: 1.7; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--r-md); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-num); font-size: 30px; font-weight: 700; color: #78C6FF; margin-bottom: 16px; }
.step h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: #C2D7FA; line-height: 1.75; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -16px; width: 12px; height: 2px; background: rgba(255,255,255,.3); }

/* Testimonials */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote-card .stars { display: flex; gap: 3px; color: #F5A623; }
.quote-card .stars svg { width: 15px; height: 15px; }
.quote-card p { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); flex: 1; }
.quote-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.quote-author strong { display: block; font-size: 14px; color: var(--ink); }
.quote-author span { font-size: 12.5px; color: var(--muted); }

/* News */
.news-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.news-item { display: flex; align-items: center; gap: 18px; padding: 18px 24px; border-bottom: 1px solid var(--line-soft); transition: background-color .2s; }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: var(--bg); }
.news-date { font-family: var(--font-num); font-size: 13px; color: var(--muted); flex: none; width: 92px; }
.news-title { flex: 1; font-size: 14.5px; color: var(--ink-2); font-weight: 550; }
.news-item:hover .news-title { color: var(--brand); }
.news-tag { font-size: 11.5px; padding: 3px 10px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-weight: 650; }

/* CTA */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 60px 56px; background: linear-gradient(110deg, #0C2D82, #1B5CF3 65%, #2B8DEB); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -180px; background: radial-gradient(circle, rgba(120,220,255,.3), transparent 65%); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.cta-band p { color: #CEDFFF; font-size: 15.5px; }
.cta-band > * { position: relative; z-index: 2; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #0B2A70, #1A55DC); color: #fff; padding: 68px 0 76px; text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 24px 24px; opacity: .45; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin: 16px 0 14px; }
.page-hero p { color: #D2E2FF; font-size: 16px; max-width: 640px; margin: 0 auto; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #AEC8F5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 13px; height: 13px; }

/* ---------- Domain tool ---------- */
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 26px; }
.tool-card.dark { background: linear-gradient(120deg, #0B2A70, #1A55DC); border: 0; color: #fff; }
.tool-card.dark h3, .tool-card.dark label { color: #fff; }
.tool-card.dark .search-field { background: rgba(255,255,255,.97); }
.tool-tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 22px; }
.tool-tab { padding: 9px 20px; border: 0; background: transparent; border-radius: 9px; font-size: 14px; font-weight: 650; color: var(--body); transition: all .2s; }
.tool-tab.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-xs); }
.tld-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.tld-filter { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 9px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; user-select: none; }
.tld-filter input { accent-color: var(--brand); width: 14px; height: 14px; margin: 0; cursor: pointer; }
.tld-filter:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.batch-area { width: 100%; min-height: 110px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; resize: vertical; color: var(--ink); outline: 0; line-height: 1.8; }
.batch-area:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(27,92,243,.1); }

.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.results-head h3 { font-size: 20px; }
.results-head p { font-size: 13px; color: var(--muted); }
.result-list { display: grid; gap: 12px; }
.result-item { display: grid; grid-template-columns: 1.4fr .8fr .8fr auto; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: border-color .2s, box-shadow .2s; animation: fadeUp .45s ease both; }
.result-item:hover { border-color: #C7DBFF; box-shadow: var(--shadow-xs); }
.result-name { font-family: var(--font-num); font-size: 18px; font-weight: 700; color: var(--ink); word-break: break-all; }
.result-name small { font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--muted); display: block; margin-top: 2px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; }
.status svg { width: 16px; height: 16px; }
.status.available { color: var(--ok); }
.status.taken { color: var(--muted); }
.status.premium { color: var(--warn); }
.result-price { font-family: var(--font-num); font-size: 19px; font-weight: 700; color: var(--brand); }
.result-price small { font-family: var(--font); font-size: 11.5px; color: var(--muted); font-weight: 500; }
.result-price.muted { color: var(--muted); font-size: 14px; font-weight: 500; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 13px; }
.empty svg { width: 40px; height: 40px; color: #B6C6DF; margin: 0 auto 12px; }

/* ---------- Tables ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
thead th { background: var(--bg); color: var(--ink); font-weight: 700; text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: .02em; }
tbody td { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); color: var(--body); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #FAFCFF; }
td strong { color: var(--ink); }
td .num { font-family: var(--font-num); font-weight: 700; color: var(--brand); font-size: 16px; }

/* ---------- Pricing ---------- */
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; position: relative; transition: all .22s; }
.plan:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #C7DBFF; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.plan.featured::before { content: "最受欢迎"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 20px; }
.plan .plan-desc { font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 40px; }
.plan-price { font-family: var(--font-num); font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1.2; margin: 18px 0 4px; }
.plan-price sup { font-size: 18px; top: -.7em; margin-right: 2px; }
.plan-price span { font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--muted); }
.plan ul { display: grid; gap: 11px; margin: 22px 0 26px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.plan li svg { width: 17px; height: 17px; color: var(--ok); margin-top: 3px; }
.plan li.off { color: var(--muted); }
.plan li.off svg { color: #C3CEDF; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.field label em { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; font-size: 14px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(27,92,243,.09); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.checkbox-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--body); }
.checkbox-line input { width: 16px; height: 16px; accent-color: var(--brand); margin-top: 4px; flex: none; }

/* ---------- Drawer / Modal / Toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(7, 20, 45, .5); backdrop-filter: blur(3px); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 420px); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(8,20,50,.18); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 19px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: #FBFDFF; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.cart-line strong { font-family: var(--font-num); font-size: 15px; color: var(--ink); word-break: break-all; }
.cart-line span { font-size: 12.5px; color: var(--muted); }
.cart-line .amount { font-family: var(--font-num); font-size: 16px; font-weight: 700; color: var(--brand); }
.cart-line .remove { background: none; border: 0; color: var(--muted); font-size: 12px; padding: 0; margin-top: 6px; display: inline-flex; align-items: center; gap: 3px; }
.cart-line .remove:hover { color: var(--danger); }
.sum-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 5px 0; }
.sum-row.total { font-size: 16px; font-weight: 700; color: var(--ink); border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 14px; }
.sum-row.total b { font-family: var(--font-num); font-size: 26px; color: var(--brand); }

.modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%) scale(.97); width: min(100% - 32px, 460px); max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border-radius: var(--r-lg); z-index: 100; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; box-shadow: var(--shadow-lg); }
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal h3 { font-size: 22px; margin-bottom: 8px; }
.modal .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border: 0; border-radius: 9px; background: var(--bg); color: var(--body); display: grid; place-items: center; }
.modal-close:hover { background: var(--brand-soft); color: var(--brand); }
.modal-close svg { width: 16px; height: 16px; }
.modal .switch-line { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.modal .switch-line button { border: 0; background: none; color: var(--brand); font-weight: 700; padding: 0 2px; }
.order-success { text-align: center; }
.order-success .ok-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.order-success .ok-circle svg { width: 32px; height: 32px; }
.order-box { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 18px 0; text-align: left; font-size: 13.5px; display: grid; gap: 8px; }
.order-box div { display: flex; justify-content: space-between; gap: 12px; }
.order-box b { font-family: var(--font-num); color: var(--ink); }

.toast-stack { position: fixed; top: 92px; right: 22px; z-index: 120; display: grid; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 11px; padding: 12px 16px; box-shadow: var(--shadow-md); font-size: 13.5px; color: var(--ink-2); min-width: 240px; animation: toastIn .3s ease both; }
.toast.success { border-left-color: var(--ok); }
.toast.error { border-left-color: var(--danger); }
.toast svg { width: 17px; height: 17px; color: var(--brand); }
.toast.success svg { color: var(--ok); }
.toast.error svg { color: var(--danger); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #93A8C9; padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: #7E95BC; }
.footer-about { font-size: 13.5px; line-height: 1.9; margin-top: 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.13); display: grid; place-items: center; color: #A9C0E4; transition: all .2s; }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 20px; }
.footer li { margin-bottom: 11px; font-size: 13.5px; }
.footer li a { transition: color .2s; }
.footer li a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.7; }
.footer-contact svg { width: 15px; height: 15px; color: var(--cyan); margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.footer-bottom a:hover { color: #fff; }
.demo-flag { display: inline-block; padding: 2px 8px; border-radius: 5px; background: rgba(255,122,69,.16); color: #FFB08C; font-size: 11px; margin-left: 8px; }

.section.dark { background: linear-gradient(125deg, #0A2568 0%, #1244C4 62%, #1D7BE8 100%); color: #C9DCFF; overflow: hidden; }
.section.dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 26px 26px; opacity: .4; pointer-events: none; }
.section.dark > .container { position: relative; z-index: 2; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark .section-head p { color: #C9DCFF; }
.section.dark .eyebrow { background: rgba(255,255,255,.13); color: #CDE5FF; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.short-pill { display: inline-flex; align-items: center; justify-content: center; padding: 14px 8px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font-family: var(--font-num); font-weight: 700; color: var(--ink); font-size: 16px; transition: all .2s; }
.short-pill:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; padding: 0 20px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 650; font-size: 15px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--brand); line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 18px; font-size: 14px; line-height: 1.85; }
.contact-tile { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.contact-tile .card-icon { margin-bottom: 0; flex: none; }
.contact-tile h3 { font-size: 16px; margin-bottom: 4px; }
.contact-tile p { font-size: 13.5px; }
.banner-strip { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; padding: 20px; border: 1px dashed #C7DBFF; border-radius: 14px; background: rgba(255,255,255,.06); font-size: 13.5px; color: #D7E7FF; }

/* ---------- Utility / motion ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 7px; font-size: 12px; font-weight: 650; }
.badge.blue { background: var(--brand-soft); color: var(--brand); }
.badge.green { background: var(--ok-soft); color: var(--ok); }
.badge.orange { background: var(--warn-soft); color: var(--warn); }
.divider { height: 1px; background: var(--line); margin: 28px 0; }
.note-box { background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 10px; padding: 16px 18px; font-size: 13.5px; line-height: 1.8; }
/* 入场动效默认可见：即使脚本或观察器失效，内容也不会消失 */
.reveal { animation: revealIn .65s cubic-bezier(.22,.61,.36,1) both; }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes revealIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes navIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 9px 10px; font-size: 13.5px; }
  .header .container { gap: 14px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .footer-grid > div:nth-child(5) { grid-column: 2 / -1; }
}
@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-art { min-height: 300px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 380px; }
  .hero h1 { font-size: clamp(32px, 6vw, 48px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
  .nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(84vw, 320px);
    background: #fff; z-index: 110; flex-direction: column; align-items: stretch;
    display: none;
    padding: 90px 22px 30px; gap: 4px;
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .nav.open { display: flex; animation: navIn .28s cubic-bezier(.4,0,.2,1) both; }
  .nav a { padding: 13px 14px; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(7,20,45,.45); z-index: 105; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .nav-overlay.open { opacity: 1; visibility: visible; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:nth-child(5) { grid-column: auto; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .container { width: min(100% - 32px, var(--max)); }
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 34px; }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .topbar .container { justify-content: center; }
  .topbar-links, .hide-sm { display: none; }
  .topbar-tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-size: 11.5px; }
  .header .container { gap: 8px; }
  .brand-text strong { font-size: 18px; }
  .header-actions { gap: 7px; }
  .header-actions .btn-sm span { display: none; }
  .header-actions .btn-sm { width: 40px; height: 40px; padding: 0; border-radius: 11px; }
  .search-card { padding: 12px; border-radius: 16px; }
  .search-row { flex-wrap: wrap; }
  .search-field { flex: 1 1 100%; }
  .search-select { flex: 1; }
  .search-select select { width: 100%; padding: 13px 34px 13px 14px; }
  .search-btn { flex: 1 1 100%; padding: 14px 20px; }
  .stats { margin-top: -26px; border-radius: 16px; }
  .stat { padding: 20px 16px; }
  .stat strong { font-size: 26px; }
  .hero { padding-top: 48px; }
  .hero-points { gap: 8px 16px; }
  .result-item { grid-template-columns: 1fr auto; gap: 10px; padding: 15px; }
  .result-item .result-price { text-align: right; }
  .result-item .btn { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; border-radius: 20px; }
  .news-item { padding: 15px 16px; gap: 10px; flex-wrap: wrap; }
  .news-date { width: auto; }
  .news-title { flex: 1 1 100%; order: 2; }
  .page-hero { padding: 48px 0 56px; }
  .tool-card { padding: 18px; }
  .toast-stack { right: 12px; left: 12px; top: 76px; }
  .toast { min-width: 0; }
  .footer { padding-top: 48px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; animation: none !important; }
}
