/* ===== Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #12213a;
  --navy-dark: #0a1628;
  --red: #d42b2b;
  --red-dark: #b01f1f;
  --text: #1a1a2e;
  --muted: #5a6070;
  --border: #e8eaf0;
  --bg: #ffffff;
  --bg-light: #f7f8fc;
  --bg-dark: #0d1726;
  --r: 10px;
  --t: 0.22s ease;
  --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', 'Noto Sans SC', sans-serif;
  --serif: 'PingFang SC', 'STSong', 'SimSun', '宋体', 'Noto Serif SC', Georgia, serif;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--bg-dark); color: #eef0f8; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: white;
  padding: 13px 28px;
  font-size: 15px;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,43,43,0.35);
}

.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ===== Section Header ===== */
.section-hd {
  text-align: center;
  margin-bottom: 52px;
}

.section-hd h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-hd p {
  font-size: 16px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

.section-hd-light h2 { color: #eef0f8; }
.section-hd-light p { color: rgba(238,240,248,0.6); }

/* ===== Navbar ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t), box-shadow var(--t);
}

#navbar.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-wechat-hint {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.nav-wechat-hint strong { color: white; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(10,22,40,0.98);
  padding: 8px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu .btn {
  margin-top: 16px;
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #080f20 0%, #0f1e3d 50%, #0a1628 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,43,43,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hero-text { color: white; }

.hero-badge {
  display: inline-block;
  background: rgba(212,43,43,0.15);
  border: 1px solid rgba(212,43,43,0.4);
  color: #ff7777;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.85;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.hero-stats-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  overflow: hidden;
  min-width: 240px;
}

.stat-item {
  background: rgba(255,255,255,0.03);
  padding: 24px 20px;
  text-align: center;
  transition: background var(--t);
}

.stat-item:hover { background: rgba(255,255,255,0.07); }

.s-num {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: #ff6060;
  line-height: 1;
  margin-bottom: 6px;
}

.s-num sup { font-size: 16px; }

.s-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ===== Steps ===== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r);
  position: relative;
  transition: all var(--t);
}

.step:hover {
  border-color: var(--red);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--red);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.step-arrow {
  align-self: center;
  padding: 0 8px;
  font-size: 20px;
  color: var(--muted);
  flex-shrink: 0;
}

.steps-cta {
  text-align: center;
  margin-top: 44px;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.svc-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 32px;
  position: relative;
  transition: all var(--t);
  background: white;
}

.svc-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.svc-card.svc-featured {
  border-color: var(--red);
  background: #fff8f8;
}

.svc-hot {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.svc-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}

.svc-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.svc-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.svc-tags span {
  font-size: 12px;
  background: var(--bg-light);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.svc-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  transition: letter-spacing var(--t);
}

.svc-cta:hover { letter-spacing: 0.5px; }

/* ===== Cases ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: all var(--t);
}

.case-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,43,43,0.4);
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.case-type {
  font-size: 12px;
  font-weight: 700;
  background: rgba(212,43,43,0.15);
  color: #ff7070;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(212,43,43,0.25);
}

.case-duration {
  font-size: 12px;
  color: rgba(238,240,248,0.4);
}

.case-card h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: #eef0f8;
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-card p {
  font-size: 14px;
  color: rgba(238,240,248,0.62);
  line-height: 1.8;
  margin-bottom: 16px;
}

.case-result {
  font-size: 13px;
  font-weight: 600;
  color: #6ee47a;
  background: rgba(110,228,122,0.08);
  padding: 10px 14px;
  border-radius: 6px;
  border-left: 3px solid #6ee47a;
}

/* ===== Contact ===== */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-left h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.8;
}

.contact-promises {
  margin-bottom: 32px;
}

.contact-promises li {
  font-size: 15px;
  color: var(--text);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.contact-promises li:last-child { border-bottom: none; }

.wechat-id-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 20px;
}

.wechat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.wechat-id {
  font-size: 20px;
  font-weight: 700;
  color: #07c160;
  letter-spacing: 0.5px;
}

.contact-right { text-align: center; }

.qr-placeholder {
  width: 220px;
  height: 220px;
  border: 2px dashed var(--border);
  border-radius: var(--r);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
}

.qr-inner { text-align: center; }

.qr-icon { font-size: 48px; margin-bottom: 8px; }

.qr-inner p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.qr-hint {
  font-size: 11px !important;
  color: #bbb !important;
  margin-top: 4px;
  font-weight: 400 !important;
}

.qr-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--border);
  display: block;
  margin: 0 auto 16px;
}

.contact-or {
  font-size: 14px;
  color: var(--muted);
}

.contact-or strong { color: var(--text); }

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: color var(--t);
}

.faq-q:hover { color: var(--red); }

.faq-icon {
  font-size: 20px;
  color: var(--red);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--t);
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 18px;
}

.faq-a p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  padding: 0 4px;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.55);
  padding: 48px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.footer p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--t);
}

.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p { font-size: 13px; }

/* ===== FAB ===== */
.fab-btn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  background: var(--red);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(212,43,43,0.45);
  z-index: 90;
  transition: all var(--t);
  animation: pulse 2.5s ease infinite;
}

.fab-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,43,43,0.55);
  animation: none;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(212,43,43,0.45); }
  50% { box-shadow: 0 4px 28px rgba(212,43,43,0.7); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats-box { grid-template-columns: repeat(4,1fr); min-width: unset; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; }
  .contact-right { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-right { display: none; }
  .hamburger { display: flex; }

  .steps {
    flex-direction: column;
    gap: 12px;
  }
  .step-arrow {
    transform: rotate(90deg);
    align-self: center;
    padding: 0;
  }

  .hero { padding: 110px 0 60px; }
  .hero-stats-box { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .hero-stats-box { grid-template-columns: repeat(2,1fr); }
  .fab-btn { bottom: 16px; right: 16px; font-size: 13px; padding: 11px 16px; }
}
