/* 长春市风格回复科技有限公司 官网样式
 * 深色科技蓝。刻意不引用任何外部字体/CSS/JS（CDN 在国内不稳定，官网首屏被外链拖慢或阻塞
 * 是最常见的"打不开"投诉来源），字体一律走系统字体栈。 */

:root {
  --bg: #070d1c;
  --bg-alt: #0b1425;
  --line: rgba(120, 160, 230, .14);
  --text: #e8eefc;
  --muted: #93a4c4;
  --brand: #3b82f6;
  --brand-2: #22d3ee;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------------- 导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 13, 28, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(7, 13, 28, .92); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 16px; letter-spacing: .3px; }
.brand-text i {
  font-style: normal; font-size: 10px; letter-spacing: 1.4px;
  color: var(--muted); text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: #fff; }

.nav-toggle {
  display: none; width: 40px; height: 40px; padding: 9px;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.6px; margin: 4px 0; background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 118px 0 128px; }
.hero-bg {
  position: absolute; inset: -30% -10% auto -10%; height: 150%;
  background:
    radial-gradient(46% 40% at 22% 12%, rgba(59, 130, 246, .30), transparent 70%),
    radial-gradient(40% 36% at 82% 26%, rgba(34, 211, 238, .18), transparent 72%);
  filter: blur(2px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; }

.eyebrow {
  margin: 0 0 20px; font-size: 13px; letter-spacing: 1.2px; color: var(--muted);
  display: inline-block; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(59, 130, 246, .07);
}
.hero h1 {
  margin: 0 0 22px; font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.22; letter-spacing: -.5px; font-weight: 800;
}
.grad {
  background: linear-gradient(96deg, var(--brand) 8%, var(--brand-2) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin: 0 0 34px; max-width: 640px; font-size: 17px; color: var(--muted); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 12px;
  font-size: 15px; font-weight: 600; transition: transform .18s, box-shadow .25s, background .2s;
}
.btn-primary {
  background: linear-gradient(96deg, var(--brand), #2563eb);
  box-shadow: 0 10px 30px -12px rgba(59, 130, 246, .8);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(59, 130, 246, .9); }
.btn-ghost { border: 1px solid var(--line); color: var(--muted); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .04); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 92px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }

.kicker {
  margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand-2);
}
.h2 {
  margin: 0 0 44px; font-size: clamp(23px, 3.2vw, 33px);
  font-weight: 750; letter-spacing: -.3px; line-height: 1.35;
}

/* ---------------- 关于我们 ---------------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: start; }
.about-copy p { margin: 0 0 18px; color: var(--muted); font-size: 16.5px; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li {
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(59, 130, 246, .05);
}
.facts b { display: block; margin-bottom: 4px; font-size: 15.5px; }
.facts span { font-size: 14px; color: var(--muted); }

/* ---------------- 业务卡片 ---------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  padding: 28px 24px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: transform .2s, border-color .2s, background .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, .45); }
.card-ico {
  width: 44px; height: 44px; margin-bottom: 18px; padding: 10px; border-radius: 12px;
  background: rgba(59, 130, 246, .13); color: var(--brand-2);
}
.card-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------------- 服务流程 ---------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid rgba(59, 130, 246, .35); }
.step-n { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; color: var(--brand-2); }
.steps b { display: block; margin-bottom: 8px; font-size: 16.5px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------------- 为什么选择我们 ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 13, 28, .5); }
.why-item b { display: block; margin-bottom: 8px; font-size: 16.5px; }
.why-item p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------------- 联系我们 ---------------- */
.contact-lede { margin: -28px 0 36px; color: var(--muted); }
/* flex 而不是固定三列：联系方式的条目数会随实际信息增减（现在只有 1 条），
   固定 3 列时单条卡片只占 1/3 宽、右侧空一大片；flex 下 1~3 条都排得住 */
.contact-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.contact-item {
  flex: 1 1 240px; max-width: 360px;
  padding: 26px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(59, 130, 246, .08), rgba(255, 255, 255, .01));
}
.contact-label { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: 1px; color: var(--muted); }
.contact-value { font-size: 19px; font-weight: 700; letter-spacing: .3px; }

/* ---------------- 页脚 ---------------- */
.foot { padding: 34px 0; border-top: 1px solid var(--line); background: #050912; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.foot-meta { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.foot-meta a:hover { color: #fff; text-decoration: underline; }

/* ---------------- 回到顶部 ---------------- */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 44px; height: 44px; padding: 11px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(11, 20, 37, .9); color: var(--text);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 66px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 18px;
    background: rgba(7, 13, 28, .98); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links a:last-child { border-bottom: none; }

  .hero { padding: 76px 0 84px; }
  .section { padding: 64px 0; }
  .h2 { margin-bottom: 32px; }
  .cards, .steps, .why-grid { grid-template-columns: 1fr; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
