/* ============================================================
 * 公司宣传页样式
 * 配色：深蓝科技主色 + 金色老挝点缀（参考中软国际大型IT企业官网风格）
 * ============================================================ */
:root {
  --navy: #0b2a6b;
  --navy-dark: #081c46;
  --blue: #1e56c8;
  --blue-light: #38bdf8;
  --gold: #ffb400;
  --gold-dark: #c2691f;
  --cream: #f8f5ef;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --alt: #f8fafc;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 42, 107, .08);
  --font-cn: 'Noto Sans SC', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-lo: 'Noto Sans Lao', 'Phetsarath OT', 'Leelawadee UI', sans-serif;
  --font-en: 'Inter', 'Noto Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-cn);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}
body.lang-lo { font-family: var(--font-lo); }
body.lang-en { font-family: var(--font-en); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 28, 70, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.nav-wrap {
  display: flex; align-items: center; gap: 16px;
  min-height: 60px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .26);
  padding: 6px 16px; border-radius: 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
  white-space: nowrap;
}
.logo-cn { font-size: 16px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.logo-en {
  font-size: 10px; font-weight: 700; letter-spacing: 3px; color: var(--gold);
  border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 10px;
}
.nav-menu { display: flex; gap: 18px; margin-left: auto; }
.nav-menu a {
  color: #cfe0ff; font-size: 14px; font-weight: 500;
  padding: 6px 2px; position: relative; transition: color .2s;
}
.nav-menu a:hover { color: #fff; }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .2s;
}
.nav-menu a:hover::after { width: 100%; }

.lang-switch {
  display: flex; border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 20px; overflow: hidden; flex-shrink: 0;
}
.lang-switch button {
  border: none; background: transparent; color: #cfe0ff;
  padding: 5px 12px; font-size: 13px; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { background: var(--gold); color: #1c1917; font-weight: 700; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px; margin-left: auto;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #081c46 0%, #0b2a6b 45%, #123a8f 70%, #1e56c8 100%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 28, 70, .35), rgba(8, 28, 70, .05) 55%, rgba(8, 28, 70, .55));
}
.stupa {
  position: absolute; z-index: 2; right: 8%; top: 50%;
  width: min(340px, 30vw); pointer-events: none;
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, .45)) drop-shadow(0 0 60px rgba(255, 180, 0, .18));
  animation: stupaPulse 7s ease-in-out infinite;
}
@keyframes stupaPulse {
  0%, 100% { opacity: .30; transform: translateY(-50%) scale(1); }
  50% { opacity: .52; transform: translateY(-50%) scale(1.03); }
}
.hero-content { position: relative; z-index: 3; max-width: 860px; padding: 0 20px; }
.hero h1 {
  font-size: clamp(26px, 4.5vw, 48px); font-weight: 900; line-height: 1.28;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.hero-sub {
  margin-top: 18px; font-size: clamp(14px, 2vw, 18px);
  color: #bcd3ff; font-weight: 500;
}
.hero-cta { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 6px;
  font-size: 15px; font-weight: 700; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn-gold { background: var(--gold); color: #1c1917; box-shadow: 0 6px 18px rgba(255, 180, 0, .35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 180, 0, .45); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .65); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- 数字统计 ---------- */
.stats { background: var(--bg); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 36px 0;
}
.stat { text-align: center; padding: 18px 12px; }
.stat b {
  display: block; font-size: 34px; font-weight: 900; color: var(--navy);
  font-family: var(--font-en);
}
.stat span { color: var(--muted); font-size: 14px; margin-top: 4px; display: inline-block; }

/* ---------- 通用版块 ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--alt); }
.section-title {
  font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--navy);
  text-align: center; margin-bottom: 8px;
}
.section-title::after {
  content: ""; display: block; width: 46px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 12px auto 0;
}
.section-sub { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 44px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 44px; align-items: center; }
.about-img {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius); min-height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--shadow);
}
.about-img .about-mark { font-size: 64px; }
.about-img .about-mark-sub {
  margin-top: 14px; font-size: 13px; letter-spacing: 3px; color: #bcd3ff;
}
.about-text { font-size: 15px; color: #374151; line-height: 1.95; }

/* ---------- 业务服务 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 42, 107, .14); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px; color: #fff;
}
.svc-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.svc-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 行业方案 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ind-card {
  background: var(--cream); border: 1px solid #eadfc8; border-radius: var(--radius);
  padding: 30px 18px; text-align: center; transition: transform .2s;
}
.ind-card:hover { transform: translateY(-4px); }
.ind-icon { font-size: 36px; }
.ind-card h3 { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--gold-dark); }
.ind-card p { margin-top: 6px; font-size: 13px; color: #78716c; }

/* ---------- 为什么选择我们 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; box-shadow: var(--shadow);
}
.why-check {
  width: 54px; height: 54px; border-radius: 50%;
  background: #eef7ff; border: 2px solid var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
}
.why-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 新闻动态 ---------- */
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s;
}
.news-card:hover { transform: translateY(-4px); }
.news-thumb {
  height: 150px; background: linear-gradient(135deg, #e5edff, #d8e6ff);
  display: flex; align-items: center; justify-content: center; font-size: 40px;
}
.news-body { padding: 18px 20px 22px; }
.news-date { font-size: 12px; color: var(--muted); font-family: var(--font-en); }
.news-body h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 8px 0 6px; line-height: 1.5; }
.news-body p { font-size: 13px; color: var(--muted); }
.news-more { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 600; font-size: 13px; }

/* ---------- 联系我们（固定底部栏） ---------- */
body { padding-bottom: 120px; }
.contact-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: linear-gradient(90deg, #0a1f4d, #123a8f 55%, #1e56c8);
  color: #fff;
  box-shadow: 0 -2px 18px rgba(0, 0, 0, .28);
}
.contact-bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 24px;
}
.contact-info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.c-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 14px; }
.c-item .c-ico { font-size: 15px; }
.c-item b { color: var(--gold); font-weight: 700; }
.c-item a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.c-item a:hover { color: #ffe9a8; }
.contact-qr-sm {
  width: 52px; height: 52px; border-radius: 6px; background: #fff; padding: 4px;
  object-fit: cover; display: block;
}
.contact-copy {
  text-align: center; font-size: 11px; color: #9fb3d8;
  padding: 5px 0 7px; background: #081c46;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-wrap { flex-wrap: wrap; padding: 10px 0; }
  .logo { margin-right: auto; }
  .nav-toggle { display: flex; }
  .lang-switch { margin-right: 8px; }
  .nav-menu {
    position: static; order: 3; width: 100%;
    flex-direction: column; gap: 0; display: none; padding-top: 6px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .grid-3, .grid-4, .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 78vh; }
  .stupa { right: 50%; width: min(230px, 50vw); transform: translate(50%, -50%); }
  .contact-bar-inner { gap: 12px; padding: 10px 16px; }
  .contact-info { gap: 3px; font-size: 13px; }
  .contact-qr-sm { width: 56px; height: 56px; padding: 4px; }
  .contact-copy { font-size: 10px; }
  body { padding-bottom: 122px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
