/* ============================================================
   Future Engineering AI — premium dark theme
   Brand: magenta #c54c9c · violet #a285c0 · blue #54b7e8
   (FE.AI corporate gradient) · semantic OK green #8ac541
   ============================================================ */

:root {
  --bg: #060a13;
  --bg-2: #0a1120;
  --bg-3: #0e1626;
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #eef4fb;
  --muted: #9db0c8;
  --blue: #54b7e8;
  --violet: #a285c0;
  --magenta: #c54c9c;
  --green: #8ac541;
  --danger: #ff6b6b;
  --grad-main: linear-gradient(92deg, var(--magenta), var(--violet) 52%, var(--blue));
  --radius: 18px;
  --header-h: 76px;
  --font-head: "Sora", "Noto Sans JP", sans-serif;
  --font-body: "Inter", "Noto Sans JP", sans-serif;
  --shadow-lg: 0 24px 60px rgba(2, 6, 18, 0.55);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="ja"] body { font-family: "Noto Sans JP", "Inter", sans-serif; letter-spacing: 0.01em; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }

::selection { background: rgba(84, 183, 232, 0.35); }

.container { width: min(1200px, 92%); margin-inline: auto; }

section { scroll-margin-top: calc(var(--header-h) + 10px); }

/* ---------- ambient background ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(52% 38% at 12% 0%, rgba(197, 76, 156, 0.10), transparent 60%),
    radial-gradient(44% 36% at 88% 12%, rgba(162, 133, 192, 0.10), transparent 60%),
    radial-gradient(40% 34% at 50% 100%, rgba(84, 183, 232, 0.07), transparent 60%);
  pointer-events: none; z-index: 0;
}
main, .site-footer { position: relative; z-index: 1; }

/* ============================================================
   HEADER — fixed
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 10, 19, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex; align-items: center; gap: 22px;
  height: var(--header-h);
  transition: height 0.3s ease;
}
.site-header.scrolled .header-inner { height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  height: 42px; width: auto;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px; padding: 5px 9px;
  transition: height 0.3s ease;
}
.site-header.scrolled .brand-logo { height: 36px; }
.brand-text {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em; white-space: nowrap; color: var(--text);
}
.brand-text b { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative; padding: 8px 13px; font-size: 14.5px; font-weight: 500;
  color: var(--muted); border-radius: 9px; transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
  background: var(--grad-main); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border); border-radius: 999px; padding: 3px;
}
.lang-btn {
  border: 0; background: transparent; color: var(--muted);
  font: 600 12px/1 var(--font-body); letter-spacing: 0.06em;
  padding: 7px 11px; border-radius: 999px; cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--grad-main); color: #06121f; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--grad-main); transition: width 0.1s linear;
}

/* ============================================================
   BUTTONS / SHARED
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font-body); letter-spacing: 0.01em;
  padding: 16px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-main); color: #06121f;
  box-shadow: 0 10px 30px rgba(84, 183, 232, 0.30);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(162, 133, 192, 0.42); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.22); color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 12px 30px rgba(84, 183, 232, 0.18); }
.btn-sm { padding: 11px 20px; font-size: 13.5px; }
.btn-block { width: 100%; }

.section { padding: 110px 0; position: relative; }
.section-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.section-head h2 {
  font-family: var(--font-head); font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 14px 0 16px;
}
.section-head h2 em { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head p { color: var(--muted); font-size: 17px; }

.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  background: rgba(84, 183, 232, 0.10); border: 1px solid rgba(84, 183, 232, 0.25);
  padding: 7px 15px; border-radius: 999px;
}

.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--blue); animation: pulse 1.8s ease-out infinite;
}
.pulse-dot.green { background: var(--green); } .pulse-dot.green::after { border-color: var(--green); }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.10s; } .reveal.d2 { transition-delay: 0.20s; }
.reveal.d3 { transition-delay: 0.30s; } .reveal.d4 { transition-delay: 0.40s; }

/* ---------- tilt ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform 0.35s var(--ease-out); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); transform: scale(1.06); animation: heroZoom 26s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 19, 0.78) 0%, rgba(6, 10, 19, 0.55) 45%, rgba(6, 10, 19, 0.94) 100%),
    radial-gradient(70% 60% at 22% 40%, rgba(6, 10, 19, 0.72), transparent 70%);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(84, 183, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 183, 232, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding: 60px 0 90px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--card-border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px 8px 8px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #d9e6f5; margin-bottom: 26px;
}
.hero-badge-logo { height: 26px; width: 26px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; }

.hero-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -0.025em;
}
.hero-title span { display: block; }
.hero-title .grad {
  background: var(--grad-main); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s ease-in-out infinite alternate;
}
@keyframes gradShift { from { background-position: 0% 0; } to { background-position: 100% 0; } }

.hero-sub { margin: 22px 0 32px; max-width: 560px; font-size: 18px; color: #c6d5e8; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 12px 40px;
  margin-top: 52px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
}
.hero-stats dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-stats dd { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--text); }
.hero-stats dd i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--blue); margin-left: 3px; }

.hero-robot { position: relative; justify-self: center; }
.hero-robot-img {
  width: min(360px, 30vw); height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
  animation: robotFloat 6.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes robotFloat { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-20px) rotate(1.2deg); } }
.robot-glow {
  position: absolute; inset: 12% -6% 6% -6%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(84, 183, 232, 0.28), rgba(162, 133, 192, 0.12) 55%, transparent 75%);
  filter: blur(18px); animation: glowPulse 5s ease-in-out infinite alternate;
}
@keyframes glowPulse { from { opacity: 0.65; } to { opacity: 1; } }

.robot-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8, 13, 24, 0.82); border: 1px solid var(--card-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 600; color: #d9e6f5;
  padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow-lg);
  animation: chipFloat 7s ease-in-out infinite;
}
.chip-a { top: 12%; right: -4%; }
.chip-b { bottom: 16%; left: -8%; animation-delay: 1.4s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  transition: color 0.3s;
}
.hero-scroll:hover { color: var(--text); }
.mouse { width: 24px; height: 38px; border: 2px solid currentColor; border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.wheel { width: 3px; height: 8px; background: currentColor; border-radius: 3px; animation: wheel 1.7s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners { padding: 60px 0 0; }
.partners-inner { text-align: center; }
.partners-label { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.partners-logos { display: flex; align-items: stretch; justify-content: center; gap: 18px; flex-wrap: wrap; }
.partner-card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 16px 22px; min-width: 270px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.partner-card:hover { transform: translateY(-5px); border-color: rgba(84, 183, 232, 0.45); box-shadow: 0 18px 44px rgba(2, 6, 18, 0.5); }
.partner-card img { height: 44px; width: 44px; object-fit: contain; background: rgba(255,255,255,0.94); border-radius: 12px; padding: 5px; }
.partner-card b { display: block; font-family: var(--font-head); font-size: 15px; }
.partner-card span { font-size: 12.5px; color: var(--muted); }
.partner-qsd {
  height: 44px; width: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  font-family: var(--font-head); font-weight: 800; font-size: 13px; color: #fff;
}
.partner-x { align-self: center; font-size: 26px; color: rgba(255, 255, 255, 0.25); font-weight: 200; }

.marquee { margin-top: 54px; border-block: 1px solid rgba(255, 255, 255, 0.07); padding: 15px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { white-space: nowrap; font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(157, 176, 200, 0.75); padding-right: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   WHY
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 34px 28px; position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.why-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: var(--grad-main); opacity: 0; transition: opacity 0.3s;
}
.why-card:hover { border-color: rgba(84, 183, 232, 0.4); box-shadow: var(--shadow-lg); }
.why-card:hover::before { opacity: 1; }
.why-card h3 { font-family: var(--font-head); font-size: 20px; margin: 20px 0 12px; }
.why-card p { color: var(--muted); font-size: 15px; }

.why-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(84, 183, 232, 0.12); border: 1px solid rgba(84, 183, 232, 0.28);
}
.why-icon svg { width: 28px; height: 28px; fill: var(--blue); }
.icon-simple { background: rgba(162, 133, 192, 0.12); border-color: rgba(162, 133, 192, 0.32); }
.icon-simple svg { fill: var(--violet); }
.icon-safe { background: rgba(197, 76, 156, 0.12); border-color: rgba(197, 76, 156, 0.34); }
.icon-safe svg { fill: var(--magenta); }

.why-strip {
  margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: linear-gradient(120deg, rgba(197, 76, 156, 0.09), rgba(162, 133, 192, 0.09), rgba(84, 183, 232, 0.08));
  border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px 30px;
}
.strip-item b { display: block; font-family: var(--font-head); font-size: 26px; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip-item span { font-size: 13px; color: var(--muted); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: linear-gradient(180deg, transparent, rgba(10, 17, 32, 0.7) 18%, rgba(10, 17, 32, 0.7) 82%, transparent); }
.product-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  font: 600 14.5px var(--font-body); color: var(--muted);
  background: var(--card); border: 1px solid var(--card-border); border-radius: 999px;
  padding: 13px 26px; cursor: pointer; transition: all 0.3s;
}
.tab-btn:hover { color: var(--text); border-color: rgba(84, 183, 232, 0.4); }
.tab-btn.active { background: var(--grad-main); color: #06121f; border-color: transparent; box-shadow: 0 10px 26px rgba(84, 183, 232, 0.28); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 24px 22px; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  animation: cardIn 0.55s var(--ease-out) backwards;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(22px) scale(0.97); } }
.product-card:hover { transform: translateY(-6px); border-color: rgba(197, 76, 156, 0.5); box-shadow: var(--shadow-lg); }
.product-card h3 { font-family: var(--font-head); font-size: 24px; margin-bottom: 2px; }
.product-card .pc-sub { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.pc-bars { margin-top: 18px; display: grid; gap: 12px; }
.pc-bar-row { display: grid; grid-template-columns: 64px 1fr 58px; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.pc-bar-row b { color: var(--text); font-size: 13px; text-align: right; }
.pc-bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pc-bar i {
  display: block; height: 100%; width: 0; border-radius: 4px;
  background: var(--grad-main);
  transition: width 1s var(--ease-out) 0.15s;
}
.product-card.in .pc-bar i { width: var(--w); }
.pc-tag {
  position: absolute; top: 14px; right: 14px; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--magenta);
  background: rgba(197, 76, 156, 0.12); border: 1px solid rgba(197, 76, 156, 0.34);
  padding: 4px 9px; border-radius: 999px;
}

.product-note {
  margin-top: 44px; display: flex; align-items: center; gap: 34px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 30px 40px;
}

/* ----- product / vision showcase media ----- */
.show-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.show-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--card-border); background: var(--bg-3);
  aspect-ratio: 16/10; box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.show-card:hover { transform: translateY(-6px); border-color: rgba(162, 133, 192, 0.55); }
.show-card img { width: 100%; height: 100%; object-fit: cover; }
.show-card.show-png { display: grid; place-items: center; background: radial-gradient(90% 90% at 50% 20%, rgba(162, 133, 192, 0.16), rgba(6, 10, 19, 0.4)), var(--bg-3); }
.show-card.show-png img { width: 74%; height: 90%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.55)); }
.show-card figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #e9eefb; background: rgba(6, 10, 19, 0.72); border: 1px solid var(--card-border);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px);
}
.product-note-img { width: 190px; height: auto; flex-shrink: 0; filter: drop-shadow(0 16px 26px rgba(0,0,0,0.5)); animation: robotFloat 7s ease-in-out infinite; }
.product-note h3 { font-family: var(--font-head); font-size: 22px; margin-bottom: 8px; }
.product-note p { color: var(--muted); max-width: 640px; margin-bottom: 16px; }

/* ============================================================
   VISION
   ============================================================ */
.vision-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vision-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.vision-card:hover { transform: translateY(-6px); border-color: rgba(162, 133, 192, 0.5); }
.vision-card h3 {
  font-family: var(--font-head); font-size: 18px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--card-border);
}
.vision-card li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.vision-card li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--grad-main); transform: rotate(45deg);
}

.trainer {
  margin-top: 44px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
  background: linear-gradient(120deg, rgba(84, 183, 232, 0.08), rgba(162, 133, 192, 0.08));
  border: 1px solid var(--card-border); border-radius: calc(var(--radius) + 6px); padding: 44px;
}
.trainer h3 { font-family: var(--font-head); font-size: 26px; margin-bottom: 12px; }
.trainer p { color: var(--muted); font-size: 15px; }
.trainer-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.trainer-steps li {
  background: rgba(6, 10, 19, 0.55); border: 1px solid var(--card-border); border-radius: 14px;
  padding: 20px 14px; text-align: center; font-size: 13.5px; font-weight: 600;
  position: relative;
}
.trainer-steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--blue); font-size: 15px; z-index: 2;
}
.trainer-steps b {
  display: block; font-family: var(--font-head); font-size: 22px; margin-bottom: 6px;
  background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.vision-extra { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.extra-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 24px; transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.extra-card:hover { transform: translateY(-5px); border-color: rgba(84, 183, 232, 0.4); }
.extra-card h4 { font-family: var(--font-head); font-size: 16.5px; margin-bottom: 8px; color: var(--blue); }
.extra-card p { font-size: 14px; color: var(--muted); }

/* ============================================================
   APPLICATIONS — case studies
   ============================================================ */
.case {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center;
  margin-bottom: 90px;
}
.case-flip .case-visual { order: 2; }
.case-copy .case-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--magenta); background: rgba(197, 76, 156, 0.10); border: 1px solid rgba(197, 76, 156, 0.34);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
}
.case-copy h3 { font-family: var(--font-head); font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.01em; line-height: 1.18; margin-bottom: 14px; }
.case-copy > p { color: var(--muted); margin-bottom: 22px; }
.case-points { display: grid; gap: 14px; margin-bottom: 28px; }
.case-points li {
  position: relative; padding: 14px 16px 14px 42px; font-size: 14.5px; color: var(--muted);
  background: var(--card); border: 1px solid var(--card-border); border-radius: 13px;
}
.case-points li b { color: var(--text); }
.case-points li::before {
  content: "✓"; position: absolute; left: 14px; top: 14px;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; color: #06121f; background: var(--grad-main); font-weight: 800;
}

/* ----- glue scene ----- */
.glue-scene {
  background: radial-gradient(90% 90% at 50% 20%, rgba(84, 183, 232, 0.10), rgba(6, 10, 19, 0.6)),
    var(--bg-3);
  border: 1px solid var(--card-border); border-radius: calc(var(--radius) + 6px);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.glue-svg { width: 100%; height: auto; display: block; }
.belt { stroke: rgba(255, 255, 255, 0.25); stroke-width: 3; }
.belt-dash { stroke: rgba(84, 183, 232, 0.5); stroke-width: 2; stroke-dasharray: 14 20; animation: beltMove 1.6s linear infinite; }
@keyframes beltMove { to { stroke-dashoffset: -34; } }
.chassis-body { fill: rgba(255, 255, 255, 0.05); }
.chassis-edge { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 2; }
.knob { fill: rgba(255, 255, 255, 0.14); stroke: rgba(255, 255, 255, 0.35); }
.vent { fill: rgba(255, 255, 255, 0.12); }
.display { fill: rgba(84, 183, 232, 0.16); stroke: rgba(84, 183, 232, 0.5); }
.glue-path { stroke: rgba(255, 255, 255, 0.14); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.glue-path-draw {
  stroke: url(#glueGrad); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
  filter: url(#glow);
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: glueDraw 7s linear infinite;
}
@keyframes glueDraw {
  0% { stroke-dashoffset: 100; opacity: 1; }
  86% { stroke-dashoffset: 0; opacity: 1; }
  94% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 100; opacity: 0; }
}
.nozzle-dot { fill: #fff; }
.nozzle-body { fill: var(--blue); }
.ping { fill: none; stroke: var(--green); stroke-width: 2; opacity: 0; animation: ping 7s ease-out infinite; }
.ping.p2 { animation-delay: 2.6s; } .ping.p3 { animation-delay: 5.2s; }
@keyframes ping {
  0%, 8% { r: 4; opacity: 0.9; } 22% { r: 20; opacity: 0; } 100% { r: 20; opacity: 0; }
}
.scene-caption {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  font-size: 13px; color: var(--muted); justify-content: center;
}

/* ----- inspection scene ----- */
.inspect-scene { display: grid; gap: 14px; }
.inspect-frame {
  position: relative; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--card-border); border-radius: calc(var(--radius) + 6px);
  padding: 30px; box-shadow: var(--shadow-lg);
}
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod {
  aspect-ratio: 4/3; border-radius: 12px; position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(84, 183, 232, 0.07) 10px 12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.prod::after {
  content: ""; position: absolute; inset: 30% 22%; border-radius: 6px;
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.16);
}
.prod.ng::before {
  content: ""; position: absolute; left: 18%; top: 24%; width: 34%; height: 3px; z-index: 1;
  background: var(--danger); transform: rotate(-24deg); border-radius: 2px; opacity: 0.9;
}
.scan-line {
  position: absolute; left: 0; right: 0; top: -12%; height: 12%; z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(84, 183, 232, 0.28) 55%, rgba(84, 183, 232, 0.75));
  border-bottom: 2px solid var(--blue);
  filter: drop-shadow(0 0 14px rgba(84, 183, 232, 0.7));
  animation: scan 4.4s var(--ease-out) infinite;
}
@keyframes scan { 0% { top: -12%; } 62% { top: 102%; } 100% { top: 102%; } }
.bbox {
  position: absolute; z-index: 4; border: 2px dashed; border-radius: 8px;
  opacity: 0; animation: bboxIn 4.4s ease-in-out infinite;
}
.bbox span {
  position: absolute; top: -26px; left: -2px; font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.06em; padding: 3px 8px; border-radius: 6px; white-space: nowrap;
}
.bbox-ng { right: 9%; top: 12%; width: 26%; height: 34%; border-color: var(--danger); animation-delay: 1s; }
.bbox-ng span { background: rgba(255, 107, 107, 0.18); color: var(--danger); border: 1px solid rgba(255, 107, 107, 0.5); }
.bbox-ok { left: 9%; bottom: 10%; width: 26%; height: 34%; border-color: var(--green); animation-delay: 2.4s; }
.bbox-ok span { background: rgba(138, 197, 65, 0.16); color: var(--green); border: 1px solid rgba(138, 197, 65, 0.5); }
@keyframes bboxIn { 0% { opacity: 0; transform: scale(1.12); } 10%, 58% { opacity: 1; transform: scale(1); } 72%, 100% { opacity: 0; } }
.cam-hud {
  position: absolute; top: 12px; left: 14px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.08em; color: rgba(230, 240, 252, 0.85);
  background: rgba(6, 10, 19, 0.7); border: 1px solid var(--card-border);
  padding: 5px 10px; border-radius: 8px; backdrop-filter: blur(6px);
}
.cam-hud b { color: var(--blue); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: recBlink 1.4s steps(2) infinite; }
@keyframes recBlink { 50% { opacity: 0.25; } }

.inspect-feed {
  background: rgba(6, 10, 19, 0.8); border: 1px solid var(--card-border); border-radius: 14px;
  padding: 14px 18px; height: 132px; overflow: hidden; position: relative;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px;
}
.inspect-feed::after { content: ""; position: absolute; inset: auto 0 0; height: 40px; background: linear-gradient(transparent, rgba(6, 10, 19, 0.95)); }
.feed-line { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--muted); animation: feedIn 0.4s var(--ease-out); }
.feed-line .ok { color: var(--green); font-weight: 700; }
.feed-line .ng { color: var(--danger); font-weight: 700; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); } }

/* ----- more apps ----- */
.more-apps h3, .industries h3 { font-family: var(--font-head); font-size: 24px; text-align: center; margin-bottom: 26px; }
.apps-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 70px; }
.app-chip {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 999px;
  padding: 12px 22px; font-size: 14px; font-weight: 600; color: #d9e6f5;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}
.app-chip:hover { transform: translateY(-4px) scale(1.04); border-color: var(--blue); background: rgba(84, 183, 232, 0.10); }

/* ----- studio photo row (white-background renders) ----- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 44px 0 70px; }
.media-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #f4f6f9; border: 1px solid rgba(255, 255, 255, 0.18);
  aspect-ratio: 16/10; box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.media-card:hover { transform: translateY(-6px); }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #1a2333; background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(20, 30, 50, 0.14);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px);
}

.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 20px 22px; font-weight: 600; font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ind-card:hover { border-color: rgba(162, 133, 192, 0.55); box-shadow: var(--shadow-lg); }
.ind-card svg { width: 34px; height: 34px; flex-shrink: 0; fill: none; stroke: var(--violet); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: linear-gradient(180deg, transparent, rgba(10, 17, 32, 0.7) 20%, rgba(10, 17, 32, 0.7) 80%, transparent); }
.proc-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.proc-line::before {
  content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--violet), var(--blue)); opacity: 0.35;
}
.proc-line li { position: relative; text-align: center; padding: 0 8px; }
.proc-line b {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px;
  border-radius: 50%; font-family: var(--font-head); font-size: 20px;
  background: var(--bg-3); border: 2px solid rgba(84, 183, 232, 0.5); color: var(--blue);
  position: relative; z-index: 1; transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s;
}
.proc-line li:hover b { transform: scale(1.12); background: var(--grad-main); color: #06121f; border-color: transparent; }
.proc-line h3 { font-family: var(--font-head); font-size: 16px; margin-bottom: 8px; }
.proc-line p { font-size: 13.5px; color: var(--muted); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.blog-card:hover { border-color: rgba(84, 183, 232, 0.45); box-shadow: var(--shadow-lg); }
.blog-cover {
  position: relative; height: 180px; display: flex; align-items: flex-end; padding: 18px;
  overflow: hidden;
}
.blog-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.cover-questions { background: linear-gradient(130deg, #6e2358, #3c2a72 55%, #123a5e); }
.cover-inspect { background: linear-gradient(130deg, #4a2a72, #2a1b63 55%, #0d1a38); }
.cover-market { background: linear-gradient(130deg, #6e2358, #3c2a72 60%, #0d1a38); }
.blog-cover .blog-cover-img, .article-cover .blog-cover-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.blog-card:hover .blog-cover-img { transform: scale(1.05); }
.cover-icon {
  position: absolute; top: 8px; right: 14px; font-size: 110px; line-height: 1;
  color: rgba(255, 255, 255, 0.10); font-family: var(--font-head);
  transition: transform 0.5s var(--ease-out);
}
.blog-card:hover .cover-icon { transform: scale(1.15) rotate(-6deg); }
.cover-cat {
  position: relative; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(6, 10, 19, 0.65); border: 1px solid var(--card-border);
  padding: 6px 12px; border-radius: 999px; color: var(--blue);
}
.blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-body time { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.blog-body h3 { font-family: var(--font-head); font-size: 18.5px; line-height: 1.32; letter-spacing: -0.01em; }
.blog-body h3 a:hover { color: var(--blue); }
.blog-body p { font-size: 14px; color: var(--muted); flex: 1; }
.read-more { font-size: 13.5px; font-weight: 700; color: var(--magenta); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 14px;
  overflow: hidden; transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(84, 183, 232, 0.45); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 20px 56px 20px 24px; font-family: var(--font-head); font-size: 16px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--blue); transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 54px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: calc(var(--radius) + 8px); padding: 54px;
  position: relative; overflow: hidden;
}
.contact-wrap::before {
  content: ""; position: absolute; top: -40%; right: -18%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(162, 133, 192, 0.20), transparent 70%);
  pointer-events: none;
}
.contact-copy h2 { font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; margin: 14px 0 14px; }
.contact-copy h2 em { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-copy > p { color: var(--muted); margin-bottom: 22px; }
.contact-points { display: grid; gap: 10px; margin-bottom: 30px; }
.contact-points li { position: relative; padding-left: 26px; font-size: 14.5px; color: #c6d5e8; }
.contact-points li::before { content: "→"; position: absolute; left: 0; color: var(--magenta); font-weight: 700; }
.contact-offices { display: grid; gap: 18px; }
.office h4 { font-family: var(--font-head); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.office p { font-size: 14px; color: var(--muted); }
.office a { color: var(--text); border-bottom: 1px dotted rgba(255, 255, 255, 0.35); }
.office a:hover { color: var(--blue); }

.contact-form { display: grid; gap: 16px; align-content: start; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: #c6d5e8; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 14.5px var(--font-body); color: var(--text);
  background: rgba(6, 10, 19, 0.6); border: 1px solid var(--card-border); border-radius: 11px;
  padding: 13px 15px; outline: none; width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form select option { background: var(--bg-3); color: var(--text); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(84, 183, 232, 0.18);
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }

.form-fallback {
  border: 1px solid var(--card-border); border-radius: 14px;
  background: rgba(84, 183, 232, 0.06); padding: 18px 20px;
  display: grid; gap: 12px; text-align: center;
}
.form-fallback[hidden] { display: none; }
.form-fallback-lead { font-size: 13.5px; font-weight: 600; color: #c6d5e8; }
.form-fallback-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.form-fallback-note { font-size: 12.5px; color: var(--muted); }
.form-fallback-note a { color: var(--blue); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.07); background: rgba(4, 7, 13, 0.8); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { height: 44px; width: auto; background: rgba(255, 255, 255, 0.92); border-radius: 10px; padding: 5px 9px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); max-width: 330px; margin-bottom: 18px; }
.footer-lang { width: fit-content; }
.footer-col h4 { font-family: var(--font-head); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; transition: color 0.25s, transform 0.25s; }
.footer-col a:hover { color: var(--blue); transform: translateX(4px); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 22px 0 26px;
  font-size: 12.5px; color: var(--muted);
}
.footer-legal { max-width: 560px; }

/* ---------- to top / toast ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--card-border);
  background: rgba(8, 13, 24, 0.85); color: var(--text); font-size: 20px; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s;
  backdrop-filter: blur(8px);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--grad-main); color: #06121f; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); z-index: 120;
  background: rgba(8, 13, 24, 0.95); border: 1px solid rgba(138, 197, 65, 0.5); color: var(--text);
  padding: 14px 26px; border-radius: 999px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity 0.35s, transform 0.35s;
  box-shadow: var(--shadow-lg); max-width: 90%;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   ARTICLE PAGES
   ============================================================ */
.article-hero { padding: calc(var(--header-h) + 70px) 0 60px; text-align: center; position: relative; overflow: hidden; }
.article-hero .container { max-width: 820px; }
.article-hero h1 { font-family: var(--font-head); font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -0.02em; line-height: 1.12; margin: 18px 0; }
.article-meta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.article-body { max-width: 760px; margin: 0 auto; padding: 20px 0 90px; font-size: 16.5px; }
.article-body h2 { font-family: var(--font-head); font-size: 26px; margin: 44px 0 14px; letter-spacing: -0.01em; }
.article-body h3 { font-family: var(--font-head); font-size: 20px; margin: 30px 0 10px; }
.article-body p { color: #c9d7e9; margin-bottom: 16px; }
.article-body ul, .article-body ol { color: #c9d7e9; margin: 0 0 18px 22px; display: grid; gap: 8px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote {
  border-left: 3px solid var(--blue); padding: 6px 0 6px 20px; margin: 26px 0;
  color: var(--text); font-size: 18px; font-family: var(--font-head);
}
.article-cta {
  margin: 54px 0 0; padding: 36px; text-align: center;
  background: linear-gradient(120deg, rgba(84, 183, 232, 0.10), rgba(162, 133, 192, 0.10));
  border: 1px solid var(--card-border); border-radius: var(--radius);
}
.article-cta h3 { font-family: var(--font-head); font-size: 22px; margin-bottom: 10px; }
.article-cta p { color: var(--muted); margin-bottom: 20px; }
.article-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); background: rgba(84, 183, 232, 0.10); border: 1px solid rgba(84, 183, 232, 0.25); padding: 6px 13px; border-radius: 999px; }
.back-link { display: inline-block; margin-bottom: 8px; font-size: 13.5px; color: var(--muted); }
.back-link:hover { color: var(--blue); }
.article-cover {
  height: 230px; border-radius: 20px; border: 1px solid var(--card-border);
  margin-top: 36px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.article-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.article-cover .cover-icon { font-size: 150px; top: 26px; right: 30px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav-link { padding: 8px 9px; font-size: 13.5px; }
  .brand-text { font-size: 14px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .trainer { grid-template-columns: 1fr; }
  .proc-line { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .proc-line::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 99;
    flex-direction: column; gap: 2px; padding: 18px 4%;
    background: rgba(6, 10, 19, 0.97); border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    transform: translateY(-130%); transition: transform 0.4s var(--ease-out);
  }
  .main-nav.open { transform: none; }
  .nav-link { padding: 13px 16px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 30px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-robot { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 44px; }
  .case, .case-flip { grid-template-columns: 1fr; gap: 34px; }
  .case-flip .case-visual { order: 0; }
  .blog-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; padding: 34px 26px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .show-grid, .media-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .media-grid { margin-bottom: 50px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-strip { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-note { flex-direction: column; text-align: center; }
  .trainer-steps { grid-template-columns: repeat(2, 1fr); }
  .trainer-steps li:not(:last-child)::after { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .hero-stats dd { font-size: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .vision-extra { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .proc-line { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .hero-title { font-size: clamp(29px, 8.2vw, 40px); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-video { animation: none; }
}
