/* ============================================
   fasthot 官网门户 —— 全局样式
   风格：简洁 / 专业 / 科技感
   主色：深蓝(#0a1530) + 青色(#0ea5e9 / #22d3ee)
   ============================================ */

:root {
  --navy-950: #060d1f;
  --navy-900: #0a1530;
  --navy-800: #0f1f42;
  --navy-700: #16295a;
  --navy-600: #1e3a76;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --cyan-400: #22d3ee;
  --cyan-500: #0ea5e9;
  --cyan-300: #7fd4ff;
  --text-light: #eaf2ff;
  --text-muted: #9db4d9;
  --text-dark: #13233f;
  --text-body: #3d5375;
  --bg-soft: #f4f8fd;
  --bg-white: #ffffff;
  --border: #e3ecf7;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(10, 21, 48, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 21, 48, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============ 顶部导航（固定） ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 21, 48, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(127, 212, 255, 0.14);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: 0.5px; }
.logo .logo-mark { display: flex; align-items: center; gap: 6px; }
.logo .logo-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-400));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
}
.logo .logo-sub { font-size: 11px; color: var(--cyan-300); font-weight: 500; letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: #c9d9f5; font-size: 15px; padding: 8px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(127, 212, 255, 0.1); }
.nav-links a.active { color: #fff; background: rgba(127, 212, 255, 0.14); }

.btn-cta {
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
  color: #fff !important; font-weight: 600; font-size: 14px;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(14, 165, 233, 0.5); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 5px 0;
  background: #fff; border-radius: 2px; transition: 0.3s;
}

/* 移动端菜单 */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: 10px 20px 18px;
    border-bottom: 1px solid rgba(127, 212, 255, 0.15);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; border-bottom: 1px solid rgba(127, 212, 255, 0.08); border-radius: 0; }
  .nav-links .btn-cta { margin-top: 12px; text-align: center; border-bottom: none; }
}

/* ============ 通用版块 ============ */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--cyan-500);
  background: rgba(14, 165, 233, 0.1); border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px; letter-spacing: 1px;
}
.section-title { font-size: 34px; font-weight: 700; color: var(--text-dark); line-height: 1.35; }
.section-desc { margin-top: 14px; font-size: 16px; color: var(--text-muted); }

/* 深色 hero 通用 */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  color: #fff; padding: 150px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(14, 165, 233, 0.22), transparent 60%),
    radial-gradient(500px 260px at 12% 80%, rgba(37, 99, 235, 0.18), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(127, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 212, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5), transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--cyan-300); background: rgba(127, 212, 255, 0.08);
  border: 1px solid rgba(127, 212, 255, 0.25); padding: 6px 16px; border-radius: 999px;
  margin-bottom: 24px; letter-spacing: 1px;
}
.hero-eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 10px var(--cyan-400); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.25; letter-spacing: 0.5px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--cyan-300), var(--cyan-400), var(--blue-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { margin-top: 22px; font-size: 18px; color: var(--text-muted); max-width: 640px; }
.hero .actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 14px 34px; border-radius: 999px; font-size: 16px; font-weight: 600;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500)); color: #fff;
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45); transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(14, 165, 233, 0.55); }
.btn-ghost-light {
  display: inline-block; padding: 13px 32px; border-radius: 999px; font-size: 16px; font-weight: 500;
  border: 1px solid rgba(127, 212, 255, 0.45); color: var(--cyan-300); transition: background 0.2s, color 0.2s;
}
.btn-ghost-light:hover { background: rgba(127, 212, 255, 0.1); color: #fff; }

/* AI 平台徽标条 */
.platform-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.platform-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(127, 212, 255, 0.08); border: 1px solid rgba(127, 212, 255, 0.22);
  color: #cfe5ff; font-size: 14px; padding: 8px 18px; border-radius: 999px;
}
.platform-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-400); }

/* ============ 产品卡片 ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-500));
  opacity: 0; transition: opacity 0.25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(14, 165, 233, 0.35); }
.product-card:hover::before { opacity: 1; }

.product-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(37, 99, 235, 0.14));
  color: var(--blue-500); margin-bottom: 20px; font-size: 24px;
}
.product-card h3 { font-size: 21px; color: var(--text-dark); font-weight: 700; }
.product-card .one-liner { margin-top: 10px; font-size: 15px; color: var(--text-muted); min-height: 50px; }
.product-card .price-line { margin-top: 18px; font-size: 14px; color: var(--text-body); }
.product-card .price-line b { font-size: 22px; color: var(--text-dark); }
.product-card .price-line small { color: var(--text-muted); }
.product-card .card-link { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--cyan-500); }
.product-card .card-link:hover { color: var(--blue-500); }

/* ============ 案例摘要卡 ============ */
.case-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border: 1px solid rgba(127, 212, 255, 0.18); border-radius: var(--radius-lg);
  padding: 40px; color: #fff; position: relative; overflow: hidden;
}
.case-card::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25), transparent 70%);
}
.case-card h3 { font-size: 24px; font-weight: 700; }
.case-card .case-tag { display: inline-block; font-size: 12px; color: var(--cyan-300); background: rgba(127,212,255,0.12); border: 1px solid rgba(127,212,255,0.3); padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.case-stat b { font-size: 30px; font-weight: 800; background: linear-gradient(120deg, var(--cyan-300), var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-stat span { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ============ 定价表 ============ */
.pricing-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; text-align: center; position: relative; transition: transform 0.25s, box-shadow 0.25s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.hot {
  border-color: var(--cyan-500);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.05), #fff 40%);
  box-shadow: var(--shadow);
}
.pricing-card .hot-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500)); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 16px; border-radius: 999px;
  white-space: nowrap;
}
.pricing-card .plan-name { font-size: 18px; font-weight: 700; color: var(--text-dark); }
.pricing-card .price { margin: 18px 0 4px; font-size: 42px; font-weight: 800; color: var(--text-dark); }
.pricing-card .price small { font-size: 15px; font-weight: 400; color: var(--text-muted); }
.pricing-card .plan-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.pricing-card ul { text-align: left; margin-bottom: 24px; }
.pricing-card li { font-size: 14px; color: var(--text-body); padding: 7px 0 7px 26px; position: relative; }
.pricing-card li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--cyan-500); font-weight: 700;
}
.btn-block {
  display: block; width: 100%; text-align: center; padding: 12px; border-radius: 10px;
  background: var(--navy-900); color: #fff; font-size: 15px; font-weight: 600; transition: background 0.2s;
}
.btn-block:hover { background: var(--blue-500); }
.pricing-card.hot .btn-block { background: linear-gradient(135deg, var(--cyan-500), var(--blue-500)); }
.pricing-card.hot .btn-block:hover { opacity: 0.92; }

/* ============ 功能/服务条目 ============ */
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card .f-icon { font-size: 26px; margin-bottom: 14px; }
.feature-card h4 { font-size: 17px; color: var(--text-dark); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ============ 对比表格 ============ */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--navy-900); color: #cfe5ff; font-weight: 600; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: none; }
.data-table td { color: var(--text-body); }
.data-table .good { color: var(--success); font-weight: 600; }
.data-table .bad { color: var(--danger); }
.data-table .warn { color: var(--warning); }

/* ============ 表单 ============ */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto;
}
.form-card h3 { font-size: 22px; color: var(--text-dark); margin-bottom: 6px; }
.form-card .form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-group label em { color: var(--danger); font-style: normal; }
.form-group input, .form-group textarea {
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
  font-size: 15px; font-family: inherit; color: var(--text-dark); background: #fbfdff;
  transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group .hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

.form-submit {
  margin-top: 24px; width: 100%; padding: 14px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500)); color: #fff;
  font-size: 16px; font-weight: 600; cursor: pointer; transition: opacity 0.2s, transform 0.2s;
}
.form-submit:hover { opacity: 0.92; transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.form-msg {
  margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 14px; display: none;
}
.form-msg.ok { display: block; background: rgba(16, 185, 129, 0.1); color: #0b7d5c; border: 1px solid rgba(16, 185, 129, 0.3); }
.form-msg.err { display: block; background: rgba(239, 68, 68, 0.08); color: #b91c1c; border: 1px solid rgba(239, 68, 68, 0.3); }

/* 提交成功大提示 */
.submit-success {
  text-align: center; padding: 30px 10px;
}
.submit-success .icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.12); color: var(--success);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.submit-success h3 { font-size: 22px; color: var(--text-dark); margin-bottom: 8px; }
.submit-success p { color: var(--text-muted); font-size: 15px; }

/* ============ 步骤流程 ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; position: relative;
}
.step-card::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 18px; right: 20px; font-size: 32px; font-weight: 800;
  color: rgba(14, 165, 233, 0.12);
}
.step-card h4 { font-size: 16px; color: var(--text-dark); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-muted); }

/* ============ 盲区词 / 标签 ============ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-item {
  padding: 8px 16px; border-radius: 999px; font-size: 14px;
  background: rgba(245, 158, 11, 0.1); color: #b45309; border: 1px solid rgba(245, 158, 11, 0.3);
}
.tag-item.ok { background: rgba(16, 185, 129, 0.1); color: #0b7d5c; border-color: rgba(16, 185, 129, 0.3); }

/* ============ 占位提示 ============ */
.placeholder-box {
  border: 1.5px dashed #b9d0ea; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #f7fbff, #f7fbff 10px, #f2f8fd 10px, #f2f8fd 20px);
  padding: 48px 24px; text-align: center; color: #7b97bd; font-size: 14px;
}
.placeholder-box .ph-title { font-weight: 600; color: #5d7ba3; margin-bottom: 6px; font-size: 15px; }

/* ============ CTA 横幅 ============ */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-lg); padding: 56px 48px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 50% 0%, rgba(14, 165, 233, 0.25), transparent 70%);
}
.cta-band h2 { font-size: 30px; font-weight: 700; position: relative; }
.cta-band p { color: var(--text-muted); margin-top: 12px; position: relative; }
.cta-band .actions { margin-top: 28px; position: relative; }

/* ============ 页脚 ============ */
.site-footer { background: var(--navy-950); color: #8fa8d0; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 600; }
.footer-grid p, .footer-grid li { font-size: 14px; line-height: 2; }
.footer-grid a:hover { color: var(--cyan-300); }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(127, 212, 255, 0.12); padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 13px; color: #67809f;
}

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
  .section-title { font-size: 28px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 72px; }
  .hero h1 { font-size: 30px; }
  .hero .sub { font-size: 16px; }
  .grid-3, .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-band { padding: 40px 24px; }
  .form-card { padding: 26px 20px; }
  .case-card { padding: 28px 22px; }
}

/* ============ 微信二维码 ============ */
.wechat-qr {
  width: 150px; height: auto; border-radius: 12px;
  border: 1px solid var(--border); background: #fff;
  margin: 0 auto; display: block;
}
.footer-qr {
  width: 88px; height: auto; border-radius: 8px;
  background: #fff; padding: 4px; margin-top: 8px; display: block;
}
