/* ============================================================
   PC 站样式（www.startdd.com）— 虎斑科技（天津）有限公司
   ============================================================ */
:root {
  --c-primary: #198754;
  --c-primary-dark: #146c43;
  --c-primary-light: #d1e7dd;
  --c-accent: #0d6efd;
  --c-text: #1f2937;
  --c-muted: #6b7280;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fa;
  --c-border: #e5e7eb;
  --shadow: 0 6px 24px rgba(15, 23, 42, .08);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font: inherit; border: 0; background: transparent; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--c-muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.hl { color: var(--c-primary); }

/* ===== Buttons ===== */
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary.big { padding: 14px 26px; font-size: 16px; }
.btn-ghost {
  display: inline-block;
  padding: 14px 22px;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  border-radius: 10px;
  font-weight: 600;
  margin-left: 12px;
}
.btn-ghost:hover { background: var(--c-primary-light); text-decoration: none; }
.btn-link {
  color: var(--c-primary);
  font-weight: 600;
  padding: 6px 0;
  margin-top: 8px;
}
.btn-link:hover { text-decoration: underline; }

/* ===== Header ===== */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.hdr-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--c-text); }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px;
  object-fit: cover; display: block;
}
.brand-name { font-weight: 800; font-size: 18px; }
.brand-tag { font-size: 12px; color: var(--c-muted); padding: 2px 8px; border: 1px solid var(--c-border); border-radius: 999px; margin-left: 4px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--c-text); font-weight: 500; }
.nav a:hover { color: var(--c-primary); text-decoration: none; }
.hdr-cta { display: flex; align-items: center; gap: 14px; }
.phone-link { color: var(--c-text); font-weight: 600; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #e7f5ec 0%, #f5f7fa 100%);
  padding: 80px 0;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-block; padding: 6px 14px;
  background: rgba(25,135,84,.12); color: var(--c-primary);
  border-radius: 999px; font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { font-size: 42px; line-height: 1.25; margin: 0 0 18px; }
.hero-desc { font-size: 17px; color: var(--c-muted); margin-bottom: 22px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; }
.hero-points li { padding: 6px 0; font-size: 15px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hero-trust { margin-top: 14px; }

/* Hero 艺术图 */
.phone-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px;
  max-width: 320px;
  margin-left: auto;
  transform: rotate(-3deg);
  border: 1px solid var(--c-border);
}
.phone-bar {
  font-weight: 700; padding: 10px 14px;
  border-radius: 10px; background: var(--c-primary); color: #fff;
  margin-bottom: 14px;
}
.phone-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; margin: 6px 0;
  background: var(--c-bg-alt); border-radius: 10px;
  font-weight: 500;
}
.phone-cta {
  margin-top: 14px; text-align: center;
  background: var(--c-accent); color: #fff;
  padding: 12px; border-radius: 10px; font-weight: 700;
}

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section.alt { background: var(--c-bg-alt); }
.section-title { font-size: 32px; text-align: center; margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--c-muted); margin: 0 0 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  transition: transform .2s;
}
.card.border { border: 1px solid var(--c-border); box-shadow: none; }
.card:hover { transform: translateY(-3px); }
.card-icon { font-size: 32px; margin-bottom: 8px; }
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card-desc { color: var(--c-muted); font-size: 14px; }

/* ===== Screenshots ===== */
.shot-main {
  position: relative;
  max-width: 420px; margin: 0 auto 24px;
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.shot-main img { width: 100%; height: auto; }
.shot-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; padding: 18px 16px 14px; font-weight: 600;
}
.shot-thumbs {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px;
  max-width: 980px; margin: 0 auto;
}
.thumb {
  padding: 0; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent;
  background: #fff; aspect-ratio: 9/16;
}
.thumb.on { border-color: var(--c-primary); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Cases ===== */
.case {
  background: #fff; border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.case-tag {
  display: inline-block; padding: 4px 10px;
  background: var(--c-primary-light); color: var(--c-primary-dark);
  border-radius: 999px; font-size: 12px; font-weight: 600;
  margin-bottom: 10px;
}
.case-name { font-weight: 700; margin-bottom: 6px; }
.case-desc { color: var(--c-muted); font-size: 14px; }

/* ===== Certs ===== */
.certs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cert {
  display: flex; align-items: center; gap: 10px;
  padding: 14px; background: #fff;
  border-radius: 12px; border: 1px solid var(--c-border);
}
.cert-icon { font-size: 24px; }
.cert-text { font-weight: 600; font-size: 14px; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff; padding: 60px 0;
}
.cta-banner h2 { margin: 0 0 8px; font-size: 28px; }
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.cta-banner .btn-primary {
  background: #fff; color: var(--c-primary-dark);
}
.cta-banner .btn-primary:hover { background: var(--c-bg-alt); }

/* ===== Footer ===== */
.ftr { background: #0f172a; color: #cbd5e1; padding: 60px 0 0; }
.ftr-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.ftr h4 { color: #fff; margin: 0 0 14px; }
.ftr p { margin: 6px 0; }
.ftr .brand-name { color: #fff; }
.ftr-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 40px; padding: 20px 24px; text-align: center; font-size: 13px;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.ftr-bottom > span { word-break: break-all; line-height: 1.6; }
.ftr-bottom .icp a { color: #94a3b8; text-decoration: none; }
.ftr-bottom .icp a:hover { color: #fff; text-decoration: underline; }

/* ===== Modal ===== */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .55);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
  animation: fadeIn .2s;
}
.modal {
  background: #fff; border-radius: 16px;
  width: 100%; max-width: 460px;
  padding: 28px 28px 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: pop .25s;
}
.modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px; font-size: 24px;
  color: var(--c-muted);
}
.modal h3 { margin: 0 0 6px; font-size: 20px; }
.modal-done { text-align: center; padding: 20px 0; }
.modal-done h3 { margin-top: 12px; }
.check-icon {
  width: 64px; height: 64px; margin: 0 auto;
  border-radius: 50%;
  background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 800;
}
.form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--c-muted); }
.form input, .form select {
  padding: 10px 12px; border: 1px solid var(--c-border);
  border-radius: 10px; font-size: 15px; color: var(--c-text);
  background: #fff;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(25,135,84,.15);
}
.form-err { color: #dc2626; font-size: 13px; }
.price {
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 0;
}
.price-num { color: var(--c-primary); font-weight: 800; font-size: 28px; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { opacity: 0; transform: scale(.92) } to { opacity: 1; transform: scale(1) } }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero { padding: 50px 0; }
  .hero h1 { font-size: 30px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .phone-card { margin: 0 auto; transform: none; }
  .nav { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: 1fr 1fr; }
  .shot-thumbs { grid-template-columns: repeat(5, 1fr); }
  .ftr-inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .hdr-cta .phone-link { display: none; }
  .cta-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
}
