/* sim8.cn - 电信大流量卡办理 */
:root {
  --brand: #0b5cd5;
  --brand-2: #1d7bff;
  --brand-ink: #06265c;
  --accent: #ff6a00;
  --accent-2: #ff8f3c;
  --ink: #101828;
  --muted: #5b6878;
  --line: #e5eaf2;
  --bg: #f5f8fd;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(9, 39, 88, .08);
  --shadow-lg: 0 18px 50px rgba(9, 39, 88, .14);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(11, 92, 213, .26); }
.btn-primary:hover { background: #0a52bd; box-shadow: 0 10px 26px rgba(11, 92, 213, .34); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 106, 0, .34);
}
.btn-accent:hover { filter: brightness(1.05); box-shadow: 0 14px 34px rgba(255, 106, 0, .42); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(229, 234, 242, .9);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(9, 39, 88, .08); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 4px;
  background: var(--brand);
  display: grid; place-items: center; color: #fff;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 17px; letter-spacing: .3px; }
.logo-text small { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 1.4px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: #33465e; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--brand); }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { margin: 0 auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 82% -8%, rgba(76, 152, 255, .55), transparent 62%),
    radial-gradient(700px 360px at 8% 108%, rgba(0, 195, 255, .22), transparent 60%),
    linear-gradient(158deg, #041a3f 0%, #083374 46%, #0b5cd5 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 0%, #000 20%, transparent 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 78px 20px 60px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px; letter-spacing: .5px; color: #dbe9ff;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.hero h1 { font-size: clamp(30px, 4.8vw, 54px); margin: 20px 0 16px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: #ffd166; }
.hero .lead { max-width: 640px; font-size: clamp(15px, 1.4vw, 17px); color: #c9dcff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; max-width: 760px;
}
.hero-stats li {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  padding: 14px 16px;
  backdrop-filter: blur(4px);
}
.hero-stats strong { display: block; font-size: clamp(20px, 2.4vw, 26px); color: #fff; letter-spacing: -.3px; }
.hero-stats span { font-size: 12.5px; color: #b9d0f5; }

/* ---------- features ---------- */
.features { padding: 46px 0 8px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: #eaf2ff; color: var(--brand);
  margin-bottom: 14px;
}
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 13.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 62px 0; }
.section-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-head .kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.3px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- plans ---------- */
.plans { background: linear-gradient(180deg, #f5f8fd 0%, #eef4fd 100%); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 22px; }
.plan-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-media { position: relative; background: #eef3fa; cursor: zoom-in; }
.plan-media img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.plan-media::after {
  content: "点击查看大图";
  position: absolute; right: 10px; bottom: 10px;
  font-size: 11.5px; color: #fff;
  background: rgba(6, 22, 48, .62);
  padding: 4px 9px; border-radius: 999px;
  opacity: 0; transition: opacity .2s ease;
}
.plan-card:hover .plan-media::after { opacity: 1; }
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff;
  letter-spacing: .3px;
  box-shadow: 0 4px 12px rgba(6, 22, 48, .2);
}
.badge-hot { background: linear-gradient(135deg, #ff8f3c, #ff4d00); }
.badge-long { background: linear-gradient(135deg, #22b573, #0e8f57); }
.badge-area { background: linear-gradient(135deg, #3f8dff, #0b5cd5); }
.badge-call { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.plan-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.plan-body h3 { font-size: 19px; letter-spacing: -.2px; }
.plan-tag { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.plan-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px; margin: 16px 0 14px;
}
.plan-facts > div {
  background: #f6f9fe;
  border: 1px solid #eaf0fa;
  border-radius: 12px;
  padding: 9px 6px;
  text-align: center;
}
.plan-facts dt { font-size: 11.5px; color: var(--muted); }
.plan-facts dd { font-size: 13px; color: #24364d; }
.plan-facts dd b { font-size: 19px; color: var(--brand-ink); letter-spacing: -.5px; }
.plan-facts dd small { font-size: 11.5px; color: var(--muted); display: block; }
.plan-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px;
  font-size: 12.5px; color: var(--muted);
  margin-bottom: 18px;
}
.plan-meta li { position: relative; padding-left: 11px; }
.plan-meta li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 4px; height: 4px; border-radius: 50%; background: #9fb4cd;
}
.plan-meta .wide { grid-column: 1 / -1; }
.plan-cta { margin-top: auto; }
.plan-note { margin-top: 26px; text-align: center; font-size: 12.5px; color: #8494a8; }

/* ---------- provinces ---------- */
.provinces {
  background: linear-gradient(180deg, #eef4fd, #f6f9fe);
  border-top: 1px solid #e3ecf9;
}
.province-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.province {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.province:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.province-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 999px;
  color: #fff; margin-bottom: 12px;
}
.tag-gd { background: #0d9488; }
.tag-js { background: #2563eb; }
.tag-zj { background: #0891b2; }
.tag-sc { background: #ea580c; }
.province h3 { font-size: 17px; margin-bottom: 6px; }
.province p { flex: 1; font-size: 13.5px; color: var(--muted); }
.province-go { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--brand); }

/* ---------- guide ---------- */
.guide { background: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-item {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fbfdff, #f3f8ff);
  box-shadow: var(--shadow);
}
.guide-num {
  position: absolute; right: 16px; top: 4px;
  font-size: 56px; font-weight: 800; line-height: 1;
  letter-spacing: -2px; color: #e2edfd;
}
.guide-item h3 { position: relative; font-size: 17px; margin-bottom: 8px; }
.guide-item p { position: relative; font-size: 14px; color: var(--muted); }
.guide-cta { margin-top: 30px; text-align: center; }

/* ---------- flow ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.flow-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  box-shadow: var(--shadow);
}
.flow-step::before {
  content: counter(step);
  counter-increment: step;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; font-weight: 700; font-size: 15px;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(11, 92, 213, .28);
}
.flow-step h3 { font-size: 16px; margin-bottom: 6px; }
.flow-step p { font-size: 13.5px; color: var(--muted); }
.flow-step::after {
  content: "";
  position: absolute; top: 41px; right: -8px;
  width: 8px; height: 8px;
  border-top: 2px solid #c8d8ef; border-right: 2px solid #c8d8ef;
  transform: rotate(45deg);
}
.flow-step:last-child::after { display: none; }
.flow-actions { margin-top: 30px; text-align: center; }

/* ---------- faq ---------- */
.faq { background: #fff; }
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.faq-item[open] { border-color: #bfd6fb; background: #fff; box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 52px 17px 20px;
  position: relative;
  font-weight: 600;
  font-size: 15.5px;
  color: #1c2d44;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: #eaf2ff; color: var(--brand);
  font-size: 18px; font-weight: 700; line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--brand); color: #fff;
}
.faq-answer { padding: 0 20px 18px; color: var(--muted); font-size: 14px; }
.faq-answer p + p { margin-top: 8px; }

/* ---------- notice ---------- */
.notice { background: var(--bg); }
.notice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}
.notice-card h2 { font-size: 22px; margin-bottom: 16px; }
.notice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.notice-grid li { position: relative; padding-left: 20px; font-size: 14px; color: #3b4d64; }
.notice-grid li::before {
  content: "!";
  position: absolute; left: 0; top: .35em;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff1e6; color: var(--accent);
  font-size: 10px; font-weight: 700; text-align: center; line-height: 14px;
}
.notice-grid strong { color: var(--ink); }

/* ---------- cta band ---------- */
.cta-band {
  color: #fff;
  background:
    radial-gradient(700px 300px at 88% 10%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(135deg, #0b5cd5, #083f9b);
  padding: 56px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(22px, 2.8vw, 32px); }
.cta-inner p { color: #c7dbff; margin-top: 8px; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: #071a36; color: #93a8c4; padding: 46px 0 30px; font-size: 13.5px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { max-width: 420px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand .logo-text small { color: #7c93b3; }
.footer-brand p { line-height: 1.7; }
.footer-links { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-links h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #93a8c4; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #7890b0; }

/* ---------- sticky mobile cta ---------- */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(9, 39, 88, .1);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  align-items: center; gap: 12px;
}
.sticky-cta .sticky-text { line-height: 1.3; }
.sticky-cta .sticky-text strong { display: block; font-size: 15px; color: var(--brand-ink); }
.sticky-cta .sticky-text span { font-size: 12px; color: var(--muted); }
.sticky-cta .btn { margin-left: auto; }

/* ---------- lightbox ---------- */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 860px);
  width: 100%;
  color: #fff;
}
.lightbox::backdrop { background: rgba(4, 12, 26, .8); backdrop-filter: blur(6px); }
.lightbox-inner { background: #0d1b2f; border-radius: 20px; overflow: hidden; max-height: 92vh; display: flex; flex-direction: column; }
.lightbox-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.lightbox-head strong { font-size: 15px; }
.lightbox-close {
  margin-left: auto;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08); color: #fff;
  font-size: 18px; line-height: 1; cursor: pointer;
}
.lightbox-body { overflow: auto; background: #fff; }
.lightbox-body img { width: 100%; height: auto; }
.lightbox-foot { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lightbox-foot span { font-size: 12.5px; color: #9fb2cc; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-step::after { display: none; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(9, 39, 88, .12);
    padding: 12px 20px 18px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 10px 4px; border-radius: 8px; }
  .nav .btn { margin-top: 8px; }
  .nav-toggle { display: block; }
  .hero-inner { padding: 56px 20px 44px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 48px 0; }
  .notice-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: 1fr; }
  .province-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .plan-grid { grid-template-columns: 1fr; }
  .province-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .notice-card { padding: 22px 20px; }
  .footer-links { gap: 28px; }
  .plan-media::after { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plan-card:hover { transform: none; }
}
