/* ============================================================
   福州创广鑫科技有限公司 官网样式（自适应）
   ============================================================ */

/* ---------- 基础 ---------- */
:root {
  --primary: #2b5cf0;
  --primary-dark: #1e3fb8;
  --ink: #1a2233;
  --text: #454f63;
  --muted: #8a94a8;
  --bg: #f7f8fc;
  --card: #ffffff;
  --accent: #ff7a45;
  --border: #e8ecf4;
  --radius: 14px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.4; font-weight: 700; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 10px; flex: none; }

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex: none;
}

.logo-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  display: flex;
  flex-direction: column;
}

.logo-text small {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.5px;
  font-weight: 500;
}

.site-nav { display: flex; gap: 4px; align-items: center; }

.site-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover { color: var(--primary); background: #f0f4ff; }

.site-nav a.active { color: var(--primary); font-weight: 600; }

.site-nav a.nav-cta {
  background: var(--primary);
  color: #fff !important;
  margin-left: 8px;
}

.site-nav a.nav-cta:hover { background: var(--primary-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(135deg, #16246a 0%, #1e3fb8 48%, #2b5cf0 100%);
  color: #fff;
  padding: clamp(72px, 11vw, 128px) 0 clamp(60px, 9vw, 100px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero-inner { max-width: 740px; position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.25;
  margin: 24px 0 18px;
  color: #fff;
  letter-spacing: 1px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 17.5px);
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 0;
  cursor: pointer;
  line-height: 1.4;
}

.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 20, 80, 0.3); }

.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(43, 92, 240, 0.3); }

/* ---------- 数据条 ---------- */
.stats-band { background: #fff; border-bottom: 1px solid var(--border); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 0;
}

.stat { text-align: center; }

.stat b { font-size: clamp(26px, 3.4vw, 36px); color: var(--primary); font-weight: 700; }

.stat span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section.alt { background: #fff; }

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto clamp(36px, 6vw, 56px);
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 4px;
}

.section-head h2 { font-size: clamp(25px, 4vw, 35px); margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 15.5px; }

/* ---------- 卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(24, 40, 100, 0.09);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: #eef3ff;
  margin-bottom: 18px;
}

.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; }

/* ---------- 平台卡片 ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.platform {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  padding: 36px 22px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.platform:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(24, 40, 100, 0.09); }

.p-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  font-weight: 700;
}

.p-douyin { background: linear-gradient(135deg, #161823, #3a3d52); }
.p-xhs { background: linear-gradient(135deg, #ff2442, #ff6a80); }
.p-ks { background: linear-gradient(135deg, #ff7f24, #ff4e00); }
.p-more { background: linear-gradient(135deg, var(--primary-dark), #6a8dff); }

.platform h3 { font-size: 18px; margin-bottom: 8px; }
.platform p { font-size: 14px; color: var(--muted); }

/* ---------- 步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  counter-reset: step;
}

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

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #6a8dff);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 17px;
}

.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; }

/* ---------- 两栏 ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.split h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 16px; }
.split .lead { color: var(--muted); font-size: 15.5px; }

.check-list { margin-top: 20px; }

.check-list li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  flex: none;
}

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.feature {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.feature-ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef3ff;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.feature h3 { font-size: 15.5px; margin-bottom: 4px; }
.feature p { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, #16246a, #2b5cf0);
  border-radius: 20px;
  color: #fff;
  padding: clamp(38px, 6vw, 62px) clamp(24px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-band h2 { color: #fff; font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto 30px; position: relative; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; position: relative; }

/* ---------- 二级页头部 ---------- */
.page-hero {
  background: linear-gradient(135deg, #16246a, #1e3fb8 55%, #2b5cf0);
  color: #fff;
  padding: clamp(50px, 8vw, 86px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.page-hero .container { position: relative; }

.page-hero h1 { font-size: clamp(28px, 4.6vw, 40px); color: #fff; margin-bottom: 12px; }
.page-hero .page-desc { color: rgba(255, 255, 255, 0.84); max-width: 600px; margin: 0 auto; font-size: 15.5px; }

.breadcrumb { margin-top: 20px; font-size: 13.5px; color: rgba(255, 255, 255, 0.62); }
.breadcrumb a:hover { color: #fff; }

/* ---------- 信息表 ---------- */
.info-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-row { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: 0; }

.info-row dt {
  background: #f7f9ff;
  padding: 15px 22px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
}

.info-row dd { padding: 15px 22px; font-size: 14.5px; word-break: break-all; }

/* ---------- 流程链 ---------- */
.flow { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }

.flow .chip {
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.flow .arrow { color: var(--muted); font-size: 16px; }

/* ---------- 奖励卡片 ---------- */
.reward-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }

.reward {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 30px;
}

.reward .card-icon { margin-bottom: 14px; }
.reward h3 { font-size: 18px; margin-bottom: 10px; }
.reward p { font-size: 14.5px; }

/* ---------- 提示块 ---------- */
.note {
  background: #f0f5ff;
  border: 1px solid #d6e2ff;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 14px;
  color: #3d5199;
  line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 22px;
}

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

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

.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.2s;
  flex: none;
  line-height: 1;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details .faq-body { padding: 0 0 18px; color: var(--text); font-size: 14.5px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
}

.contact-card .ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: #eef3ff;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--muted); word-break: break-all; }

.email-cta {
  text-align: center;
  background: #fff;
  border: 1.5px dashed #b9c8f5;
  border-radius: var(--radius);
  padding: 40px 22px;
}

.email-cta h3 { font-size: 19px; margin-bottom: 12px; }
.email-cta p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.email-cta code {
  display: block;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 22px;
  font-family: inherit;
}

/* ---------- 法务页 ---------- */
.legal-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 52px);
}

.legal-updated { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }

.legal-body h2 { font-size: 18px; margin: 30px 0 12px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { font-size: 14.5px; margin-bottom: 10px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal-body li { font-size: 14.5px; margin-bottom: 6px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #10182e; color: #aab4cc; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 0.9fr 1.3fr;
  gap: 36px;
  padding: 56px 0 42px;
}

.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }

.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: #aab4cc; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-col li { font-size: 14px; padding: 5px 0; line-height: 1.7; }

.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text small { color: #7d88a3; }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 320px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 0; font-size: 13px; }

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom a { color: #aab4cc; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 内容始终可见（不做滚动动画，保证截图/抓取完整） ---------- */

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 4% 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 32px rgba(20, 30, 60, 0.1);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .site-nav.open { transform: none; opacity: 1; visibility: visible; }

  .site-nav a { padding: 13px 10px; }
  .site-nav a.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
}

@media (max-width: 640px) {
  .info-row { grid-template-columns: 1fr; }
  .info-row dt { padding-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 32px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
