/* ============================================================
   深轶科技 Deep Transcend — Brand Site Stylesheet
   Brand primary: #1E00FF · dot-matrix grid system
   ============================================================ */

:root {
  /* Brand palette (from 基础应用规范) */
  --brand: #0B63CE;
  --brand-2: #1787C9;
  --brand-3: #67E8F9;
  --cyan: #06B6D4;
  --teal: #35B597;
  --yellow: #FFBC2C;
  --red: #E94753;
  --purple: #A92DF9;

  /* Neutrals */
  --ink: #071426;
  --ink-2: #10233D;
  --ink-soft: #173553;
  --paper: #ffffff;
  --paper-2: #F3F8FC;
  --paper-3: #E8F2F8;
  --line: #D9E7F0;
  --muted: #52677D;
  --muted-2: #7890A5;

  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(11, 99, 206, .3);
  --shadow-soft: 0 10px 30px -16px rgba(7, 35, 66, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: "Manrope", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.18; font-weight: 800; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brand); display: inline-block;
}
.eyebrow.on-dark { color: var(--brand-3); }
.eyebrow.on-dark::before { background: var(--brand-3); }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section-head { max-width: 780px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-top: .35em; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.bg-soft { background: var(--paper-2); }
.bg-dark { background: var(--ink); color: #fff; }
.bg-brand {
  background-color: #071426;
  background-image:
    linear-gradient(90deg, rgba(2,10,24,.92), rgba(2,10,24,.74)),
    url("../img/home-cta-v1.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}
.bg-dark h2, .bg-brand h2 { color: #fff; }
.bg-dark p, .bg-brand p { color: rgba(255,255,255,.72); }

.text-grad {
  background: linear-gradient(100deg, var(--brand), var(--purple) 70%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 13px 26px; border-radius: 100px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -18px rgba(30,0,255,.55); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -16px rgba(0,0,0,.4); }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-outline { border-color: rgba(30,0,255,.22); color: var(--brand); background: rgba(255,255,255,.72); }
.btn-outline:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(20,20,50,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand > .brand-mark,
.brand > .brand-text { display: none; }
.brand::before {
  content: "";
  display: block;
  width: 164px;
  height: 52px;
  flex: none;
  background: url("../img/logo-original-horizontal.png") center / contain no-repeat;
}
.brand-mark { width: 30px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-cn { font-size: 19px; font-weight: 800; letter-spacing: .12em; color: var(--brand); }
.brand-en { font-size: 9.5px; font-weight: 700; letter-spacing: .28em; color: var(--muted-2); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 9px 14px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); background: var(--paper-3); }
.nav-links .lang-switch {
  margin-left: 8px;
  border: 1px solid rgba(23, 92, 211, .24);
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .04em;
  min-width: 48px;
  text-align: center;
}
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: var(--ink);
  transform: translate(-50%, -50%); transition: .25s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: translate(-50%,-50%) rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: translate(-50%,-50%) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background-color: #071426;
  background-image:
    linear-gradient(90deg, rgba(3,12,28,.2) 0%, rgba(3,12,28,.06) 44%, rgba(3,12,28,.12) 100%),
    url("../img/hero-ai-chip-v1.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,8,20,.08), rgba(1,8,20,.18));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 104px 0 110px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); letter-spacing: -.02em; }
.hero h1 .text-grad { background: linear-gradient(100deg, #fff, #b9c8ff 60%, #6df0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.82); max-width: 560px; }
.hero-tagline { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 100px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 600; letter-spacing: .08em; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hero-keywords span { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; padding: 6px 13px; border-radius: 100px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.86); }
/* Hero dot-matrix art */
.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; visibility: hidden; }
.dot-canvas { width: 100%; height: 100%; }

/* Hero stats strip */
.hero-stats {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.16); border-top: 1px solid rgba(255,255,255,.16);
}
.hero-stats .stat { background: transparent; padding: 26px 20px; }
.hero-stats .stat b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #fff; }
.hero-stats .stat span { font-size: 13.5px; color: rgba(255,255,255,.68); }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: #cfd3ea; }
.card .ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(30,0,255,.08); color: var(--brand); }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* color-accent cards */
.accent-cyan .ico { background: rgba(0,169,206,.12); color: var(--cyan); }
.accent-teal .ico { background: rgba(53,181,151,.14); color: var(--teal); }
.accent-yellow .ico { background: rgba(255,188,44,.16); color: #c98a00; }
.accent-red .ico { background: rgba(233,71,83,.12); color: var(--red); }
.accent-purple .ico { background: rgba(169,45,249,.12); color: var(--purple); }

/* Product cards */
.product-card { display: flex; flex-direction: column; min-height: 260px; }
.product-card .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.product-card h3 { font-size: 22px; margin-bottom: 8px; }
.product-card .sub { color: var(--muted); font-size: 14.5px; flex: 1; }
.product-card .meta { display: flex; gap: 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.product-card .meta div b { display: block; font-size: 19px; color: var(--ink); font-weight: 800; }
.product-card .meta div span { font-size: 12px; color: var(--muted-2); }
.product-card .arrow { position: absolute; top: 28px; right: 28px; color: var(--muted-2); transition: .25s; }
.product-card:hover .arrow { color: var(--brand); transform: translate(3px,-3px); }
.product-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease); }
.product-card:hover::before { transform: scaleY(1); }

/* Applications */
.app-tile { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; transition: .3s var(--ease); }
.app-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.app-tile .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.app-tile .ico svg { width: 24px; height: 24px; }
.app-tile h4 { font-size: 17px; margin-bottom: 4px; }
.app-tile p { font-size: 14px; color: var(--muted); margin: 0; }

/* Stat band */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.statband .s b { font-size: clamp(30px, 4vw, 46px); font-weight: 800; display: block; letter-spacing: -.02em; }
.statband .s span { color: var(--muted); font-size: 15px; }
.bg-dark .statband .s span, .bg-brand .statband .s span { color: rgba(255,255,255,.66); }

/* ============================================================
   Split / feature rows
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.feature-list { display: grid; gap: 18px; margin-top: 26px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .dot { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(30,0,255,.08); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.feature-list h4 { font-size: 16px; margin: 0 0 2px; }
.feature-list p { font-size: 14.5px; color: var(--muted); margin: 0; }

.media-panel {
  border-radius: var(--radius); padding: 40px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0B63CE, #072A52); min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.media-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.2) 1.3px, transparent 1.5px); background-size: 22px 22px; opacity: .5; }
.media-panel .mp-big { position: relative; font-size: 56px; font-weight: 800; letter-spacing: -.02em; }
.media-panel .mp-cap { position: relative; color: rgba(255,255,255,.8); font-size: 14px; }

/* ============================================================
   Product detail sections (products page)
   ============================================================ */
.prod-block { padding: 90px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.prod-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.prod-head .pid { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--brand); }
.prod-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 8px 0 6px; }
.prod-head .ptag { color: var(--muted); font-size: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12.5px; font-weight: 600; padding: 6px 13px; border-radius: 100px; background: var(--paper-3); color: var(--ink-2); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px 0 30px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.kpi b { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; display: block; letter-spacing: -.02em; color: var(--brand); }
.kpi span { font-size: 13px; color: var(--muted); }

.bullets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bullets .b h4 { font-size: 16px; display: flex; gap: 8px; align-items: center; }
.bullets .b h4::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--brand); }
.bullets .b p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ACE-Echo 6G AI-RAN open platform */
.echo-platform {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(30,0,255,.12), transparent 28%),
    radial-gradient(circle at 8% 68%, rgba(0,169,206,.1), transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
}
.echo-platform::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(30,0,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(30,0,255,.045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.echo-platform > .container { position: relative; z-index: 1; }
.echo-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; margin-bottom: 56px; }
.echo-lead { color: var(--ink-2); font-size: 18px; line-height: 1.78; margin-bottom: 14px; }
.echo-copy { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.echo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.echo-console { border-radius: 20px; padding: 18px; color: #fff; background: linear-gradient(145deg,#071426,#0b2450); box-shadow: 0 24px 58px rgba(5,20,50,.22); }
.echo-console-top { display: flex; align-items: center; gap: 7px; padding: 2px 3px 15px; border-bottom: 1px solid rgba(255,255,255,.12); }
.echo-console-top span { width: 8px; height: 8px; border-radius: 50%; background: #5f7a9c; }
.echo-console-top span:nth-child(1) { background: #ff6b6b; }
.echo-console-top span:nth-child(2) { background: #ffd166; }
.echo-console-top span:nth-child(3) { background: #35b597; }
.echo-console-top b { margin-left: auto; color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .12em; }
.echo-layer { padding: 15px 16px; margin-top: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.055); }
.echo-layer small { display: block; color: #72ddff; font-size: 9px; font-weight: 800; letter-spacing: .18em; margin-bottom: 5px; }
.echo-layer strong { display: block; color: #fff; font-size: 13.5px; line-height: 1.5; }
.echo-layer.accent { background: linear-gradient(100deg,rgba(30,0,255,.5),rgba(0,169,206,.24)); border-color: rgba(114,221,255,.28); }
.echo-section-title { margin: 42px 0 20px; font-size: 22px; }
.echo-stack-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.echo-stack-grid .card { background: rgba(255,255,255,.88); }
.echo-stack-grid h3 { font-size: 18px; margin: 8px 0 8px; }
.echo-stack-grid p { color: var(--muted); font-size: 14.5px; margin: 0; }
.echo-step { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.echo-cap-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.echo-cap { padding: 22px; border-radius: 15px; background: rgba(255,255,255,.82); border: 1px solid rgba(30,0,255,.1); }
.echo-cap b { display: block; font-size: 16px; margin-bottom: 7px; color: var(--ink); }
.echo-cap p { color: var(--muted); font-size: 13.5px; margin: 0; }
.echo-audience { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 36px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg,#1900c8,#071f4d); color: #fff; }
.echo-audience > div { padding: 27px; border-right: 1px solid rgba(255,255,255,.12); }
.echo-audience > div:last-child { border-right: 0; }
.echo-audience span { color: #72ddff; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.echo-audience h4 { color: #fff; font-size: 17px; margin: 8px 0 5px; }
.echo-audience p { color: rgba(255,255,255,.7); font-size: 13.5px; margin: 0; }
.echo-source { font-size: 12.5px; color: var(--muted-2); margin: 22px 0 0; }

/* ============================================================
   Team
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; transition: .3s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.avatar { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #fff; background: linear-gradient(150deg, var(--brand), var(--purple)); }
.member h4 { font-size: 18px; margin-bottom: 2px; }
.member .role { color: var(--brand); font-weight: 700; font-size: 13.5px; margin-bottom: 10px; }
.member .bio { font-size: 13px; color: var(--muted); margin: 0; }

.lead-card { display: grid; grid-template-columns: 150px 1fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.lead-card .avatar { width: 120px; height: 120px; font-size: 40px; margin: 0; }
.lead-card h3 { font-size: 24px; margin-bottom: 4px; }
.lead-card .role { color: var(--brand); font-weight: 700; margin-bottom: 12px; }
.lead-card ul { display: grid; gap: 7px; }
.lead-card ul li { font-size: 14.5px; color: var(--muted); padding-left: 18px; position: relative; }
.lead-card ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }

/* timeline */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 24px 0; border-top: 1px solid var(--line); }
.tl-item .yr { font-size: 20px; font-weight: 800; color: var(--brand); }
.tl-item h4 { font-size: 17px; margin-bottom: 4px; }
.tl-item p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ============================================================
   Page header (sub pages)
   ============================================================ */
.page-hero {
  color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background-color: #071426;
  background-image: url("../img/hero-ai-chip-v1.png");
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(2,10,24,.9) 0%, rgba(2,10,24,.72) 48%, rgba(2,10,24,.25) 100%),
    linear-gradient(180deg, rgba(7,20,38,.06) 0%, rgba(7,20,38,.12) 68%, rgba(243,248,252,.9) 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; z-index: 1;
  background: linear-gradient(180deg, transparent, var(--paper-2));
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; padding: 76px 0 92px; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 50px); }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 640px; margin: 0; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* sticky sub-nav */
.subnav { position: sticky; top: 72px; z-index: 50; background: rgba(243,248,252,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; }
.subnav a { white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 8px; }
.subnav a:hover, .subnav a.active { color: var(--brand); background: var(--paper-3); }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-item .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(30,0,255,.08); color: var(--brand); display: grid; place-items: center; }
.info-item h4 { font-size: 15px; margin-bottom: 3px; }
.info-item p { margin: 0; color: var(--muted); font-size: 15px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-soft); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: var(--paper-2); transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-cn { color: #fff; }
.footer-brand .brand::before {
  width: 184px;
  height: 59px;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  background-size: contain;
  filter: brightness(0) invert(1);
}
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 320px; }
.footer-col h5 { color: #fff; font-size: 14px; letter-spacing: .04em; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Home page: full-screen visual chapters
   ============================================================ */
.home-page > .hero,
.home-page > .section {
  min-height: calc(100svh - 72px);
  scroll-snap-align: start;
}
.home-page > .hero {
  display: flex; flex-direction: column;
  /* When snapped to the top the sticky header scrolls away, so the hero
     must fill the FULL viewport — otherwise the next section shows as a
     thin strip at the bottom. */
  min-height: 100vh;
  min-height: 100svh;
}
.home-page > .hero .hero-inner { width: 100%; flex: 1; display: flex; align-items: center; }
.home-page > .section {
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-page > .section > .container { position: relative; z-index: 1; }

.home-page > .section:nth-of-type(2) {
  background-image: linear-gradient(90deg, rgba(248,252,255,.96), rgba(248,252,255,.86) 58%, rgba(235,246,253,.72)), url("../img/home-research-v1.png");
}
.home-page > .section:nth-of-type(3) {
  background-image: linear-gradient(180deg, rgba(243,248,252,.9), rgba(235,244,250,.84)), url("../img/home-products-v1.png");
}
.home-page > .section:nth-of-type(4) {
  background-image: linear-gradient(90deg, rgba(248,252,255,.93), rgba(248,252,255,.8) 58%, rgba(237,247,252,.7)), url("../img/home-applications-v1.png");
}
.home-page > .section:nth-of-type(5) {
  background-image: linear-gradient(90deg, rgba(3,10,26,.86), rgba(3,10,26,.68)), url("../img/home-technology-v1.png");
}
.home-page > .section:nth-of-type(6) {
  background-image: linear-gradient(90deg, rgba(248,252,255,.96), rgba(248,252,255,.86) 62%, rgba(235,246,252,.72)), url("../img/home-team-v1.png");
}
.home-page > .section.bg-brand {
  background-image: linear-gradient(180deg, rgba(4,18,48,.88), rgba(4,18,48,.9)), url("../img/home-cta-v1.png");
}

.home-page .section .card,
.home-page .section .app-tile,
.home-page .section .lead-card,
.home-page .section .member {
  background-color: rgba(255,255,255,.88);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

@supports selector(html:has(body)) {
  html:has(.home-page) { scroll-snap-type: y proximity; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { background-position: 62% center; }
  .hero-art { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .echo-intro { grid-template-columns: 1fr; gap: 34px; }
  .echo-cap-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 16px 20px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s var(--ease); box-shadow: var(--shadow-soft);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-links .lang-switch { margin: 8px 14px 0; text-align: center; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .bullets { grid-template-columns: 1fr; }
  .lead-card { grid-template-columns: 1fr; text-align: center; }
  .lead-card ul li { text-align: left; }
  .tl-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .echo-stack-grid, .echo-audience { grid-template-columns: 1fr; }
  .echo-audience > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .echo-audience > div:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .hero { background-position: 68% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: rgba(2,10,24,.42); }
  .page-hero { background-position: 64% center; }
  .page-hero::before { background: linear-gradient(90deg, rgba(2,10,24,.92), rgba(2,10,24,.58)), linear-gradient(180deg, transparent 64%, rgba(243,248,252,.92)); }
  .page-hero-inner { padding: 60px 0 82px; }
  .home-page > .section { min-height: calc(100svh - 72px); background-position: 58% center; }
  .home-page > .section:nth-of-type(3),
  .home-page > .section:nth-of-type(7) { background-position: 65% center; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .team-grid, .kpi-grid { grid-template-columns: 1fr; }
  .hero-stats, .statband { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .echo-cap-grid { grid-template-columns: 1fr; }
  .echo-console { padding: 13px; }
  .echo-layer { padding: 13px; }
  .container { padding: 0 18px; }
}
