/* ==========================================================================
   晓凡电商 · 官网单页样式
   主色只需改 :root 里的 --brand / --brand-dark / --brand-soft 三处
   设计约束：纯色平铺，不使用任何渐变，不使用紫色
   ========================================================================== */

:root {
  --brand: #2b6de8;
  --brand-dark: #1e56c4;
  --brand-soft: #eaf1fe;
  --honey: #ffb300;
  --honey-soft: #fff6e1;
  --ink: #1f2937;
  --ink-2: #4b5563;
  --ink-3: #6b7280;
  --line: #e5eaf2;
  --bg: #f7f9fc;
  --bg-hero: #f4f8ff;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius: 14px;
  --pill: 999px;
  --container: 1200px;
  --shadow-sm: 0 1px 3px rgba(31, 41, 55, 0.06);
  --shadow: 0 12px 32px rgba(31, 41, 55, 0.08);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

p, ul, ol, dl, dd {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--brand-dark);
}

img, svg {
  display: block;
  max-width: 100%;
}

svg path[stroke] {
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(43, 109, 232, 0.24);
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(43, 109, 232, 0.28);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 14px;
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-logo {
  width: 38px;
  height: 38px;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--brand);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- 首屏 ---------------- */
.hero {
  background: var(--bg-hero);
  padding: 76px 0 84px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: var(--pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1px;
}

.hero-title-accent {
  color: var(--brand);
}

.hero-lead {
  margin-top: 20px;
  max-width: 540px;
  font-size: 17px;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 38px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-3);
}

.hero-points svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
}

.hero-svg {
  width: 100%;
  height: auto;
}

/* ---------------- 通用区块 ---------------- */
.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--honey);
}

.section-title {
  margin-top: 14px;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  color: var(--ink);
}

.section-lead {
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink-3);
}

/* ---------------- 业务卡片 ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  padding: 30px 26px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #c9d9f7;
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
}

.card:nth-child(3n + 2) .card-icon {
  background: var(--honey-soft);
  color: #a06a00;
}

.card-icon svg {
  width: 23px;
  height: 23px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
}

.card p {
  margin-top: 11px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-3);
}

/* ---------------- 服务流程 ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding: 28px 24px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step::after {
  content: "";
  position: absolute;
  top: 47px;
  right: -13px;
  width: 22px;
  height: 2px;
  background: var(--line);
}

.step:last-child::after {
  display: none;
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.step h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
}

.step p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

/* ---------------- 覆盖平台 ---------------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.platform-chip {
  padding: 18px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.platform-chip:hover {
  background: var(--brand-soft);
  border-color: #bcd3f9;
  color: var(--brand);
}

.platform-note {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------------- 常见问题 ---------------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: #c9d9f7;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  padding: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-3);
}

/* ---------------- 联系我们 ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  padding: 12px 34px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.info-row {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row dt {
  flex: 0 0 140px;
  font-size: 14px;
  color: var(--ink-3);
}

.info-row dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}

.report-note {
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-3);
}

.contact-mail-card {
  padding: 34px;
  background: var(--brand-soft);
  border: 1px solid #cfe0fb;
  border-radius: var(--radius-lg);
}

.contact-mail-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand);
}

.contact-mail-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  word-break: break-all;
}

.contact-mail-desc {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

.contact-mail-card .btn {
  margin-top: 24px;
}

/* ---------------- 网站声明 ---------------- */
.statement {
  max-width: 940px;
  margin: 0 auto;
  padding: 34px 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.statement p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-3);
}

.statement p + p {
  margin-top: 14px;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  padding: 56px 0 28px;
  background: #1b2430;
  color: rgba(255, 255, 255, 0.7);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1fr;
  gap: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.footer-brand-row img {
  width: 34px;
  height: 34px;
}

.footer-slogan {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--honey);
}

.footer-desc {
  margin-top: 10px;
  max-width: 430px;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
}

.footer-nav a,
.footer-contact a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-contact-title {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.footer-mail {
  font-size: 16px;
  font-weight: 600;
  color: var(--honey) !important;
  word-break: break-all;
}

.footer-hours {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.62);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.75);
}

.footer-filing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 6px;
}

.filing-police {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filing-police img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-report {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-report a {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step::after {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 48px 0 60px;
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-points {
    margin-top: 28px;
    gap: 10px 18px;
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card {
    padding: 6px 20px 20px;
  }

  .info-row {
    flex-direction: column;
    gap: 4px;
  }

  .info-row dt {
    flex: none;
    font-size: 13px;
  }

  .contact-mail-card {
    padding: 26px 22px;
  }

  .contact-mail-link {
    font-size: 20px;
  }

  .statement {
    padding: 24px 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-filing {
    flex-direction: column;
    gap: 4px;
  }

  .footer-filing .sep {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
