/* ============================================================
   天矢传媒 · 售卖中心（/store/）
   风格：官网深蓝灰 + 蓝色，不套用天矢送后台橙色
   ============================================================ */

:root {
  --navy: #2c3e50;
  --navy-deep: #1f2d3a;
  --blue: #3498db;
  --blue-dark: #2471a3;
  --sky: #ecf5fc;
  --bg: #f5f7fa;
  --white: #ffffff;
  --text: #243447;
  --muted: #6b7c8f;
  --border: #e3e9f0;
  --green: #27ae60;
  --gold: #f39c12;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(31, 45, 58, 0.08);
  --shadow-hover: 0 16px 40px rgba(31, 45, 58, 0.14);
}

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

html { scroll-behavior: smooth; }

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

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

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

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--blue-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
  background: linear-gradient(135deg, var(--navy) 0%, #34495e 55%, var(--blue-dark) 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -160px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.18);
}

.hero .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero .lead {
  max-width: 720px;
  margin-top: 18px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }

.btn-ghost {
  border-color: var(--border);
  background: var(--white);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats .num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}
.hero-stats .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-head { margin-bottom: 34px; }

.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.section-head p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 760px;
}

/* ---------- 产品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(52, 152, 219, 0.35);
}

.product-cover {
  position: relative;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.cover-tss { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); }
.cover-tscm { background: linear-gradient(135deg, #1f6f8b 0%, #27ae60 100%); }

.cover-icon { font-size: 58px; line-height: 1; }
.cover-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
}

.product-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }

.product-body h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: 14px; }

.mini-list { margin: 14px 0 18px; display: grid; gap: 6px; }
.mini-list li { position: relative; padding-left: 18px; font-size: 13px; color: #4a5b6d; }
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.price { font-size: 20px; font-weight: 800; color: var(--blue-dark); }
.price small { font-size: 12px; font-weight: 400; color: var(--muted); }
.product-foot .link { font-size: 13px; color: var(--blue); font-weight: 600; }

/* ---------- 授权方式 ---------- */
.license-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.license-card {
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.license-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.license-card .tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-dark);
  font-size: 11px;
}
.license-card p { font-size: 13px; color: var(--muted); }
.license-card ul { margin-top: 10px; display: grid; gap: 5px; }
.license-card li { font-size: 12.5px; color: #4a5b6d; padding-left: 14px; position: relative; }
.license-card li::before {
  content: "·";
  position: absolute;
  left: 3px;
  color: var(--blue);
  font-weight: 800;
}

/* ---------- 功能网格 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.feature-item .ico { font-size: 22px; line-height: 1; margin-bottom: 10px; }
.feature-item h4 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.feature-item p { font-size: 13px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 640px; margin: 0 auto 22px; }

/* ---------- 产品详情 ---------- */
.product-hero {
  padding: 56px 0 50px;
  background: linear-gradient(135deg, var(--navy) 0%, #34495e 60%, var(--blue-dark) 100%);
  color: var(--white);
}
.product-hero .back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.product-hero .back:hover { color: var(--white); }
.product-hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.25; }
.product-hero .lead { max-width: 760px; margin-top: 14px; color: rgba(255, 255, 255, 0.82); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

/* ---------- 价格卡 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(52, 152, 219, 0.18);
}
.price-card.featured::after {
  content: "推荐";
  position: absolute;
  top: -1px;
  right: 16px;
  transform: translateY(-50%);
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
}

.price-card h3 { font-size: 16px; color: var(--navy); }
.price-card .amount { margin: 10px 0 4px; font-size: 26px; font-weight: 800; color: var(--blue-dark); }
.price-card .amount small { font-size: 12px; font-weight: 400; color: var(--muted); }
.price-card ul { margin: 12px 0 18px; display: grid; gap: 6px; }
.price-card li { font-size: 12.5px; color: #4a5b6d; padding-left: 15px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-size: 11px; }
.price-card .btn { margin-top: auto; width: 100%; }

.note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- 两栏内容 ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.two-col h2 { font-size: 24px; color: var(--navy); margin-bottom: 16px; }
.two-col h3 { font-size: 18px; color: var(--navy); margin: 24px 0 12px; }

.check-list { display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 22px; font-size: 14px; color: #4a5b6d; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.faq-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item h4 { font-size: 14px; color: var(--navy); margin-bottom: 5px; }
.faq-item p { font-size: 13px; color: var(--muted); }

/* ---------- 意向表单 ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.form-intro h2 { font-size: 26px; color: var(--navy); margin-bottom: 12px; }
.form-intro p { color: var(--muted); font-size: 14px; }
.form-intro .contact-list { margin-top: 22px; display: grid; gap: 10px; }
.form-intro .contact-list li { font-size: 13.5px; color: #4a5b6d; }
.form-intro .contact-list strong { color: var(--navy); }

.intent-form {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.form-group label .req { color: #e74c3c; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fbfcfe;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.12);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-question {
  min-width: 86px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--sky);
  color: var(--blue-dark);
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
}
.captcha-row input { flex: 1; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-submit { margin-top: 6px; }
.form-submit .btn { width: 100%; height: 48px; }
.form-hint { margin-top: 10px; font-size: 12px; color: var(--muted); }

.form-success {
  display: none;
  padding: 34px 26px;
  background: var(--white);
  border: 1px solid rgba(39, 174, 96, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.form-success .ok { font-size: 42px; margin-bottom: 10px; }
.form-success h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 36px 0 28px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer strong { color: var(--white); }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--white); }
.site-footer .footer-bottom { padding-top: 16px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .site-nav {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 0;
    row-gap: 8px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-cta { margin-left: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .license-grid, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col, .form-wrap { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 52px 0; }
  .license-grid, .price-grid, .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .brand span { font-size: 14px; }
  .brand img { height: 30px; }
  .intent-form { padding: 20px; }
}
