/* =========================================================
   腾讯云首页视觉复刻
   Design tokens + responsive layout
   All interactive surfaces are square-cornered by design.
   ========================================================= */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --blue-900: #061b3b;
  --blue-800: #083b9c;
  --blue-700: #0b4ccc;
  --blue-600: #125df5;
  --blue-500: #2f78ff;
  --blue-400: #6ba2ff;
  --blue-300: #a8c8ff;
  --blue-200: #d7e4ff;
  --blue-100: #edf4ff;
  --blue-050: #f7faff;
  --cyan: #4c9dff;
  --accent: #16b889;
  --accent-soft: #e9f9f3;
  --ink: #071a33;
  --ink-2: #142c48;
  --body: #4a5e76;
  --muted: #7b8ea4;
  --line: #e4ecf4;
  --line-dark: rgba(255, 255, 255, 0.12);
  --soft: #f5f8fc;
  --paper: #ffffff;
  --black: #07111f;
  --success: #0f7d63;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-display: "DIN Alternate", "Bahnschrift", "Helvetica Neue", "PingFang SC", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  --container: 1440px;
  --gutter: clamp(24px, 4.4vw, 64px);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fast: 0.22s;
  --normal: 0.4s;
  --shadow-sm: 0 8px 24px rgba(7, 26, 51, 0.06);
  --shadow-md: 0 18px 50px rgba(7, 26, 51, 0.1);
  --shadow-blue: 0 20px 48px rgba(18, 93, 245, 0.18);
  --hero-duration: 7000ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button,
input,
textarea,
select,
a,
div,
article,
figure,
section {
  border-radius: 0;
}

::selection {
  color: #fff;
  background: var(--blue-600);
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 5000;
  padding: 10px 16px;
  color: #fff;
  background: var(--blue-600);
  transform: translateY(-150%);
  transition: transform var(--fast);
}

.skip-link:focus {
  transform: translateY(0);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
  overflow: visible;
}

.icon--xs {
  width: 12px;
  height: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-gradient {
  color: var(--blue-600);
  background: linear-gradient(100deg, #0B4CCC 0%, #006ff2 42%, #4C9DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 2. Shared interactive pieces ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: color var(--fast), background-color var(--fast), border-color var(--fast), box-shadow var(--fast), transform var(--fast);
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--fast);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(94deg, #0B4CCC 0%, #2F78FF 100%);
  border-color: #2F78FF;
  box-shadow: 0 8px 22px rgba(18, 93, 245, 0.18);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
  transform: translateX(-110%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}

.btn-primary:hover {
  background: linear-gradient(94deg, #003fae 0%, #125DF5 100%);
  border-color: #125DF5;
  box-shadow: 0 12px 26px rgba(18, 93, 245, 0.24);
}

.btn-primary:hover::before {
  transform: translateX(110%);
}

.btn-ghost {
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.55);
  border-color: #c8d4e4;
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  color: var(--blue-600);
  background: #fff;
  border-color: var(--blue-500);
}

.btn-secondary {
  color: var(--ink-2);
  background: #fff;
  border-color: #d8e1ee;
}

.btn-secondary:hover {
  color: var(--blue-600);
  border-color: var(--blue-500);
}

.btn-light {
  color: var(--blue-700);
  background: #fff;
  border-color: #fff;
}

.btn-light:hover {
  color: var(--blue-700);
  background: #eef6ff;
  border-color: #eef6ff;
}

.btn-sm {
  min-height: 34px;
  padding: 0 13px;
  gap: 6px;
  font-size: 12px;
}

.btn-sm .icon {
  width: 14px;
  height: 14px;
}

.square-button,
.icon-button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid #dbe4ef;
  background: #fff;
  color: var(--ink-2);
  border-radius: 0;
  transition: color var(--fast), background var(--fast), border-color var(--fast), transform var(--fast);
}

.square-button {
  width: 42px;
  height: 42px;
}

.square-button .icon {
  width: 17px;
  height: 17px;
}

.square-button:hover,
.icon-button:hover {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.square-button:active,
.icon-button:active {
  transform: translateY(1px);
}

.icon-button {
  width: 36px;
  height: 36px;
  border-color: transparent;
  background: transparent;
  color: #34445a;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding-bottom: 3px;
  color: #263a55;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: color var(--fast);
}

.text-link .icon {
  width: 15px;
  height: 15px;
  transition: transform var(--fast);
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--normal) var(--ease);
}

.text-link:hover {
  color: var(--blue-600);
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link:hover .icon {
  transform: translate(3px, -1px);
}

.text-link--sm {
  font-size: 12px;
  gap: 5px;
}

.text-link--sm .icon {
  width: 13px;
  height: 13px;
}

.text-link--light {
  color: #fff;
}

.text-link--light:hover {
  color: #a9d0ff;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 2px 7px;
  color: var(--blue-600);
  background: #eef5ff;
  border: 1px solid #d8e8fc;
  border-radius: 0;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.02em;
}

.tag--blue {
  color: #fff;
  background: linear-gradient(100deg, #125DF5, #007ff2);
  border-color: transparent;
}

.tag--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.live-dot,
.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--blue-500);
  border-radius: 0;
}

.live-dot {
  box-shadow: 0 0 0 0 rgba(10, 108, 245, 0.35);
  animation: livePulse 2.2s ease-out infinite;
}

.pulse-dot {
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(10, 155, 122, 0.35);
  animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(10, 108, 245, 0.3); }
  70% { box-shadow: 0 0 0 6px rgba(10, 108, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 108, 245, 0); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #65758c;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-index {
  display: inline-grid;
  place-items: center;
  min-width: 27px;
  height: 20px;
  padding: 0 5px;
  color: var(--blue-600);
  background: rgba(18, 93, 245, 0.04);
  border: 1px solid rgba(18, 93, 245, 0.18);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.eyebrow--light {
  color: #9fc4ff;
}

.section {
  position: relative;
  padding-block: clamp(72px, 7.2vw, 112px);
  overflow: hidden;
}

.section--soft {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 20%, #f6f9fd 80%, #ffffff 100%);
}

.section--tint {
  background:
    radial-gradient(circle at 84% 14%, rgba(0, 142, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #f7faff 0%, #fbfdff 100%);
}

.section-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.section-head-copy {
  max-width: 800px;
}

.section-head h2 {
  margin-top: 17px;
  color: var(--ink);
  font-size: clamp(31px, 3.35vw, 48px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-head h2 .text-gradient {
  letter-spacing: -0.03em;
}

.section-lead {
  max-width: 610px;
  margin-top: 17px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.85;
}

.section-head-aside {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 6px;
}

.section-head-aside .text-link {
  font-size: 13px;
}

.section-aside-copy {
  max-width: 285px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
}

.section-head--tight {
  margin-bottom: 34px;
}

.scroll-controls {
  display: flex;
  gap: 7px;
}

.scroll-controls .square-button {
  width: 38px;
  height: 38px;
}

.scroller-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  color: #8a97a9;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.scroller-foot p {
  margin-left: auto;
  color: #8b97a8;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0;
}

.scroller-track {
  width: 98px;
  height: 1px;
  background: #dae3ef;
}

.scroller-track span {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--blue-600);
}

/* JS reveal, progressive-enhancement friendly */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 3. Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(7, 26, 51, 0.08);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: background var(--fast), box-shadow var(--fast);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(15, 38, 72, 0.07);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1550px;
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(18px, 2.2vw, 34px);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 100%;
  margin-right: clamp(12px, 1.6vw, 25px);
}

.brand img {
  width: 78px;
  height: 18px;
}

.desktop-nav {
  align-self: stretch;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: stretch;
  height: 100%;
  white-space: nowrap;
}

.nav-list > li {
  display: flex;
  align-items: stretch;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 0 clamp(6px, 0.72vw, 11px);
  border: 0;
  background: transparent;
  color: #172338;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color var(--fast);
}

.nav-link:hover,
.nav-link:focus-visible,
.has-mega.is-open > .nav-link {
  color: var(--blue-600);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: clamp(6px, 0.72vw, 11px);
  right: clamp(6px, 0.72vw, 11px);
  bottom: 0;
  height: 2px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--normal) var(--ease);
}

.nav-list > li:not(.has-mega) .nav-link:hover::after,
.has-mega:hover > .nav-link::after,
.has-mega.is-open > .nav-link::after {
  transform: scaleX(1);
}

.nav-link--ai {
  font-weight: 600;
}

.nav-link--ai .nav-ai-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 14px;
  margin-left: 4px;
  padding: 0 3px;
  color: #fff;
  background: linear-gradient(100deg, #0b8dff, #216eed);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav-link--ai .icon {
  color: #778499;
  transition: transform var(--fast);
}

.has-mega:hover > .nav-link--ai .icon,
.has-mega.is-open > .nav-link--ai .icon {
  transform: rotate(180deg);
}

.nav-link .icon--xs {
  margin-left: 1px;
  color: #8a97aa;
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding-left: 12px;
}

.nav-search .icon {
  width: 18px;
  height: 18px;
}

.nav-divider {
  width: 1px;
  height: 15px;
  margin: 0 7px;
  background: #e1e7ef;
}

.nav-login {
  padding: 8px 10px;
  color: #23354d;
  font-size: 13px;
  transition: color var(--fast);
}

.nav-login:hover {
  color: var(--blue-600);
}

.nav-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  margin-left: 5px;
  padding: 0 15px;
  color: #fff;
  background: var(--blue-600);
  font-size: 13px;
  font-weight: 500;
  transition: background var(--fast);
}

.nav-register:hover {
  background: var(--blue-500);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  background: transparent;
}

.mobile-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  background: #25364d;
  transition: transform var(--fast), opacity var(--fast);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mega menu */
.mega-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  z-index: 990;
  width: 100%;
  padding: 0;
  background: #fff;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #dde6f1;
  box-shadow: 0 24px 45px rgba(7, 26, 51, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  white-space: normal;
  transition: opacity 0.24s ease, transform 0.28s var(--ease), visibility 0s linear 0.24s;
}

.has-mega.is-open > .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.24s ease, transform 0.28s var(--ease), visibility 0s linear 0s;
}

.mega-inner {
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr) 220px;
  gap: 26px;
  width: 100%;
  max-width: var(--container);
  min-height: 316px;
  margin-inline: auto;
  padding: 26px var(--gutter) 30px;
}

.mega-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 264px;
  padding: 27px 25px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(0, 108, 246, 0.28), transparent 58%),
    linear-gradient(135deg, #071b36, #0a2a58);
}

.mega-intro::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(115, 175, 255, 0.28);
  transform: rotate(28deg);
  pointer-events: none;
}

.mega-intro .eyebrow {
  margin-bottom: 16px;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.mega-intro h3 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.mega-intro p {
  margin-top: 12px;
  color: #9cb4d0;
  font-size: 12px;
  line-height: 1.8;
}

.mega-intro .text-link {
  margin-top: auto;
  padding-top: 23px;
  color: #cfe5ff;
  font-size: 12px;
}

.mega-menu-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 7px;
}

.mega-menu-col h4 {
  margin-bottom: 9px;
  color: #8190a4;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.mega-menu-col a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid #eef2f7;
  color: var(--ink-2);
  transition: padding-left var(--fast), background var(--fast);
}

.mega-menu-col a:first-of-type {
  border-top: 1px solid #eef2f7;
}

.mega-menu-col a:hover {
  padding-left: 7px;
  background: #f8fbff;
}

.mega-menu-col strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.mega-menu-col span {
  overflow: hidden;
  color: #7b899d;
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mega-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 264px;
  padding: 24px;
  overflow: hidden;
  color: #08254e;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, 0.03) 60%),
    linear-gradient(145deg, #e9f4ff, #cce5ff);
  border: 1px solid #d7e8fb;
  transition: background var(--fast), transform var(--fast);
}

.mega-promo:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, 0.03) 60%),
    linear-gradient(145deg, #dceeff, #b9dcff);
  transform: translateY(-2px);
}

.promo-kicker {
  position: relative;
  z-index: 1;
  color: #4574a5;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.mega-promo strong {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.promo-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 20px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 500;
}

.promo-link .icon {
  width: 14px;
  height: 14px;
}

.promo-grid {
  position: absolute;
  right: -8px;
  bottom: -16px;
  width: 160px;
  height: 160px;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(18, 93, 245, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 93, 245, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  transform: rotate(11deg);
}

.solution-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 20px;
  padding-top: 6px;
}

.solution-mega-grid a {
  display: flex;
  flex-direction: column;
  min-height: 107px;
  padding: 15px 14px 13px;
  border: 1px solid #edf1f6;
  border-left: 0;
  transition: background var(--fast), border-color var(--fast);
}

.solution-mega-grid a:nth-child(3n + 1) {
  border-left: 1px solid #edf1f6;
}

.solution-mega-grid a:hover {
  background: #f8fbff;
  border-color: #cfe0f4;
}

.solution-num {
  color: #9aabbd;
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1.4;
}

.solution-mega-grid strong {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.solution-mega-grid a > span:last-child {
  margin-top: 3px;
  color: #7d8b9d;
  font-size: 11px;
}

/* ---------- 4. Search layer ---------- */
.search-layer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 24px 30px;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 19, 38, 0.48);
  backdrop-filter: blur(12px);
  animation: backdropIn 0.25s ease both;
}

.search-dialog {
  position: relative;
  z-index: 1;
  width: min(850px, 100%);
  max-height: calc(100vh - 15vh);
  overflow: auto;
  background: #fff;
  border: 1px solid #d8e2ee;
  box-shadow: 0 30px 80px rgba(1, 20, 46, 0.25);
  animation: searchDialogIn 0.32s var(--ease) both;
}

@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes searchDialogIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.search-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 17px 19px 17px 24px;
  border-bottom: 1px solid #e8eef5;
}

.search-form {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.search-form-icon {
  width: 19px;
  height: 19px;
  margin-right: 12px;
  color: #75869a;
}

.search-form input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
}

.search-form input::-webkit-search-cancel-button,
.search-form input::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
}

.search-form input::placeholder {
  color: #9aa7b7;
}

.search-submit {
  flex: 0 0 auto;
  height: 36px;
  margin-left: 16px;
  padding: 0 19px;
  border: 0;
  background: var(--blue-600);
  color: #fff;
  font-size: 13px;
  transition: background var(--fast);
}

.search-submit:hover {
  background: var(--blue-500);
}

.search-close {
  color: #75869a;
}

.search-content {
  padding: 22px 24px 24px;
}

.search-hot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.search-label {
  color: #7c8b9f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.search-hot .search-label {
  margin-right: 4px;
}

.search-chip {
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid #e4ebf3;
  background: #f9fbfd;
  color: #53657b;
  font-size: 12px;
  transition: color var(--fast), border-color var(--fast), background var(--fast);
}

.search-chip:hover {
  color: var(--blue-600);
  background: #f3f8ff;
  border-color: #cfe0f4;
}

.search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 11px;
}

.search-hint {
  color: #9aa7b7;
  font-size: 10px;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 11px 14px;
  border: 1px solid #edf1f5;
  background: #fff;
  transition: border-color var(--fast), background var(--fast);
}

.search-result:hover {
  border-color: #cadedd;
  background: #f8fbff;
}

.search-result-main {
  min-width: 0;
}

.search-result strong {
  display: block;
  color: #23364e;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.search-result span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #8a97a7;
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result .icon {
  width: 14px;
  height: 14px;
  color: #9ba9b9;
  transition: color var(--fast), transform var(--fast);
}

.search-result:hover .icon {
  color: var(--blue-600);
  transform: translate(2px, -2px);
}

.search-empty {
  grid-column: 1 / -1;
  padding: 26px 15px;
  border: 1px dashed #dfe7f0;
  color: #8a97a7;
  font-size: 12px;
  text-align: center;
}

.search-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  border-top: 1px solid #edf1f6;
  color: #8c99a9;
  font-size: 10px;
}

.search-foot span,
.search-foot a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.search-foot .icon {
  width: 13px;
  height: 13px;
  color: var(--blue-500);
}

.search-foot a {
  color: var(--blue-600);
  font-size: 11px;
}

/* ---------- 5. Mobile drawer ---------- */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(5, 16, 33, 0.46);
  backdrop-filter: blur(5px);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;
  width: min(390px, 88vw);
  height: 100dvh;
  padding: 0;
  overflow: hidden auto;
  background: #fff;
  border-left: 1px solid #e3eaf3;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.34s var(--ease), visibility 0.34s;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 20px;
  border-bottom: 1px solid #eef2f6;
}

.drawer-head img {
  width: 78px;
  height: 18px;
}

.drawer-body {
  padding: 22px 20px 30px;
}

.drawer-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 138px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 157, 255, 0.26), transparent 55%),
    linear-gradient(140deg, #071e3d, #0d3972);
}

.drawer-feature-tag {
  color: #9dcfff;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.drawer-feature strong {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
}

.drawer-feature > span:not(.drawer-feature-tag) {
  margin-top: 4px;
  color: #b0c3da;
  font-size: 11px;
}

.drawer-feature .icon {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 16px;
  height: 16px;
  color: #9ec9ff;
}

.drawer-nav {
  margin-top: 22px;
  border-top: 1px solid #edf1f5;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  border-bottom: 1px solid #edf1f5;
  color: #263a53;
  font-size: 14px;
}

.drawer-nav a:hover {
  color: var(--blue-600);
}

.drawer-nav .icon {
  width: 14px;
  height: 14px;
  color: #9aa8b8;
}

.drawer-actions {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}

.drawer-actions .btn {
  flex: 1;
  min-height: 40px;
  font-size: 13px;
}

.drawer-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid #edf1f5;
  color: #8b98a8;
  font-size: 11px;
}

.drawer-contact a {
  color: var(--blue-600);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #eaf3ff;
}

.hero-stage {
  position: relative;
  height: clamp(620px, 75vh, 708px);
  min-height: 620px;
  overflow: hidden;
}

.hero-backgrounds,
.hero-bg,
.hero-scrim,
.hero-grid-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg:nth-child(1) {
  background-image: url("../img/hero-agent.webp");
}

.hero-bg:nth-child(2) {
  background-image: url("../img/hero-des.webp");
}

.hero-bg:nth-child(3) {
  background-image: url("../img/hero-workbuddy.webp");
}

.hero-bg:nth-child(4) {
  background-image: url("../img/hero-portal.webp");
}

.hero-bg:nth-child(5) {
  background-image: url("../img/hero-geo.webp");
}

.hero-bg {
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.8s ease;
  will-change: opacity, transform;
}

.hero-bg.is-active {
  opacity: 1;
  animation: heroZoom 9s var(--ease) both;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.93) 27%, rgba(248, 251, 255, 0.58) 49%, rgba(248, 251, 255, 0.1) 72%, rgba(248, 251, 255, 0) 100%),
    linear-gradient(0deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.18) 20%, transparent 36%);
}

.hero-grid-overlay {
  z-index: 1;
  width: 70%;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(18, 93, 245, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 93, 245, 0.07) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, #000 5%, transparent 82%);
  -webkit-mask-image: linear-gradient(90deg, #000 5%, transparent 82%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  height: 100%;
  padding-top: 16px;
  padding-bottom: 58px;
}

.hero-rail {
  display: flex;
  flex-direction: column;
  align-self: center;
  width: 100%;
  max-width: 218px;
  padding: 4px 0;
  border-right: 1px solid rgba(18, 93, 245, 0.16);
}

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 13px 0;
  border-bottom: 1px solid rgba(7, 42, 94, 0.11);
  color: #64758a;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.rail-count {
  color: #9babbb;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.rail-list {
  display: flex;
  flex-direction: column;
}

.rail-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  width: 100%;
  padding: 13px 16px 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(18, 93, 245, 0.08);
  background: transparent;
  color: #3d4f66;
  text-align: left;
  cursor: pointer;
  transition: color var(--fast), background var(--fast);
}

.rail-item::before {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--blue-600);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.38s var(--ease);
}

.rail-item:hover {
  color: var(--blue-600);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55));
}

.rail-item.is-active {
  color: var(--blue-600);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7));
}

.rail-item.is-active::before {
  transform: scaleY(1);
}

.rail-num {
  padding-top: 2px;
  color: #9aa8b9;
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1.4;
  transition: color var(--fast);
}

.rail-item.is-active .rail-num,
.rail-item:hover .rail-num {
  color: var(--blue-500);
}

.rail-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.rail-text strong {
  overflow: hidden;
  color: #3b4c63;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--fast);
}

.rail-text small {
  overflow: hidden;
  color: #8290a3;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-item.is-active .rail-text strong,
.rail-item:hover .rail-text strong {
  color: var(--blue-600);
}

.rail-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}

.rail-item.is-active .rail-progress {
  opacity: 1;
  animation: railProgress var(--hero-duration) linear forwards;
}

.hero.is-paused .rail-item.is-active .rail-progress {
  animation-play-state: paused;
}

@keyframes railProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.rail-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 17px;
  color: #627389;
  font-size: 11px;
  transition: color var(--fast);
}

.rail-more .icon {
  width: 13px;
  height: 13px;
}

.rail-more:hover {
  color: var(--blue-600);
}

.hero-copy-stack {
  position: relative;
  align-self: center;
  min-width: 0;
  min-height: 465px;
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: 840px;
  padding-block: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(-50% + 22px));
  transition: opacity 0.6s ease, transform 0.7s var(--ease), visibility 0.6s;
}

.hero-copy.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: #51637b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.hero-copy :is(h1, h2) {
  max-width: 850px;
  color: var(--ink);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-copy :is(h1, h2) .text-gradient {
  display: inline-block;
}

.hero-desc {
  max-width: 600px;
  margin-top: 22px;
  color: #42546c;
  font-size: 14px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-actions .btn {
  min-height: 45px;
  padding-inline: 22px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #718198;
  font-size: 11px;
  letter-spacing: 0.015em;
}

.hero-bottom {
  position: absolute;
  bottom: 25px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--container));
  padding-inline: var(--gutter);
  transform: translateX(-50%);
}

.hero-progress-group {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 62px;
  color: #9aa8ba;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-counter #hero-current {
  color: var(--ink);
  font-size: 14px;
}

.counter-divider {
  color: #a6b3c3;
}

.hero-progress {
  position: relative;
  width: clamp(82px, 9vw, 142px);
  height: 1px;
  overflow: hidden;
  background: rgba(7, 26, 51, 0.16);
}

#hero-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: left;
}

.hero.is-playing #hero-progress-fill {
  animation: heroProgress var(--hero-duration) linear forwards;
}

.hero.is-paused #hero-progress-fill {
  animation-play-state: paused;
}

@keyframes heroProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-autoplay {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #62748b;
}

.hero-autoplay:hover {
  color: var(--blue-600);
}

.hero-autoplay .icon {
  width: 13px;
  height: 13px;
}

.hero-autoplay .icon-play {
  display: none;
}

.hero.is-paused .hero-autoplay .icon-pause {
  display: none;
}

.hero.is-paused .hero-autoplay .icon-play {
  display: block;
}

.hero-bottom-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #5d7088;
  font-size: 11px;
  transition: color var(--fast);
}

.hero-text-link .icon {
  width: 13px;
  height: 13px;
}

.hero-text-link:hover {
  color: var(--blue-600);
}

.hero-arrows {
  display: flex;
  gap: 7px;
}

.hero-arrows .square-button {
  width: 37px;
  height: 37px;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(7, 26, 51, 0.15);
  backdrop-filter: blur(8px);
}

.hero-arrows .square-button:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

/* ---------- 7. Updates strip ---------- */
.updates-bar {
  position: relative;
  z-index: 5;
  background: #fff;
  border-top: 1px solid #e9eff6;
  border-bottom: 1px solid #e5ecf4;
}

.updates-inner {
  display: flex;
  align-items: stretch;
  min-height: 74px;
  padding-inline: var(--gutter);
}

.updates-label {
  display: flex;
  flex: 0 0 172px;
  align-items: center;
  gap: 8px;
  padding-right: 23px;
  border-right: 1px solid #e7edf4;
  color: #20344e;
  font-size: 12px;
  font-weight: 600;
}

.updates-label small {
  display: none;
  color: #96a4b4;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.updates-list {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.updates-list a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 13px 24px;
  border-right: 1px solid #edf1f6;
  color: var(--ink-2);
  transition: background var(--fast);
}

.updates-list a:last-child {
  border-right: 0;
}

.updates-list a:hover {
  background: #f8fbff;
}

.updates-list a > .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 13px;
  height: 13px;
  color: #9ba9b9;
  transform: translateY(-50%);
  transition: color var(--fast), transform var(--fast);
}

.updates-list a:hover > .icon {
  color: var(--blue-600);
  transform: translate(2px, -2px);
}

.update-type {
  color: var(--blue-500);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.update-text {
  overflow: hidden;
  color: #2f4159;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-extra {
  overflow: hidden;
  color: #95a2b2;
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 8. AI suite ---------- */
.ai-suite {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 32%, #f7faff 76%, #ffffff 100%);
}

.ai-suite::before {
  content: "";
  position: absolute;
  top: 80px;
  right: -130px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(0, 130, 245, 0.09);
  transform: rotate(24deg);
  pointer-events: none;
}

.ai-suite::after {
  content: "";
  position: absolute;
  top: 156px;
  right: 28px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(0, 130, 245, 0.07);
  transform: rotate(24deg);
  pointer-events: none;
}

.ai-scroller {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-columns: calc((100% - 48px) / 4);
  grid-auto-flow: column;
  gap: 16px;
  margin: -4px;
  padding: 4px 4px 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.ai-scroller::-webkit-scrollbar {
  display: none;
}

.ai-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e8f2;
  scroll-snap-align: start;
  transition: border-color var(--normal), box-shadow var(--normal), transform var(--normal) var(--ease);
}

.ai-card:hover {
  border-color: #c0d6f3;
  box-shadow: 0 18px 42px rgba(7, 26, 51, 0.09);
  transform: translateY(-4px);
}

.ai-card-media {
  position: relative;
  aspect-ratio: 744 / 440;
  overflow: hidden;
  background: #e5f2ff;
  border-bottom: 1px solid #edf2f7;
}

.ai-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.ai-card:hover .ai-card-media > img {
  transform: scale(1.035);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  color: #0956b3;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.media-index {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 5px;
  color: #2d4868;
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.ai-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 17px;
}

.ai-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.product-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.mark-workbuddy { background: linear-gradient(135deg, #125DF5, #4C9DFF); }
.mark-codebuddy { background: linear-gradient(135deg, #009e8a, #12cfa6); }
.mark-managed { background: linear-gradient(135deg, #1c5dd8, #6d8ff9); }
.mark-runtime { background: linear-gradient(135deg, #213f8f, #0072e8); }
.mark-adp { background: linear-gradient(135deg, #0057be, #0b98e9); }
.mark-tione { background: linear-gradient(135deg, #173265, #2d7cff); }

.ai-card-heading h3 {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-card-heading span {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: #8693a4;
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-card-body > p {
  display: -webkit-box;
  min-height: 57px;
  margin-top: 12px;
  overflow: hidden;
  color: #64748a;
  font-size: 12px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ai-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eff3f8;
}

.ai-card-actions .text-link {
  font-size: 11px;
}

.media-code-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 28px);
  padding: 7px 9px;
  color: #d6e9ff;
  background: rgba(3, 18, 36, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.media-code-chip code {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.code-dots {
  display: flex;
  gap: 3px;
  flex: 0 0 auto;
}

.code-dots i {
  display: block;
  width: 4px;
  height: 4px;
  background: #65c8ff;
}

.code-dots i:nth-child(2) { background: #83e8ca; }
.code-dots i:nth-child(3) { background: #b6a5ff; }

.media-terminal {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: min(205px, calc(100% - 28px));
  padding: 8px 10px 9px;
  color: #b8d4ee;
  background: rgba(3, 17, 34, 0.84);
  border: 1px solid rgba(142, 188, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.8;
  backdrop-filter: blur(8px);
}

.media-terminal > div {
  display: flex;
  gap: 3px;
  margin-bottom: 5px;
}

.media-terminal > div span {
  display: block;
  width: 4px;
  height: 4px;
  background: #6486a9;
}

.media-terminal code {
  display: block;
  white-space: nowrap;
}

.media-terminal em {
  color: #7ed6ff;
  font-style: normal;
}

.media-terminal i {
  color: #85dfc4;
  font-style: normal;
}

.media-terminal b {
  color: #f5d486;
  font-weight: 400;
}

.media-terminal--tione {
  width: 165px;
}

/* ---------- 9. Model hub ---------- */
.modelhub {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 52%, #f9fbff 100%);
}

.modelhub::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(2560px, 180%);
  height: 100%;
  background-image: url("../img/modelbg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.46;
  transform: translateX(-50%);
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.3) 48%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.3) 48%, transparent 100%);
}

.modelhub .container {
  position: relative;
  z-index: 1;
}

.model-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 18px;
  align-items: stretch;
}

.model-feature {
  position: relative;
  min-height: 517px;
  padding: clamp(30px, 3.8vw, 47px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.5), transparent 32%),
    linear-gradient(128deg, #f8fbff 0%, #ecf5ff 54%, #dfedff 100%);
  border: 1px solid #d8e5f6;
  box-shadow: 0 16px 42px rgba(24, 62, 113, 0.06);
}

.model-feature::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-500), rgba(0, 162, 237, 0.2));
}

.model-feature-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 57%;
}

.model-feature-copy .tag {
  margin-bottom: 21px;
}

.model-feature-copy h2 {
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.model-feature-copy > p {
  max-width: 350px;
  margin-top: 18px;
  color: #5c6f87;
  font-size: 13px;
  line-height: 1.85;
}

.model-feature-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 28px;
}

.model-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 27px;
  padding-top: 17px;
  border-top: 1px solid rgba(18, 93, 245, 0.1);
}

.model-feature-list li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #546980;
  font-size: 10px;
  white-space: nowrap;
}

.model-feature-list .icon {
  width: 12px;
  height: 12px;
  color: var(--blue-500);
}

.model-feature-visual {
  position: absolute;
  top: 50%;
  right: -16%;
  width: 78%;
  height: 84%;
  transform: translateY(-50%);
  pointer-events: none;
}

.model-feature-visual > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0.82;
  mix-blend-mode: multiply;
}

.model-feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(240, 247, 255, 0) 48%, rgba(240, 247, 255, 0.62) 82%, rgba(234, 244, 255, 0.98) 100%);
  pointer-events: none;
}

.token-card,
.model-float,
.visual-orbit {
  z-index: 2;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(0, 112, 235, 0.18);
  transform: rotate(45deg);
}

.orbit-one {
  top: 12%;
  right: 7%;
  width: 112px;
  height: 112px;
}

.orbit-two {
  right: 18%;
  bottom: 10%;
  width: 64px;
  height: 64px;
  border-color: rgba(0, 162, 237, 0.24);
}

.token-card {
  position: absolute;
  top: 17%;
  right: 27%;
  width: 144px;
  padding: 13px 14px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(33, 80, 139, 0.12);
  backdrop-filter: blur(10px);
}

.token-card-label {
  display: block;
  color: #69809d;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.token-card strong {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 6px;
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.token-card strong span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
}

.token-card strong small {
  margin-left: 2px;
  color: #7e8ea2;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
}

.token-card-foot {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #edf2f8;
  color: #7890aa;
  font-size: 9px;
}

.model-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  color: #174b85;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 21px rgba(34, 79, 137, 0.09);
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.model-float span {
  color: #7d93ab;
  font-family: var(--font-sans);
  font-size: 8px;
}

.model-float-a {
  display: none;
}

.model-float-b {
  right: 29%;
  bottom: 11%;
}

.feature-corner {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 19px;
  height: 19px;
  border-right: 1px solid rgba(18, 93, 245, 0.36);
  border-bottom: 1px solid rgba(18, 93, 245, 0.36);
}

.model-panel {
  display: flex;
  flex-direction: column;
  padding: 23px 23px 17px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dde7f3;
  backdrop-filter: blur(12px);
}

.model-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e8eef6;
}

.model-tabs {
  display: flex;
  gap: 24px;
}

.model-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 0 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #66778d;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--fast), border-color var(--fast);
}

.model-tab .icon {
  width: 14px;
  height: 14px;
}

.model-tab:hover {
  color: var(--blue-600);
}

.model-tab.is-active {
  color: var(--blue-600);
  border-bottom-color: var(--blue-500);
}

.model-updated {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 3px;
  color: #9aa7b7;
  font-size: 9px;
  white-space: nowrap;
}

.model-updated::before {
  content: "";
  width: 4px;
  height: 4px;
  background: #56c5a1;
}

.model-grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.model-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 166px;
  padding: 15px;
  background: #fbfdff;
  border: 1px solid #e9eff6;
  transition: border-color var(--fast), background var(--fast), transform var(--fast), box-shadow var(--fast);
}

.model-card:hover {
  background: #fff;
  border-color: #b9d2f1;
  box-shadow: 0 8px 22px rgba(23, 58, 107, 0.07);
  transform: translateY(-2px);
}

.model-card-top {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.model-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  object-fit: contain;
}

.model-mono {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, #125DF5, #4C9DFF);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.model-title-wrap {
  min-width: 0;
}

.model-name {
  overflow: hidden;
  color: #1b2d45;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-tag {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #788ba1;
  font-size: 9px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-desc {
  display: -webkit-box;
  margin-top: 11px;
  overflow: hidden;
  color: #6a7a90;
  font-size: 10.5px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.model-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: auto;
  padding-top: 10px;
  color: #8c9caf;
  font-size: 9px;
}

.model-card-foot .icon {
  width: 12px;
  height: 12px;
  color: #97a7b9;
  transition: color var(--fast), transform var(--fast);
}

.model-card:hover .model-card-foot .icon {
  color: var(--blue-600);
  transform: translate(2px, -2px);
}

.model-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #edf2f7;
  color: #8e9cab;
  font-size: 9px;
}

.model-panel-foot > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.model-panel-foot .live-dot {
  width: 4px;
  height: 4px;
}

.model-panel-foot .text-link {
  font-size: 10px;
}

/* ---------- 10. Capability ---------- */
.capabilities {
  background: #f2f5fa;
}

.capabilities::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 38%;
  width: 580px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(0, 138, 255, 0.08), transparent 68%);
  pointer-events: none;
}

.capability-shell {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #e0e8f2;
  box-shadow: 0 18px 50px rgba(19, 53, 93, 0.05);
}

.capability-tabs {
  display: flex;
  overflow-x: auto;
  padding: 0 8px;
  background: #fbfcfe;
  border-bottom: 1px solid #e8eef5;
  scrollbar-width: none;
}

.capability-tabs::-webkit-scrollbar {
  display: none;
}

.cap-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  height: 59px;
  padding: 0 20px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #63748a;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--fast), border-color var(--fast), background var(--fast);
}

.cap-tab .icon {
  width: 15px;
  height: 15px;
  color: #91a1b4;
  transition: color var(--fast);
}

.cap-tab:hover {
  color: var(--blue-600);
  background: #f8fbff;
}

.cap-tab.is-active {
  color: var(--blue-600);
  border-bottom-color: var(--blue-500);
  background: #fff;
}

.cap-tab.is-active .icon {
  color: var(--blue-600);
}

.capability-panel {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 530px;
}

.capability-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
}

.capability-kicker {
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.capability-copy h3 {
  margin-top: 13px;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.capability-desc {
  max-width: 490px;
  margin-top: 13px;
  color: #5d6f86;
  font-size: 13px;
  line-height: 1.9;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 25px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #65768c;
}

.feature-list > li > .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--blue-500);
}

.feature-list strong {
  display: block;
  color: #283b54;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
}

.feature-list span {
  display: block;
  margin-top: 2px;
  color: #7a899c;
  font-size: 11px;
  line-height: 1.65;
}

.capability-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 29px;
}

.capability-media {
  position: relative;
  margin: 16px;
  overflow: hidden;
  background: #eaf3fd;
  border: 1px solid #e7eef7;
}

.capability-media > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.75s var(--ease);
}

.capability-media:hover > img {
  transform: scale(1.018);
}

.capability-media-caption {
  position: absolute;
  left: 13px;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: #5b6c81;
  font-size: 9px;
  backdrop-filter: blur(8px);
}

.capability-media-caption span:first-child {
  padding: 1px 5px;
  color: var(--blue-600);
  background: #eaf3ff;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.media-corner {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 26px;
  height: 26px;
  border-top: 1px solid rgba(18, 93, 245, 0.4);
  border-right: 1px solid rgba(18, 93, 245, 0.4);
}

.capability-panel.is-animating .capability-copy,
.capability-panel.is-animating .capability-media {
  animation: panelFadeIn 0.42s var(--ease) both;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 11. Product selector ---------- */
.products {
  background: #fff;
}

.product-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  background: #fff;
  border: 1px solid #e1e9f3;
  box-shadow: 0 18px 46px rgba(7, 26, 51, 0.045);
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  background: #f7f9fc;
  border-right: 1px solid #e5edf5;
}

.product-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 16px 13px;
  border-bottom: 1px solid #e8eef5;
  color: #273c55;
  font-size: 12px;
  font-weight: 600;
}

.product-sidebar-head small {
  color: #97a6b7;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.product-tabs {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

.product-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 43px;
  padding: 9px 14px 9px 15px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  color: #54677e;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: color var(--fast), background var(--fast), border-color var(--fast);
}

.product-tab .icon {
  width: 15px;
  height: 15px;
  color: #8fa0b3;
  transition: color var(--fast);
}

.product-tab:hover {
  color: var(--blue-600);
  background: #f1f7ff;
}

.product-tab.is-active {
  color: var(--blue-600);
  background: #fff;
  border-left-color: var(--blue-500);
  font-weight: 600;
}

.product-tab.is-active .icon {
  color: var(--blue-500);
}

.product-tab .tab-arrow {
  width: 12px;
  height: 12px;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity var(--fast), transform var(--fast);
}

.product-tab.is-active .tab-arrow,
.product-tab:hover .tab-arrow {
  opacity: 1;
  transform: translateX(0);
}

.product-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: auto;
  padding: 15px 16px;
  border-top: 1px solid #e7edf4;
  color: #60738a;
  font-size: 11px;
  transition: color var(--fast);
}

.product-sidebar-link .icon {
  width: 13px;
  height: 13px;
}

.product-sidebar-link:hover {
  color: var(--blue-600);
}

.product-content {
  min-width: 0;
  padding: clamp(22px, 2.8vw, 34px);
}

.product-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.product-panel-title h3 {
  color: var(--ink);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.product-panel-title p {
  margin-top: 5px;
  color: #8694a5;
  font-size: 11px;
}

.product-panel-head .text-link {
  flex: 0 0 auto;
  font-size: 11px;
}

.product-recs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 16px;
}

.product-rec {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 183px;
  padding: 18px 19px;
  overflow: hidden;
  background:
    linear-gradient(125deg, #f4f9ff 0%, #eaf4ff 100%);
  border: 1px solid #deeafa;
  transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast);
}

.product-rec:nth-child(even) {
  background:
    linear-gradient(125deg, #f5f9ff 0%, #e9f3ff 55%, #e6f0ff 100%);
}

.product-rec:hover {
  border-color: #b6d1f2;
  box-shadow: 0 12px 30px rgba(18, 48, 92, 0.08);
  transform: translateY(-2px);
}

.product-rec::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(0, 98, 219, 0.11);
  transform: rotate(30deg);
}

.product-rec::after {
  content: attr(data-mark);
  position: absolute;
  right: 8px;
  bottom: -14px;
  color: rgba(18, 93, 245, 0.055);
  font-family: var(--font-display);
  font-size: 67px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.07em;
  pointer-events: none;
}

.product-rec-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-rec-hot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  color: #b06500;
  background: #fff4e1;
  border: 1px solid #f6dfbb;
  font-size: 9px;
  line-height: 1.5;
}

.product-rec-hot .icon {
  width: 10px;
  height: 10px;
}

.product-rec h4 {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: #142944;
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.product-rec h4 a {
  transition: color var(--fast);
}

.product-rec h4 a:hover {
  color: var(--blue-600);
}

.product-rec-desc {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  color: #64778e;
  font-size: 11px;
  line-height: 1.65;
}

.product-rec-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
}

.product-rec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.mini-tag {
  padding: 1px 5px;
  color: #63778e;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(155, 180, 208, 0.38);
  font-size: 8px;
  line-height: 17px;
}

.product-rec-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.product-rec-link .icon {
  width: 12px;
  height: 12px;
  transition: transform var(--fast);
}

.product-rec:hover .product-rec-link .icon {
  transform: translateX(2px);
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 146px;
  padding: 14px 14px 12px;
  background: #fff;
  border: 1px solid #e6edf5;
  transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast);
}

.product-card:hover {
  border-color: #bad3f1;
  box-shadow: 0 10px 24px rgba(24, 58, 101, 0.06);
  transform: translateY(-2px);
}

.product-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.product-card h4 {
  color: #263a52;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  transition: color var(--fast);
}

.product-card:hover h4 {
  color: var(--blue-600);
}

.product-card .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: #aab6c4;
  transition: color var(--fast), transform var(--fast);
}

.product-card:hover .product-card-title .icon {
  color: var(--blue-600);
  transform: translate(2px, -2px);
}

.product-card p {
  display: -webkit-box;
  min-height: 32px;
  margin-top: 7px;
  overflow: hidden;
  color: #7a899c;
  font-size: 10px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 9px;
}

.product-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid #f0f4f8;
  color: #8391a4;
  font-size: 9px;
  opacity: 1;
  transform: none;
  transition: color var(--fast);
}

.product-card:hover .product-card-action {
  color: var(--blue-600);
}

.product-card:hover .product-card-action .icon {
  color: var(--blue-600);
}

.product-card-action span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.product-card-action .icon {
  width: 11px;
  height: 11px;
  margin: 0;
  color: var(--blue-600);
}

.product-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eef2f7;
  color: #8a98a9;
  font-size: 10px;
}

.product-panel-foot .text-link {
  font-size: 10px;
}

.product-panel.is-animating {
  animation: panelFadeIn 0.36s var(--ease) both;
}

.no-js-message {
  padding: 24px;
  color: #68788e;
  background: #f7faff;
  border: 1px dashed #d8e3f0;
}

/* ---------- 12. Market ---------- */
.market {
  border-top: 1px solid #edf2f7;
}

.market-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 33px;
  align-items: stretch;
}

.market-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 3px 0;
}

.market-stat {
  display: flex;
  flex-direction: column;
  padding-bottom: 17px;
  border-bottom: 1px solid #e2e9f2;
}

.market-stat strong {
  color: var(--blue-600);
  font-family: var(--font-display);
  font-size: clamp(50px, 5vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.market-stat strong span {
  color: var(--blue-400);
  font-size: 28px;
}

.market-stat small {
  margin-top: 4px;
  color: #7c8b9d;
  font-size: 11px;
}

.market-intro > p {
  margin-top: 18px;
  color: #63768c;
  font-size: 12px;
  line-height: 1.9;
}

.market-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 9px 12px;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid #e9eef4;
}

.market-points li {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6c7d91;
  font-size: 10px;
}

.market-points .icon {
  width: 12px;
  height: 12px;
  color: var(--blue-500);
}

.market-intro .btn {
  min-height: 40px;
  margin-top: 23px;
  padding-inline: 17px;
  font-size: 12px;
}

.market-scroller {
  display: grid;
  grid-auto-columns: calc((100% - 36px) / 4);
  grid-auto-flow: column;
  gap: 12px;
  min-width: 0;
  padding: 2px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.market-scroller::-webkit-scrollbar {
  display: none;
}

.market-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e9f3;
  scroll-snap-align: start;
  transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast);
}

.market-card:hover {
  border-color: #bdd4f0;
  box-shadow: 0 16px 36px rgba(21, 54, 98, 0.08);
  transform: translateY(-3px);
}

.market-media {
  position: relative;
  aspect-ratio: 480 / 352;
  overflow: hidden;
  background: #edf6ff;
}

.market-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.market-card:hover .market-media img {
  transform: scale(1.04);
}

.market-index {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 5px;
  color: #2f4866;
  background: rgba(255, 255, 255, 0.76);
  font-family: var(--font-display);
  font-size: 9px;
  backdrop-filter: blur(7px);
}

.market-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px;
}

.market-body h3 {
  color: #182c45;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.market-body > p {
  margin-top: 3px;
  color: #8794a4;
  font-size: 10px;
  line-height: 1.5;
}

.market-body ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eff3f8;
}

.market-body li {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #697a8e;
  font-size: 9px;
}

.market-body li::before {
  content: "";
  width: 3px;
  height: 3px;
  flex: 0 0 auto;
  background: #a9c8ee;
}

.market-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 13px;
  color: var(--blue-600);
  font-size: 9px;
}

.market-arrow .icon {
  width: 12px;
  height: 12px;
  transition: transform var(--fast);
}

.market-card:hover .market-arrow .icon {
  transform: translateX(2px);
}

/* ---------- 13. Solution ---------- */
.solutions {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.solution-tabs {
  display: flex;
  gap: 1px;
  margin-bottom: 23px;
  border-bottom: 1px solid #e0e8f2;
  overflow-x: auto;
  scrollbar-width: none;
}

.solution-tabs::-webkit-scrollbar {
  display: none;
}

.solution-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #66778b;
  font-size: 13px;
  white-space: nowrap;
  transition: color var(--fast), border-color var(--fast);
}

.solution-tab .icon {
  width: 15px;
  height: 15px;
  color: #96a5b6;
  transition: color var(--fast);
}

.solution-tab:hover {
  color: var(--blue-600);
}

.solution-tab.is-active {
  color: var(--blue-600);
  border-bottom-color: var(--blue-500);
}

.solution-tab.is-active .icon {
  color: var(--blue-600);
}

.solution-panel {
  display: grid;
  grid-template-columns: 41% 59%;
  min-height: 500px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e8f2;
  box-shadow: 0 18px 45px rgba(7, 26, 51, 0.045);
}

.solution-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.7vw, 44px);
  border-right: 1px solid #edf1f6;
}

.solution-label {
  color: var(--blue-600);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.solution-copy h3 {
  margin-top: 13px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.solution-copy > p {
  margin-top: 13px;
  color: #65758a;
  font-size: 12.5px;
  line-height: 1.9;
}

.feature-list--compact {
  gap: 10px;
  margin-top: 21px;
}

.feature-list--compact li {
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.65;
}

.feature-list--compact .icon {
  width: 13px;
  height: 13px;
  margin-top: 0;
}

.solution-products {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 13px;
  width: 100%;
  margin-top: 21px;
  padding-top: 16px;
  border-top: 1px solid #eaf0f6;
}

.solution-products-label {
  width: 100%;
  color: #8c99aa;
  font-size: 9px;
}

.solution-products a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #4c6480;
  font-size: 10px;
  transition: color var(--fast);
}

.solution-products a:hover {
  color: var(--blue-600);
}

.solution-products .icon {
  width: 10px;
  height: 10px;
  color: #9bafc4;
}

.solution-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: auto;
  padding-top: 27px;
}

.solution-actions .btn {
  min-height: 40px;
  font-size: 12px;
}

.solution-visual {
  display: flex;
  min-width: 0;
  background: linear-gradient(135deg, #f5f9ff 0%, #e8f2ff 100%);
}

.solution-case {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 56%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
  background: linear-gradient(90deg, rgba(249, 252, 255, 0.97) 0%, rgba(239, 247, 255, 0.89) 100%);
}

.case-kicker {
  color: #7a8da4;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.solution-case h4 {
  margin-top: 14px;
  color: #0a2547;
  font-size: clamp(26px, 2.5vw, 35px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.solution-case > p {
  margin-top: 12px;
  color: #62758b;
  font-size: 11px;
  line-height: 1.85;
}

.case-metrics {
  display: flex;
  width: 100%;
  margin-top: 20px;
  border-top: 1px solid rgba(113, 148, 190, 0.22);
  border-bottom: 1px solid rgba(113, 148, 190, 0.22);
}

.case-metrics > div {
  flex: 1;
  padding: 14px 12px 13px 0;
}

.case-metrics > div + div {
  padding-left: 17px;
  border-left: 1px solid rgba(113, 148, 190, 0.22);
}

.case-metrics strong {
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.case-metrics strong span {
  margin-left: 1px;
  font-size: 12px;
}

.case-metrics small {
  display: block;
  margin-top: 5px;
  color: #8291a3;
  font-size: 9px;
}

.solution-case .text-link {
  margin-top: 18px;
  font-size: 10px;
}

.solution-art {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(113, 175, 255, 0.32), transparent 50%),
    linear-gradient(150deg, #dbeaff, #eff7ff);
}

.solution-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #edf6ff 0%, rgba(237, 246, 255, 0) 23%);
  pointer-events: none;
}

.solution-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.solution-art-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 4px 7px;
  color: #4f6b8b;
  background: rgba(255, 255, 255, 0.75);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(7px);
}

.solution-panel.is-animating {
  animation: panelFadeIn 0.4s var(--ease) both;
}

.customer-strip {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 25px;
  padding-top: 23px;
  border-top: 1px solid #e7edf4;
}

.customer-strip-label {
  flex: 0 0 auto;
  padding-right: 26px;
  border-right: 1px solid #e0e7f0;
  color: #75869b;
  font-size: 10px;
  line-height: 1.7;
}

.customer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  min-width: 0;
}

.customer-logos span {
  color: #99a6b5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  filter: grayscale(1);
  transition: color var(--fast);
}

.customer-logos span:hover {
  color: #455a74;
}

/* ---------- 14. Infrastructure ---------- */
.infrastructure {
  background:
    linear-gradient(180deg, #f6faff 0%, #f2f7fe 100%);
  border-top: 1px solid #edf2f8;
  border-bottom: 1px solid #e6edf6;
}

.infrastructure::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 93, 245, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 93, 245, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent 8%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 60%, transparent 100%);
  pointer-events: none;
}

.infrastructure .container {
  position: relative;
  z-index: 1;
}

.infra-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: stretch;
}

.infra-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
  border-top: 1px solid #dbe6f3;
  border-left: 1px solid #dbe6f3;
}

.infra-stat {
  min-height: 117px;
  padding: 17px 15px 14px;
  background: rgba(255, 255, 255, 0.55);
  border-right: 1px solid #dbe6f3;
  border-bottom: 1px solid #dbe6f3;
}

.infra-stat strong {
  color: #0b2b59;
  font-family: var(--font-display);
  font-size: clamp(31px, 3.3vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.infra-stat .stat-unit {
  margin-left: 1px;
  color: var(--blue-500);
  font-family: var(--font-display);
  font-size: 18px;
}

.infra-stat p {
  margin-top: 9px;
  color: #64758b;
  font-size: 11px;
}

.infra-note {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
  color: var(--blue-700);
  background:
    linear-gradient(135deg, rgba(239, 247, 255, 0.95), rgba(218, 236, 255, 0.95));
  transition: background var(--fast), color var(--fast);
}

.infra-note:hover {
  color: var(--blue-600);
  background: linear-gradient(135deg, #e8f4ff, #cae7ff);
}

.infra-note-icon {
  width: 22px;
  height: 22px;
  color: var(--blue-500);
}

.infra-note .infra-note-text strong {
  display: block;
  color: #274764;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.infra-note .infra-note-text small {
  display: block;
  margin-top: 3px;
  color: #8091a5;
  font-size: 10px;
  line-height: 1.5;
}

.infra-note-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 14px;
  height: 14px;
  color: #8da2b9;
  transition: color var(--fast), transform var(--fast);
}

.infra-note:hover .infra-note-arrow {
  color: var(--blue-600);
  transform: translate(2px, -2px);
}

.infra-copy {
  grid-column: 1 / -1;
  padding: 18px 0 0;
  color: #64768d;
  font-size: 12px;
  line-height: 1.9;
}

.infra-badges {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.infra-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #dce7f4;
  color: #566b84;
  font-size: 10px;
}

.infra-badges .icon {
  width: 13px;
  height: 13px;
  color: var(--blue-500);
}

.infra-map {
  position: relative;
  min-height: 461px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 55% 50%, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(140deg, #dbeaff 0%, #edf6ff 62%, #e2f0ff 100%);
  border: 1px solid #d9e6f6;
}

.infra-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(18, 93, 245, 0.2) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse at 54% 48%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse at 54% 48%, #000 20%, transparent 76%);
  opacity: 0.55;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(18, 93, 245, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(18, 93, 245, 0.06) 1px, transparent 1px);
  background-size: 76px 76px;
  transform: perspective(600px) rotateX(52deg) scale(1.45) translateY(15%);
  transform-origin: center top;
  opacity: 0.8;
  pointer-events: none;
}

.infra-earth {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 126%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  mix-blend-mode: multiply;
  filter: saturate(1.2) contrast(1.08);
}

.map-node {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -50%);
}

.map-ping {
  position: relative;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.66);
}

.map-ping::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(0, 108, 245, 0.5);
  animation: mapPing 2.4s ease-out infinite;
}

@keyframes mapPing {
  0% { opacity: 0.8; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(2.4); }
}

.map-label {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.84);
  color: #375173;
  font-size: 9px;
  line-height: 1.35;
  white-space: nowrap;
  backdrop-filter: blur(5px);
  transition: color var(--fast), background var(--fast);
}

.map-label small {
  color: #8497ad;
  font-size: 8px;
}

.map-node:hover .map-label,
.map-node.is-active .map-label {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.map-node:hover .map-label small,
.map-node.is-active .map-label small {
  color: #c8e2ff;
}

.map-caption {
  position: absolute;
  left: 13px;
  bottom: 13px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: #6a7d93;
  font-size: 8px;
  backdrop-filter: blur(7px);
}

.map-caption .live-dot {
  width: 4px;
  height: 4px;
}

.cert-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 27px;
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid #dfe9f4;
  border-left: 1px solid #dfe9f4;
}

.cert-strip-head {
  display: flex;
  flex: 0 0 164px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 11px 15px;
  border-right: 1px solid #dfe9f4;
  border-bottom: 1px solid #dfe9f4;
  color: #354c68;
  font-size: 10px;
  font-weight: 500;
}

.cert-strip-head small {
  color: #95a4b6;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.cert-strip a {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 120px;
  padding: 11px 13px;
  border-right: 1px solid #dfe9f4;
  border-bottom: 1px solid #dfe9f4;
  color: #65768b;
  font-size: 9px;
  white-space: nowrap;
  transition: color var(--fast), background var(--fast);
}

.cert-strip a .icon {
  width: 12px;
  height: 12px;
  color: #8ca3bd;
}

.cert-strip a:hover {
  color: var(--blue-600);
  background: #fff;
}

.cert-strip a:hover .icon {
  color: var(--blue-500);
}

.cert-strip .cert-more {
  justify-content: center;
  color: var(--blue-600);
}

/* ---------- 15. Developer ---------- */
.developer {
  background: #fff;
}

.developer-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.developer-feature {
  position: relative;
  display: flex;
  min-height: 273px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
  isolation: isolate;
  transition: transform var(--normal) var(--ease), box-shadow var(--normal);
}

.developer-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 18, 40, 0.05) 8%, rgba(3, 18, 40, 0.27) 44%, rgba(3, 18, 40, 0.84) 100%),
    linear-gradient(90deg, rgba(3, 18, 40, 0.2), transparent 80%);
  transition: background var(--normal);
}

.developer-feature:hover {
  box-shadow: 0 16px 35px rgba(10, 35, 72, 0.19);
  transform: translateY(-4px);
}

.developer-feature:hover::before {
  background:
    linear-gradient(180deg, rgba(3, 18, 40, 0.12) 4%, rgba(3, 18, 40, 0.35) 44%, rgba(3, 18, 40, 0.9) 100%),
    linear-gradient(90deg, rgba(3, 18, 40, 0.25), transparent 80%);
}

.developer-feature--one {
  background-image: url("../img/developer-1.webp");
}

.developer-feature--two {
  background-image: url("../img/developer-2.webp");
}

.developer-feature--three {
  background-image: url("../img/developer-3.webp");
}

.dev-tag {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 3px 7px;
  margin-bottom: auto;
  color: #174b83;
  background: rgba(255, 255, 255, 0.87);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.dev-feature-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 92%;
}

.dev-feature-copy h3 {
  max-width: 96%;
  color: #fff;
  font-size: clamp(17px, 1.65vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.dev-feature-copy p {
  display: -webkit-box;
  margin-top: 7px;
  overflow: hidden;
  color: #d3e0ed;
  font-size: 10px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dev-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  color: #fff;
  font-size: 10px;
}

.dev-link .icon {
  width: 12px;
  height: 12px;
  transition: transform var(--fast);
}

.developer-feature:hover .dev-link .icon {
  transform: translate(2px, -2px);
}

.dev-feature-num {
  position: absolute;
  top: 22px;
  right: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.developer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.dev-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 104px;
  padding: 17px;
  border: 1px solid #e5ebf3;
  background: #fff;
  transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast);
}

.dev-card:hover {
  border-color: #bed5ef;
  box-shadow: 0 10px 24px rgba(7, 26, 51, 0.06);
  transform: translateY(-2px);
}

.dev-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  color: var(--blue-500);
  background: #eef5ff;
  border: 1px solid #dbe9fa;
}

.dev-icon .icon {
  width: 15px;
  height: 15px;
}

.dev-card h3 {
  color: #283d56;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.dev-card p {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: #7e8c9e;
  font-size: 10px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dev-arrow {
  width: 13px;
  height: 13px;
  margin-left: auto;
  color: #a6b4c3;
  opacity: 0;
  transition: opacity var(--fast), color var(--fast), transform var(--fast);
}

.dev-card:hover .dev-arrow {
  color: var(--blue-600);
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ---------- 16. Start CTA ---------- */
.start {
  background: #f5f9ff;
}

.start-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/sell-bg.webp");
  background-position: center;
  background-size: cover;
  opacity: 0.9;
  pointer-events: none;
}

.start::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 93, 245, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 93, 245, 0.032) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.start .container {
  position: relative;
  z-index: 1;
}

.start-head {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.start-head h2 {
  margin-top: 15px;
  color: var(--ink);
  font-size: clamp(33px, 3.6vw, 49px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.start-head > p {
  max-width: 570px;
  margin: 16px auto 0;
  color: #64768c;
  font-size: 12px;
  line-height: 1.9;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.start-card {
  position: relative;
  display: flex;
  min-height: 266px;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.83);
  border: 1px solid #dfe8f3;
  backdrop-filter: blur(12px);
  transition: border-color var(--fast), transform var(--normal) var(--ease), box-shadow var(--normal);
}

.start-card:hover {
  border-color: #bed4ee;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.start-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.start-index {
  color: #93a2b4;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.start-card h3 {
  margin-top: 26px;
  color: #172c46;
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.start-card > p,
.start-card .start-card-actions {
  margin-top: 10px;
}

.start-card p {
  color: #697a90;
  font-size: 11px;
  line-height: 1.8;
}

.start-card > .text-link {
  margin-top: auto;
  font-size: 11px;
}

.start-card--featured {
  color: #fff;
  background:
    radial-gradient(circle at 90% 4%, rgba(54, 160, 255, 0.34), transparent 34%),
    linear-gradient(140deg, #06336e 0%, #125DF5 56%, #0477ea 100%);
  border-color: #0a5cc9;
  box-shadow: 0 18px 40px rgba(0, 70, 179, 0.2);
}

.start-card--featured:hover {
  border-color: #4b9aff;
  box-shadow: 0 22px 50px rgba(0, 70, 179, 0.28);
}

.start-card--featured h3 {
  color: #fff;
}

.start-card--featured p {
  color: #c6dfff;
}

.start-card--featured .start-index {
  color: #b6d6ff;
}

.start-card-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto !important;
  padding-top: 24px;
}

.start-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #d5e9ff;
  font-size: 10px;
  transition: color var(--fast);
}

.start-inline-link:hover {
  color: #fff;
}

.start-inline-link .icon {
  width: 12px;
  height: 12px;
}

.start-card-pattern {
  position: absolute;
  right: -21px;
  bottom: -32px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(160, 210, 255, 0.27);
  transform: rotate(29deg);
  pointer-events: none;
}

.start-card-pattern::before,
.start-card-pattern::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(160, 210, 255, 0.18);
}

.start-card-pattern::before {
  inset: 19px;
}

.start-card-pattern::after {
  inset: 39px;
}

.start-contact {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 15px;
  padding: 19px 23px;
  background: rgba(255, 255, 255, 0.79);
  border: 1px solid #dfe8f3;
  backdrop-filter: blur(12px);
}

.start-contact-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 134px;
}

.contact-label {
  color: #8392a5;
  font-size: 9px;
}

.contact-number {
  color: #0d2f5d;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--fast);
}

.contact-number:hover {
  color: var(--blue-600);
}

.start-contact-divider {
  width: 1px;
  height: 33px;
  background: #dfe7f1;
}

.start-contact > p {
  flex: 1;
  color: #79899c;
  font-size: 10px;
  line-height: 1.7;
}

.start-contact > .btn {
  min-height: 39px;
  flex: 0 0 auto;
  padding-inline: 16px;
  font-size: 11px;
}

/* ---------- 17. Footer ---------- */
.site-footer {
  color: #9aa9ba;
  background: #07111f;
}

.footer-top {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 54px;
  padding: 57px 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand > img {
  width: 78px;
  height: 18px;
  opacity: 0.94;
}

.footer-brand > p {
  margin-top: 19px;
  color: #8292a6;
  font-size: 12px;
  line-height: 1.9;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 21px;
  color: #d2deeb;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.footer-phone .icon {
  width: 14px;
  height: 14px;
  color: #68a9f4;
}

.footer-social {
  display: flex;
  gap: 7px;
  margin-top: 22px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #8da0b5;
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: color var(--fast), border-color var(--fast), background var(--fast);
}

.footer-social a:hover {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.footer-social .icon {
  width: 14px;
  height: 14px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.footer-col h3 {
  margin-bottom: 15px;
  color: #dae4ee;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-col a {
  display: block;
  width: fit-content;
  padding: 3px 0;
  color: #8495a9;
  font-size: 12px;
  line-height: 1.75;
  transition: color var(--fast);
}

.footer-col a:hover {
  color: #d7e8fb;
}

.footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-language {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8495a9;
  font-size: 11px;
}

.footer-language .icon {
  width: 13px;
  height: 13px;
}

.footer-language .icon--xs {
  width: 10px;
  height: 10px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links a {
  color: #8495a9;
  font-size: 11px;
  transition: color var(--fast);
}

.footer-legal-links a:hover {
  color: #c9d9e9;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 38px;
  align-items: start;
  padding: 18px 0 25px;
}

.footer-disclaimer {
  grid-column: 1 / -1;
  max-width: 840px;
  color: #66788d;
  font-size: 10px;
  line-height: 1.8;
}

.footer-copyright {
  color: #607287;
  font-size: 10px;
  line-height: 1.7;
}

.footer-links {
  justify-self: end;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6d7f94;
  font-size: 10px;
  transition: color var(--fast);
}

.footer-links a:hover {
  color: #d4e4f4;
}

.footer-links .icon {
  width: 12px;
  height: 12px;
}

/* ---------- 18. Floating rail & toast ---------- */
.side-rail {
  position: fixed;
  right: 17px;
  bottom: 27px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1px;
  background: #fff;
  border: 1px solid #dfe7f1;
  box-shadow: 0 10px 28px rgba(7, 26, 51, 0.1);
}

.side-rail-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
  color: #5c7189;
  transition: color var(--fast), background var(--fast);
}

.side-rail-btn:last-child {
  border-bottom: 0;
}

.side-rail-btn .icon {
  width: 18px;
  height: 18px;
}

.side-rail-btn span {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  width: max-content;
  padding: 6px 9px;
  color: #fff;
  background: #071d3d;
  font-size: 10px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transform: translate(5px, -50%);
  transition: opacity var(--fast), transform var(--fast), visibility var(--fast);
  pointer-events: none;
}

.side-rail-btn:hover {
  color: var(--blue-600);
  background: #f4f9ff;
}

.side-rail-btn:hover span {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.side-rail-btn.is-hidden {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 31px;
  z-index: 3000;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  color: #fff;
  background: #0b2344;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(7, 25, 50, 0.2);
  font-size: 12px;
  line-height: 1.6;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  transition: opacity var(--fast), transform var(--fast);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1360px) {
  .nav-extra {
    display: none;
  }

  .nav-link {
    padding-inline: 8px;
    font-size: 13px;
  }

  .nav-shell {
    padding-inline: 22px;
  }

  .hero-inner {
    grid-template-columns: 198px minmax(0, 1fr);
    gap: 42px;
  }

  .hero-rail {
    max-width: 198px;
  }

  .ai-scroller {
    grid-auto-columns: calc((100% - 32px) / 3);
  }

  .market-scroller {
    grid-auto-columns: calc((100% - 24px) / 3);
  }

  .product-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .developer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .nav-secondary {
    display: none;
  }

  .nav-shell {
    padding-inline: 18px;
  }

  .nav-list > li {
    align-items: center;
  }

  .hero-inner {
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 35px;
  }

  .hero-copy :is(h1, h2) {
    font-size: clamp(44px, 5vw, 62px);
  }

  .model-layout {
    grid-template-columns: 1fr;
  }

  .model-feature {
    min-height: 420px;
  }

  .model-feature-copy {
    max-width: 57%;
  }

  .model-feature-visual {
    right: -2%;
    width: 56%;
    height: 88%;
  }

  .model-panel {
    min-height: 0;
  }

  .model-grid {
    flex: 0 0 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .model-card {
    min-height: 175px;
  }

  .product-shell {
    grid-template-columns: 196px minmax(0, 1fr);
  }

  .product-tab {
    padding-inline: 12px;
    font-size: 11px;
  }

  .product-content {
    padding: 22px;
  }

  .market-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
  }

  .market-scroller {
    grid-auto-columns: calc((100% - 12px) / 3);
  }

  .solution-panel {
    grid-template-columns: 44% 56%;
  }

  .solution-copy {
    padding: 29px;
  }

  .solution-visual {
    flex-direction: column;
  }

  .solution-case {
    flex: 0 0 auto;
    width: 100%;
    padding: 24px 26px;
  }

  .solution-art {
    min-height: 178px;
    border-top: 1px solid #fff;
  }

  .solution-art::after {
    background: linear-gradient(180deg, #eff7ff 0%, rgba(239, 247, 255, 0) 30%);
  }

  .solution-art img {
    object-position: center 62%;
  }

  .infra-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .infra-map {
    min-height: 430px;
  }

  .footer-top {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 35px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 62px;
    --gutter: 28px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-actions {
    gap: 1px;
  }

  .nav-shell {
    padding-inline: 20px;
  }

  .nav-divider {
    display: none;
  }

  .nav-login {
    display: none;
  }

  .hero-stage {
    height: 650px;
  }

  .hero-inner {
    display: block;
    height: 100%;
    padding-top: 34px;
    padding-bottom: 80px;
  }

  .hero-rail {
    display: none;
  }

  .hero-copy-stack {
    height: 100%;
    min-height: 470px;
    margin: 0;
  }

  .hero-copy {
    max-width: 710px;
  }

  .hero-copy :is(h1, h2) {
    font-size: clamp(43px, 6.4vw, 63px);
  }

  .hero-desc {
    max-width: 560px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.91) 40%, rgba(248, 251, 255, 0.26) 77%, rgba(248, 251, 255, 0.02) 100%),
      linear-gradient(0deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.18) 22%, transparent 38%);
  }

  .hero-bottom {
    bottom: 23px;
  }

  .updates-inner {
    display: block;
    padding-inline: 0;
  }

  .updates-label {
    min-height: 0;
    padding: 11px var(--gutter) 9px;
    border-right: 0;
    border-bottom: 1px solid #e9eef5;
  }

  .updates-label small {
    display: block;
    margin-left: 2px;
  }

  .updates-list {
    overflow-x: auto;
    grid-template-columns: none;
    grid-auto-columns: minmax(218px, 1fr);
    grid-auto-flow: column;
    scrollbar-width: none;
  }

  .updates-list::-webkit-scrollbar {
    display: none;
  }

  .updates-list a {
    min-height: 64px;
    padding-left: var(--gutter);
  }

  .section-head {
    align-items: flex-start;
    gap: 24px;
  }

  .section-head-aside {
    align-items: flex-end;
    padding-top: 26px;
    padding-bottom: 0;
  }

  .section-head-aside .text-link {
    white-space: nowrap;
  }

  .ai-scroller {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .model-feature {
    min-height: 440px;
  }

  .model-feature-copy {
    max-width: 59%;
  }

  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-card {
    min-height: 156px;
  }

  .capability-panel {
    grid-template-columns: 1fr;
  }

  .capability-copy {
    order: 2;
    padding: 27px var(--gutter) 32px;
  }

  .capability-media {
    order: 1;
    min-height: 330px;
    margin-bottom: 0;
  }

  .capability-media > img {
    min-height: 330px;
    max-height: 400px;
  }

  .product-shell {
    display: block;
  }

  .product-sidebar {
    display: block;
    border-right: 0;
    border-bottom: 1px solid #e5edf5;
  }

  .product-sidebar-head,
  .product-sidebar-link {
    display: none;
  }

  .product-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding: 0 4px;
    scrollbar-width: none;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tab {
    width: auto;
    min-height: 47px;
    flex: 0 0 auto;
    padding: 0 13px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    font-size: 11px;
    white-space: nowrap;
  }

  .product-tab.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--blue-500);
  }

  .product-tab .tab-arrow {
    display: none;
  }

  .product-content {
    padding: 22px;
  }

  .market-layout {
    grid-template-columns: 1fr;
  }

  .market-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 24px;
    align-items: end;
  }

  .market-stat {
    grid-row: span 2;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .market-intro > p {
    margin-top: 0;
    align-self: end;
  }

  .market-points {
    grid-column: 2;
    margin-top: 12px;
    padding-top: 12px;
  }

  .market-intro .btn {
    grid-column: 2;
    margin-top: 15px;
  }

  .market-scroller {
    grid-auto-columns: calc((100% - 24px) / 3);
  }

  .solution-panel {
    grid-template-columns: 1fr;
  }

  .solution-copy {
    order: 1;
    border-right: 0;
    border-bottom: 1px solid #edf1f6;
  }

  .solution-visual {
    order: 2;
    flex-direction: row;
    min-height: 380px;
  }

  .solution-case {
    flex: 0 0 50%;
    width: 50%;
    min-height: 380px;
    padding: 28px;
  }

  .solution-art {
    min-height: 380px;
    border-top: 0;
  }

  .solution-art::after {
    background: linear-gradient(90deg, #eef7ff 0%, rgba(238, 247, 255, 0) 26%);
  }

  .solution-actions {
    margin-top: 24px;
  }

  .infra-map {
    min-height: 400px;
  }

  .developer-feature {
    min-height: 245px;
  }

  .developer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .start-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .start-card {
    min-height: 250px;
    padding: 19px;
  }

  .start-contact {
    flex-wrap: wrap;
  }

  .start-contact > p {
    flex: 1 1 260px;
  }

  .start-contact > .btn {
    margin-left: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 39px;
  }

  .footer-columns {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .footer-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 29px;
    align-items: start;
  }

  .footer-brand > img {
    grid-row: 1 / 3;
  }

  .footer-brand > p {
    margin-top: 0;
  }

  .footer-phone {
    margin-top: 12px;
  }

  .footer-social {
    margin-top: 15px;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 24px;
  }

  .nav-register {
    height: 32px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .hero-stage {
    height: 630px;
  }

  .hero-copy :is(h1, h2) {
    font-size: clamp(40px, 7.5vw, 57px);
  }

  .hero-copy-stack {
    min-height: 470px;
  }

  .section-head {
    display: block;
  }

  .section-head-aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
    padding: 0;
  }

  .section-aside-copy {
    max-width: 55%;
    text-align: left;
  }

  .section-head-aside > .text-link {
    margin-left: auto;
  }

  .section-head--tight .section-head-aside {
    flex-direction: row;
    align-items: center;
  }

  .section-head--tight .section-aside-copy {
    display: none;
  }

  .model-feature {
    min-height: 490px;
  }

  .model-feature-copy {
    max-width: 68%;
  }

  .model-feature-visual {
    right: -17%;
    width: 72%;
    opacity: 0.82;
  }

  .token-card {
    right: 19%;
    top: 10%;
  }

  .model-float-b {
    right: 24%;
  }

  .market-layout {
    display: block;
  }

  .market-intro {
    display: block;
    margin-bottom: 23px;
  }

  .market-stat {
    display: inline-flex;
    margin-right: 20px;
    vertical-align: middle;
    border-bottom: 0;
  }

  .market-intro > p {
    display: inline;
    font-size: 11px;
  }

  .market-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 17px;
    margin-top: 14px;
  }

  .market-intro .btn {
    margin-top: 17px;
  }

  .market-scroller {
    grid-auto-columns: calc((100% - 12px) / 2);
  }

  .solution-visual {
    flex-direction: row;
    min-height: 380px;
  }

  .solution-case {
    flex: 0 0 50%;
    width: 50%;
    min-height: 380px;
    padding: 25px;
  }

  .solution-art {
    min-height: 380px;
  }

  .solution-art::after {
    background: linear-gradient(90deg, #eff7ff 0%, rgba(239, 247, 255, 0) 32%);
  }

  .customer-strip {
    display: block;
  }

  .customer-strip-label {
    width: fit-content;
    margin-bottom: 14px;
    padding-right: 0;
    border-right: 0;
  }

  .customer-logos {
    gap: 11px 21px;
  }

  .infra-stat strong {
    font-size: 37px;
  }

  .cert-strip-head {
    flex-basis: 145px;
  }

  .developer-features {
    grid-template-columns: 1fr;
  }

  .developer-feature {
    min-height: 230px;
  }

  .developer-feature .dev-feature-copy {
    max-width: 75%;
  }

  .start-grid {
    grid-template-columns: 1fr;
  }

  .start-card {
    min-height: auto;
    padding: 24px;
  }

  .start-card h3 {
    margin-top: 22px;
  }

  .start-card > .text-link {
    margin-top: 22px;
  }

  .start-card-actions {
    margin-top: 22px !important;
    padding-top: 0;
  }

  .start-contact {
    gap: 17px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 58px;
    --gutter: 20px;
  }

  .nav-actions {
    padding-left: 4px;
  }

  .brand img {
    width: 72px;
    height: auto;
  }

  .hero-stage {
    height: 670px;
    min-height: 0;
  }

  .hero-inner {
    padding-top: 42px;
    padding-bottom: 94px;
  }

  .hero-copy-stack {
    min-height: 450px;
  }

  .hero-copy {
    top: 45%;
  }

  .hero-copy :is(h1, h2) {
    font-size: clamp(35px, 9.3vw, 49px);
    letter-spacing: -0.045em;
  }

  .hero-desc {
    margin-top: 17px;
    font-size: 12.5px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 21px;
  }

  .hero-actions .btn {
    min-height: 41px;
    padding-inline: 16px;
    font-size: 12px;
  }

  .hero-note {
    margin-top: 17px;
  }

  .hero-bottom {
    bottom: 19px;
    gap: 10px;
  }

  .hero-progress {
    width: 80px;
  }

  .hero-text-link {
    display: none;
  }

  .hero-bottom-right {
    gap: 10px;
  }

  .hero-arrows .square-button {
    width: 34px;
    height: 34px;
  }

  .hero-counter {
    min-width: 50px;
    font-size: 9px;
  }

  .hero-counter #hero-current {
    font-size: 12px;
  }

  .hero-progress-group {
    gap: 9px;
  }

  .updates-label {
    padding-block: 9px 8px;
    font-size: 11px;
  }

  .updates-label small {
    font-size: 7px;
  }

  .updates-list {
    grid-auto-columns: 245px;
  }

  .updates-list a {
    min-height: 62px;
  }

  .section {
    padding-block: 58px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .section-head {
    margin-bottom: 27px;
  }

  .section-head h2 {
    margin-top: 13px;
    font-size: clamp(28px, 7.5vw, 37px);
  }

  .section-lead {
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.8;
  }

  .section-head-aside {
    margin-top: 16px;
  }

  .section-aside-copy {
    display: none;
  }

  .scroll-controls {
    display: none;
  }

  .ai-scroller {
    grid-auto-columns: min(86vw, 315px);
    margin-inline: -20px;
    padding-inline: 20px;
    padding-bottom: 13px;
    scroll-padding-left: 20px;
  }

  .ai-card-body {
    padding: 16px;
  }

  .ai-card-heading h3 {
    font-size: 14px;
  }

  .scroller-foot p {
    display: none;
  }

  .modelhub::before {
    background-size: auto 70%;
    opacity: 0.33;
  }

  .model-feature {
    min-height: 530px;
    padding: 28px 22px;
  }

  .model-feature-copy {
    max-width: 100%;
  }

  .model-feature-copy h2 {
    font-size: 30px;
  }

  .model-feature-copy > p {
    max-width: 100%;
    font-size: 12px;
  }

  .model-feature-visual {
    top: auto;
    right: -15%;
    bottom: -4%;
    width: 86%;
    height: 49%;
    transform: none;
    opacity: 0.67;
  }

  .model-feature-actions {
    gap: 16px;
    margin-top: 23px;
  }

  .model-feature-list {
    gap: 9px;
    margin-top: 22px;
  }

  .token-card {
    top: 15%;
    right: 22%;
    transform: scale(0.85);
    transform-origin: right top;
  }

  .model-float {
    display: none;
  }

  .model-panel {
    padding: 18px 15px 15px;
  }

  .model-tabs {
    gap: 18px;
  }

  .model-tab {
    font-size: 11px;
  }

  .model-tab .icon {
    width: 13px;
    height: 13px;
  }

  .model-updated {
    display: none;
  }

  .model-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }

  .model-card {
    min-height: 0;
  }

  .model-desc {
    -webkit-line-clamp: 2;
  }

  .model-card-foot {
    padding-top: 9px;
  }

  .capability-tabs {
    padding-inline: 2px;
  }

  .cap-tab {
    padding-inline: 14px;
    font-size: 11px;
  }

  .capability-copy {
    padding: 24px 20px 27px;
  }

  .capability-copy h3 {
    font-size: 23px;
  }

  .capability-desc {
    font-size: 12px;
  }

  .feature-list {
    gap: 11px;
    margin-top: 20px;
  }

  .feature-list strong {
    font-size: 11.5px;
  }

  .feature-list span {
    font-size: 10px;
  }

  .capability-actions {
    gap: 15px;
    margin-top: 23px;
  }

  .capability-actions .btn {
    min-height: 39px;
    font-size: 12px;
  }

  .capability-media {
    min-height: 238px;
    margin: 10px;
  }

  .capability-media > img {
    min-height: 238px;
    max-height: 280px;
  }

  .product-content {
    padding: 17px 13px;
  }

  .product-panel-head {
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .product-panel-title h3 {
    font-size: 20px;
  }

  .product-panel-head .text-link {
    display: none;
  }

  .product-recs {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 12px;
  }

  .product-rec {
    min-height: 157px;
    padding: 15px;
  }

  .product-rec h4 {
    margin-top: 11px;
    font-size: 20px;
  }

  .product-rec-foot {
    margin-top: 12px;
  }

  .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .product-card {
    min-height: 136px;
    padding: 12px 11px;
  }

  .product-card h4 {
    font-size: 11.5px;
  }

  .product-card p {
    font-size: 9.5px;
  }

  .product-card-action {
    opacity: 1;
    transform: none;
  }

  .product-panel-foot {
    font-size: 9px;
  }

  .market-scroller {
    grid-auto-columns: min(76vw, 263px);
    margin-inline: -20px;
    padding-inline: 20px;
    scroll-padding-left: 20px;
  }

  .market-intro > p {
    display: block;
    margin-top: 10px;
    line-height: 1.8;
  }

  .market-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px 11px;
  }

  .solution-tabs {
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .solution-tab {
    padding-inline: 13px;
    font-size: 11px;
  }

  .solution-tab .icon {
    width: 13px;
    height: 13px;
  }

  .solution-copy {
    padding: 24px 20px 27px;
  }

  .solution-copy h3 {
    font-size: 24px;
  }

  .solution-copy > p {
    font-size: 11.5px;
  }

  .feature-list--compact li {
    font-size: 10px;
  }

  .solution-products {
    gap: 7px 11px;
  }

  .solution-actions {
    margin-top: 21px;
    padding-top: 0;
    gap: 14px;
  }

  .solution-visual {
    flex-direction: column;
  }

  .solution-case {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    padding: 21px 19px;
  }

  .solution-case h4 {
    font-size: 25px;
  }

  .solution-case > p {
    font-size: 10px;
  }

  .case-metrics {
    margin-top: 14px;
  }

  .case-metrics > div {
    padding-block: 11px;
  }

  .case-metrics strong {
    font-size: 25px;
  }

  .solution-art {
    flex: 0 0 230px;
    height: 230px;
    min-height: 230px;
  }

  .solution-art::after {
    background: linear-gradient(180deg, #eff7ff 0%, rgba(239, 247, 255, 0) 32%);
  }

  .customer-logos {
    gap: 10px 18px;
  }

  .customer-logos span {
    font-size: 10px;
  }

  .infra-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .infra-stat {
    min-height: 105px;
    padding: 14px 12px;
  }

  .infra-stat strong {
    font-size: 32px;
  }

  .infra-copy {
    font-size: 11px;
  }

  .infra-map {
    min-height: 340px;
  }

  .map-label {
    padding: 2px 4px;
    font-size: 7px;
  }

  .map-label small {
    display: none;
  }

  .map-caption {
    left: 9px;
    bottom: 9px;
    font-size: 7px;
  }

  .cert-strip-head {
    flex-basis: 100%;
    border-right: 0;
  }

  .cert-strip a {
    flex-basis: 33%;
    justify-content: center;
    padding-inline: 7px;
    font-size: 8px;
  }

  .cert-strip a .icon {
    width: 10px;
    height: 10px;
  }

  .cert-strip .cert-more {
    justify-content: center;
    flex-basis: 100%;
  }

  .developer-features {
    gap: 9px;
  }

  .developer-feature {
    min-height: 220px;
    padding: 18px;
  }

  .developer-feature .dev-feature-copy {
    max-width: 88%;
  }

  .dev-feature-copy h3 {
    font-size: 18px;
  }

  .developer-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dev-card {
    min-height: 82px;
    padding: 13px;
  }

  .dev-card h3 {
    font-size: 12px;
  }

  .dev-arrow {
    opacity: 1;
  }

  .start {
    padding-bottom: 51px;
  }

  .start-head h2 {
    font-size: 32px;
  }

  .start-head > p {
    font-size: 11px;
  }

  .start-card {
    padding: 21px;
  }

  .start-card h3 {
    font-size: 22px;
  }

  .start-card p {
    font-size: 10.5px;
  }

  .start-contact {
    display: flex;
    align-items: flex-start;
    padding: 17px;
  }

  .start-contact-copy {
    min-width: 124px;
  }

  .contact-number {
    font-size: 20px;
  }

  .start-contact-divider {
    display: none;
  }

  .start-contact > p {
    display: none;
  }

  .start-contact > .btn {
    margin-left: auto;
  }

  .footer-top {
    padding-top: 42px;
    padding-bottom: 30px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
  }

  .footer-col:last-child h3 {
    grid-column: 1 / -1;
  }

  .footer-brand {
    display: flex;
  }

  .footer-brand > img {
    width: 78px;
  }

  .footer-brand > p {
    margin-top: 17px;
  }

  .footer-phone {
    margin-top: 17px;
  }

  .footer-middle {
    display: block;
  }

  .footer-legal-links {
    gap: 15px;
    margin-top: 12px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-copyright {
    margin-top: 8px;
  }

  .footer-links {
    margin-top: 15px;
  }

  .footer-links a {
    justify-content: flex-start;
  }

  .side-rail {
    display: none;
  }

  .toast {
    bottom: 18px;
  }

  .search-layer {
    padding: 0;
  }

  .search-dialog {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    border: 0;
  }

  .search-head {
    padding: 15px 14px;
  }

  .search-form input {
    font-size: 14px;
  }

  .search-submit {
    padding-inline: 12px;
    font-size: 12px;
  }

  .search-content {
    padding: 18px 15px;
  }

  .search-results {
    grid-template-columns: 1fr;
  }

  .search-hint {
    display: none;
  }

  .search-foot {
    display: block;
    padding: 13px 15px;
    line-height: 1.9;
  }

  .search-foot a {
    margin-top: 4px;
  }

  .updates-bar {
    border-top: 0;
  }
}

@media (max-width: 430px) {
  .nav-register {
    display: none;
  }

  .nav-actions {
    gap: 0;
  }

  .nav-search {
    display: grid;
  }

  .hero-stage {
    height: 660px;
  }

  .hero-copy :is(h1, h2) {
    font-size: clamp(32px, 9.6vw, 41px);
  }

  .hero-copy-stack {
    min-height: 472px;
  }

  .hero-kicker {
    gap: 8px;
    margin-bottom: 17px;
    font-size: 11px;
  }

  .hero-actions .btn {
    padding-inline: 13px;
    font-size: 11px;
  }

  .hero-actions {
    gap: 7px;
  }

  .hero-note {
    font-size: 10px;
  }

  .product-cards {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 123px;
  }

  .product-card p {
    min-height: 0;
  }

  .market-intro > p {
    max-width: 100%;
  }

  .market-points {
    grid-template-columns: 1fr 1fr;
  }

  .infra-stat strong {
    font-size: 29px;
  }

  .cert-strip a {
    flex-basis: 50%;
  }

  .start-contact {
    display: block;
  }

  .start-contact > .btn {
    width: 100%;
    margin-top: 13px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
  }
}

/* ---------- 20. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-bg.is-active {
    animation: none;
  }
}

/* ---------- 21. Print ---------- */
@media print {
  .site-header,
  .side-rail,
  .hero-arrows,
  .hero-autoplay,
  .scroll-controls,
  .search-layer,
  .mobile-drawer,
  .drawer-scrim {
    display: none !important;
  }

  .hero-stage {
    height: 560px;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  body {
    background: #fff;
  }
}
