/* ============================================================
   温州壳纵网络科技有限公司 官网样式
   移动端优先 响应式设计
   ============================================================ */
:root {
  --primary: #1d5eff;
  --primary-dark: #1244c8;
  --accent: #ff7a1a;
  --dark: #0f1c33;
  --gray: #5a6b85;
  --light: #f4f7fc;
  --border: #e4eaf3;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(18, 68, 200, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 1px; }
.logo .mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 900;
}
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--gray); letter-spacing: 2px; }
.nav-links { display: flex; gap: 34px; font-size: 15px; color: var(--gray); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: #fff !important; padding: 9px 20px;
  border-radius: 24px; font-size: 14px; font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark); }
.menu-btn { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--dark); }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border); padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 6%; border-top: 1px solid #f0f4fa; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .tag {
  display: inline-block; font-size: 13px; color: var(--primary);
  background: rgba(29,94,255,0.08); padding: 5px 14px; border-radius: 20px;
  font-weight: 600; margin-bottom: 14px; letter-spacing: 1px;
}
.section-head h2 { font-size: 32px; font-weight: 800; }
.section-head p { color: var(--gray); margin-top: 12px; font-size: 15px; }
@media (max-width: 640px) { .section { padding: 56px 0; } .section-head h2 { font-size: 26px; } }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0f1c33 0%, #16305e 55%, #1d5eff 130%);
  color: #fff; padding: 100px 0 90px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 65%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 44px; font-weight: 900; line-height: 1.3; }
.hero h1 em { font-style: normal; color: #7cb2ff; }
.hero p { color: #c6d5f0; margin: 20px 0 30px; font-size: 16px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 30px;
  font-size: 15px; font-weight: 700; transition: all .2s; cursor: pointer; border: 0;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e86a0c; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stats .num { font-size: 28px; font-weight: 800; color: #7cb2ff; }
.hero-stats .lbl { font-size: 13px; color: #9db4d9; }
.hero-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px; padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h3 { font-size: 17px; margin-bottom: 16px; }
.hero-card .item { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,0.18); font-size: 14px; }
.hero-card .item:last-child { border-bottom: 0; }
.hero-card .price { color: #ffc98a; font-weight: 700; }
@media (max-width: 860px) {
  .hero { padding: 60px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { gap: 22px; }
}

/* ---------- 服务卡片 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: all .25s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #c9d8f8; }
.service-card .icon {
  width: 54px; height: 54px; border-radius: 14px; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(29,94,255,0.09); margin-bottom: 18px;
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray); }

/* ---------- 产品/服务套餐 ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card .thumb {
  height: 150px; display: flex; align-items: center; justify-content: center;
  font-size: 46px; background: linear-gradient(135deg, #eef3ff, #f8fbff);
}
.product-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card .pname { font-size: 17px; font-weight: 700; }
.product-card .pdesc { font-size: 13.5px; color: var(--gray); margin: 8px 0 14px; flex: 1; }
.product-card .pmeta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.product-card .price { color: var(--accent); font-size: 20px; font-weight: 800; }
.product-card .price small { font-size: 12px; color: var(--gray); font-weight: 500; }
.product-card .buy {
  background: var(--primary); color: #fff; border: 0; border-radius: 22px;
  padding: 9px 22px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.product-card .buy:hover { background: var(--primary-dark); }

/* ---------- 关于/优势 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.about-text p { color: var(--gray); font-size: 15px; margin-bottom: 14px; }
.about-points { margin-top: 20px; }
.about-points li { display: flex; gap: 12px; padding: 9px 0; font-size: 15px; color: var(--dark); }
.about-points .tick { color: var(--primary); font-weight: 800; }
.feature-panel {
  background: var(--light); border: 1px solid var(--border); border-radius: 16px; padding: 30px;
}
.feature-panel h3 { font-size: 18px; margin-bottom: 16px; }
.feature-panel .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.feature-panel .row:last-child { border-bottom: 0; }
.feature-panel .row b { color: var(--primary); }

/* ---------- 联系 ---------- */
.contact-wrap {
  background: var(--light); border: 1px solid var(--border); border-radius: 18px;
  padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
}
@media (max-width: 800px) { .contact-wrap { grid-template-columns: 1fr; padding: 28px; } }
.contact-item { display: flex; gap: 16px; padding: 14px 0; }
.contact-item .ci { font-size: 24px; }
.contact-item b { display: block; font-size: 15px; }
.contact-item span { color: var(--gray); font-size: 14px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--border); border-radius: 10px; padding: 13px 16px;
  font-size: 14.5px; font-family: inherit; outline: none; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }

/* ---------- 支付页 ---------- */
.pay-wrap { max-width: 640px; margin: 0 auto; }
.panel {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 30px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.panel h3 { font-size: 17px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13.5px; color: var(--gray); margin-bottom: 7px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 15px; font-size: 15px; font-family: inherit; outline: none; background: #fff;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--primary); }
.order-lines { margin-bottom: 8px; }
.order-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.order-line b { color: var(--accent); font-size: 16px; }
.pay-methods { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
.pay-method {
  flex: 1; min-width: 180px; border: 2px solid var(--border); border-radius: 12px;
  padding: 16px; text-align: center; cursor: pointer; transition: all .2s; background: #fff;
}
.pay-method .pm-ico { font-size: 30px; }
.pay-method .pm-name { font-size: 14px; font-weight: 600; margin-top: 6px; }
.pay-method.active { border-color: var(--primary); background: rgba(29,94,255,0.05); }
.btn-pay {
  width: 100%; background: var(--primary); color: #fff; border: 0; border-radius: 12px;
  padding: 15px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.btn-pay:hover { background: var(--primary-dark); }
.btn-pay:disabled { background: #9db4d9; cursor: not-allowed; }
.notice { font-size: 12.5px; color: var(--gray); margin-top: 12px; text-align: center; }
.breadcrumb { padding: 24px 0 4px; font-size: 14px; color: var(--gray); }
.breadcrumb a { color: var(--primary); }

/* ---------- 支付结果 ---------- */
.result-box { text-align: center; padding: 60px 30px; }
.result-box .ri { font-size: 72px; }
.result-box h2 { font-size: 26px; margin: 16px 0 10px; }
.result-box p { color: var(--gray); font-size: 15px; }
.result-box .r-btn { margin-top: 28px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: #9db4d9; padding: 54px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer p, .site-footer li { font-size: 13.5px; line-height: 2; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 12.5px; color: #6f85ad;
}
.footer-bottom a { color: #9db4d9; }

/* ---------- 通用小部件 ---------- */
.tag-pill { display: inline-block; background: rgba(29,94,255,0.08); color: var(--primary); font-size: 12px; padding: 3px 10px; border-radius: 12px; margin-right: 6px; }
.center { text-align: center; }
.mt16 { margin-top: 16px; }
.mt28 { margin-top: 28px; }
.page-hero { background: linear-gradient(135deg, #0f1c33, #1d5eff); color: #fff; padding: 60px 0; }
.page-hero h1 { font-size: 32px; font-weight: 800; }
.page-hero p { color: #c6d5f0; margin-top: 10px; font-size: 15px; }
@media (max-width: 640px) { .page-hero { padding: 44px 0; } .page-hero h1 { font-size: 26px; } }
