/* U·Glow 官网全局样式 */
:root {
  --blue-d: #042C53;
  --blue: #0468CA;
  --blue-m: #2F77C0;
  --blue-l: #E6F1FB;
  --gold: #C9A96A;
  --gold-l: #f3e6b5;
  --text: #1f2937;
  --text-s: #4b5563;
  --bg: #ffffff;
  --line: #e5e7eb;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(4, 44, 83, 0.08);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-m); }
img { max-width: 100%; display: block; }

.container {
  width: min(92%, var(--maxw));
  margin: 0 auto;
}

/* 导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .inner {
  width: min(94%, var(--maxw));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 32px; width: auto; }
.logo-tag {
  margin-left: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--blue);
  border-left: 1px solid var(--line);
  padding-left: 12px;
  white-space: nowrap;
}
.nav nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
}
.nav nav a { color: var(--text); }
.nav nav a:hover { color: var(--blue); }
.nav-cta { flex-shrink: 0; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-m), var(--blue));
  color: #fff;
}
.btn-primary:hover { background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #A8894F);
  color: #fff;
}
.btn-gold:hover { color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-ghost:hover { background: var(--blue-l); color: var(--blue-d); }

/* hero */
.hero {
  background: linear-gradient(120deg, var(--blue-d) 0%, var(--blue) 60%, var(--blue-m) 100%);
  color: #fff;
  padding: 80px 0 96px;
}
.hero-in {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-text { max-width: 560px; }
.hero-slogan-cn {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.eyebrow {
  display: inline-block;
  color: var(--gold-l);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.18;
  margin: 0 0 20px;
  font-weight: 700;
}
.hero .sub {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  margin: 0 0 30px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: transparent;
  border-radius: var(--radius);
  border: none;
  position: relative;
}
.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  padding: 18px 26px;
  border-radius: var(--radius);
  font-size: 18px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.badge b {
  display: block;
  font-size: 32px;
  color: var(--gold-l);
  margin-bottom: 6px;
}

/* 通用 section */
section { padding: 72px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 8px 0 12px;
  color: var(--blue-d);
}
.sec-head p { color: var(--text-s); margin: 0; }

/* stats */
.stats { padding: 56px 0; background: var(--blue-l); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-grid b {
  display: block;
  font-size: 36px;
  color: var(--blue);
  line-height: 1.2;
}
.stats-grid span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-s);
}

/* grid & cards */
.grid { display: grid; gap: 24px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(10,58,107,0.12); }
.card h3 { margin: 0 0 10px; color: var(--blue-d); font-size: 19px; }
.card p { margin: 0; color: var(--text-s); font-size: 15px; }
.ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-l);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

/* banner-link */
.banner-link {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}
.banner-link .t { font-size: 20px; font-weight: 700; color: var(--blue-d); margin-bottom: 6px; }
.banner-link .d { color: var(--text-s); font-size: 15px; }

/* table */
.price {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.price th, .price td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price thead { background: var(--blue-l); }
.price th { color: var(--blue-d); font-weight: 600; }
.price td { color: var(--text-s); }
.note {
  color: var(--text-s);
  font-size: 13px;
  margin-top: 8px;
}

/* steps */
.steps { display: grid; gap: 18px; }
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
}
.step .n {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin: 0 0 4px; color: var(--blue-d); font-size: 17px; }
.step p { margin: 0; color: var(--text-s); font-size: 15px; }
/* 自动编号 */
.steps { counter-reset: step; }
.step .n::before { counter-increment: step; content: counter(step); }

/* form */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border .2s, box-shadow .2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-m);
  box-shadow: 0 0 0 3px rgba(47,119,192,0.12);
}

/* footer */
.footer {
  background: var(--blue-d);
  color: rgba(255,255,255,0.82);
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer h4 { color: #fff; margin: 0 0 14px; font-size: 15px; }
.footer a { display: block; color: rgba(255,255,255,0.72); margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

/* 图片占位（待萍姐配图后替换） */
.img-ph {
  width: 100%;
  aspect-ratio: var(--ar, 16/9);
  border: 2px dashed var(--blue);
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #f5f9ff, #f5f9ff 12px, #eef5ff 12px, #eef5ff 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--blue-d);
  position: relative;
}
.img-ph::before {
  content: "待配图";
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.img-ph-tag { font-size: 15px; font-weight: 600; max-width: 92%; line-height: 1.7; }

/* 双飞轮概览 */
.flywheel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
}
.fw-card { height: 100%; }
.fw-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--gold);
  font-weight: 700;
}

/* 角色分流 */
.rolesplit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* 移动端 */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { min-height: 220px; order: -1; }
  .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-link { flex-direction: column; align-items: flex-start; }
  .footer .cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav .inner { height: auto; flex-wrap: wrap; padding: 12px 0; }
  .nav nav { order: 3; width: 100%; }
  .nav nav ul { justify-content: center; gap: 14px; flex-wrap: wrap; font-size: 14px; }
  .nav-cta { display: none; }
  .hero { padding: 48px 0 60px; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; }
  section { padding: 52px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-grid b { font-size: 28px; }
  .footer .cols { grid-template-columns: 1fr; gap: 24px; }
  .form-card { padding: 24px; }
}

@media (max-width: 860px) {
  .flywheel { grid-template-columns: 1fr; }
  .fw-arrow { transform: rotate(90deg); }
  .rolesplit { grid-template-columns: 1fr; }
}
