/* 嘉途云官网 — 效果图初版（必须通过 /www/ 访问） */
:root {
  --navy: #0a2847;
  --navy-deep: #071526;
  --blue: #2e6cb5;
  --orange: #ff7a45;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --text: #1e293b;
  --muted: #64748b;
  --radius: 14px;
  --shadow: 0 16px 48px rgba(10, 40, 71, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --section-y: 96px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

/* 顶栏：深蓝底 + 白字（与效果图一致） */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 40, 71, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}
.site-header .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: flex; align-items: center;
}
.brand-logo {
  height: 40px; width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14px; color: rgba(255, 255, 255, 0.82); font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--orange); border-radius: 1px;
}
.header-cta {
  padding: 9px 20px; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: var(--orange); color: #fff !important;
}
.header-cta:hover { filter: brightness(1.08); }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px; background: transparent; color: #fff; font-size: 20px; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--orange, rgba(255,122,69,.35)); }
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-lg { padding: 14px 32px; min-height: 48px; }

.hero {
  position: relative;
  /* 首屏铺满视口，避免底部露出白条 */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; text-align: center; color: #fff;
  padding: calc(var(--header-h) + 48px) 0 72px;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 21, 38, 0.88) 0%, rgba(10, 40, 71, 0.72) 45%, rgba(46, 108, 181, 0.55) 100%),
    url("/www/assets/hero-bg.svg") center/cover no-repeat;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  margin: 0 0 20px; font-size: clamp(32px, 5vw, 46px);
  line-height: 1.2; font-weight: 700;
}
.hero-lead {
  margin: 0 auto 32px; max-width: 640px; font-size: 17px;
  color: rgba(255, 255, 255, 0.88); line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.section { padding: var(--section-y) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 32px); font-weight: 700; color: var(--navy); }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }

.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pain-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(10, 40, 71, 0.06);
  transition: transform 0.25s var(--ease);
}
.pain-card:hover { transform: translateY(-3px); }
.pain-card h3 { margin: 0 0 16px; font-size: 17px; color: var(--navy); }
.pain-row { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13px; align-items: flex-start; }
.pain-row .bad { color: #ef4444; font-weight: 700; flex-shrink: 0; }
.pain-row .good { color: #10b981; font-weight: 700; flex-shrink: 0; }

.dual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dual-card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid rgba(10, 40, 71, 0.06);
}
.dual-card .icon { font-size: 32px; margin-bottom: 14px; }
.dual-card h3 { margin: 0 0 12px; font-size: 20px; color: var(--navy); }
.dual-card li { position: relative; padding-left: 16px; margin: 8px 0; font-size: 13px; color: var(--muted); }
.dual-card li::before { content: "•"; position: absolute; left: 0; color: var(--orange); }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-card {
  background: #fff; border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow); border: 1px solid rgba(10, 40, 71, 0.06);
  transition: transform 0.25s var(--ease);
}
.bento-card:hover { transform: translateY(-4px); }
.bento-card .icon { font-size: 28px; margin-bottom: 12px; }
.bento-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--navy); }
.bento-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

.tech-band {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius); padding: 52px 40px; color: #fff;
}
.tech-band h2 { margin: 0 0 8px; text-align: center; font-size: 28px; }
.tech-band .sub { text-align: center; margin: 0 0 36px; color: rgba(255,255,255,.75); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech-item {
  text-align: center; padding: 20px 14px;
  background: rgba(255,255,255,.08); border-radius: 10px;
}
.tech-item strong { display: block; margin-bottom: 8px; font-size: 15px; }
.tech-item span { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.5; }

.cta-band {
  background: linear-gradient(135deg, var(--blue), var(--navy-deep));
  padding: 72px 0; text-align: center; color: #fff;
}
.cta-band h2 { margin: 0 0 12px; font-size: 28px; }
.cta-band p { margin: 0 0 28px; opacity: 0.88; }
.cta-band .btn-primary { background: #fff; color: var(--blue); }

.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--blue));
  color: #fff; text-align: center;
  padding: calc(var(--header-h) + 56px) 0 64px;
}
.page-hero h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 36px); }
.page-hero p { margin: 0; opacity: 0.85; font-size: 16px; }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.split-section.reverse .split-media { order: -1; }
.split-copy h3 { margin: 0 0 12px; font-size: 24px; color: var(--navy); }
.split-copy p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.split-copy li { position: relative; padding-left: 18px; margin: 8px 0; font-size: 13px; color: var(--text); }
.split-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.media-placeholder {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  border: 1px dashed #94a3b8; display: grid; place-items: center; color: var(--muted);
  font-size: 14px; box-shadow: var(--shadow);
}

.feature-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-mini {
  background: #fff; border-radius: var(--radius); padding: 24px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid rgba(10, 40, 71, 0.06);
  transition: transform 0.25s var(--ease);
}
.feature-mini:hover { transform: translateY(-3px); }
.feature-mini .icon { font-size: 32px; margin-bottom: 12px; }
.feature-mini h4 { margin: 0 0 8px; font-size: 15px; color: var(--navy); }
.feature-mini p { margin: 0; font-size: 12px; color: var(--muted); }

.arch-band { background: var(--navy-deep); border-radius: var(--radius); padding: 48px; text-align: center; color: #fff; }
.arch-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; text-align: left; }
.arch-cols h4 { margin: 0 0 8px; }
.arch-cols p { margin: 0; font-size: 13px; color: rgba(255,255,255,.75); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card {
  background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid rgba(10, 40, 71, 0.06);
}
.why-card .icon { font-size: 28px; margin-bottom: 12px; }
.why-card h4 { margin: 0 0 8px; font-size: 15px; }
.why-card p { margin: 0; font-size: 12px; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 1; background: linear-gradient(135deg, #dbeafe, #93c5fd); display: grid; place-items: center; font-size: 48px; }
.team-body { padding: 20px; }
.team-body h4 { margin: 0 0 4px; }
.team-body .role { color: var(--blue); font-size: 12px; margin-bottom: 8px; }
.team-body p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.65; }

.ip-band {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.ip-band h3 { margin: 0 0 14px; font-size: 18px; }
.ip-band li { margin: 8px 0; font-size: 13px; opacity: 0.85; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.timeline-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border-top: 3px solid var(--orange); box-shadow: var(--shadow);
}
.timeline-card h4 { margin: 0 0 8px; font-size: 15px; }
.timeline-card p { margin: 0; font-size: 13px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h3 { margin: 0 0 12px; font-size: 20px; }
.contact-row { display: flex; gap: 14px; margin: 16px 0; align-items: flex-start; }
.contact-row .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: #eff6ff; display: grid; place-items: center; flex-shrink: 0;
}
.form-card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid rgba(10, 40, 71, 0.06);
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.form-group input, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #e2e8f0; border-radius: 8px; font: inherit;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46, 108, 181, 0.12);
}
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.form-msg { margin-top: 12px; font-size: 13px; display: none; }
.form-msg.ok { color: #10b981; display: block; }

.demo-band {
  margin-top: 48px; background: var(--bg-soft); border-radius: var(--radius);
  padding: 40px; text-align: center;
}
.demo-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.demo-features div { background: #fff; border-radius: 10px; padding: 14px; font-size: 13px; box-shadow: var(--shadow); }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: #fff; margin: 0 0 14px; font-size: 14px; }
.footer-grid p, .footer-grid li { font-size: 13px; line-height: 1.85; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12px;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1023px) {
  .bento, .tech-grid, .feature-grid-4, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-cols, .timeline, .team-grid { grid-template-columns: 1fr; }
  .ip-band { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --section-y: 64px; }
  /* 避免 backdrop-filter 把 fixed 菜单困在顶栏高度内，导致大面积“透明” */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0a2847;
    overflow: visible;
  }
  body.nav-open { overflow: hidden; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0;
    line-height: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  }
  .nav-toggle:active { background: rgba(255, 255, 255, 0.14); }
  .nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s var(--ease), opacity 0.2s;
  }
  .nav-toggle.is-open {
    background: rgba(255, 122, 69, 0.18);
    border-color: rgba(255, 122, 69, 0.45);
  }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    z-index: 1001;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px 20px 28px;
    gap: 10px;
    background:
      linear-gradient(180deg, #0b1f38 0%, #071526 42%, #06111f 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: navPanelIn 0.28s var(--ease);
  }
  @keyframes navPanelIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }
  .nav.open > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
  }
  .nav.open > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(255, 255, 255, 0.35);
    border-bottom: 2px solid rgba(255, 255, 255, 0.35);
    transform: rotate(-45deg);
    flex-shrink: 0;
  }
  .nav.open > a.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(255, 122, 69, 0.22), rgba(255, 122, 69, 0.08));
    border-color: rgba(255, 122, 69, 0.4);
    box-shadow: inset 3px 0 0 var(--orange);
  }
  .nav.open > a.active::after {
    content: "";
    width: 7px;
    height: 7px;
    border-color: rgba(255, 182, 140, 0.9);
    background: none;
    bottom: auto;
    left: auto;
    right: auto;
    height: 7px;
  }
  .nav.open > a:active {
    transform: scale(0.985);
    background: rgba(255, 255, 255, 0.09);
  }

  .nav-mobile-actions {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .nav-mobile-actions .nav-cta-primary,
  .nav-mobile-actions .nav-cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border: none;
  }
  .nav-mobile-actions .nav-cta-primary {
    background: var(--orange);
    color: #fff !important;
    box-shadow: 0 10px 28px rgba(255, 122, 69, 0.32);
  }
  .nav-mobile-actions .nav-cta-secondary {
    background: transparent;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
  }
  .nav-mobile-note {
    margin: 4px 2px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    line-height: 1.5;
  }

  .header-cta { display: none; }
  .pain-grid, .dual-grid, .split-section, .contact-grid, .demo-features,
  .bento, .tech-grid, .feature-grid-4, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .split-section.reverse .split-media { order: 0; }
  .hero-actions .btn { width: 100%; }
}
