/* ============================================================
   利盈通 LIYINGTONG — 企业官网
   风格：传统咨询公司 · 单色深蓝体系 · 无入场动画
   ============================================================ */
:root {
  --navy-950: #081827;
  --navy-900: #0A2036;
  --navy-800: #0F2A44;
  --navy-700: #16405F;
  --blue-600: #1B6FC9;
  --blue-500: #2E82D8;
  --ink: #1C2B3A;
  --muted: #5B6B7A;
  --line: #E3E9EF;
  --soft: #F5F8FA;
  --white: #FFFFFF;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --container-max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }

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

section { scroll-margin-top: 86px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: #1660B4; color: var(--white); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: #E8EEF4; color: var(--navy-900); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: .02em;
}
.brand-text em {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: .32em;
  color: var(--muted);
}
.brand-light .brand-text strong { color: var(--white); }
.brand-light .brand-text em { color: #8DA0B3; }

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.site-nav > a {
  position: relative;
  margin-left: 28px;
  font-size: 15px;
  color: var(--ink);
  transition: color .15s ease;
}
.site-nav > a:hover { color: var(--blue-600); }
.site-nav > a.active { color: var(--blue-600); font-weight: 600; }
.site-nav > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--blue-600);
}

/* 语言切换：固定在页面右上角，始终可见 */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 24px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  border: 0;
  background: transparent;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.lang-btn:hover { color: var(--navy-900); }
.lang-btn.active { background: var(--navy-900); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}
.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 62%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--container-max);
  padding-top: 108px;
  padding-bottom: 104px;
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: .08em;
  color: #8FB6D9;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .01em;
  max-width: 720px;
}
.hero-sub {
  margin: 24px 0 36px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.9;
  color: #B7C7D6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Capabilities ---------------- */
.band-soft { background: var(--soft); }
.caps { padding: 64px 0; }
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EAF1F8;
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap-icon svg { width: 22px; height: 22px; }
.cap-item h3 {
  margin: 16px 0 8px;
  font-size: 17px;
  color: var(--navy-900);
}
.cap-item p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------------- Section head ---------------- */
.cases { padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.eyebrow.light { color: #7FB3D9; }
.section-head h2 {
  font-size: 32px;
  color: var(--navy-900);
  letter-spacing: .01em;
}
.section-sub {
  margin-top: 12px;
  max-width: 640px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------------- Cases ---------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-900);
  border-radius: 12px;
  padding: 30px;
  transition: box-shadow .15s ease;
}
.case-card:hover { box-shadow: 0 12px 32px rgba(10, 32, 54, .08); }
.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
}
.case-tag svg { width: 15px; height: 15px; }
.case-type {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}
.case-card h3 {
  font-size: 20px;
  color: var(--navy-900);
}
.case-desc {
  margin: 12px 0 18px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}
.case-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.case-chips li {
  font-size: 12.5px;
  color: var(--navy-700);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
.case-more {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-600);
  transition: color .15s ease;
}
.case-more:hover { color: #1660B4; text-decoration: underline; }

/* ---------------- Product ---------------- */
.product {
  background: var(--navy-800);
  color: var(--white);
  padding: 96px 0;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.product-copy h2 {
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: .01em;
}
.product-desc {
  margin: 18px 0 24px;
  font-size: 15px;
  line-height: 1.9;
  color: #B7C7D6;
}
.product-feats { margin-bottom: 30px; }
.product-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 11px 0;
  font-size: 14.5px;
  color: #DCE7F0;
}
.product-feats svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  color: #7FB3D9;
}

/* Browser mock */
.browser {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #EEF2F6;
  border-bottom: 1px solid var(--line);
}
.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C9D3DC;
}
.browser-bar em {
  margin-left: 10px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.browser-body { position: relative; }
.mock-map { display: block; width: 100%; height: auto; }
.mock-layers {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ml {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .94);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(10, 32, 54, .10);
}
.ml i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c, var(--blue-600));
  flex-shrink: 0;
}
.ml.active { font-weight: 600; box-shadow: 0 2px 8px rgba(10, 32, 54, .18); }
.mock-callout {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
}

/* ---------------- Footer / Contact ---------------- */
.site-footer {
  background: var(--navy-900);
  color: var(--white);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 48px;
  padding: 72px 0 52px;
}
.footer-brand p {
  margin-top: 18px;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.85;
  color: #9FB0C0;
}
.footer-contact h3,
.footer-links h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 18px;
  color: var(--white);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  font-size: 14px;
  color: #B7C7D6;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #7FB3D9;
}
.footer-contact a { color: #B7C7D6; transition: color .15s ease; }
.footer-contact a:hover { color: var(--white); }
.footer-links a {
  display: block;
  margin: 10px 0;
  font-size: 14px;
  color: #B7C7D6;
  transition: color .15s ease;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 13px;
  color: #8DA0B3;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    box-shadow: 0 16px 32px rgba(10, 32, 54, .08);
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav > a {
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--soft);
    font-size: 16px;
  }
  .site-nav > a.active::after { display: none; }
  /* 语言切换保留在顶栏右上角，与汉堡按钮并排 */

  .hero-inner { padding-top: 72px; padding-bottom: 72px; }
  .hero h1 { font-size: 32px; }
  .hero-pattern { width: 100%; opacity: .55; }

  .caps-grid { grid-template-columns: 1fr; gap: 32px; }
  .cases { padding: 72px 0; }
  .case-grid { grid-template-columns: 1fr; }
  .product { padding: 72px 0; }
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 27px; }
  .section-head h2 { font-size: 26px; }
  .btn { width: 100%; text-align: center; }
  .hero-cta { flex-direction: column; }
  .lang-btn { padding: 5px 10px; }
}
