/* ==========================================================================
   远极系统 YuanjiSys — Corporate Website Stylesheet
   Design tokens, layout, components, animations
   ========================================================================== */

/* -------- Design tokens -------- */
:root {
  --brand-blue: #30ACFA;
  --brand-blue-600: #1E90E0;
  --brand-blue-700: #1673BE;
  --brand-cyan: #46E0D0;
  --brand-red: #EC1C24;
  --brand-red-dark: #A21820;

  --ink: #0F1B2D;
  --ink-2: #16233A;
  --ink-3: #22334F;
  --slate: #5A6B85;
  --slate-2: #8695AB;
  --line: #E4EAF2;
  --line-2: #EEF3F9;

  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --bg-soft-2: #EFF4FA;

  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(15, 27, 45, .06);
  --shadow: 0 12px 32px rgba(15, 27, 45, .08);
  --shadow-lg: 0 30px 70px rgba(15, 27, 45, .14);
  --shadow-blue: 0 18px 40px rgba(48, 172, 250, .28);

  --container: 1200px;
  --nav-h: 74px;

  --grad-blue: linear-gradient(135deg, #30ACFA 0%, #1E90E0 55%, #1673BE 100%);
  --grad-hero: radial-gradient(1200px 700px at 78% -10%, rgba(48,172,250,.28), transparent 60%),
               radial-gradient(900px 600px at 8% 20%, rgba(70,224,208,.14), transparent 55%),
               linear-gradient(160deg, #0B1626 0%, #0F1B2D 45%, #132a44 100%);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { line-height: 1.18; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
section { position: relative; }

/* -------- Layout -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #D5DEEC; }

.grid { display: grid; gap: 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-blue-700);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad-blue);
}
.section--ink .eyebrow { color: var(--brand-cyan); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 16px 0 14px;
}
.section-head p { color: var(--slate); font-size: 17px; }
.section--ink .section-head p { color: #A7B4C8; }
.text-grad {
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(48,172,250,.4); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue-700); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--brand-blue-700); font-size: 15px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* -------- Header / Nav -------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .logo-mark { height: 36px; width: auto; filter: brightness(0) invert(1); transition: filter .3s ease; }
.brand .brand-cn {
  font-weight: 800; font-size: 19px; letter-spacing: .01em; color: #fff;
  display: flex; flex-direction: column; line-height: 1.12;
}
.brand .brand-cn small { font-size: 10px; font-weight: 700; letter-spacing: .26em; color: var(--brand-cyan); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap;
  color: rgba(255,255,255,.82); transition: color .2s ease, background .2s ease;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 999px;
  font-weight: 700; font-size: 13px; letter-spacing: .03em;
  color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.lang-toggle svg { width: 15px; height: 15px; }
.lang-toggle:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.site-header.scrolled .lang-toggle, .site-header.solid .lang-toggle { color: var(--ink-3); border-color: var(--line); background: #fff; }
.site-header.scrolled .lang-toggle:hover, .site-header.solid .lang-toggle:hover { background: var(--bg-soft); }

/* scrolled state -> solid white */
.site-header.scrolled { background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(14px); box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header.scrolled .brand .logo-mark { filter: none; }
.site-header.scrolled .brand .brand-cn { color: var(--ink); }
.site-header.scrolled .brand .brand-cn small { color: var(--brand-blue-700); }
.site-header.scrolled .nav a { color: var(--slate); }
.site-header.scrolled .nav a:hover, .site-header.scrolled .nav a.active { color: var(--brand-blue-700); background: var(--bg-soft-2); }
.site-header.scrolled .btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.site-header.scrolled .btn-ghost:hover { background: var(--bg-soft); }
.site-header.scrolled .hamburger span { background: var(--ink); }

/* inner pages: solid header by default */
.site-header.solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); border-color: var(--line); }
.site-header.solid .brand .logo-mark { filter: none; }
.site-header.solid .brand .brand-cn { color: var(--ink); }
.site-header.solid .brand .brand-cn small { color: var(--brand-blue-700); }
.site-header.solid .nav a { color: var(--slate); }
.site-header.solid .nav a:hover, .site-header.solid .nav a.active { color: var(--brand-blue-700); background: var(--bg-soft-2); }
.site-header.solid .btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.site-header.solid .hamburger span { background: var(--ink); }

.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.hamburger span { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s ease; }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
body.menu-open .hamburger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* -------- Hero -------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--grad-hero); color: #fff; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1000px 700px at 70% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(1000px 700px at 70% 30%, #000 30%, transparent 78%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero-glow.g1 { width: 520px; height: 520px; background: #30ACFA; top: -120px; right: -80px; }
.hero-glow.g2 { width: 420px; height: 420px; background: #46E0D0; bottom: -140px; left: -60px; opacity: .28; }
.hero .container { position: relative; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-size: 13.5px; font-weight: 600; color: #CFE8FF; margin-bottom: 26px;
}
.hero-badge b { background: var(--brand-blue); color: #06121f; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px); line-height: 1.05; letter-spacing: -.02em; color: #fff;
  margin-bottom: 22px;
}
.hero h1 .accent { display: block; background: linear-gradient(100deg,#7FD0FF,#30ACFA 45%,#46E0D0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: #B8C7DD; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 32px; }
.hero-metric .num { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero-metric .num span { color: var(--brand-blue); }
.hero-metric .lbl { font-size: 13px; color: #92A2BA; margin-top: 2px; }

/* hero visual */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 22px; backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card .hc-top .dots { display: flex; gap: 6px; }
.hero-card .hc-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.hero-card .hc-top .dots i:first-child { background: #FF6058; }
.hero-card .hc-top .dots i:nth-child(2) { background: #FFBD2E; }
.hero-card .hc-top .dots i:nth-child(3) { background: #28C840; }
.hero-card .hc-top .tag { font-size: 12px; color: #8FA0B8; font-weight: 600; }
.flame { display: flex; flex-direction: column; gap: 6px; }
.flame .row { display: flex; gap: 6px; }
.flame .bar { height: 22px; border-radius: 5px; opacity: .9; }
.hc-legend { display: flex; justify-content: space-between; margin-top: 16px; font-size: 12px; color: #8FA0B8; }
.hc-legend b { color: var(--brand-cyan); font-size: 15px; }

.hero-chip {
  position: absolute; background: #fff; color: var(--ink); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 14px;
}
.hero-chip .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.hero-chip small { display: block; font-size: 11.5px; color: var(--slate); font-weight: 600; }
.hero-chip.c1 { top: -26px; left: -30px; animation: floaty 5s ease-in-out infinite; }
.hero-chip.c2 { top: 45%; right: -26px; animation: floaty 6s ease-in-out infinite .6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* -------- Marquee / trust -------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .container { display: flex; align-items: center; gap: 28px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.trust .t-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); white-space: nowrap; }
.trust .t-items { display: flex; flex-wrap: wrap; gap: 12px 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px; background: var(--bg-soft);
  border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-3);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-blue); }

/* -------- Stats band -------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat .num { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.stat .num .u { font-size: 22px; }
.stat .lbl { color: var(--slate); font-size: 15px; margin-top: 6px; }
.stat .desc { color: var(--slate-2); font-size: 13.5px; margin-top: 8px; }

/* -------- Product cards -------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.pcard::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard:hover::after { transform: scaleX(1); }
.pcard .idx { position: absolute; top: 24px; right: 28px; font-size: 46px; font-weight: 800; color: var(--line-2); letter-spacing: -.03em; }
.pcard .picon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(48,172,250,.14), rgba(70,224,208,.12));
  color: var(--brand-blue-700); margin-bottom: 20px;
}
.pcard .picon svg { width: 28px; height: 28px; }
.pcard .code { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--brand-blue-700); text-transform: uppercase; }
.pcard h3 { font-size: 20px; margin: 6px 0 10px; }
.pcard p { color: var(--slate); font-size: 15px; flex: 1; }
.pcard .pfoot { margin-top: 20px; }

/* -------- Feature / split -------- */
.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-item { display: flex; gap: 15px; }
.feature-item .fi-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(48,172,250,.12); color: var(--brand-blue-700); }
.feature-item .fi-ico svg { width: 21px; height: 21px; }
.feature-item h4 { font-size: 16.5px; margin-bottom: 3px; }
.feature-item p { color: var(--slate); font-size: 14.5px; }

/* generic media panel */
.media-panel {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(160deg, #0F1B2D, #16304e); color: #fff;
  padding: 30px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.media-panel.light { background: #fff; color: var(--ink); }

/* -------- Why-choose / values -------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .3s ease, box-shadow .3s ease;
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value .v-ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-blue); color: #fff; margin-bottom: 18px; }
.value .v-ico svg { width: 25px; height: 25px; }
.value h4 { font-size: 17px; margin-bottom: 8px; }
.value p { color: var(--slate); font-size: 14.5px; }

/* -------- Ecosystem -------- */
.eco-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eco-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.eco-col h4 { font-size: 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.eco-col h4 .badge { width: 30px; height: 30px; border-radius: 9px; background: var(--bg-soft-2); display: grid; place-items: center; color: var(--brand-blue-700); }
.eco-col h4 .badge svg { width: 17px; height: 17px; }
.eco-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-tags span { padding: 7px 13px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-3); }

/* -------- CTA band -------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--grad-hero); color: #fff; padding: 64px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band .hero-grid-bg { opacity: .8; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); position: relative; z-index: 2; margin-bottom: 14px; color: #fff; }
.cta-band p { position: relative; z-index: 2; color: #B8C7DD; max-width: 620px; margin: 0 auto 30px; font-size: 17px; }
.cta-band .hero-actions { position: relative; z-index: 2; justify-content: center; margin-bottom: 0; }

/* -------- Footer -------- */
.site-footer { background: var(--ink); color: #97A6BD; padding: 70px 0 30px; }
.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,.09); }
.footer-brand .logo-lockup { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer-brand .logo-mark { height: 36px; width: auto; }
.footer-brand .brand-cn { display: flex; flex-direction: column; line-height: 1.12; font-weight: 800; font-size: 19px; color: #fff; }
.footer-brand .brand-cn small { font-size: 10px; font-weight: 700; letter-spacing: .26em; color: var(--brand-cyan); text-transform: uppercase; }
.footer-brand p { font-size: 14.5px; max-width: 320px; line-height: 1.7; }
.footer-brand .slogan { color: var(--brand-cyan); font-weight: 700; margin-top: 16px; font-size: 15px; }
.footer-col h5 { color: #fff; font-size: 14px; letter-spacing: .04em; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; padding: 5px 0; font-size: 14.5px; transition: color .2s ease; }
.footer-col a:hover { color: var(--brand-blue); }
.footer-col .contact-line { display: flex; gap: 10px; font-size: 14.5px; padding: 5px 0; }
.footer-col .contact-line svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brand-blue); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 13.5px; flex-wrap: wrap; gap: 12px; }
.footer-bottom .fb-legal { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
.footer-bottom .beian { color: #97A6BD; transition: color .2s ease; white-space: nowrap; }
.footer-bottom .beian:hover { color: var(--brand-blue); }
.footer-bottom .fb-links { display: flex; gap: 20px; }

/* -------- Page hero (inner pages) -------- */
.page-hero {
  background: var(--grad-hero); color: #fff; padding: calc(var(--nav-h) + 70px) 0 80px;
  position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); color: #fff; margin: 18px 0 16px; max-width: 780px; }
.page-hero p { color: #B8C7DD; font-size: 18px; max-width: 620px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #92A2BA; }
.breadcrumb a:hover { color: #fff; }

/* -------- Detailed product section -------- */
.prod-block { padding: 84px 0; border-bottom: 1px solid var(--line); }
.prod-block:last-child { border-bottom: none; }
.prod-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.prod-head .p-num { flex: none; width: 62px; height: 62px; border-radius: 17px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; box-shadow: var(--shadow-blue); }
.prod-head .code { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--brand-blue-700); text-transform: uppercase; }
.prod-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 4px 0 0; }
.prod-lead { font-size: 17.5px; color: var(--slate); max-width: 760px; margin-bottom: 8px; }

.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.mini {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .3s ease, box-shadow .3s ease;
}
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini .m-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(48,172,250,.12); color: var(--brand-blue-700); margin-bottom: 15px; }
.mini .m-ico svg { width: 22px; height: 22px; }
.mini h4 { font-size: 17px; margin-bottom: 7px; }
.mini p { color: var(--slate); font-size: 14.5px; }

/* problem list */
.prob-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
.prob {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
}
.prob .p-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin: 0 auto 12px; background: rgba(236,28,36,.08); color: var(--brand-red); }
.prob .p-ico svg { width: 23px; height: 23px; }
.prob h4 { font-size: 15.5px; margin-bottom: 6px; }
.prob p { font-size: 13px; color: var(--slate); line-height: 1.55; }

/* compatibility table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.compat { width: 100%; border-collapse: collapse; background: #fff; min-width: 520px; }
table.compat th, table.compat td { text-align: left; padding: 15px 20px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
table.compat thead th { background: var(--ink); color: #fff; font-weight: 700; letter-spacing: .02em; }
table.compat tbody tr:last-child td { border-bottom: none; }
table.compat tbody tr:hover { background: var(--bg-soft); }
table.compat td .ok { display: inline-flex; align-items: center; gap: 6px; color: #16A34A; font-weight: 700; }
table.compat td .ok svg { width: 16px; height: 16px; }
table.compat td .custom { color: var(--brand-blue-700); font-weight: 700; }

/* capability matrix */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.cap h5 { font-size: 14px; letter-spacing: .04em; color: var(--brand-blue-700); text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.cap h5 svg { width: 18px; height: 18px; }
.cap ul li { font-size: 14px; color: var(--ink-3); padding: 5px 0 5px 18px; position: relative; }
.cap ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-blue); }

/* checklist */
.checklist { display: grid; gap: 12px; margin-top: 18px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-3); }
.checklist li svg { flex: none; width: 22px; height: 22px; color: var(--brand-blue); margin-top: 1px; }

/* server / hardware cards */
.hw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hw { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.hw .u { font-size: 30px; font-weight: 800; color: var(--brand-blue-700); }
.hw h4 { font-size: 16px; margin: 6px 0 4px; }
.hw p { font-size: 13px; color: var(--slate); }

/* -------- About page -------- */
.about-lead { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; line-height: 1.5; color: var(--ink); }
.about-lead .text-grad { font-weight: 800; }
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.mv .m-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.mv h3 { font-size: 21px; margin-bottom: 10px; }
.mv p { color: var(--slate); font-size: 15.5px; }
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl-item .yr { font-size: 22px; font-weight: 800; color: var(--brand-blue-700); }
.tl-item h4 { font-size: 17px; margin-bottom: 5px; }
.tl-item p { color: var(--slate); font-size: 14.5px; }

/* -------- Contact page -------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.ci-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.ci-card .ci-ico { flex: none; width: 48px; height: 48px; border-radius: 13px; background: rgba(48,172,250,.12); color: var(--brand-blue-700); display: grid; place-items: center; }
.ci-card .ci-ico svg { width: 23px; height: 23px; }
.ci-card h4 { font-size: 16px; margin-bottom: 4px; }
.ci-card p, .ci-card a { color: var(--slate); font-size: 14.5px; }
.ci-card a:hover { color: var(--brand-blue-700); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg-soft); transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-blue); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--slate-2); margin-top: 6px; }
.form-success { display: none; padding: 16px 18px; border-radius: 12px; background: rgba(22,163,74,.1); border: 1px solid rgba(22,163,74,.3); color: #15803D; font-weight: 600; font-size: 14.5px; margin-bottom: 18px; }
.form-success.show { display: block; }

/* -------- Reveal animation -------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* -------- Responsive -------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-cols { grid-template-columns: 1fr; }
  .prob-grid { grid-template-columns: repeat(3, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  /* collapse horizontal nav to hamburger so longer EN labels never crowd */
  .nav, .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 14px; gap: 4px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line);
  }
  .nav.open a { color: var(--ink); padding: 13px 16px; white-space: normal; }
  .nav.open a:hover, .nav.open a.active { background: var(--bg-soft); color: var(--brand-blue-700); }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .prob-grid { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .hw-grid { grid-template-columns: 1fr 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 44px 24px; }
  .tl-item { grid-template-columns: 70px 1fr; gap: 16px; }
  .hero-chip.c1 { left: 0; }
  .hero-chip.c2 { right: 0; left: auto; }
  .hero-metrics { gap: 22px; }
}
@media (max-width: 420px) {
  .stats, .prob-grid, .hw-grid { grid-template-columns: 1fr; }
}
