/* ==========================================================================
   时云科技（深圳）有限公司 — 官网样式
   品牌色：深海军蓝 #0A2233 · 主色 #0E7490 · 强调 #06B6D4
   规则：4px 间距网格 · 单一强调色 · 细描线 · 等宽数字
   ========================================================================== */

:root {
  --navy: #0A2233;
  --navy-2: #10334A;
  --ink: #17242E;
  --muted: #5B6B77;
  --faint: #7E93A1;
  --bg: #FBFDFE;
  --bg-soft: #F4F8FA;
  --tint: #EAF5F9;
  --tint-d: #CFE6EF;
  --line: #DCE7EC;
  --line-strong: #C2D4DD;
  --primary: #0E7490;
  --primary-d: #0A5A72;
  --accent: #06B6D4;
  --dark-text: #EAF2F6;
  --dark-muted: #A9C6D4;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 2px 16px rgba(10, 34, 51, 0.08);
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-d); text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.35; }

/* ---------------------------------------------------------------- 布局骨架 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-d);
  letter-spacing: 0.02em;
}
.kicker::before { content: ""; width: 20px; height: 2px; background: var(--accent); flex: none; }
.section-head.center .kicker { justify-content: center; }

.section-head h2 { font-size: clamp(28px, 3.4vw, 36px); margin-top: 16px; letter-spacing: 0.01em; }
.section-head .sub { margin-top: 12px; font-size: 16px; color: var(--muted); }

/* 深色段落 */
.band-dark { background: var(--navy); color: var(--dark-text); }
.band-dark .kicker { color: var(--accent); }
.band-dark .section-head .sub { color: var(--dark-muted); }

/* ---------------------------------------------------------------- 顶部导航 */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 72px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand svg { width: 30px; height: 30px; color: var(--primary); flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name strong { font-size: 17px; font-weight: 600; letter-spacing: 0.02em; }
.brand-name span { font-size: 10px; color: var(--faint); letter-spacing: 0.14em; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.main-nav a.active { color: var(--primary-d); font-weight: 600; }
.main-nav a.btn { color: #fff; }
.main-nav a.btn:hover { color: #fff; background: var(--primary-d); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.main-nav .btn { display: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: none;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-s);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-d); }
.btn-ghost-dark { border-color: rgba(255, 255, 255, 0.4); color: #fff; background: transparent; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------------------------------------------------------------- 首页 Hero */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/ocean.jpg") center 38% / cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 34, 51, 0.66) 0%, rgba(10, 34, 51, 0.42) 46%, rgba(10, 34, 51, 0.78) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 152px 0 96px; max-width: 820px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-muted);
  letter-spacing: 0.06em;
}
.hero-kicker::before { content: ""; width: 20px; height: 2px; background: var(--accent); }
.hero h1 {
  margin-top: 24px;
  font-size: clamp(40px, 5.4vw, 58px);
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.28;
}
.hero .lead {
  margin-top: 24px;
  font-size: 18px;
  color: var(--tint-d);
  max-width: 660px;
  line-height: 1.9;
}
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------------------------------------------------------------- 卡片 */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--primary-d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 { font-size: 20px; letter-spacing: 0.01em; }
.card .card-en { margin-top: 4px; font-size: 12px; color: var(--faint); letter-spacing: 0.04em; }
.card p { margin-top: 12px; color: var(--muted); font-size: 14.5px; }

.feature-list { margin-top: 16px; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink); line-height: 1.7; }
.feature-list svg { width: 15px; height: 15px; color: var(--primary); flex: none; margin-top: 5px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-d);
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.card-link:hover svg { transform: translateX(3px); }

/* 首页业务网格：宽窄交错，避免均质模板感 */
.biz-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.biz-half { grid-column: span 6; }
.biz-card { display: flex; flex-direction: column; }
/* 放在 .biz-card 之后，保证宽卡内部双栏覆盖 flex */
.biz-grid .biz-wide { grid-column: span 12; display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: stretch; }
.biz-card .card-link { margin-top: auto; }
.biz-body { flex: 1; }

/* GEO 卡右侧视觉：深色数据面板（首页的亮点时刻） */
.biz-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.biz-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/network.jpg") center / cover no-repeat;
  opacity: 0.85;
}
.biz-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 34, 51, 0.2) 0%, rgba(10, 34, 51, 0.88) 100%);
}
.engine-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.engine-chips span {
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dark-text);
  background: rgba(16, 51, 74, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 8px;
}
.biz-visual .visual-note { position: relative; z-index: 1; font-size: 12.5px; color: var(--dark-muted); line-height: 1.7; }

/* 定制开发宽卡右侧：服务范围速览 */
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scope-item {
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.scope-item strong { display: block; font-size: 14px; color: var(--ink); }
.scope-item span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* 技术栈 chips */
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.stack-chips span {
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--primary-d);
  background: var(--tint);
  border-radius: 8px;
  font-weight: 500;
}

/* ---------------------------------------------------------------- 数据带（签名细节：青描线 + 等宽数字） */
.stat-band { padding: 72px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat {
  border-left: 1px solid rgba(6, 182, 212, 0.4);
  padding-left: 20px;
}
.stat .num {
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.stat .num small { font-size: 0.55em; font-weight: 500; color: var(--accent); margin-left: 2px; }
.stat .label { margin-top: 8px; font-size: 13.5px; color: var(--dark-muted); line-height: 1.6; }
.stat-note { margin-top: 40px; font-size: 12.5px; color: rgba(169, 198, 212, 0.75); }

/* 浅色统计（产品页用） */
.stat-light { border-left-color: var(--accent); }
.stat-light .num { color: var(--ink); }
.stat-light .num small { color: var(--primary-d); }
.stat-light .label { color: var(--muted); }

/* 提示条 */
.note-band {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--tint);
  border-radius: 12px;
  color: var(--primary-d);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------------------------------------------------------------- 价值观 + 服务机制 */
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.value-copy p { margin-top: 16px; color: var(--muted); font-size: 15.5px; line-height: 2; }
.value-copy p.em { color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.9; }

.svc-list { display: grid; }
.svc-item { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.svc-item:last-child { border-bottom: 1px solid var(--line); }
.svc-num {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  flex: none;
  padding-top: 2px;
}
.svc-item strong { display: block; font-size: 16px; color: var(--ink); }
.svc-item span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------------------------------------------------------------- 子页 Hero */
.page-hero {
  position: relative;
  background: var(--navy);
  padding: 176px 0 88px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/network.jpg") center / cover no-repeat;
  opacity: 0.16;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero .kicker { color: var(--accent); }
.page-hero h1 {
  margin-top: 20px;
  font-size: clamp(32px, 4vw, 44px);
  color: #fff;
  letter-spacing: 0.01em;
}
.page-hero .lead { margin-top: 16px; font-size: 16.5px; color: var(--dark-muted); max-width: 680px; line-height: 1.9; }
.page-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------------------------------------------------------------- 通用内容件 */
.prose { max-width: 720px; }
.prose p { margin-top: 16px; color: var(--muted); font-size: 15.5px; line-height: 2; }
.prose p strong { color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-card h3 { font-size: 17px; }
.feature-card p { font-size: 14px; margin-top: 10px; line-height: 1.8; }

/* 步骤条 */
.step-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.step { position: relative; padding: 24px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .no {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step strong { display: block; margin-top: 8px; font-size: 15.5px; color: var(--ink); }
.step span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* 价格卡 */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.price-card.hot { background: var(--tint); border-color: var(--tint-d); box-shadow: inset 0 2px 0 var(--accent); }
.price-card .plan { font-size: 15px; font-weight: 600; color: var(--primary-d); }
.price-card .price {
  margin-top: 8px;
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-card .price small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price-card .hot-tag { font-size: 12px; color: var(--primary-d); font-weight: 600; margin-top: 2px; }
.price-card ul { margin-top: 18px; display: grid; gap: 8px; flex: 1; }
.price-card li { font-size: 13px; color: var(--muted); line-height: 1.6; }
.price-card .btn { margin-top: 20px; width: 100%; }
.price-note { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* 案例（前后对比） */
.case-list { display: grid; gap: 24px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.case-head { display: flex; align-items: baseline; gap: 12px; }
.case-head strong { font-size: 18px; }
.case-head span { font-size: 13px; color: var(--faint); }
.case-compare { margin-top: 20px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; }
.case-col .tag { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.case-col.after .tag { color: var(--primary-d); }
.case-col ul { margin-top: 10px; display: grid; gap: 8px; }
.case-col li { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.case-col.after li { color: var(--ink); }
.case-col svg { width: 14px; height: 14px; flex: none; margin-top: 6px; color: var(--faint); }
.case-col.after svg { color: var(--primary); }
.case-arrow { align-self: center; color: var(--accent); font-size: 20px; font-weight: 600; }

/* 权限表 */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  text-align: left;
  padding: 16px 20px;
  background: var(--tint);
  color: var(--primary-d);
  font-weight: 600;
  border-bottom: 1px solid var(--tint-d);
}
table.data td { padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; line-height: 1.7; }
table.data tr:last-child td { border-bottom: none; }
table.data td:first-child { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- CTA 带 */
.cta-band {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/network.jpg") center / cover no-repeat;
  opacity: 0.35;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 34, 51, 0.55), rgba(10, 34, 51, 0.85));
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(28px, 3.6vw, 38px); color: #fff; }
.cta-inner .cta-line {
  margin: 24px auto 0;
  width: 56px;
  height: 2px;
  background: var(--accent);
}
.cta-contact { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.cta-contact .tel {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.cta-contact .addr { font-size: 13.5px; color: var(--dark-muted); }
.cta-actions { margin-top: 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- 页脚 */
.site-footer { background: var(--navy); color: var(--dark-muted); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand svg { color: var(--accent); }
.footer-brand .brand-name span { color: rgba(169, 198, 212, 0.7); }
.footer-brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.9; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 13.5px; color: var(--dark-muted); }
.footer-col a:hover { color: #fff; }
.footer-col .contact-row { display: flex; gap: 10px; align-items: flex-start; }
.footer-col .contact-row svg { width: 15px; height: 15px; flex: none; margin-top: 5px; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 12.5px;
  color: rgba(169, 198, 212, 0.65);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------- 入场动效（克制：一次淡入上移） */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1024px) {
  .section { padding: 88px 0; }
  .biz-grid .biz-wide { grid-template-columns: 1fr; }
  .biz-visual { min-height: 240px; }
  .grid-4, .pricing-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .step-row { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; font-size: 15px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav .btn { display: inline-flex; margin-top: 12px; justify-content: center; }

  .hero-inner { padding: 128px 0 72px; }
  .hero .lead { font-size: 16px; }
  .biz-half { grid-column: span 12; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .step-row { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .case-compare { grid-template-columns: 1fr; }
  .case-arrow { transform: rotate(90deg); justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 144px 0 72px; }
}

@media (max-width: 480px) {
  .pricing-grid, .stat-grid, .step-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
