/* ========================================
   MartFlow — Smart Mart Assistant
   Brand color: #005683 (deep teal)
   ======================================== */

:root {
  --brand: #005683;
  --brand-700: #003f61;
  --brand-600: #005683;
  --brand-500: #0a6f96;
  --brand-400: #2c8fb3;
  --brand-100: #e3eef4;
  --brand-50: #f0f7fa;
  --ink: #092c3e;
  --ink-secondary: #3d5c6e;
  --muted: #6b8a99;
  --surface: #ffffff;
  --surface-soft: #f7fafc;
  --surface-blue: #eef5f8;
  --line: #dce7ed;
  --line-soft: #eef3f6;
  --cta: #e96c4c;
  --cta-hover: #d35a3b;
  --ok: #27a16b;
  --warn: #f5a623;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 4px 20px rgba(9, 44, 62, 0.06);
  --shadow-md: 0 10px 36px rgba(9, 44, 62, 0.1);
  --shadow-lg: 0 20px 56px rgba(9, 44, 62, 0.15);
  --maxw: 1200px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4,
.metric-card .value,
.hero-stats strong,
.case-card .case-stats strong,
.footer-brand,
.cta-title {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

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

.section {
  padding: clamp(72px, 9vw, 110px) 0;
}

.section-alt {
  background: var(--surface-blue);
}

.section-dark {
  background: linear-gradient(160deg, #07344e 0%, #052a40 55%, #041f30 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(138, 212, 237, 0.14), transparent 60%),
    radial-gradient(600px 360px at 8% 100%, rgba(138, 212, 237, 0.08), transparent 55%);
  pointer-events: none;
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: var(--surface-blue);
  border: 1px solid rgba(0, 86, 131, 0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
}

.section-dark .section-label {
  color: #8ad4ed;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.section-title {
  font-size: clamp(30px, 4.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.section-dark .section-title,
.section-dark .section-sub,
.section-dark .section-label { color: #fff; }

.section-sub {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ink-secondary);
  line-height: 1.7;
}

.section-dark .section-sub { opacity: 0.85; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 86, 131, 0.28);
}

.btn-primary:hover {
  background: var(--brand-700);
  box-shadow: 0 16px 34px rgba(0, 86, 131, 0.32);
}

.btn-white {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.btn-white:hover { color: var(--brand-700); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-outline-dark {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline-dark:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-50);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-block { width: 100%; }

/* Navigation — light glass bar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid rgba(9, 44, 62, 0.07);
  transition: box-shadow 0.3s, background 0.3s;
}

.nav.scrolled {
  box-shadow: 0 12px 40px rgba(2, 30, 46, 0.1);
  background: #fff;
}

/* Top utility bar */

.utility-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  transition: color 0.2s;
}

.utility-link:hover { color: #fff; }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 13px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav-item a,
.nav-item button {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 11px 16px;
  border-radius: 10px;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav-item a:hover,
.nav-item button:hover {
  color: var(--brand);
  background: var(--brand-50);
}

.nav-item a.active {
  color: var(--brand);
}

.nav-item.has-dropdown {
  position: relative;
}

.nav-item.has-dropdown > a::after {
  content: "▾";
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.6;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(9, 44, 62, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(2, 30, 46, 0.16);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.dd-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dd-ico svg { width: 17px; height: 17px; }

.nav-dropdown.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 430px;
  gap: 6px;
}

.nav-dropdown a:hover {
  background: var(--brand-50);
  color: var(--brand);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}

.nav-logo img {
  display: block;
  height: 26px;
  width: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-dev {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 8px 4px;
  transition: color 0.2s;
}

.nav-dev:hover { color: var(--brand); }

/* Rectangular CTA in the navbar */
.nav-cta {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  border-radius: 10px;
  min-height: 34px;
  padding: 0 17px;
  font-size: 13px;
  font-weight: 600;
  margin-left: 2px;
}

.nav-cta:hover {
  color: #fff;
  background: var(--brand-700);
  border-color: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 108, 166, 0.18);
}

/* Products dropdown — three categories */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.lang-switch i {
  width: 1px;
  height: 12px;
  background: var(--line);
}

.lang-btn {
  background: none;
  border: 0;
  padding: 4px 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
}

.lang-btn.active {
  color: var(--brand-500);
  font-weight: 700;
}

.nav-burger {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--ink);
  cursor: pointer;
}

/* Hero — light theme */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f3f7fa 0%, #e9f1f6 100%);
  color: var(--ink);
  padding: 170px 0 150px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 520px at 85% -8%, rgba(10, 111, 150, 0.14), transparent 62%),
    radial-gradient(900px 500px at 8% 12%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(700px 400px at 92% 88%, rgba(10, 111, 150, 0.08), transparent 55%),
    radial-gradient(560px 560px at var(--mx, 72%) var(--my, 28%), rgba(10, 111, 150, 0.12), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 86, 131, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 131, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 500px at 70% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(900px 500px at 70% 20%, #000, transparent 70%);
  pointer-events: none;
}

/* Hero ambient orbs — slow drift + cursor glow (--mx/--my set from JS) */
.hero-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-fx .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  will-change: transform;
}

.orb-a {
  width: 480px;
  height: 480px;
  right: -6%;
  top: -18%;
  background: radial-gradient(circle at 35% 35%, rgba(44, 143, 179, 0.35), rgba(44, 143, 179, 0) 70%);
  animation: orbFloatA 16s ease-in-out infinite alternate;
}

.orb-b {
  width: 380px;
  height: 380px;
  right: 26%;
  bottom: -22%;
  background: radial-gradient(circle at 40% 40%, rgba(0, 86, 131, 0.28), rgba(0, 86, 131, 0) 70%);
  animation: orbFloatB 20s ease-in-out infinite alternate;
}

.orb-c {
  width: 300px;
  height: 300px;
  left: -4%;
  bottom: -14%;
  background: radial-gradient(circle at 40% 40%, rgba(10, 111, 150, 0.22), rgba(10, 111, 150, 0) 70%);
  animation: orbFloatC 14s ease-in-out infinite alternate;
}

@keyframes orbFloatA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-60px, 50px) scale(1.12); }
}

@keyframes orbFloatB {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, -40px) scale(0.92); }
}

@keyframes orbFloatC {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -30px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fx .orb { animation: none; }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-400);
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-title .pre {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 0.14em;
}

.hero-title .pre::before {
  content: "";
  width: 8px;
  height: 0.85em;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand-400) 0%, var(--brand) 100%);
}

.hero-title .accent {
  background: linear-gradient(115deg, #003f61 0%, #0a6f96 55%, #2c8fb3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 54px;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 32px;
  font-weight: 800;
}

.hero-stats span {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(10, 111, 150, 0.12);
  filter: blur(70px);
  z-index: 0;
}

/* Hero — store edition first, group edition slides in from the right on scroll */
.hero-visual {
  position: relative;
  display: block;
  width: 100%;
  min-height: 500px;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  will-change: transform;
}

.hero-shot {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  pointer-events: none;
}

.hero-shot.is-on {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-visual.is-group .hero-shot[data-shot="store"] {
  opacity: 0;
  transform: translateX(-52px);
}

.hero-visual.is-group .hero-shot[data-shot="group"] {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(9, 44, 62, 0.08);
  display: block;
}

.hero-shot.is-photo img {
  width: 128%;
  max-width: none;
  margin-left: -14%;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.hero-shot figcaption {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.hero-agents {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ha-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(9, 44, 62, 0.06);
  transition: all 0.25s var(--ease);
}

.ha-chip:hover {
  background: var(--brand-50);
  border-color: var(--brand-400);
  transform: translateY(-2px);
}

.ha-ico {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--ac, var(--brand-500));
}

.ha-ico svg { width: 15px; height: 15px; }
.ha-name { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink); }
.ha-role { font-size: 11px; color: var(--muted); }

/* Floating agent chips overlaid on the hero store photo */
.hero-float {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hf-arc {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hf-arc .ha-chip {
  position: absolute;
  white-space: nowrap;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 20px rgba(9, 44, 62, 0.14);
  animation: hf-float 5.2s ease-in-out infinite;
}

.hf-arc .ha-chip:nth-child(1) { animation-delay: 0s; }
.hf-arc .ha-chip:nth-child(2) { animation-delay: -0.9s; }
.hf-arc .ha-chip:nth-child(3) { animation-delay: -1.8s; }
.hf-arc .ha-chip:nth-child(4) { animation-delay: -2.6s; }
.hf-arc .ha-chip:nth-child(5) { animation-delay: -3.3s; }
.hf-arc .ha-chip:nth-child(6) { animation-delay: -4.1s; }
.hf-arc .ha-chip:nth-child(7) { animation-delay: -4.8s; }

@keyframes hf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 1024px) {
  .hero-float { display: none; }
}

/* Trust bar */
.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 0;
}

/* Showcase — dark product & services carousel */
.showcase {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(18, 135, 177, 0.35), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(0, 86, 131, 0.45), transparent 55%),
    linear-gradient(160deg, #061e2c 0%, #0a3a52 52%, #0d4a68 100%);
  color: #eaf4f9;
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 400px at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.showcase-head {
  position: relative;
  text-align: center;
  margin-bottom: 44px;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 34px;
}

.sc-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 0;
}

.sc-tab {
  position: relative;
  background: none;
  border: 0;
  padding: 10px 2px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(234, 244, 249, 0.55);
  cursor: pointer;
  transition: color 0.2s;
}

.sc-tab:hover { color: rgba(234, 244, 249, 0.9); }

.sc-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4fc3e8, var(--brand-500));
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.sc-tab.active { color: #fff; font-weight: 700; }

.sc-tab.active::after { width: 100%; }

.sc-cards {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.55fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.sc-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.sc-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 300px;
  padding: 30px 26px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}

.sc-side:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

.sc-side-ico {
  color: rgba(234, 244, 249, 0.4);
  transition: color 0.3s;
}

.sc-side-ico svg { width: 34px; height: 34px; }

.sc-side:hover .sc-side-ico { color: rgba(234, 244, 249, 0.8); }

.sc-side-label {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  color: rgba(234, 244, 249, 0.85);
}

.sc-side-more {
  font-size: 13px;
  color: rgba(234, 244, 249, 0.45);
  transition: color 0.3s, transform 0.3s var(--ease);
}

.sc-side:hover .sc-side-more { color: #4fc3e8; transform: translateX(4px); }

.sc-main {
  display: flex;
  min-height: 300px;
  padding: 38px 40px;
  background: linear-gradient(150deg, rgba(79, 195, 232, 0.16), rgba(255, 255, 255, 0.07) 45%, rgba(0, 86, 131, 0.25));
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(3, 18, 27, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.sc-main-txt { position: relative; z-index: 1; max-width: 75%; }

.sc-main h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  color: #fff;
}

.sc-main h3 em {
  font-style: normal;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7fd4ee;
  margin-left: 6px;
}

.sc-main p {
  margin: 0 0 26px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(234, 244, 249, 0.78);
}

.sc-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(3, 18, 27, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.sc-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(3, 18, 27, 0.45);
  color: var(--brand-700);
}

.sc-main-ico {
  position: absolute;
  right: 26px;
  bottom: 20px;
  color: rgba(127, 212, 238, 0.5);
  pointer-events: none;
}

.sc-main-ico svg { width: 84px; height: 84px; }

@media (max-width: 900px) {
  .sc-cards { grid-template-columns: 1fr; }
  .sc-side { min-height: 0; flex-direction: row; align-items: center; }
  .sc-side-label { font-size: 17px; }
  .sc-main-txt { max-width: 100%; }
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-secondary);
  opacity: 0.7;
}

/* Cards */
.cards-4,

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(9, 44, 62, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-100);
}

.card-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card-ico svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}

.card p {
  font-size: 15.5px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

/* Problems — one row, four circles */
#problems .cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
}

#problems .card {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 10px 6px;
  text-align: center;
}

#problems .card-ico {
  width: 116px;
  height: 104px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: inherit;
  margin: 0 auto 8px;
  transition: transform 0.25s var(--ease), filter 0.25s;
}

#problems .card-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#problems .card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

#problems .card:hover .card-ico {
  transform: translateY(-5px);
  filter: drop-shadow(0 14px 18px rgba(18, 110, 177, 0.22));
}

/* Auto-cycle highlight (lit) — float-in animation per switch */
#problems .card.lit .card-ico {
  animation: icoFloat 2s var(--ease-out) both;
  filter: drop-shadow(0 16px 22px rgba(18, 110, 177, 0.38));
}

@keyframes icoFloat {
  0% { transform: translateY(6px) scale(1); }
  30% { transform: translateY(-12px) scale(1.08); }
  62% { transform: translateY(-7px) scale(1.06); }
  100% { transform: translateY(-9px) scale(1.07); }
}

#problems .card.lit h3 {
  color: var(--brand);
  transition: color 0.3s;
}

@media (max-width: 720px) {
  #problems .cards-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.split-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split-body .section-label {
  margin-bottom: 14px;
}

.split-body h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--ink);
}

.split-body p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink-secondary);
}

.check-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Architecture section: pill tabs + soft panels (ref-style) ===== */
#architecture .arch-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 4px 0 44px;
}

#architecture .arch-tab {
  padding: 12px 28px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-soft);
  color: var(--brand);
  font-size: 15.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}

#architecture .arch-tab:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

#architecture .arch-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

#architecture .arch-panel {
  background: #f3f7fa;
  border-radius: 28px;
  padding: 52px 56px;
  scroll-margin-top: 96px;
}

#architecture .arch-panel + .arch-panel {
  margin-top: 44px;
}

#architecture .arch-panel .split-visual {
  background: #fff;
  padding: 16px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

#architecture .arch-panel .split-visual img {
  border-radius: 14px;
  box-shadow: none;
}

#architecture .arch-panel .split-body h2 {
  color: var(--brand-700);
}

#architecture .arch-panel .check-list li::before {
  background: #e5f7ee;
  color: #149b66;
}

@media (max-width: 1024px) {
  #architecture .arch-panel {
    padding: 36px 28px;
  }
}

/* Feature grid */

/* Timeline */

/* Metrics */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.metric-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--line-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.metric-card .value {
  font-size: 42px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
}

.metric-card .unit {
  font-size: 18px;
  color: var(--brand-500);
}

.metric-card .label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-secondary);
}

/* Scale & ROI — premium dark band */
.scale-premium {
  position: relative;
  background: linear-gradient(160deg, #07344e 0%, #052a40 55%, #041f30 100%);
  color: #fff;
  overflow: hidden;
}

.scale-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(138, 212, 237, 0.14), transparent 60%),
    radial-gradient(600px 360px at 8% 100%, rgba(138, 212, 237, 0.08), transparent 55%);
  pointer-events: none;
}

.scale-premium .container {
  position: relative;
  z-index: 1;
}

.scale-premium .section-label {
  background: rgba(138, 212, 237, 0.12);
  border-color: rgba(138, 212, 237, 0.25);
  color: #8ad4ed;
}

.scale-premium .section-title {
  color: #fff;
}

.scale-premium .split-body h2 {
  color: #fff;
}

.scale-premium .split-body p {
  color: rgba(255, 255, 255, 0.72);
}

.scale-premium .check-list li {
  color: rgba(255, 255, 255, 0.8);
}

.scale-premium .check-list li::before {
  background: rgba(138, 212, 237, 0.15);
  color: #8ad4ed;
  border: 1px solid rgba(138, 212, 237, 0.3);
}

.scale-premium .split-visual {
  position: relative;
}

.scale-premium .split-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}

.scale-premium .split-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(138, 212, 237, 0.35), transparent 35%, transparent 65%, rgba(138, 212, 237, 0.18));
  z-index: -1;
  filter: blur(14px);
  opacity: 0.6;
}

.scale-premium .metric-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.scale-premium .metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(138, 212, 237, 0.65), transparent);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.scale-premium .metric-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(138, 212, 237, 0.4);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.scale-premium .metric-card:hover::before {
  opacity: 1;
}

.scale-premium .metric-card .value {
  background: linear-gradient(120deg, #a9e2f7 0%, #ffffff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.scale-premium .metric-card .unit {
  color: rgba(169, 226, 247, 0.75);
}

.scale-premium .metric-card .label {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 768px) {
  .scale-premium .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Agent-native strip — platform cards + evolution steps */
.strip-premium {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
  padding: clamp(56px, 7vw, 80px) 0;
}

.strip-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0 44px;
}

.strip-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.strip-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.strip-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 86, 131, 0.25);
  box-shadow: var(--shadow-md);
}

.strip-card:hover::after {
  transform: scaleX(1);
}

.strip-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand);
  display: grid;
  place-items: center;
  grid-row: span 3;
  transition: background 0.3s, color 0.3s;
}

.strip-ico svg {
  width: 23px;
  height: 23px;
}

.strip-card:hover .strip-ico {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
}

.strip-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.strip-card p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.strip-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-500);
  transition: gap 0.25s var(--ease-out), color 0.25s;
}

.strip-card:hover .strip-more {
  gap: 12px;
  color: var(--brand-700);
}

.strip-waves {
  border-top: 1px solid var(--line-soft);
  padding-top: 32px;
}

.strip-waves-lead {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.strip-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.35fr;
  align-items: stretch;
  gap: 16px;
}

.strip-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.strip-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 86, 131, 0.22);
}

.strip-step-no {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}

.strip-step h5 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.strip-step p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.strip-step.is-active {
  background: linear-gradient(150deg, #07344e 0%, #052a40 100%);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(5, 42, 64, 0.28);
}

.strip-step.is-active .strip-step-no {
  color: #8ad4ed;
}

.strip-step.is-active h5 {
  color: #fff;
}

.strip-step.is-active p {
  color: rgba(255, 255, 255, 0.72);
}

.strip-step-arrow {
  align-self: center;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
}

.strip-cta {
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .strip-cards {
    grid-template-columns: 1fr;
    margin: 32px 0 44px;
  }
  .strip-steps {
    grid-template-columns: 1fr;
  }
  .strip-step-arrow {
    transform: rotate(90deg);
    justify-self: center;
    padding: 2px 0;
  }
}

/* CTA section */
.cta-section {
  position: relative;
  background: linear-gradient(120deg, #0a6f96 0%, var(--brand) 45%, #00334e 100%);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 82% 0%, rgba(138, 212, 237, 0.22), transparent 60%),
    radial-gradient(600px 380px at 6% 100%, rgba(138, 212, 237, 0.1), transparent 55%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.cta-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
}

.cta-sub {
  font-size: 18px;
  opacity: 0.88;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--surface-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 86, 131, 0.08);
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 0;
}

.form-success.show { display: block; }

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-desc {
  font-size: 15px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14.5px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* =====================================================
   SaaS additions: product matrix, feature tabs, industries,
   developer center, case studies, bento grids, glass cards
   ===================================================== */

/* Product matrix / bento */

/* Feature tabs */
.feature-tabs {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
}

.tab-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.tab-btn:hover {
  background: var(--surface);
  border-color: var(--line-soft);
}

.tab-btn.active {
  background: #fff;
  border-color: var(--brand-100);
  box-shadow: var(--shadow);
}

.tab-btn .t-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tab-btn.active .t-ico {
  background: var(--brand);
  color: #fff;
}

.tab-btn .t-ico svg {
  width: 22px;
  height: 22px;
}

.tab-btn .t-text h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.tab-btn .t-text p {
  font-size: 13px;
  color: var(--muted);
}

.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.45s var(--ease-out);
}

.tab-panel.active {
  display: block;
}

.tab-panel-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.tab-panel-visual img {
  width: 100%;
}

.tab-panel-body {
  margin-top: 24px;
}

.tab-panel-body h3 {
  font-size: clamp(21px, 2.6vw, 24px);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}

.tab-panel-body p {
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Capabilities dark theme (section-dark) */
#capabilities .tab-panel-visual img {
  height: 185px;
  object-fit: cover;
  object-position: top center;
}

#capabilities .tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

#capabilities .tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

#capabilities .tab-btn.active {
  background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-600) 100%);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(4, 40, 64, 0.5);
}

#capabilities .tab-btn .t-text h4 { color: #fff; }

#capabilities .tab-btn .t-text p { color: rgba(255, 255, 255, 0.62); }

#capabilities .tab-btn .t-ico {
  background: transparent;
  border: none;
  width: 52px;
  height: 52px;
}

#capabilities .tab-btn.active .t-ico {
  background: transparent;
}

#capabilities .tab-btn .t-ico img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(2, 20, 32, 0.35));
}

#capabilities .tab-panel-visual {
  background: rgba(4, 31, 48, 0.6);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(2, 20, 32, 0.5), 0 0 0 1px rgba(138, 212, 237, 0.08);
}

#capabilities .tab-panel-body h3 { color: #fff; }

#capabilities .tab-panel-body p { color: rgba(255, 255, 255, 0.65); }

#capabilities .check-list li { color: rgba(255, 255, 255, 0.78); }

#capabilities .check-list li::before {
  background: linear-gradient(135deg, #35a9dd 0%, #0a5e96 100%);
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Industry cards */
.industry-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.industry-grid::-webkit-scrollbar {
  display: none;
}

.industry-card {
  flex: 0 0 calc(25% - 17px);
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .industry-card {
    flex-basis: calc(33.333% - 15px);
  }
}

@media (max-width: 768px) {
  .industry-card {
    flex-basis: calc(60% - 14px);
  }
}

.ind-scroll-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.ind-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

.ind-arrow:hover {
  transform: translateY(-2px);
  background: var(--brand);
  color: #fff;
}

.industry-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.industry-card .ind-img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.industry-card .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin: -24px 24px 16px;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow);
  position: relative;
}

.industry-card .ico svg {
  width: 22px;
  height: 22px;
}

.industry-card h3 {
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 800;
  margin: 0 24px 10px;
  color: var(--ink);
}

.industry-card p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin: 0 24px 16px;
}

.industry-card .pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 24px 26px;
}

.pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-50);
  padding: 6px 10px;
  border-radius: 999px;
}

/* Developer center */
.dev-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dev-terminal {
  background: #0b1d26;
  border-radius: var(--radius-lg);
  padding: 24px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  color: #e0f2f8;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.dev-terminal .term-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.dev-terminal .term-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dev-terminal .term-bar span:nth-child(1) { background: #ff5f57; }
.dev-terminal .term-bar span:nth-child(2) { background: #febc2e; }
.dev-terminal .term-bar span:nth-child(3) { background: #28c840; }

.dev-terminal .line {
  margin-bottom: 10px;
  opacity: 0.9;
}

.dev-terminal .line .kw { color: #8ad4ed; }
.dev-terminal .line .str { color: #a8e6cf; }
.dev-terminal .line .cm { color: #6b8a99; }

.dev-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dev-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.dev-links a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Developer section is dark: restyle link buttons for contrast */
#developers .dev-links a {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

#developers .dev-links a:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand-700);
  transform: translateY(-2px);
}

#developers .dev-links a:active {
  background: var(--brand-100);
  border-color: var(--brand-100);
  color: var(--brand-700);
}

/* Case studies */
.case-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.case-grid::-webkit-scrollbar { display: none; }

.case-grid > .case-card {
  flex: 0 0 calc(25% - 18px);
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .case-grid > .case-card { flex-basis: calc(50% - 12px); }
}

@media (max-width: 768px) {
  .case-grid > .case-card { flex-basis: 82%; }
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.case-card .case-img {
  height: 180px;
  background: var(--surface-blue);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  overflow: hidden;
}
.case-card .case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.case-card:hover .case-img img {
  transform: scale(1.07);
}

.case-card .case-body {
  padding: 24px;
}

.case-card .case-meta {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.case-card h3 {
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}

.case-card p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.case-card .case-stats {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.case-card .case-stats strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}

.case-card .case-stats span {
  font-size: 12px;
  color: var(--muted);
}

/* Widen the cases section content slightly */
#cases .container {
  max-width: 1400px;
}

/* Integration strip */

/* Glass cards for dark sections */

/* Data capability mini cards */
.data-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.data-cap-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.data-cap-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.data-cap-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--line-soft);
}

.data-cap-card .cap-body {
  padding: 22px;
}

.data-cap-card h4 {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
}

.data-cap-card p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* Capability list on dark */
.cap-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cap-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.cap-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* AI Assistant */
.ai-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.ai-copy .cap-list {
  grid-template-columns: 1fr;
  margin-top: 14px;
}

.ai-suggest {
  margin-top: 30px;
}

.ai-suggest-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.ai-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-pill {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: left;
}

.ai-pill:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 86, 131, 0.22);
}

.ai-chat {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 470px;
}

.ai-chat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}

.ai-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-500) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ai-avatar svg { width: 22px; height: 22px; }

.ai-chat-head strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.ai-status {
  font-size: 12.5px;
  color: var(--ok);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ai-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(39, 161, 107, 0.18);
}

.ai-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface-soft);
}

.ai-msg {
  display: flex;
  gap: 10px;
  max-width: 88%;
}

.ai-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-msg .av {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.ai-msg.ai .av { background: var(--brand); color: #fff; }
.ai-msg.user .av { background: var(--ink); color: #fff; }

.ai-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  word-break: break-word;
}

.ai-msg.ai .ai-bubble {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top-left-radius: 4px;
  color: var(--ink-secondary);
}

.ai-msg.user .ai-bubble {
  background: var(--brand);
  color: #fff;
  border-top-right-radius: 4px;
}

@keyframes aiBlink {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.ai-input {
  display: flex;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--line-soft);
  background: #fff;
}

.ai-input input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}

.ai-input input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}

.ai-send {
  border: 0;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.ai-send:hover { background: var(--brand-700); }
.ai-send:disabled { opacity: 0.5; cursor: default; }

/* AI chat — premium dark theme */
.ai-chat {
  background: linear-gradient(165deg, #0c2c46 0%, #072138 55%, #051a2b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(4, 30, 48, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ai-chat-head {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ai-chat-head strong { color: #fff; }

.ai-avatar {
  background: linear-gradient(135deg, #35a9dd 0%, #0a5e96 100%);
  box-shadow: 0 6px 16px rgba(53, 169, 221, 0.35);
  border-radius: 50%;
}

.ai-chat-body {
  background: transparent;
}

.ai-chat-body::-webkit-scrollbar { width: 6px; }
.ai-chat-body::-webkit-scrollbar-track { background: transparent; }
.ai-chat-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; }

.ai-msg.ai .av {
  background: linear-gradient(135deg, #35a9dd 0%, #0a5e96 100%);
  color: #fff;
}

.ai-msg.user .av { background: rgba(255, 255, 255, 0.15); color: #fff; }

.ai-msg.ai .ai-bubble {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(2, 16, 26, 0.25);
}

.ai-msg.user .ai-bubble {
  background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-600) 100%);
  box-shadow: 0 8px 20px rgba(44, 143, 179, 0.3);
}

.ai-input {
  background: rgba(255, 255, 255, 0.04);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.ai-input input {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.ai-input input::placeholder { color: rgba(255, 255, 255, 0.45); }

.ai-input input:focus {
  border-color: rgba(138, 212, 237, 0.6);
  box-shadow: 0 0 0 3px rgba(138, 212, 237, 0.15);
}

.ai-send {
  background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-600) 100%);
  box-shadow: 0 6px 16px rgba(44, 143, 179, 0.35);
}

.ai-send:hover { filter: brightness(1.1); background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-600) 100%); }

/* AI robot background decorations — large soft blobs */
.ai-robot .r-deco {
  position: absolute;
  inset: -30px -60px;
  pointer-events: none;
  z-index: 0;
}

.r-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.r-blob.b1 {
  width: 300px;
  height: 300px;
  left: 50%;
  top: 46%;
  margin: -150px 0 0 -150px;
  background: radial-gradient(circle, rgba(53, 196, 240, 0.18) 0%, rgba(53, 196, 240, 0.06) 50%, transparent 72%);
  animation: rBlobDrift 7s ease-in-out infinite;
}

.r-blob.b2 {
  width: 380px;
  height: 380px;
  left: 50%;
  top: 40%;
  margin: -190px 0 0 -190px;
  background: radial-gradient(circle, rgba(44, 143, 179, 0.1) 0%, rgba(44, 143, 179, 0.03) 55%, transparent 75%);
  animation: rBlobDrift 9s ease-in-out infinite reverse;
}

.r-blob.b3 {
  width: 200px;
  height: 200px;
  left: 50%;
  top: 58%;
  margin: -100px 0 0 -100px;
  background: radial-gradient(circle, rgba(124, 199, 232, 0.16) 0%, transparent 70%);
  animation: rBlobDrift 5.5s ease-in-out infinite;
}

@keyframes rBlobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -12px) scale(1.06); }
}
/* AI robot animation */
.ai-robot {
  position: relative;
  width: 230px;
  height: 205px;
  margin: 0 auto 18px;
}

.ai-robot-inner {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 150px;
  margin-left: -75px;
  animation: rFloat 3.2s ease-in-out infinite;
  z-index: 1;
}

@keyframes rFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.r-antenna {
  width: 4px;
  height: 18px;
  background: #d7e3ee;
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.r-antenna i {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #35c4f0;
  box-shadow: 0 0 12px 3px rgba(53, 196, 240, 0.55);
  animation: rPulse 1.8s ease-in-out infinite;
}

@keyframes rPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

.r-head {
  width: 118px;
  height: 66px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #e8f0f7 100%);
  border-radius: 30px;
  box-shadow: 0 10px 24px rgba(7, 40, 64, 0.18), inset 0 -3px 6px rgba(0, 86, 131, 0.08);
  padding: 12px 16px;
}

.r-face {
  height: 100%;
  background: linear-gradient(180deg, #0a2438 0%, #062033 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45);
}

.r-eye {
  width: 14px;
  height: 18px;
  border-radius: 8px;
  background: #4fd8ff;
  box-shadow: 0 0 10px 2px rgba(79, 216, 255, 0.75);
  animation: rBlink 4.6s infinite;
}

@keyframes rBlink {
  0%, 46%, 52%, 100% { transform: scaleY(1); }
  49% { transform: scaleY(0.12); }
}

.r-body {
  width: 92px;
  height: 66px;
  margin: 6px auto 0;
  background: linear-gradient(180deg, #ffffff 0%, #e3edf6 100%);
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(7, 40, 64, 0.16);
  display: grid;
  place-items: center;
}

.r-core {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9feaff 0%, #2c8fb3 60%, #0a5e96 100%);
  box-shadow: 0 0 14px 3px rgba(53, 196, 240, 0.5);
  animation: rCore 2.4s ease-in-out infinite;
}

@keyframes rCore {
  0%, 100% { transform: scale(1); box-shadow: 0 0 14px 3px rgba(53, 196, 240, 0.5); }
  50% { transform: scale(1.18); box-shadow: 0 0 22px 6px rgba(53, 196, 240, 0.7); }
}

.r-arm {
  position: absolute;
  top: 92px;
  width: 16px;
  height: 44px;
  background: linear-gradient(180deg, #f2f7fb 0%, #d9e5ef 100%);
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(7, 40, 64, 0.14);
}

.r-arm.r-left { left: 4px; transform-origin: top center; animation: rWaveL 3.2s ease-in-out infinite; }
.r-arm.r-right { right: 4px; transform-origin: top center; animation: rWaveR 2.1s ease-in-out infinite; }

@keyframes rWaveL {
  0%, 100% { transform: rotate(8deg); }
  50% { transform: rotate(-6deg); }
}

@keyframes rWaveR {
  0%, 100% { transform: rotate(-30deg); }
  50% { transform: rotate(-80deg); }
}

.r-shadow {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 110px;
  height: 16px;
  margin-left: -55px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(7, 40, 64, 0.22) 0%, transparent 70%);
  animation: rShadow 3.2s ease-in-out infinite;
}

@keyframes rShadow {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.82); opacity: 0.7; }
}

.r-orbit span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35c4f0;
  box-shadow: 0 0 8px 2px rgba(53, 196, 240, 0.5);
  opacity: 0;
  animation: rOrbit 4s linear infinite;
}

.r-orbit span:nth-child(1) { left: 18px; bottom: 30px; animation-delay: 0s; }
.r-orbit span:nth-child(2) { right: 18px; bottom: 60px; animation-delay: 1.3s; }
.r-orbit span:nth-child(3) { left: 42px; bottom: 80px; animation-delay: 2.6s; }

@keyframes rOrbit {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translateY(-90px) scale(0.4); opacity: 0; }
}

.ai-library {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  margin-top: 64px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ai-library h4 {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.ai-library p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.ai-library-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
}

.ai-library-img img {
  width: 100%;
  display: block;
}

/* Reveal animations — content is hidden only when JS is active.
   app.js adds the .js class to <html>; if the script fails to load/parse/run,
   .reveal keeps its default (visible) state, so the page is never blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 78px 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-group {
  margin-bottom: 8px;
}

.mobile-group .mobile-label {
  display: block;
  padding: 12px 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-group a {
  padding-left: 16px;
  border-bottom: 0;
  font-weight: 500;
  color: var(--ink-secondary);
}

.mobile-menu > .btn {
  display: inline-flex;
  width: auto;
  margin-top: 10px;
  border-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split.reverse { direction: ltr; }

  .hero-visual {
    order: -1;
  }

}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .section-title { font-size: 30px; }

  .hero { padding: 110px 0 70px; }

  .hero-title { font-size: 38px; }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .trust-logos {
    flex-wrap: wrap;
    gap: 18px;
  }

  .nav-menu,
  .nav-actions .btn {
    display: none;
  }

  .nav-burger { display: block; }

  .nav { top: 0; }

  .form-row { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Responsive: new SaaS components */
@media (max-width: 1024px) {

  .feature-tabs {
    grid-template-columns: 1fr;
  }

  .tab-bar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 1 1 240px;
  }

  .industry-grid,
  .case-grid,
  .data-cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dev-hero {
    grid-template-columns: 1fr;
  }

  .dev-terminal {
    order: -1;
  }

  .cap-list {
    grid-template-columns: 1fr;
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ai-chat { height: 420px; }

  .ai-library {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ai-library-img { order: -1; }

}

@media (max-width: 768px) {

  .tab-btn {
    flex: 1 1 100%;
  }

  .industry-grid,
  .case-grid,
  .data-cap-grid {
    grid-template-columns: 1fr;
  }

  .case-card .case-stats {
    flex-direction: column;
    gap: 12px;
  }

}

/* ===== Subpage layout (multi-page site) ===== */
.page-hero {
  padding: 152px 0 64px;
  background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Store edition hero — dark photographic background */
.page-hero-store {
  position: relative;
  background: #061825;
  border-bottom: 1px solid rgba(138, 212, 237, 0.14);
  overflow: hidden;
  height: 715px;
  display: flex;
  align-items: center;
}

.page-hero-store::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/raw/hero-store-dark.jpg") center / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.page-hero-store::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 22, 33, 0.9) 0%, rgba(4, 22, 33, 0.62) 45%, rgba(4, 22, 33, 0.12) 100%);
  pointer-events: none;
}

.page-hero-store .page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero-store .breadcrumb,
.page-hero-store .breadcrumb a { color: rgba(255, 255, 255, 0.6); }

.page-hero-store .breadcrumb a:hover { color: #8ad4ed; }

.page-hero-store .breadcrumb .current { color: #fff; }

.page-hero-store .page-eyebrow {
  color: #8ad4ed;
  background: rgba(138, 212, 237, 0.1);
  border-color: rgba(138, 212, 237, 0.35);
  backdrop-filter: blur(6px);
}

.page-hero-store .page-title { color: #fff; }

.page-hero-store .page-lead { color: rgba(255, 255, 255, 0.78); }

.page-hero-store .tag {
  background: rgba(138, 212, 237, 0.12);
  border-color: rgba(138, 212, 237, 0.28);
  color: rgba(255, 255, 255, 0.88);
}

/* Shared dark photographic hero for subpages — each page gets its own image */
.page-hero-dark {
  background: #061825;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.page-hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-img, none) center / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.page-hero-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 22, 33, 0.9) 0%, rgba(4, 22, 33, 0.62) 45%, rgba(4, 22, 33, 0.12) 100%);
  pointer-events: none;
}

.page-hero-dark .page-hero-inner { position: relative; z-index: 1; }

.page-hero-dark .breadcrumb,
.page-hero-dark .breadcrumb a { color: rgba(255, 255, 255, 0.6); }

.page-hero-dark .breadcrumb a:hover { color: #8ad4ed; }

.page-hero-dark .breadcrumb .current { color: #fff; }

.page-hero-dark .page-eyebrow {
  color: #8ad4ed;
  background: rgba(138, 212, 237, 0.1);
  border-color: rgba(138, 212, 237, 0.35);
  backdrop-filter: blur(6px);
}

.page-hero-dark .page-title { color: #fff; }

.page-hero-dark .page-lead { color: rgba(255, 255, 255, 0.78); }

.page-hero-dark .tag {
  background: rgba(138, 212, 237, 0.12);
  border-color: rgba(138, 212, 237, 0.28);
  color: rgba(255, 255, 255, 0.88);
}

.page-hero-dark .btn-outline-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.page-hero-dark .btn-outline-dark:hover {
  border-color: #8ad4ed;
  color: #8ad4ed;
  background: rgba(138, 212, 237, 0.1);
}

.page-hero-products { --hero-img: url("../assets/raw/hero-products.jpg"); }
.page-hero-edge { --hero-img: url("../assets/raw/hero-edge.jpg"); }
.page-hero-ops { --hero-img: url("../assets/raw/hero-ops.jpg"); }
.page-hero-about { --hero-img: url("../assets/raw/hero-about.jpg"); }
.page-hero-dev { --hero-img: url("../assets/raw/hero-dev.jpg"); }
.page-hero-cases { --hero-img: url("../assets/raw/hero-cases.jpg"); }
.page-hero-ai { --hero-img: url("../assets/raw/hero-ai.jpg"); }

/* Solutions / Cases / About heroes — same band size and title position as the Group Edition hero */
.page-hero-sol, .page-hero-about, .page-hero-cases {
  min-height: 658px;
  box-sizing: border-box;
  padding-top: 164px;
  padding-bottom: 64px;
}
/* pages whose hero carries a breadcrumb need less top padding to land the title at the same spot */
.page-hero-sol-detail { padding-top: 120px; }
/* About hero: push the title block further down */
.page-hero-about { padding-top: 250px; }
/* Cases hero: same treatment */
.page-hero-cases { padding-top: 250px; }
/* Solutions / Cases / About hero content: left-aligned text inside a horizontally centered container */
.page-hero-sol .page-hero-inner,
.page-hero-about .page-hero-inner,
.page-hero-cases .page-hero-inner { text-align: left; }
@media (max-width: 900px) {
  .page-hero-sol, .page-hero-about, .page-hero-cases { min-height: 0; }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

.page-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.page-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 760px;
}

.page-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Detail two-column */
.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.detail-grid.reverse .media-ph { order: -1; }

.detail-copy h2 {
  font-size: 30px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.detail-copy p { color: var(--ink-secondary); line-height: 1.8; margin-bottom: 16px; }

.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-secondary); line-height: 1.6; }
.check-list li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand); margin-top: 2px; }

/* Placeholder media */
.media-ph {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.media-ph.alt { background: linear-gradient(135deg, #1b6ca8 0%, #0b3d5c 100%); }
.media-ph.soft { background: linear-gradient(135deg, #eef4f9, #dde9f2); color: var(--brand); }

.media-ph .ph-ico { width: 64px; height: 64px; opacity: 0.92; }
.media-ph .ph-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 10px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.media-ph .ph-tag {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Panels / cards for subpages */
.panel {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.spec {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.spec .spec-ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.spec .spec-ico svg { width: 22px; height: 22px; }
.spec h4 { font-size: 17px; margin-bottom: 8px; }
.spec p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* pill tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-50);
  border: 1px solid var(--line-soft);
  padding: 6px 14px;
  border-radius: 999px;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0a6f96 0%, var(--brand) 45%, #00334e 100%);
  color: #fff;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  margin: 80px 0;
  box-shadow: 0 24px 64px rgba(3, 40, 60, 0.28);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 80% -10%, rgba(138, 212, 237, 0.25), transparent 60%),
    radial-gradient(500px 300px at 10% 110%, rgba(138, 212, 237, 0.12), transparent 55%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}
.cta-band h2 { font-size: 32px; margin-bottom: 12px; }
.cta-band p { opacity: 0.85; margin-bottom: 26px; font-size: 17px; }
.cta-band .btn-white {
  background: #fff;
  color: #06334e;
  border: none;
  box-shadow: 0 8px 24px rgba(3, 40, 60, 0.3);
}
.cta-band .btn-white:hover {
  background: #eaf7fd;
  color: #04263a;
  box-shadow: 0 10px 28px rgba(3, 40, 60, 0.4);
}
.cta-band .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }

/* related grid */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gp-hq-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gp-hq-grid .rel-card { padding: 20px; }
@media (max-width: 1100px) { .gp-hq-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gp-hq-grid { grid-template-columns: repeat(2, 1fr); } }
.rel-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  color: var(--ink);
}
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.rel-card .rel-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.rel-card h4 { font-size: 17px; margin-bottom: 6px; }
.rel-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* developer steps */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.step .num {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* incident flow accordion — one expanded light panel + narrow photo strips (团队事件流转) */
.flow-acc { display: flex; gap: 12px; height: 400px; margin-top: 8px; }
.flow-item {
  position: relative; flex: 0 0 122px; border-radius: 16px; overflow: hidden;
  cursor: pointer; background: #fff; border: 1px solid var(--line-soft);
  transition: flex .5s var(--ease); outline-offset: -3px;
}
.flow-item.active { flex: 1; cursor: default; box-shadow: var(--shadow-md); border-color: transparent; }
.flow-stripview { position: absolute; inset: 0; }
.flow-stripview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flow-stripview::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 50, 88, 0.16) 0%, rgba(8, 50, 88, 0.12) 40%, rgba(6, 34, 60, 0.82) 100%);
}
.flow-strip-label {
  position: absolute; left: 10px; right: 10px; bottom: 18px; z-index: 2;
  color: #fff; text-align: center; display: flex; flex-direction: column; gap: 6px;
}
.flow-strip-label strong { font-size: 15px; font-weight: 800; line-height: 1.3; }
.flow-strip-label span {
  font-size: 12px; line-height: 1.55; color: rgba(255, 255, 255, 0.85);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.flow-content { display: none; position: absolute; inset: 0; z-index: 2; }
.flow-item.active .flow-stripview { display: none; }
.flow-item.active .flow-content { display: block; }
.flow-photo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.flow-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 30, 55, 0.85) 0%, rgba(6, 30, 55, 0.5) 52%, rgba(6, 30, 55, 0.12) 100%);
}
.flow-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flow-text {
  position: relative; z-index: 2; height: 100%; box-sizing: border-box; max-width: 62%;
  display: flex; flex-direction: column; justify-content: center; padding: 40px 44px;
}
.flow-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #1a7fbf, #0a5c8c); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
  font-family: var(--font-display); margin-bottom: 20px;
  box-shadow: 0 8px 18px -8px rgba(10, 92, 140, 0.55);
}
.flow-text h3 { font-family: var(--font-display); font-size: 27px; font-weight: 800; margin-bottom: 14px; color: #fff; }
.flow-text p { font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, 0.88); max-width: 460px; }
@media (max-width: 900px) {
  .flow-acc { flex-direction: column; height: auto; gap: 10px; }
  .flow-item { flex: 0 0 auto; height: 64px; transition: height .5s var(--ease); }
  .flow-item.active { height: auto; min-height: 0; }
  .flow-strip-label { bottom: auto; top: 50%; transform: translateY(-50%); gap: 2px; }
  .flow-strip-label span { display: none; }
  .flow-text { max-width: none; padding: 22px 22px 26px; }
  .flow-text h3 { font-size: 22px; }
}

.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.doc-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.doc-card h4 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.doc-card h4 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.doc-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.doc-card code { background: var(--surface-soft); padding: 2px 8px; border-radius: 6px; font-size: 13px; color: var(--brand-700); }

/* case card (subpage only) — image tiles with overlaid text (案例图2样式) */
.case-grid-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-grid-page .case-tile:nth-child(1) { grid-column: span 2; }
.case-grid-page .case-tile:nth-child(4) { grid-column: span 2; }
.case-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 18px;
  padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.case-grid-page .case-tile {
  position: relative; overflow: hidden; min-height: 330px;
  justify-content: flex-end; border: none;
}
.case-grid-page .case-tile .case-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 0;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.case-grid-page .case-tile:hover .case-bg { transform: scale(1.05); }
.case-grid-page .case-tile .case-bg-solid { background: #092c3e; }
.case-grid-page .case-tile:hover .case-bg-solid { transform: none; }
.case-grid-page .case-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(4, 22, 33, 0.08) 30%, rgba(4, 22, 33, 0.55) 62%, rgba(4, 22, 33, 0.9) 100%);
}
.case-grid-page .case-tile > *:not(.case-bg) { position: relative; z-index: 2; }
.case-grid-page .case-tile .case-tag {
  background: rgba(255, 255, 255, 0.14); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px);
}
.case-grid-page .case-tile h3 { color: #fff; }
.case-grid-page .case-tile p { color: rgba(255, 255, 255, 0.85); }
.case-grid-page .case-tile .case-stats { border-top-color: rgba(255, 255, 255, 0.25); }
.case-grid-page .case-tile .case-stats .cs strong { color: #fff; }
.case-grid-page .case-tile .case-stats .cs span { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 900px) {
  .case-grid-page { grid-template-columns: 1fr; }
  .case-grid-page .case-tile:nth-child(1), .case-grid-page .case-tile:nth-child(4) { grid-column: auto; }
}
.case-card .case-tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--brand); background: var(--brand-50); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.case-card h3 { font-size: 22px; margin-bottom: 10px; }
.case-card p { color: var(--ink-secondary); line-height: 1.7; margin-bottom: 18px; }
.case-stats { display: flex; gap: 26px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.case-stats .cs strong { display: block; font-size: 22px; color: var(--brand); }
.case-stats .cs span { font-size: 13px; color: var(--muted); }

/* list with big numbers (metric rows) */
.metric-row { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 30px; }
.metric-row .m strong { display: block; font-size: 34px; color: var(--ink); font-family: var(--font-display); }
.metric-row .m span { color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-grid.reverse .media-ph { order: 0; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .spec-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .page-hero { padding: 120px 0 48px; }
  .page-hero-store { height: auto; min-height: 560px; }
}

/* Mega product dropdown (module grid) */
@media (max-width: 720px) {
}

/* Products dropdown — module shelf */

/* Module detail page */
.module-hero { background: linear-gradient(160deg, #0b1f2e 0%, #003f61 100%); color: #fff; padding: 150px 0 64px; position: relative; overflow: hidden; }
.module-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-img, none) center / cover no-repeat; opacity: 0.9; pointer-events: none; }
.module-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 22, 33, 0.92) 0%, rgba(4, 22, 33, 0.6) 50%, rgba(4, 22, 33, 0.28) 100%); pointer-events: none; }
.module-hero > .container { position: relative; z-index: 1; }
.module-hero .breadcrumb, .module-hero .breadcrumb a { color: rgba(255, 255, 255, 0.6); }
.module-hero .breadcrumb a:hover { color: #8ad4ed; }
.module-hero .breadcrumb .current { color: #fff; }
.module-hero .page-eyebrow { color: #8ad4ed; background: rgba(138, 212, 237, 0.1); border-color: rgba(138, 212, 237, 0.35); backdrop-filter: blur(6px); }
.module-hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.module-back { color: rgba(255,255,255,.75); font-size: 14px; text-decoration: none; }
.module-back:hover { color: #fff; }
.module-hero-ico { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #fff; }
.module-hero-ico svg { width: 32px; height: 32px; }
.module-hero-title { font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1.1; }
.module-status { display: inline-block; margin-left: 14px; padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.module-hero-tag { font-size: 18px; color: rgba(255,255,255,.82); max-width: 720px; }
.module-agent-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 14px; margin-top: 6px; }
.module-agent-badge .ma-ico { width: 22px; height: 22px; color: #7fd1ff; }
.module-agent-badge .ma-ico svg { width: 22px; height: 22px; }
.module-agent-badge strong { font-weight: 700; }
.pain-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.pain-list li { position: relative; padding: 16px 18px 16px 48px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink-secondary); }
.pain-list li::before { content: "!"; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%; background: var(--cta); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.cap-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: all .2s var(--ease); }
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.cap-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.cap-ico svg { width: 22px; height: 22px; }
.cap-card h4 { font-size: 17px; margin-bottom: 8px; }
.cap-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.module-agent { background: linear-gradient(160deg, #003f61, #005683); color: #fff; }
.module-agent .ma-card { display: flex; gap: 20px; align-items: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 28px; }
.module-agent .ma-avatar { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.module-agent .ma-avatar svg { width: 28px; height: 28px; }
.module-agent .section-label { color: #9fe0ff; }
.module-agent h3 { font-family: var(--font-display); font-size: 22px; margin: 4px 0 8px; }
.module-agent p { color: rgba(255,255,255,.85); }
.module-agent .ma-lead { margin-top: 10px; font-weight: 700; color: #fff; }

/* ---- 7x24 Operations Team page ---- */
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.agent-grid .agent-card { padding: 20px; }
.agent-card { scroll-margin-top: 150px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ac, var(--brand)); border-radius: 18px; padding: 26px; transition: all .25s var(--ease); }
.agent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.agent-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.agent-avatar { width: 52px; height: 52px; border-radius: 15px; background: color-mix(in srgb, var(--ac, var(--brand)) 12%, #fff); color: var(--ac, var(--brand)); display: grid; place-items: center; flex: 0 0 auto; }
.agent-avatar svg { width: 26px; height: 26px; }
.agent-name { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.agent-role { font-size: 14px; font-weight: 600; color: var(--ac, var(--brand)); }
.agent-mission { font-size: 15px; color: var(--ink-secondary); line-height: 1.65; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px dashed var(--line); }
.agent-lead { border-color: var(--ac); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 12%, transparent); }
.agent-badge { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: #fff; background: var(--ac); vertical-align: middle; }
.agent-scope { display: grid; gap: 4px; margin-bottom: 16px; }
.agent-scope-k { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.agent-scope > span:last-child { font-size: 14px; color: var(--ink); line-height: 1.6; }
.agent-fns { margin-bottom: 16px; }
.agent-fns .tag-row { margin-top: 8px; gap: 8px; }
.agent-fns .tag { margin: 0; padding: 5px 12px; font-size: 12px; }
.agent-m8 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.agent-m8 span { padding: 8px 12px; border-radius: 9px; background: var(--surface-blue); font-size: 13px; color: var(--ink-secondary); }
.agent-mods { margin-top: 0; }

/* team roster — left switcher + right detail card (tabbed panel) */
.team-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; margin-top: 8px; }
.team-tabs { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; position: sticky; top: 96px; }
.team-tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 1px solid transparent; border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; text-align: left; font-family: inherit; transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.team-tab:hover { background: color-mix(in srgb, var(--ac, var(--brand)) 7%, #fff); }
.tt-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; background: color-mix(in srgb, var(--ac, var(--brand)) 10%, #fff); color: var(--ac, var(--brand)); transition: all .2s var(--ease); }
.tt-ico svg { width: 18px; height: 18px; }
.tt-txt { display: grid; gap: 1px; min-width: 0; }
.tt-name { font-family: var(--font-display); font-size: 16px; font-weight: 800; line-height: 1.15; }
.tt-role { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-tab.active { background: linear-gradient(135deg, var(--ac, var(--brand)), color-mix(in srgb, var(--ac, var(--brand)) 76%, #1e3a8a)); box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--ac, var(--brand)) 70%, transparent); }
.team-tab.active .tt-ico { background: rgba(255,255,255,.22); color: #fff; }
.team-tab.active .tt-name { color: #fff; }
.team-tab.active .tt-role { color: rgba(255,255,255,.85); }
.team-stage { min-width: 0; display: grid; }
.team-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; }
.team-panel.active { opacity: 1; visibility: visible; pointer-events: auto; animation: teamFade .3s var(--ease); }
@keyframes teamFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.team-card { padding: 30px; height: 100%; box-sizing: border-box; }
.team-card .agent-head { flex-wrap: wrap; }
.team-card .agent-mods { margin: 0 0 0 auto; }
.team-card .agent-m8 { grid-template-columns: repeat(3, 1fr); }
.team-card .agent-mods .rel-pill { padding: 8px 14px; font-size: 13px; }
@media (max-width: 980px) {
  .team-layout { grid-template-columns: 1fr; }
  .team-tabs { position: static; grid-template-columns: repeat(2, 1fr); }
  .team-card { max-width: none; }
}
@media (max-width: 560px) {
  .team-tabs { grid-template-columns: 1fr; }
}

/* toolset vs team comparison */
.cmp { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 190px 1fr 1fr; }
.cmp-head > div { padding: 16px 20px; font-weight: 700; font-size: 15px; }
.cmp-head .cmp-a { background: #eceff3; color: #6b7686; }
.cmp-head .cmp-b { background: linear-gradient(135deg, #1a7fbf, #0a5c8c); color: #fff; }
.cmp-row > div { padding: 16px 20px; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.6; }
.cmp-k { font-weight: 600; color: var(--ink) !important; background: #fff; }
.cmp-a { color: #8a94a3; background: #f7f9fb; }
.cmp-b { color: var(--ink-secondary); font-weight: 500; background: color-mix(in srgb, var(--brand) 8%, #fff); border-left: 1px solid color-mix(in srgb, var(--brand) 18%, #fff); }

/* human / AI boundary */
.boundary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.bd-col { border-radius: 18px; padding: 26px; }
.bd-ai { background: var(--surface-blue); border: 1px solid var(--line); }
.bd-human { background: linear-gradient(160deg, #003f61, #005683); color: #fff; }
.bd-col h4 { font-size: 18px; margin-bottom: 14px; }
.bd-col ul { list-style: none; display: grid; gap: 10px; }
.bd-col li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.6; }
.bd-ai li { color: var(--ink-secondary); }
.bd-human li { color: rgba(255,255,255,.9); }
.bd-ai li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.bd-human li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: #7fd1ff; }

.loop-who { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 12px; font-weight: 700; font-family: var(--font-display); vertical-align: middle; }

/* Real product screenshots */
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: block; }
.shot figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }
@media (max-width: 900px) { .shot-grid { grid-template-columns: 1fr; } }

@media (max-width: 1100px) {
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .agent-grid, .boundary { grid-template-columns: 1fr; }
  .cmp-head, .cmp-row { grid-template-columns: 1fr; }
  .cmp-head > div:nth-child(1), .cmp-row .cmp-k { display: none; }
  .cmp-row .cmp-a { border-top: 1px solid var(--line-soft); }
  .cmp-row .cmp-a::before { content: "— "; }
}
.rel-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.rel-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; transition: all .18s var(--ease); }
.rel-pill:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

@media (max-width: 720px) {
  .cap-grid { grid-template-columns: 1fr; }
  .module-hero-title { font-size: 32px; }
  .module-agent .ma-card { flex-direction: column; }
}

/* Two editions — homepage product overview */
.ed-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ed-big { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ed-big:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ed-big img { width: 100%; display: block; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.ed-big-body { padding: 26px; }
.ed-big-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.ed-big-body h3 { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 23px); font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.ed-big-body p { font-size: 15px; line-height: 1.65; color: var(--ink-secondary); margin-bottom: 16px; }
.ed-big-body .tag-row { margin-bottom: 16px; }
.ed-more { font-size: 14px; font-weight: 700; color: var(--brand); }
@media (max-width: 900px) { .ed-split { grid-template-columns: 1fr; } }

/* ============================================================
   Accessibility & numeric stability
   ============================================================ */

/* 1. Visible keyboard focus. Previously the site had zero focus styles,
      so keyboard users could not tell where they were. */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* On dark surfaces (hero, footer, cta bands) the teal outline disappears,
   so invert it to white. */
.hero :focus-visible,
.section-dark :focus-visible,
.cta-section :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible,
.module-hero :focus-visible,
.bd-human :focus-visible {
  outline-color: #fff;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

/* 2. Tabular numerals. Every KPI on this site is a number; without this the
      digits change width between renders and dashboards look unstable. */
.hero-stats strong,
.stat strong,
.case-stats strong,
.metric-row .m strong,
.case-stats .cs strong,
.cmp-b strong,
.value,
.ha-name {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* 3. Respect the OS "reduce motion" setting. This also acts as a safety net:
      if JS fails, .reveal would otherwise stay at opacity 0. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .card:hover,
  .rel-card:hover,
  .agent-card:hover,
  .ed-card:hover,
  .rel-pill:hover,
  .module-agent .ma-card:hover,
  .btn:hover {
    transform: none !important;
  }
}

/* ============================================================
   Support widget — floating contact (ported from Antharas site)
   ============================================================ */

.support-widget {
  position: fixed;
  right: 22px;
  top: 42%;
  bottom: auto;
  translate: 0 -50%;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 11px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 38px rgba(9, 44, 62, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.support-channel {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.support-channel svg {
  width: 26px;
  height: 26px;
}

.support-channel:hover {
  transform: translateY(-4px) scale(1.05);
}

.support-channel.wechat {
  background: none;
  box-shadow: 0 10px 26px rgba(90, 141, 255, 0.35);
}

.support-channel.wechat svg {
  width: 48px;
  height: 48px;
  display: block;
}

.support-channel.whatsapp {
  background: none;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}

.support-channel.whatsapp svg {
  width: 48px;
  height: 48px;
  display: block;
}

.wechat-tip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  background: rgba(9, 44, 62, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(9, 44, 62, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 5;
}

.wechat-tip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(9, 44, 62, 0.92);
}

.wechat-tip.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.support-trigger {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, #008fd7, #006ca6);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 87, 132, 0.3);
  display: grid;
  place-items: center;
  cursor: pointer;
  touch-action: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-trigger:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 36px rgba(0, 108, 166, 0.4);
}

.support-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff, #d9f3ff);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 2px #009aec, 0 6px 16px rgba(0, 48, 77, 0.2);
}

.support-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(7, 30, 43, 0.18);
  backdrop-filter: blur(2px);
  cursor: default;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.support-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.support-panel {
  position: fixed;
  right: 110px;
  top: 50%;
  width: 430px;
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 40px);
  padding: 38px;
  border: 1px solid rgba(193, 222, 237, 0.9);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(248, 252, 255, 0.98), rgba(231, 244, 251, 0.98));
  box-shadow: 0 28px 80px rgba(7, 55, 80, 0.23);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transform-origin: right center;
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 9999;
  will-change: left, top;
}

.support-panel.is-open { opacity: 1; visibility: visible; }

.support-panel.has-position {
  right: auto;
  top: auto;
  transform: none;
}

.support-panel-art {
  position: absolute;
  right: -70px;
  top: -75px;
  width: 250px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 154, 236, 0.18), transparent 66%);
  transform: rotate(-18deg);
  pointer-events: none;
}

.support-panel-art i {
  position: absolute;
  inset: 34%;
  border: 1px solid rgba(0, 154, 236, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(0, 154, 236, 0.05), 0 0 0 50px rgba(0, 154, 236, 0.03);
}

.support-panel-art i:nth-child(2) { inset: 23%; }
.support-panel-art i:nth-child(3) { inset: 12%; }

.support-close {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  color: #64808f;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  z-index: 6;
}

.support-kicker {
  position: relative;
  color: #005683;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.support-panel h2 {
  position: relative;
  font-size: 31px;
  color: #005683;
  margin: 10px 0 5px;
}

.support-lead {
  position: relative;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.support-panel form { position: relative; }

.support-panel label {
  display: block;
  font-size: 10px;
  color: #6e8795;
  margin-bottom: 7px;
}

.support-panel input {
  width: 100%;
  height: 54px;
  border: 1px solid #cddde6;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0 16px;
  color: var(--ink);
  font: 14px Inter, sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 10px;
}

.support-panel input:focus {
  border-color: #009aec;
  box-shadow: 0 0 0 4px rgba(0, 154, 236, 0.1);
}

.support-panel textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid #cddde6;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px 16px;
  color: var(--ink);
  font: 14px Inter, sans-serif;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 6px;
  line-height: 1.5;
}

.support-panel textarea:focus {
  border-color: #009aec;
  box-shadow: 0 0 0 4px rgba(0, 154, 236, 0.1);
}

.support-panel textarea::placeholder { color: #a6b9c4; }

.support-panel form > button {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 11px;
  margin-top: 12px;
  background: linear-gradient(105deg, #006ca6, #00a7ef);
  color: #fff;
  font: 600 14px Inter, sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(0, 108, 166, 0.2);
}

.support-rule {
  height: 1px;
  background: #d7e5ed;
  margin: 27px 0 23px;
}

.support-phone {
  display: flex;
  align-items: center;
  gap: 15px;
  color: inherit;
  text-decoration: none;
}

.support-phone-icon {
  width: 51px;
  height: 51px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #009aec, #64c9f7);
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
}

.support-phone small { font-size: 11px; color: #607785; display: block; }

.support-phone strong {
  font: 600 22px Sora, Inter, sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Drag handle */
.support-drag-handle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 48px;
  border-radius: 24px 24px 0 0;
  padding-top: 9px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  z-index: 4;
}

.support-drag-handle:active { cursor: grabbing; }

.support-drag-handle span {
  width: 4px;
  height: 4px;
  margin-top: 5px;
  border-radius: 50%;
  background: #91afbe;
}

.support-drag-handle em {
  display: none;
}

/* Back to top */
.back-to-top {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, #008fd7, #006ca6);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 87, 132, 0.3);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.28s ease, visibility 0.28s, transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  filter: brightness(1.12);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 108, 166, 0.4);
}

.back-to-top > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.back-to-top:hover svg { transform: translateY(-2px); }

.back-to-top:focus-visible {
  outline: 2px solid #009aec;
  outline-offset: 3px;
}

/* Robot avatar — breathing + blink */
.robot-avatar {
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 42%, #fff 0, #eaf7fd 72%);
  animation: robot-motion 3s cubic-bezier(0.3, 0.7, 0.35, 1) infinite;
}

.robot-avatar > img {
  position: absolute;
  width: 135%;
  height: 135%;
  max-width: none;
  left: -17.5%;
  top: -14%;
  object-fit: cover;
  display: block;
  filter: saturate(0.98) contrast(1.03);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.support-trigger:hover .robot-avatar > img { transform: translateY(-1px) scale(1.025); }

.robot-eyelids {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.robot-eyelids i {
  position: absolute;
  top: 19px;
  width: 8px;
  height: 6px;
  border-radius: 7px;
  background: #082b58;
  transform: scaleY(0);
  transform-origin: 50% 50%;
  animation: robot-blink 3s ease-in-out infinite;
}

.robot-eyelids i:first-child { left: 9px; }
.robot-eyelids i:last-child { right: 9px; }

@keyframes robot-blink {
  0%, 42%, 48%, 100% { transform: scaleY(0); }
  44%, 46% { transform: scaleY(1); }
}

@keyframes robot-motion {
  0%, 58%, 100% {
    transform: translateY(0);
    box-shadow: inset 0 0 0 2px #009aec, 0 7px 18px rgba(0, 48, 77, 0.2);
  }
  68% {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 2px #009aec, 0 13px 25px rgba(0, 108, 166, 0.3);
  }
  76% { transform: translateY(0); }
  83% { transform: translateY(-1.5px); }
  90% { transform: translateY(0); }
}

/* Success state inside support-panel */
.submit-success-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.submit-success-view[hidden] { display: none; }

.success-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #009aec, #005683);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 108, 166, 0.35);
  margin-bottom: 20px;
  animation: popIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.success-circle svg { width: 36px; height: 36px; }

.success-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #005683;
  letter-spacing: 1px;
  font-family: Sora, Inter, sans-serif;
}

.success-sub {
  margin: 8px 0 20px;
  font-size: 14px;
  color: #607785;
}

.success-btn {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #006ca6 0%, #009aec 50%, #006ca6 100%);
  background-size: 200% 100%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 16px rgba(0, 108, 166, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
}

.success-btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
}

@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Widget — mobile */
@media (max-width: 700px) {
  .support-widget { right: 13px; }
  .support-trigger { width: 46px; height: 46px; }
  .support-avatar { width: 41px; height: 41px; }
  .support-panel {
    left: 14px;
    right: 14px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) !important;
    width: auto;
    padding: 28px 23px;
    border-radius: 21px;
    max-height: calc(100svh - 115px);
    z-index: 2;
  }
  .support-panel.has-position { top: auto; transform: none !important; }
  .support-panel h2 { font-size: 26px; }
  .support-lead { font-size: 13px; }
  .support-phone strong { font-size: 18px; }
  .support-drag-handle { top: 0; height: 44px; }
  .robot-eyelids i { top: 19px; width: 8px; height: 6px; }
  .robot-eyelids i:first-child { left: 9px; }
  .robot-eyelids i:last-child { right: 9px; }
  .back-to-top { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .support-trigger,
  .support-panel,
  .back-to-top,
  .robot-avatar,
  .robot-eyelids i { transition: none; animation: none; }
}

/* WeChat hover popover */
.wechat-pop {
  position: absolute;
  right: calc(100% + 16px);
  top: 38px;
  transform: translateY(-50%) translateX(8px) scale(0.96);
  width: 216px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(9, 44, 62, 0.22), 0 4px 14px rgba(9, 44, 62, 0.1);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.25s;
  z-index: 20;
}

.wechat-pop.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0) scale(1);
}

.wechat-pop-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(120deg, #0a8fd0 0%, #005683 100%);
  color: #fff;
  overflow: hidden;
}

.wechat-pop-head::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -34px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.wechat-pop-hi {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 12px 12px 12px 4px;
  background: #fff;
  color: #005683;
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0, 30, 50, 0.25);
  flex-shrink: 0;
}

.wechat-pop-headtxt {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wechat-pop-headtxt strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.wechat-pop-headtxt small {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
}

.wechat-pop-dot {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #37d896;
  box-shadow: 0 0 0 3px rgba(55, 216, 150, 0.25);
}

.wechat-pop-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 16px 14px;
}

.wechat-pop-body img {
  width: 150px;
  height: 150px;
  border: 1px solid #e3eef4;
  border-radius: 12px;
  padding: 6px;
  background: #fff;
}

.wechat-pop-phone {
  margin: 12px 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.wechat-pop-copy {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(105deg, #006ca6, #00a7ef);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 108, 166, 0.25);
  transition: filter 0.2s, transform 0.2s;
}

.wechat-pop-copy:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.wechat-pop-note {
  margin: 10px 0 0;
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 700px) {
  .wechat-pop { width: 200px; }
}

/* ===== About — SOLUTION panel ===== */

.about-solution {
  background-color: #f3f4f5;
  background-image: url(assets/ui/about-solution-bg.jpg);
  background-size: cover;
  background-position: center bottom;
  overflow: hidden;
}

.about-solution-grid {
  display: grid;
  grid-template-columns: minmax(320px, 5fr) 7fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.asol-eyebrow {
  display: inline-block;
  color: var(--brand);
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.asol-intro {
  margin: 18px 0 0;
  max-width: 420px;
  color: #6d6d6d;
  font-size: 15px;
  line-height: 1.75;
}

.asol-title {
  margin: 42px 0 0;
  font-family: 'Sora', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #101820;
}

.asol-desc {
  margin: 22px 0 0;
  max-width: 430px;
  color: #565d64;
  font-size: 13.5px;
  line-height: 1.8;
}

.asol-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  padding: 10px 24px;
  border: 1.5px solid #101820;
  border-radius: 999px;
  color: #101820;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
}

.asol-more svg {
  width: 15px;
  height: 15px;
}

.asol-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.12);
  background: rgba(255, 255, 255, 0.5);
}

.asol-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.asol-main {
  width: clamp(320px, 30vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 24px 70px rgba(0, 86, 131, 0.14);
  flex: none;
}

.asol-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asol-thumbs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 30px);
  margin-left: -34px;
}

.asol-thumb {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.asol-thumb img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 18px rgba(16, 24, 32, 0.18);
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
  flex: none;
}

.asol-thumb-label {
  color: #3c434a;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
}

.asol-thumb:hover img {
  transform: scale(1.06);
}

.asol-thumb.is-active img {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand), 0 6px 18px rgba(16, 24, 32, 0.18);
}

@media (max-width: 980px) {
  .about-solution-grid { grid-template-columns: 1fr; }
  .asol-visual { min-height: 0; margin-top: 12px; flex-wrap: wrap; }
  .asol-thumbs { margin-left: -30px; }
}

@media (max-width: 640px) {
  .asol-visual { flex-direction: column; }
  .asol-thumbs { margin-left: 0; margin-top: 26px; }
  .asol-thumb-label { white-space: normal; }
}


/* privacy policy document (about page) */
.privacy-doc { max-width: 880px; margin-top: 10px; }
.privacy-doc h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  margin: 36px 0 12px;
  color: var(--ink);
}
.privacy-body {
  white-space: pre-line;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

/* contact section with form only (about page) */
.contact-form-only {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}
