/* ==========================================================================
   寰智出海 · 浅色企业门户 (2026 简洁版 · 四语)
   ========================================================================== */

:root {
  --bg: #eef4fb;
  --bg-soft: #e3edf9;
  --card: #ffffff;
  --ink: #0a1e38;
  --ink-2: #3b5678;
  --muted: #6880a2;
  --line: #d7e4f3;

  --accent: #0057d9;
  --accent-2: #0091d6;
  --accent-3: #1fc1ff;
  --grad: linear-gradient(120deg, #0091d6 0%, #0057d9 100%);
  --grad-soft: linear-gradient(120deg, rgba(0,145,214,.10), rgba(0,87,217,.10));

  --shadow: 0 12px 36px -20px rgba(10, 40, 90, 0.30);
  --shadow-hover: 0 22px 52px -20px rgba(10, 40, 90, 0.38);

  --radius: 16px;
  --radius-lg: 22px;
  --container: 1140px;
  --nav-h: 68px;

  --font: "Inter", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", "Yu Gothic UI", "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
}

a { color: inherit; text-decoration: none; }
svg { display: block; }
strong { font-weight: 700; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 36px); }

/* ==========================================================================
   科幻动画背景
   ========================================================================== */
.bg-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 87, 217, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 217, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  animation: grid-pan 26s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 25%, transparent 78%);
}
@keyframes grid-pan { from { background-position: 0 0; } to { background-position: 54px 54px; } }

.bg-aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: aurora 24s ease-in-out infinite alternate; will-change: transform; }
.bg-aurora--1 { width: 500px; height: 500px; top: -160px; left: -140px; background: rgba(31, 193, 255, 0.32); }
.bg-aurora--2 { width: 540px; height: 540px; top: 22%; right: -180px; background: rgba(0, 145, 214, 0.30); animation-delay: -8s; }
.bg-aurora--3 { width: 440px; height: 440px; bottom: -140px; left: 26%; background: rgba(0, 87, 217, 0.26); animation-delay: -15s; }
@keyframes aurora { from { transform: translate(0, 0) scale(1); } to { transform: translate(70px, 46px) scale(1.14); } }

#bgParticles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ==========================================================================
   导航
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px -22px rgba(10, 40, 90, 0.5);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { display: grid; place-items: center; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0, 87, 217, 0.25)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.18; }
.brand__text strong { font-size: 19px; font-weight: 800; letter-spacing: .01em; color: var(--ink); }
.brand__text em { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--accent); }

.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { padding: 9px 15px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: 10px; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--ink); background: var(--bg-soft); }
.nav__link--cta { margin-left: 8px; padding: 9px 20px; color: #fff; font-weight: 600; background: var(--grad); border-radius: 999px; box-shadow: 0 8px 22px -12px rgba(0, 87, 217, 0.85); }
.nav__link--cta:hover { color: #fff; filter: brightness(1.05); background: var(--grad); }

/* 语言切换 */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px;
  font-family: var(--font); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang__btn:hover { border-color: #b8cfe9; color: var(--ink); }
.lang__caret { transition: transform .25s var(--ease); }
.lang.open .lang__caret { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 128px;
  list-style: none; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 18px 44px -18px rgba(10, 40, 90, 0.4);
  opacity: 0; transform: translateY(-8px) scale(0.98); pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.lang.open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu li { padding: 9px 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 8px; cursor: pointer; transition: background .15s, color .15s; }
.lang__menu li:hover { background: var(--bg-soft); color: var(--ink); }
.lang__menu li.active { color: var(--accent); font-weight: 700; background: var(--grad-soft); }

.nav__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; padding: 0 11px; }
.nav__toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; padding: calc(var(--nav-h) + 48px) 0 72px;
  background:
    radial-gradient(900px 520px at 82% 18%, rgba(0, 145, 214, 0.12), transparent 62%),
    radial-gradient(700px 460px at 8% 70%, rgba(0, 87, 217, 0.10), transparent 60%);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--accent); }

.hero__title { margin-top: 16px; font-size: clamp(46px, 7vw, 80px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; color: var(--ink); }
.hero__title-dot { color: var(--accent); }

.hero__lead { margin-top: 22px; font-size: clamp(17px, 2.3vw, 20px); color: var(--ink-2); max-width: 520px; font-weight: 500; }
.hero__lead strong { color: var(--accent); }

.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 13px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px;
  font-family: var(--font); font-size: 15.5px; font-weight: 600; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn--primary { color: #fff; background: var(--grad); box-shadow: 0 12px 30px -12px rgba(0, 87, 217, 0.8); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(0, 87, 217, 0.85); filter: brightness(1.05); }
.btn--ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.btn--ghost:hover { transform: translateY(-2px); border-color: #b8cfe9; box-shadow: var(--shadow); }
.btn--lg { padding: 15px 32px; font-size: 16.5px; }

/* 地球 */
.hero__visual { display: flex; justify-content: center; }
.globe { width: min(440px, 92%); height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 18px 40px rgba(0, 87, 217, 0.16)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.land { fill: rgba(0, 87, 217, 0.10); stroke: #2f6fbe; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }

.globe-surface { animation: globe-spin 32s linear infinite; }
@keyframes globe-spin { from { transform: translateX(0); } to { transform: translateX(-420px); } }

.spark { animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* ==========================================================================
   通用 Section
   ========================================================================== */
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section--soft { background: linear-gradient(180deg, transparent, var(--bg-soft) 18%, var(--bg-soft) 82%, transparent); }
.section__head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section__title { margin-top: 12px; font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.section__sub { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); }

/* 关于 */
.about-hl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 720px; margin: 0 auto 24px; }
.hl-item { padding: 18px 22px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hl-item strong { display: block; font-size: 17px; font-weight: 800; color: var(--accent); }
.hl-item span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }

.market-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.tag { display: inline-flex; align-items: center; gap: 9px; padding: 10px 20px; font-size: 15px; font-weight: 500; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #0057d9); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #0057d9) 18%, transparent); }

/* 核心能力 */
.cap-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cap-card { padding: 26px 20px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.cap-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cap-card__icon { width: 52px; height: 52px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 14px; color: var(--accent); background: var(--grad-soft); }
.cap-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.cap-card p { font-size: 13.5px; color: var(--muted); }

/* 三大引擎 */
.engine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.engine-card { padding: 30px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.engine-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.engine-card__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.engine-card__num { font-family: var(--font); font-size: 28px; font-weight: 800; line-height: 1; color: #b3c9e6; font-variant-numeric: tabular-nums; }
.engine-card__head h3 { font-size: 20px; font-weight: 800; color: var(--ink); }
.engine-card__head h3 small { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 2px; }
.engine-card__q { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.engine-card__desc { font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.engine-card ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.engine-card li { padding-left: 16px; position: relative; font-size: 14px; color: var(--ink-2); }
.engine-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); }
.engine-card li strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.engine-card li span { font-size: 13px; }

.loop-note { margin-top: 30px; text-align: center; font-size: 15px; color: var(--ink-2); }
.loop-note strong { color: var(--accent); }

/* 合作流程 */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process::before { content: ""; position: absolute; top: 24px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, #b8cfe9 15%, #b8cfe9 85%, transparent); }
.proc-step { text-align: center; position: relative; }
.proc-step__num { width: 48px; height: 48px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--accent); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; position: relative; z-index: 1; box-shadow: var(--shadow); }
.proc-step h3 { font-size: 17px; font-weight: 700; }
.proc-step p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* 平台生态 */
.eco-cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 40px; }
.eco-item { font-size: 20px; font-weight: 700; color: var(--muted); opacity: 0.8; letter-spacing: .01em; transition: color .2s, opacity .2s; }
.eco-item:hover { color: var(--ink); opacity: 1; }

/* CTA */
.cta { text-align: center; padding: clamp(48px, 7vw, 80px) 28px; background: linear-gradient(140deg, #e2eefc 0%, #d2e4f8 100%); border: 1px solid #c6dcf4; border-radius: var(--radius-lg); }
.cta__title { font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; color: var(--ink); letter-spacing: -0.015em; }
.cta__sub { margin-top: 12px; font-size: 16.5px; color: var(--ink-2); }
.cta__actions { margin-top: 28px; display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; }
.cta__meta { margin-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 52px 0 30px; background: linear-gradient(180deg, transparent, #e3edf9); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 34px; }
.footer__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer__brand-name { display: flex; flex-direction: column; font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.18; }
.footer__brand-name em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--accent); }
.footer__desc { font-size: 14px; color: var(--ink-2); max-width: 340px; }
.footer__col h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 14px; letter-spacing: .02em; }
.footer__col a, .footer__muted { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__muted { color: var(--muted); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 22px; text-align: center; }
.footer__bottom p { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   滚动显现
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .engine-grid { grid-template-columns: 1fr; }
  .engine-card ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; }
  .globe { width: min(300px, 78%); }
  .about-hl { grid-template-columns: 1fr; max-width: 420px; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .process::before { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }

  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 22px;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 13px 16px; font-size: 16px; border-radius: 12px; }
  .nav__link--cta { margin: 8px 0 0; text-align: center; }
  .nav__toggle { display: flex; }

  .lang__btn span { display: none; }
  .lang__btn { padding: 10px; }
  .lang__menu { left: auto; right: 0; }

  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .engine-card ul { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(42px, 13vw, 60px); }
}

@media (max-width: 420px) {
  .cap-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .process { grid-template-columns: 1fr; }
}
