/* ============================================================
   Euphonic Horizon Media — 笑语天际传媒
   Shared design system & component styles
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --gold: #f5b400;
  --gold-soft: #ffd23f;
  --gold-deep: #f5a623;

  --ink: #14171f;
  --ink-2: #2b303b;
  --muted: #6b7280;
  --muted-2: #9aa1ad;
  --line: #e7e9ee;

  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --bg-dark: #0d0d0f;
  --bg-dark-2: #17171b;

  --blue: #3b82f6;
  --purple: #8b5cf6;
  --green: #22c55e;
  --orange: #f97316;
  --pink: #ec4899;
  --cyan: #06b6d4;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(20, 23, 31, .06);
  --shadow: 0 14px 40px rgba(20, 23, 31, .10);
  --shadow-lg: 0 30px 70px rgba(20, 23, 31, .16);

  --maxw: 1200px;
  --header-h: 76px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC",
          "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.en { color: var(--muted); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: #1a1300;
  box-shadow: 0 10px 26px rgba(245, 166, 35, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(245, 166, 35, .45); }
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff; border: 1px solid rgba(255, 255, 255, .22);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .en { color: inherit; opacity: .8; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10, 13, 24, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header.on-light {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: 30px; }
.brand b { color: #fff; font-size: 19px; letter-spacing: .3px; }
.on-light .brand b { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: flex; flex-direction: column; line-height: 1.15;
  padding: 8px 13px; border-radius: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: 14.5px; font-weight: 600;
  transition: color .15s, background .15s;
}
.nav-links a small { font-size: 11px; font-weight: 500; opacity: .6; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active small { color: var(--gold); opacity: .85; }

.on-light .nav-links a { color: var(--ink-2); }
.on-light .nav-links a:hover { background: var(--bg-soft); }
.on-light .nav-links a.active { color: var(--gold-deep); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: #fff; border-radius: 2px; transition: .25s; }
.on-light .nav-toggle span { background: var(--ink); }

/* ---------- Section frame ---------- */
section { padding: 76px 0; }
.section-head { margin-bottom: 36px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.5px;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.section-head h2 .en { font-size: .55em; font-weight: 600; }
.section-head p { margin-top: 12px; color: var(--muted); max-width: 640px; }
.bg-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 70% 12%, rgba(245, 180, 0, .16), transparent 60%),
    radial-gradient(700px 500px at 12% 90%, rgba(245, 180, 0, .12), transparent 60%),
    linear-gradient(160deg, #0d0d0f, #17171b 55%, #101012);
  color: #fff;
  padding: 56px 0 72px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 60% 40%, #000, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; line-height: 1.18; letter-spacing: -1px; }
.hero-copy h1 .accent { color: var(--gold); }
.hero-copy h1 .sub-en { display: block; font-size: .5em; color: var(--muted-2); font-weight: 600; margin-top: 6px; }
.hero-copy .lead-gold { color: var(--gold-soft); font-weight: 700; font-size: clamp(18px, 2.2vw, 24px); margin-top: 18px; }
.hero-copy p { color: rgba(255, 255, 255, .72); margin-top: 18px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Orbit visual ---------- */
.orbit { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
}
.orbit-ring.r2 { inset: 13%; border-color: rgba(255, 255, 255, .08); }
.orbit-ring.r3 { inset: 26%; border-color: rgba(255, 255, 255, .06); }
.orbit-glow {
  position: absolute; inset: 30%; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,180,0,.28), transparent 70%);
  filter: blur(6px);
}
.orbit-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52%; z-index: 3; animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.5));
}
@keyframes bob { 0%,100% { transform: translate(-50%, -52%); } 50% { transform: translate(-50%, -48%); } }
.orbit-badge {
  position: absolute; top: 6%; left: 50%; transform: translateX(-50%);
  text-align: center; z-index: 4;
}
.orbit-badge b { font-size: 30px; color: var(--gold); font-weight: 800; display: block; line-height: 1; }
.orbit-badge small { font-size: 12px; letter-spacing: 3px; color: var(--gold-soft); }

.node {
  position: absolute; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transform: translate(-50%, -50%);
}
.node .ic {
  width: 50px; height: 50px; border-radius: 16px;
  display: grid; place-items: center; font-size: 22px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
  backdrop-filter: blur(4px);
}
.node span { font-size: 12px; font-weight: 600; white-space: nowrap; }
.node small { font-size: 10px; color: var(--muted-2); }
.node .ic[data-c="purple"] { box-shadow: 0 0 22px rgba(139, 92, 246, .5); border-color: rgba(139,92,246,.5); }
.node .ic[data-c="orange"] { box-shadow: 0 0 22px rgba(249, 115, 22, .5); border-color: rgba(249,115,22,.5); }
.node .ic[data-c="green"]  { box-shadow: 0 0 22px rgba(34, 197, 94, .5);  border-color: rgba(34,197,94,.5); }
.node .ic[data-c="blue"]   { box-shadow: 0 0 22px rgba(59, 130, 246, .5); border-color: rgba(59,130,246,.5); }
.node .ic[data-c="cyan"]   { box-shadow: 0 0 22px rgba(6, 182, 212, .5);  border-color: rgba(6,182,212,.5); }
.node .ic[data-c="gold"]   { box-shadow: 0 0 22px rgba(245, 180, 0, .5);  border-color: rgba(245,180,0,.5); }
/* positions around the circle */
.node.n1 { top: 22%; left: 90%; }
.node.n2 { top: 56%; left: 96%; }
.node.n3 { top: 88%; left: 72%; }
.node.n4 { top: 88%; left: 28%; }
.node.n5 { top: 50%; left: 4%; }
.node.n6 { top: 18%; left: 14%; }

/* ============================================================
   CORE BUSINESSES
   ============================================================ */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card {
  position: relative; border-radius: var(--radius); padding: 26px 24px 64px;
  overflow: hidden; min-height: 320px;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.biz-card h3 { font-size: 20px; font-weight: 800; }
.biz-card h3 .en { display: block; font-size: 13px; margin-top: 2px; }
.biz-thumb {
  margin: 18px 0; height: 130px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .55);
}
.biz-thumb img { width: 78px; }
.biz-thumb.photo { padding: 0; background: #fff; overflow: hidden; display: block; position: relative; }
.biz-thumb.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz-card p { font-size: 14px; color: var(--ink-2); }
.biz-go {
  position: absolute; right: 22px; bottom: 22px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.biz-card.c-blue   { background: linear-gradient(160deg, #e9f2ff, #f7faff); }
.biz-card.c-blue   .biz-go { background: var(--blue); }
.biz-card.c-gold   { background: linear-gradient(160deg, #fff5e0, #fffdf6); }
.biz-card.c-gold   .biz-go { background: var(--gold-deep); }
.biz-card.c-purple { background: linear-gradient(160deg, #f4e9ff, #fcf8ff); }
.biz-card.c-purple .biz-go { background: var(--purple); }
.biz-card.c-orange { background: linear-gradient(160deg, #ffe9dc, #fff7f2); }
.biz-card.c-orange .biz-go { background: var(--orange); }

/* ============================================================
   DIGITAL ECOSYSTEM (dark band)
   ============================================================ */
.eco {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(99,102,241,.2), transparent 70%),
    linear-gradient(180deg, #0d0d0f, #101012);
  color: #fff; border-radius: 26px;
}
.eco-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.eco-wrap h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.eco-wrap h2 .en { display: block; font-size: .58em; color: var(--muted-2); margin-top: 4px; }
.eco-wrap > div > p { color: rgba(255,255,255,.65); margin: 16px 0 24px; font-size: 14.5px; }
.eco-flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: space-between; }
.eco-node { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; min-width: 92px; }
.eco-node .ic {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px;
  border: 2px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.eco-node b { font-size: 14px; }
.eco-node small { font-size: 11px; color: var(--muted-2); }
.eco-arrow { color: rgba(255,255,255,.3); font-size: 22px; }
.eco-node[data-c="gold"]   .ic { box-shadow: 0 0 26px rgba(245,180,0,.45);  border-color: rgba(245,180,0,.55); }
.eco-node[data-c="purple"] .ic { box-shadow: 0 0 26px rgba(139,92,246,.45); border-color: rgba(139,92,246,.55); }
.eco-node[data-c="blue"]   .ic { box-shadow: 0 0 26px rgba(59,130,246,.45); border-color: rgba(59,130,246,.55); }
.eco-node[data-c="green"]  .ic { box-shadow: 0 0 26px rgba(34,197,94,.45);  border-color: rgba(34,197,94,.55); }
.eco-node[data-c="orange"] .ic { box-shadow: 0 0 26px rgba(249,115,22,.45); border-color: rgba(249,115,22,.55); }
.eco-node[data-c="cyan"]   .ic { box-shadow: 0 0 26px rgba(6,182,212,.45);  border-color: rgba(6,182,212,.55); }

/* ============================================================
   FOUNDERS
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.member {
  display: flex; gap: 20px; align-items: center;
  padding: 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar {
  width: 92px; height: 92px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, #e9eef6, #d8dfeb);
  display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #fff;
  overflow: hidden;
}
.avatar.a1 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.avatar.a2 { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.avatar.a3 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h4 { font-size: 19px; font-weight: 800; }
.member .role { color: var(--gold-deep); font-weight: 700; font-size: 14px; }
.member .role-cn { color: var(--muted); font-size: 13px; }
.member .li { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #0a66c2; color: #fff; font-size: 12px; font-weight: 700; margin-top: 8px; }

/* ============================================================
   CULTURAL IP
   ============================================================ */
.ip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ip-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.ip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ip-photo { aspect-ratio: 4/5; display: grid; place-items: center; position: relative; }
.ip-photo img { width: 46%; opacity: .92; }
.ip-photo.photo { padding: 0; display: block; position: relative; }
.ip-photo.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.ip-photo.photo.contain { background: #ece8e2; }
.ip-photo.photo.contain img { object-fit: contain; padding: 46px; box-sizing: border-box; }
.biz-thumb.photo.contain { background: #ece8e2; }
.biz-thumb.photo.contain img { object-fit: contain; padding: 20px; box-sizing: border-box; }
.ip-photo.p1 { background: linear-gradient(160deg, #cfd9e8, #aeb9cc); }
.ip-photo.p2 { background: linear-gradient(160deg, #e7ddcb, #cdbfa6); }
.ip-photo.p3 { background: linear-gradient(160deg, #2b2b2f, #14141a); }
.ip-photo.p4 { background: linear-gradient(160deg, #ece4d6, #d8cdba); }
.ip-cap { padding: 14px 16px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }

/* ============================================================
   GLOBAL + PARTNERS split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.split > div { padding: 70px 56px; }
.global-pane { background: var(--bg-soft); }
.partners-pane { background: #fff; border-left: 1px solid var(--line); }
.pane-title { font-size: 22px; font-weight: 800; }
.pane-title .en { display: block; font-size: 14px; margin-top: 2px; }
.city-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.city {
  aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; position: relative;
  display: flex; align-items: flex-end; padding: 12px;
  color: #fff; font-weight: 700; font-size: 13px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.6));
}
.city.hk { background-image: linear-gradient(180deg, rgba(8,12,24,.1), rgba(8,12,24,.7)), linear-gradient(135deg, #1e3a5f, #0b1b30); }
.city.mo { background-image: linear-gradient(180deg, rgba(8,12,24,.1), rgba(8,12,24,.7)), linear-gradient(135deg, #6b2737, #2a0f18); }
.city.sy { background-image: linear-gradient(180deg, rgba(8,12,24,.1), rgba(8,12,24,.7)), linear-gradient(135deg, #b45309, #7c2d12); }
.city.ak { background-image: linear-gradient(180deg, rgba(8,12,24,.1), rgba(8,12,24,.7)), linear-gradient(135deg, #0e7490, #134e4a); }
.city span { position: relative; z-index: 2; }
.city small { display: block; font-weight: 500; opacity: .8; font-size: 11px; }
/* landmark photo support */
.city.photo { background: #0b1b30; }
.city .city-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.city.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,24,.05) 38%, rgba(8,12,24,.8)); z-index: 1; }

.partner-group { margin-top: 22px; }
.partner-group h5 { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 14px; letter-spacing: .5px; }
.logo-row { display: flex; gap: 14px; flex-wrap: wrap; }
.logo-chip {
  height: 88px; flex: 1 1 180px; max-width: 260px; padding: 0 16px;
  display: grid; place-items: center;
  font-weight: 800; color: var(--ink-2); font-size: 15px;
}
.logo-chip img { max-height: 72px; max-width: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }

/* ============================================================
   VIDEO SHOWCASE  (phone mockup)
   ============================================================ */
.showcase {
  background:
    radial-gradient(600px 360px at 18% 20%, rgba(139,92,246,.22), transparent 60%),
    linear-gradient(160deg, #0d0d0f, #1a1a1f);
  color: #fff; border-radius: 26px; overflow: hidden;
}
.showcase-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 44px; align-items: center; padding: 52px 48px; }
.showcase-wrap h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.showcase-wrap h2 .en { display: block; font-size: .55em; color: var(--muted-2); margin-top: 6px; }
.showcase-wrap p { color: rgba(255,255,255,.72); margin: 16px 0 24px; max-width: 440px; }
.phone {
  justify-self: center;
  width: 280px; aspect-ratio: 9 / 19.3;
  border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #26262c, #17171b);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone .screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #000; position: relative; }
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 18px; background: #000; border-radius: 12px; z-index: 2; }

/* feature image split (brand story) */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.media-split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-split h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.media-split h2 .en { display: block; font-size: .55em; color: var(--muted); margin-top: 6px; }
.media-split p { color: var(--ink-2); margin: 14px 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #07090f; color: rgba(255,255,255,.6);
  padding: 16px 0; font-size: 13px;
}
.footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bar .brand b { font-size: 16px; }
.footer-bar .brand img { width: 30px; height: 24px; }
.social { display: flex; gap: 12px; }
.social a { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .15s; }
.social a:hover { background: var(--gold-deep); }

/* ============================================================
   SUBPAGE bits
   ============================================================ */
.page-hero {
  background:
    radial-gradient(700px 300px at 80% 10%, rgba(99,102,241,.22), transparent 60%),
    linear-gradient(160deg, #0d0d0f, #17171b);
  color: #fff; padding: 70px 0 64px;
}
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -1px; }
.page-hero h1 .en { display: block; color: var(--muted-2); font-size: .5em; font-weight: 600; margin-top: 8px; }
.page-hero p { color: rgba(255,255,255,.72); max-width: 600px; margin-top: 16px; }
.crumbs { font-size: 13px; color: var(--muted-2); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-soft); }

.prose { max-width: 760px; }
.prose h3 { font-size: 22px; font-weight: 800; margin: 36px 0 12px; }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose ul.ticks { margin: 14px 0; }
.prose ul.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-2); }
.prose ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-deep); font-weight: 800; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--gold-deep); }
.stat span { font-size: 14px; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; background: var(--bg-soft); }
.feature h4 { font-size: 18px; font-weight: 800; }
.feature h4 .en { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 600; }
.feature p { font-size: 14px; color: var(--ink-2); margin-top: 10px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,180,0,.18); }
.info-card { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 16px; }
.info-card .ic { font-size: 22px; }
.info-card h5 { font-size: 15px; font-weight: 800; margin: 8px 0 4px; }
.info-card p { color: var(--muted); font-size: 14px; }
.info-card a { color: var(--gold-deep); text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* CTA strip */
.cta {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  border-radius: 26px; padding: 54px; text-align: center; color: #1a1300;
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta p { margin: 12px 0 26px; color: #4a3a00; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #0d0d0f; padding: 12px; border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s;
  }
  .on-light .nav-links { background: #fff; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { flex-direction: row; gap: 8px; align-items: baseline; padding: 12px 14px; }

  .hero .container { grid-template-columns: 1fr; }
  .orbit { order: -1; max-width: 340px; }
  .eco-wrap { grid-template-columns: 1fr; }
  .showcase-wrap { grid-template-columns: minmax(0, 1fr); padding: 40px 24px; }
  .showcase-wrap > * { min-width: 0; }
  .phone { width: min(280px, 100%); }
  .media-split { grid-template-columns: 1fr; }
  .media-split .media-img { order: -1; }
  .biz-grid, .ip-grid, .feature-grid, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .partners-pane { border-left: none; border-top: 1px solid var(--line); }
  .split > div { padding: 48px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  section { padding: 60px 0; }
  .biz-grid, .ip-grid, .feature-grid, .stat-row, .city-row { grid-template-columns: 1fr 1fr; }
  .eco-flow { gap: 14px 0; }
  .eco-arrow { display: none; }
  .eco-node { min-width: 30%; }
  .cta { padding: 36px 22px; }
}


/* ============================================================
   APP SHOWCASE  (homepage — two products)
   ============================================================ */
.app-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.app-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .28s ease, box-shadow .28s ease;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.app-top { padding: 32px 32px 24px; }
.app-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.app-card h3 { font-size: 26px; font-weight: 800; margin: 16px 0 6px; }
.app-card h3 .en { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 3px; }
.app-card .app-desc { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.app-card .app-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.app-card .app-tags span { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.app-card .app-go { margin-top: 20px; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.app-media { margin-top: auto; height: 220px; overflow: hidden; display: grid; place-items: center; }
.app-media img { width: 100%; height: 100%; object-fit: cover; }
/* dexian = playful */
.app-card.dexian .app-top { background: linear-gradient(150deg, #fdf6e3, #ffffff); }
.app-card.dexian .app-badge { background: #f6edd0; color: #9a7a1c; }
.app-card.dexian .app-go { color: var(--gold-deep); }
/* HE = wellness */
.app-card.he .app-top { background: linear-gradient(150deg, #fdf6e3, #ffffff); }
.app-card.he .app-badge { background: #f6edd0; color: #9a7a1c; }
.app-card.he .app-go { color: var(--gold-deep); }
.app-card.he .app-media { background: #f4efe4; }
.app-card.he .app-media img { object-fit: cover; }

/* ============================================================
   HE  ·  和   (wellness product page theme)  — scoped to .he-theme
   ============================================================ */
.he-theme {
  --he-cream: #f4efe4; --he-surface: #fbf7ee; --he-green: #33503c;
  --he-green-soft: #5a7a5f; --he-rust: #a5572f; --he-gold: #ab8f5f;
  --he-ink: #33302a; --he-muted: #7d7666; --he-line: #e2dbc9;
  background: var(--he-cream); color: var(--he-ink);
  font-family: "Georgia", "Songti SC", "STSong", "SimSun", serif;
}
.he-theme .container { max-width: 1120px; }
.he-serif { font-family: "Georgia", "Songti SC", "STSong", serif; }
.he-hero { position: relative; overflow: hidden; padding: 96px 0 72px;
  background:
    radial-gradient(600px 300px at 80% 10%, rgba(171,143,95,.18), transparent 60%),
    linear-gradient(180deg, #f7f2e7, #f1ead9); }
.he-eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--he-rust); font-weight: 700; font-family: var(--font); }
.he-hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; margin: 18px 0 10px; color: var(--he-green); font-weight: 700; }
.he-hero .he-cn { font-size: clamp(20px, 2.4vw, 30px); color: var(--he-ink); letter-spacing: .02em; }
.he-hero p { font-family: var(--font); color: var(--he-muted); max-width: 560px; margin: 18px 0 28px; font-size: 16px; line-height: 1.75; }
.he-seal { position: absolute; top: 60px; right: 6%; width: 92px; height: 92px; border-radius: 18px; display: grid; place-items: center; background: var(--he-rust); color: #f7f2e7; font-size: 40px; box-shadow: 0 16px 40px rgba(165,87,47,.35); }
.he-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 999px; text-decoration: none; }
.he-btn.primary { background: var(--he-green); color: #f4efe4; }
.he-btn.ghost { border: 1px solid var(--he-green); color: var(--he-green); }
.he-theme section { padding: 72px 0; }
.he-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.he-head .he-eyebrow { display: block; margin-bottom: 12px; }
.he-head h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--he-green); font-weight: 700; }
.he-head p { font-family: var(--font); color: var(--he-muted); margin-top: 12px; }
/* flow steps */
.he-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.he-step { background: var(--he-surface); border: 1px solid var(--he-line); border-radius: 16px; padding: 26px 22px; }
.he-step .n { font-family: var(--font); font-size: 12px; font-weight: 800; color: var(--he-rust); letter-spacing: .1em; }
.he-step .ic { font-size: 30px; margin: 8px 0 12px; }
.he-step h4 { font-size: 18px; color: var(--he-green); margin-bottom: 6px; }
.he-step p { font-family: var(--font); font-size: 13.5px; color: var(--he-muted); line-height: 1.6; }
/* feature grid */
.he-feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.he-fcard { background: var(--he-surface); border: 1px solid var(--he-line); border-radius: 18px; padding: 30px 30px; display: flex; gap: 18px; align-items: flex-start; }
.he-fcard .ic { font-size: 26px; width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #eef1e6; }
.he-fcard h4 { font-size: 19px; color: var(--he-green); margin-bottom: 6px; }
.he-fcard p { font-family: var(--font); font-size: 14px; color: var(--he-muted); line-height: 1.65; }
/* gallery */
.he-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.he-gallery img { width: 100%; border-radius: 16px; border: 1px solid var(--he-line); box-shadow: 0 18px 40px rgba(51,48,42,.10); }
.he-band { background: var(--he-green); color: #eef1e6; }
.he-band .he-head h2, .he-band .he-eyebrow { color: #eef1e6; }
.he-band .he-eyebrow { color: #d8c39a; }
.he-band p { color: #cdd6c6; }
.he-pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.he-pill-row span { font-family: var(--font); font-size: 13px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); color: #eef1e6; border: 1px solid rgba(255,255,255,.18); }
.he-note { font-family: var(--font); font-size: 12.5px; color: var(--he-muted); text-align: center; margin-top: 34px; max-width: 720px; margin-inline: auto; line-height: 1.7; }

@media (max-width: 860px) {
  .app-showcase { grid-template-columns: 1fr; }
  .he-flow { grid-template-columns: 1fr 1fr; }
  .he-feat { grid-template-columns: 1fr; }
  .he-gallery { grid-template-columns: 1fr; }
  .he-seal { display: none; }
}


/* ============================================================
   TECHNOLOGY PAGE  (AI capabilities / solutions / IPR)
   ============================================================ */
.ai-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.ai-strip .item { text-align: center; padding: 20px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.ai-strip .item b { display: block; font-size: 22px; font-weight: 800; color: var(--ink); }
.ai-strip .item span { font-size: 13px; color: var(--muted); }

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow-sm); }
.tech-card .ic { font-size: 28px; width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-soft); margin-bottom: 16px; }
.tech-card h3 { font-size: 19px; font-weight: 800; }
.tech-card .tech-en { font-size: 11.5px; color: var(--muted); font-weight: 700; letter-spacing: .05em; margin: 3px 0 12px; text-transform: uppercase; }
.tech-card p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.tech-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.tech-card li { font-size: 13px; color: var(--muted); padding-left: 16px; position: relative; }
.tech-card li::before { content: "\25B9"; position: absolute; left: 0; color: var(--gold-deep); }

.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.solution { border-radius: 20px; padding: 36px 34px; color: #fff; }
.solution.cyber { background: linear-gradient(150deg, #1b1b20, #0d0d0f); border: 1px solid rgba(245,180,0,.22); }
.solution.mainland { background: linear-gradient(150deg, #241a12, #100c08); border: 1px solid rgba(245,180,0,.22); }
.solution .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: rgba(245,180,0,.16); color: var(--gold-soft); margin-bottom: 14px; }
.solution h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.solution h3 .en { display: block; font-size: 13px; font-weight: 600; opacity: .8; margin-top: 3px; }
.solution p { color: rgba(255,255,255,.82); font-size: 14.5px; line-height: 1.7; margin-bottom: 16px; }
.solution ul { display: flex; flex-direction: column; gap: 8px; }
.solution li { font-size: 13.5px; color: rgba(255,255,255,.9); padding-left: 20px; position: relative; }
.solution li::before { content: "\2713"; position: absolute; left: 0; font-weight: 800; opacity: .85; }

.ipr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ipr-card { background: var(--bg-soft); border: 1px dashed #cbd0da; border-radius: 16px; padding: 26px 24px; }
.ipr-card .status { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--gold-deep); background: #fff5db; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.ipr-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.ipr-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

@media (max-width: 860px) {
  .ai-strip { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .ipr-grid { grid-template-columns: 1fr; }
}


/* ---------- EH brand badge (company hero) ---------- */
.brand-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46%; aspect-ratio: 1; border-radius: 50%; z-index: 3;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 38% 32%, #1e1e24, #0d0d0f 72%);
  border: 2px solid rgba(245, 180, 0, .55);
  box-shadow: 0 0 70px rgba(245, 180, 0, .30), inset 0 0 44px rgba(245, 180, 0, .07);
  animation: bob 4s ease-in-out infinite;
}
.brand-badge b { font-size: clamp(46px, 8vw, 92px); font-weight: 900; color: var(--gold); line-height: 1; letter-spacing: 3px; }
.brand-badge small { display: block; margin-top: 12px; font-size: 11px; letter-spacing: .26em; color: var(--muted-2); text-transform: uppercase; }


/* ---------- HE splash panel (app card media) ---------- */
.app-media.he-splash {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(160deg, #f5efe0, #ece4d3);
  font-family: "Georgia", "Songti SC", "STSong", serif;
}
.he-splash .seal { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid #5a7a5f; display: grid; place-items: center; color: #33503c; font-size: 25px; line-height: 1; }
.he-splash .he-name { font-size: 24px; color: #33503c; font-weight: 700; line-height: 1; }
.he-splash .he-sub { font-size: 12px; color: #7d7666; letter-spacing: .02em; }
.he-splash .he-btn { margin-top: 4px; background: #33503c; color: #f5efe0; font-size: 12px; font-weight: 700; padding: 8px 22px; border-radius: 999px; font-family: var(--font); }


/* ---------- XianZai mascot in icon slots (replaces bear emoji) ---------- */
.ic img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.app-badge img { width: 17px; height: 17px; border-radius: 4px; vertical-align: -4px; display: inline-block; margin-right: 3px; }
