/* 基础主题与变量 */
:root {
  --bg: #f8fafc; /* slate-50 */
  --surface: #ffffff; /* white */
  --brand: #2563eb; /* blue-600 */
  --brand-700: #1d4ed8; /* blue-700 */
  --accent: #22d3ee; /* cyan-400 */
  --text: #111827; /* gray-900 */
  --muted: #6b7280; /* gray-500 */
  --border: #e5e7eb; /* gray-200 */
  --success: #10b981; /* emerald-500 */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }

/* 容器与布局 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark { filter: drop-shadow(0 6px 14px rgba(34, 211, 238, 0.2)); }
.brand-text { display: grid; }
.brand-text strong { font-weight: 700; letter-spacing: 0.2px; }
.brand-text span { color: var(--muted); font-size: 12px; }

/* 导航与 CTA */
.primary-nav { display: flex; align-items: center; gap: 12px; position: relative; }
.mobile-toggle { display: none; }
.nav-list { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.nav-list a:hover { background: rgba(37, 99, 235, 0.12); }
.cta-link { color: #fff; background: var(--brand); padding: 8px 14px; border-radius: 10px; }
.cta-link:hover { background: var(--brand-700); }
/* WhatsApp 图标按钮 */
.cta-whatsapp { background: #25D366; border-radius: 12px; padding: 8px; }
.cta-whatsapp:hover { background: #1DA851; }
.cta-whatsapp .nav-icon { display: block; width: 18px; height: 18px; color: #fff; }
/* 图标尺寸与对齐 */
.nav-icon { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 400px at 20% -10%, rgba(34, 211, 238, 0.14) 0%, transparent 50%),
    radial-gradient(1000px 400px at 90% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    url('./z3.jpg') center/cover no-repeat;
}
.hero-content{ color:white;}
.hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; padding: 72px 0; margin-top: 100px; }
.hero-content h1 { font-size: clamp(24px, 4.5vw, 40px); line-height: 1.2; margin: 0 0 18px; }
.hero-content p { color: white; font-size: 16px; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; }

.hero-highlights { display: grid; gap: 12px; align-content: start; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.highlight { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6)); }
.hl-title { display: block; font-weight: 600; margin-bottom: 6px; }
.hl-desc { color: var(--muted); font-size: 14px; }

/* 通用按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; transition: all .2s ease; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); }
.btn-outline { color: var(--brand); border-color: var(--border); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: #fff; }

/* Section */
.section { padding: 64px 0; scroll-margin-top: 80px; }
.section.alt { background: linear-gradient(180deg, rgba(248, 250, 252, 0.8), rgba(248, 250, 252, 0.6)); }
.section-title { font-size: clamp(20px, 3.2vw, 30px); margin: 0 0 10px; }
.section-sub { color: var(--muted); margin: 0 0 24px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--border); border-radius: 16px; padding: 18px; background: var(--surface); backdrop-filter: none; }
.card-icon { font-size: 22px; }
.card h3 { margin: 8px 0; font-size: clamp(16px, 2.5vw, 18px); }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: start; }
.about-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about-points li { border: 1px dashed var(--border); border-radius: 12px; padding: 12px; background: var(--surface); }

/* Team */
.team { margin-top: 150px; }
.team-header { text-align: center; margin-bottom: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.team-title { margin: 6px 0 0; font-size: clamp(20px, 3.2vw, 28px); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.person-card { border: 1px solid var(--border); border-radius: 16px; padding: 18px; background: var(--surface); display: flex; flex-direction: column; }
.person-photo { border-radius: 12px; overflow: hidden; background: #f3f4f6; aspect-ratio: 3/4; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-meta { text-align: center; margin-top: 12px; }
.person-name { font-weight: 600; }
.person-role { color: var(--muted); font-size: 13px; }
.team-actions { display: flex; justify-content: center; margin-top: 10px; }

/* Metrics */
.metrics { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center;  margin-top: 100px; margin-bottom: 100px;}
.metrics-left { position: relative; display: grid; grid-template-columns: minmax(320px, 0.8fr) 1fr; gap: 20px; align-items: center; }
.big-number { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.bn-num { font-weight: 800; font-size: clamp(72px, 18vw, 200px); line-height: 0.9; background: linear-gradient(180deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 10px 30px rgba(37,99,235,.25)); }
.bn-label { font-weight: 700; font-size: clamp(18px, 4.5vw, 40px); color: var(--text); }
.metrics-copy .section-sub { max-width: 480px; }
.metrics-right { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.metric { display: grid; place-items: center; gap: 6px; min-height: 120px; padding: 18px; text-align: center; }
.metric:not(:nth-child(2n)) { border-right: 1px solid var(--border); }
.metric:nth-child(n+3) { border-top: 1px solid var(--border); }
.metric-icon { color: var(--accent); }
.metric-value { font-size: clamp(26px, 5vw, 40px); font-weight: 700; }
.metric-label { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Timeline */
.timeline { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: start; }
.step-index { height: 48px; width: 72px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(180deg, rgba(37, 99, 235, 0.25), rgba(34, 211, 238, 0.25)); font-weight: 700; color: #fff; }
.step-body h3 { margin: 8px 0; font-size: clamp(16px, 2.6vw, 18px); }
.step-body p { margin: 8px 0 0; color: var(--muted); }
.note { margin-top: 14px; color: var(--muted); font-size: 13px; }

/* Accordion */
.accordion details { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: var(--surface); margin-bottom: 10px; }
.accordion summary { cursor: pointer; font-weight: 600; }
.acc-body { color: var(--muted); margin-top: 10px; }

/* Back to Top */
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(180deg, var(--brand), var(--accent)); color: #fff; border: 1px solid var(--border); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
.back-to-top:hover { filter: brightness(1.05); transform: translateY(8px); }
.back-to-top:focus { outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,.3); }
.back-to-top.show { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }

/* Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; }
.contact-form { border: 1px solid var(--border); border-radius: 16px; padding: 18px; background: var(--surface); }
.form-row { display: grid; gap: 8px; margin-bottom: 14px; }
.form-row label { font-size: 14px; color: var(--text); }
.form-row input, .form-row textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #ffffff; color: var(--text); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); }
.form-actions { display: flex; gap: 12px; align-items: center; }
.form-tip { color: var(--muted); font-size: 12px; }
.error { color: #ef4444; font-size: 12px; min-height: 16px; }
.form-success { margin-top: 12px; border-left: 3px solid var(--success); padding-left: 10px; color: var(--success); }

/* 页脚 */
.site-footer { border-top: 1px solid var(--border); background: #f8fafc; }
.footer-inner { display: grid; grid-template-columns: 0.8fr 1fr 0.6fr; gap: 12px; align-items: center; min-height: 88px; }
.footer-brand { display: grid; gap: 4px; }
.footer-nav { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--brand); }
.footer-copy { text-align: right; color: var(--muted); font-size: 12px; }

.floating-whatsapp {
    position: fixed;
    right: 74px;   /* 与 back-to-top 错位，避免重叠 */
    bottom: 22px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #25D366;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    z-index: 1000;
    border: 1px solid var(--border);
  }
  .floating-whatsapp img { width: 24px; height: 24px; }
  .floating-whatsapp:hover { background: #25D366; filter: none; transform: none; }
  .floating-whatsapp { right: 60px; bottom: 14px; width: 40px; height: 40px; }
  .floating-whatsapp img { width: 22px; height: 22px; }

/* 响应式 */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metrics-left { grid-template-columns: 160px 1fr; }
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 720px) {
  .header-inner { height: auto; padding: 10px 0; align-items: start; }
  .mobile-toggle { display: none !important; }

  /* 手机端：导航默认展开为一行一行 */
  .nav-list {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
    position: absolute;
    left: 0; right: 0; top: 100%;
    z-index: 999;
    background: rgba(255,255,255,0.95);
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; width: 100%; padding: 12px 16px; border-radius: 0; }
  .nav-list li + li { border-top: 1px solid var(--border); }
  .floating-whatsapp {
    position: fixed;
    right: 54px;   /* 与 back-to-top 错位，避免重叠 */
    bottom: 22px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #25D366;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    z-index: 1000;
    border: 1px solid var(--border);
  }
  .floating-whatsapp img { width: 24px; height: 24px; }
  .floating-whatsapp:hover { background: #25D366; filter: none; transform: none; }
  .floating-whatsapp { right: 30px; bottom: 14px; width: 40px; height: 40px; }
  .floating-whatsapp img { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
/* Banner (removed) */
.nav-list a.no-hover:hover { background: transparent !important; }

/* 联系信息（图标+文字） */
.contact-info { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.info-item { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: #F1F6F3; }
.info-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; box-shadow: inset 0 0 0 3px var(--text); color: var(--text); background: transparent; }
.info-title { font-weight: 600; color: var(--text); }
.info-desc { color: var(--muted); }

@media (max-width: 720px) {
  .contact-info { gap: 10px; }
  .info-item { grid-template-columns: 40px 1fr; padding: 10px; }
  .info-icon { width: 36px; height: 36px; box-shadow: inset 0 0 0 2px var(--text); }
}