@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root,
[data-theme="light"] {
  color-scheme: light;
  --ink: #0f2744;
  --ink-inverse: #ffffff;
  --navy: #0f2744;
  --navy-soft: #1a3a5c;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --surface: #ffffff;
  --bg: #ffffff;
  --hero-bg: linear-gradient(165deg, #eef5fc 0%, #f8fbff 45%, #ffffff 100%);
  --hero-mesh: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 102, 204, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 128, 230, 0.06), transparent 50%);
  --surface-muted: #f0f6fc;
  --hover: #eef4ff;
  --accent: #0066cc;
  --accent-hover: #0052a3;
  --accent-2: #0080e6;
  --accent-3: #004d99;
  --accent-soft: rgba(0, 102, 204, 0.1);
  --link: #0066cc;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --radius: var(--radius-lg);
  --shadow-sm: 0 2px 8px rgba(15, 39, 68, 0.05);
  --shadow-md: 0 8px 28px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 39, 68, 0.12);
  --shadow: var(--shadow-md);
  --shadow-soft: var(--shadow-sm);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --section-y: clamp(3rem, 6vw, 5rem);
  --header-h: 4rem;
  --max: 1200px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
  --focus-ring: 0 0 0 3px rgba(0, 102, 204, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }

/* Utilities */
.text-center { text-align: center; }
.mt-section { margin-top: var(--space-6); }
.mt-section-lg { margin-top: var(--space-8); }
.prose-narrow { max-width: 65ch; }

a { color: var(--link); text-decoration: underline; text-decoration-color: rgba(0, 102, 204, 0.28); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); text-decoration-color: var(--accent-hover); }

/* —— Header —— */
.site-header {
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  transition: padding 0.22s ease, background 0.22s ease;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header.is-scrolled .header-inner {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.96);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 68, 0.45);
  z-index: 99;
  backdrop-filter: blur(2px);
}
.nav-backdrop[hidden] { display: none; }
.header-inner > .theme-toggle {
  margin-left: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  color: var(--navy);
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-text {
  display: inline-block;
  line-height: 1.15;
}
.logo-word {
  display: block;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo-ar {
  font-weight: 800;
}
.logo-word > .logo-ar {
  letter-spacing: 0.08em;
}
.logo-tagline .logo-ar {
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.logo-tagline .logo-acronym {
  font-weight: 500;
  white-space: nowrap;
}
.logo-mark-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent);
  flex-shrink: 0;
}
.logo-tagline {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  max-width: 11rem;
  line-height: 1.35;
}
@media (max-width: 520px) {
  .logo-tagline {
    font-size: 0.58rem;
    max-width: 9.5rem;
  }
  .logo-tagline .logo-acronym { display: inline; }
}
.nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  align-items: center;
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0.25rem;
}
.lang-btn {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.65rem;
  border: none;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
.lang-btn:hover { background: var(--bg); }
.lang-btn.is-active {
  background: var(--accent);
  color: #fff;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.theme-toggle:hover {
  color: var(--text);
  background: var(--hover);
  border-color: var(--border);
}
.theme-toggle .theme-icon { display: block; }
[data-theme="light"] .theme-toggle .theme-icon--sun,
[data-theme="dark"] .theme-toggle .theme-icon--moon { display: none; }
.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  position: relative;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav a:hover { background: var(--hover); color: var(--text); text-decoration: none; }
.nav a.is-active {
  background: var(--hover);
  color: var(--text);
  font-weight: 600;
}
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  transform: translateX(-50%);
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.nav-login {
  color: var(--navy) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  padding: 0.45rem 0.9rem !important;
  border: 1px solid var(--border);
  background: var(--surface);
}
.nav-login:hover {
  background: var(--hover) !important;
  border-color: var(--border);
  text-decoration: none !important;
}
.nav-login.is-active {
  background: var(--hover) !important;
  border-color: var(--border);
  color: var(--text) !important;
}
.nav-toggle {
  display: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 102; }
  #site-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-left: 1px solid var(--border);
    padding: 4.5rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 101;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
  #site-nav.is-open {
    display: flex;
    transform: translateX(0);
  }
  #site-nav .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 0.35rem;
  }
  #site-nav .nav-login { text-align: center; }
  .header-inner { position: relative; }
  #site-nav .btn { margin-top: 0.5rem; text-align: center; }
  #site-nav a.is-active::after { display: none; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none !important;
  gap: 0.4rem;
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.btn-primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.22);
  border: 1px solid var(--accent);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.28);
}
.btn-outline {
  background: var(--surface);
  color: var(--text) !important;
  border: 1px solid var(--border);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: var(--hover);
  box-shadow: none;
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.22);
  border: 1px solid var(--accent);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.btn-accent:hover::after {
  transform: translateX(120%);
}
.btn-accent:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .btn-accent::after { display: none; }
}

/* —— Hero —— */
.hero {
  background: var(--hero-bg);
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 102, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 204, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-mesh);
  pointer-events: none;
}
.hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.hero-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 102, 204, 0.18);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 102, 204, 0.06), 0 2px 12px rgba(0, 102, 204, 0.08);
}
.hero-pill::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.35), rgba(56, 189, 248, 0.15), rgba(0, 102, 204, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}
.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.hero-highlight {
  display: inline;
  background: linear-gradient(
    105deg,
    var(--accent) 0%,
    var(--accent-2) 35%,
    #38bdf8 50%,
    var(--accent-2) 65%,
    var(--accent) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-text-shimmer 5s ease-in-out infinite;
}
@keyframes hero-text-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-highlight {
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--accent);
    color: var(--accent);
  }
}
.hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: left;
}
.hero-grid .hero-actions { justify-content: flex-start; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid .hero-actions { justify-content: center; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
}
.hero-visual-caption {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
}
.hero-visual-frame {
  position: relative;
  border-radius: 24px;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: hero-float 7s ease-in-out infinite;
}
.hero-platform-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.product-mock {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-mock-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}
.product-mock-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4d4d4;
}
.product-mock-body { display: flex; min-height: 200px; }
.product-mock-sidebar {
  width: 28%;
  background: linear-gradient(180deg, #0f2744, #1a3a5c);
}
.product-mock-main { flex: 1; padding: 1rem 1.1rem; }
.product-mock-line {
  height: 8px;
  border-radius: 4px;
  background: #e5e5e5;
  margin-bottom: 0.65rem;
}
.product-mock-line.w90 { width: 90%; }
.product-mock-line.w70 { width: 70%; }
.product-mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}
.product-mock-card {
  height: 72px;
  border-radius: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) { .spotlight-grid { grid-template-columns: 1fr; } }
.spotlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 50%;
}
.spotlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 204, 0.18);
}
.spotlight-card h3 { margin: 0.75rem 0 0.5rem; color: var(--navy); font-size: 1.1rem; }
.spotlight-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.spotlight-card .link-more { margin-top: 0.75rem; display: inline-block; }

/* AI pillars */
.section--ai {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ai-not-chat {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 102, 204, 0.16);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}
.section--ai .ai-not-chat:last-child { margin-top: 1.75rem; margin-bottom: 0; }
.ai-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (min-width: 901px) {
  .ai-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai-pillar-grid .ai-pillar-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.25rem;
    align-items: start;
    padding: 1.75rem 2rem;
  }
  .ai-pillar-grid .ai-pillar-card:first-child .icon-box {
    margin-bottom: 0;
    grid-row: span 2;
  }
  .ai-pillar-grid .ai-pillar-card:first-child h3 {
    margin-top: 0;
  }
}
.ai-pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 50%;
}
.ai-pillar-card::before,
.spotlight-card::before,
.triad-card::before,
.app-card::before,
.cap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--spot-x) var(--spot-y),
    rgba(0, 102, 204, 0.09),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.ai-pillar-card:hover::before,
.spotlight-card:hover::before,
.triad-card:hover::before,
.app-card:hover::before,
.cap-card:hover::before {
  opacity: 1;
}
.ai-pillar-card > *,
.spotlight-card > *,
.triad-card > *,
.app-card > *,
.cap-card > * {
  position: relative;
  z-index: 1;
}
.ai-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 204, 0.2);
}
.ai-pillar-grid--platform { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .ai-pillar-grid,
  .ai-pillar-grid--platform { grid-template-columns: 1fr; }
}
.ai-pillar-card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.ai-pillar-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.section-cta { text-align: center; margin-top: 1.75rem; }
.ai-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.35rem;
  margin: 1.25rem 0 1.75rem;
}
.ai-flow-step {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 102, 204, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  white-space: nowrap;
}
.ai-flow-arrow {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
@media (max-width: 640px) {
  .ai-flow-arrow { display: none; }
  .ai-flow { flex-direction: column; align-items: stretch; }
  .ai-flow-step { text-align: center; white-space: normal; }
}

.onboard-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0 0 0 1.25rem;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.onboard-timeline::before {
  content: "";
  position: absolute;
  left: 2.05rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--border));
  border-radius: 2px;
}
.onboard-timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.onboard-timeline li:hover {
  border-color: rgba(0, 102, 204, 0.22);
  box-shadow: var(--shadow-sm);
}
.onboard-timeline-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(15, 39, 68, 0.2);
}
.onboard-timeline h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--navy); }
.onboard-timeline p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* —— Stats —— */
.stats {
  max-width: var(--max);
  margin: -2rem auto 0;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  border: 1px solid rgba(0, 102, 204, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.stat-item { text-align: center; padding: 0.5rem; }
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--text);
  background: var(--surface-muted);
}
.icon-box--stat {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.5rem;
}
.icon-box--md {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 1rem;
}
.icon-box--sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 0.65rem;
}
.icon-box--xs {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}
.icon-box--accent { color: var(--accent); background: var(--accent-soft); }
.icon-box--blue { color: var(--accent); background: var(--accent-soft); }
.icon-box--purple { color: var(--navy); background: rgba(15, 39, 68, 0.08); }
.icon-box--navy { color: var(--navy); background: var(--surface-muted); }
.icon-box--green { color: var(--accent-2); background: rgba(0, 128, 230, 0.1); }
.icon-box--amber { color: var(--accent-3); background: rgba(0, 77, 153, 0.1); }
.icon-svg {
  width: 22px;
  height: 22px;
  display: block;
  color: inherit;
}
.icon-box .icon-svg,
.triad-card .icon .icon-svg,
.app-tag-icon {
  color: inherit;
}
.icon-box--stat .icon-svg { width: 20px; height: 20px; }
.icon-box--xs .icon-svg { width: 18px; height: 18px; }
.stat-icon { font-size: 1.75rem; margin-bottom: 0.35rem; }
.stat-value {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.stats-grid.is-animated .stat-item {
  animation: stat-pop 0.5s ease backwards;
}
.stats-grid.is-animated .stat-item:nth-child(1) { animation-delay: 0.05s; }
.stats-grid.is-animated .stat-item:nth-child(2) { animation-delay: 0.1s; }
.stats-grid.is-animated .stat-item:nth-child(3) { animation-delay: 0.15s; }
.stats-grid.is-animated .stat-item:nth-child(4) { animation-delay: 0.2s; }
.stats-grid.is-animated .stat-item:nth-child(5) { animation-delay: 0.25s; }
.stats-grid.is-animated .stat-item:nth-child(6) { animation-delay: 0.3s; }
@keyframes stat-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.stat-value.accent { color: var(--accent); }
.stat-value.blue { color: var(--accent-2); }
.stat-value.purple { color: var(--text); }
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* —— Sections —— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-y) 1.5rem;
}
.section--compact {
  padding-top: calc(var(--section-y) * 0.6);
  padding-bottom: calc(var(--section-y) * 0.6);
}
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

/* Zigzag features */
.zigzag { display: flex; flex-direction: column; gap: 2.5rem; }
.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 768px) {
  .zigzag-row { grid-template-columns: 1fr; }
  .zigzag-row.reverse .zigzag-card { order: -1; }
}
.zigzag-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.zigzag-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--navy);
}
.zigzag-card .highlight {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.5rem 0 0;
}
.zigzag-text {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.65;
}

/* Models */
.models-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) { .models-grid { grid-template-columns: 1fr; } }
.models-visual {
  background: var(--surface-muted);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
}
.models-hub {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 1rem 0 0.25rem;
}
.models-hub-sub { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.model-list { list-style: none; padding: 0; margin: 0; }
.model-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.model-list .arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ink-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
}
.model-list .arrow .icon-svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.cap-card .icon-box--xs { margin-bottom: 0.65rem; }
.model-list h4 { margin: 0 0 0.25rem; color: var(--navy); font-size: 1rem; }
.model-list p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.pillar .pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 0.15rem;
  opacity: 0.9;
}
.pillar.roadmap .pillar-icon { opacity: 0.55; }
.pillar strong { display: block; color: var(--navy); margin-bottom: 0.25rem; }
.pillar span { font-size: 0.8rem; color: var(--muted); }
.pillar.live {
  border-color: rgba(0, 102, 204, 0.35);
  background: linear-gradient(180deg, var(--surface-muted), var(--surface));
  box-shadow: var(--shadow-sm);
}
.pillar.live .pillar-icon { opacity: 1; }
.pillar.roadmap {
  opacity: 0.72;
  border-style: dashed;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #0a1f38 0%, #0f2744 40%, #1a4a7a 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(0, 102, 204, 0.35), transparent 60%);
  pointer-events: none;
}
.cta-band h2,
.cta-band p,
.cta-band .btn { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 4vw, 1.85rem); font-family: var(--font-display); }
.cta-band p { margin: 0 0 1.5rem; opacity: 0.88; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: #fff; color: var(--accent) !important; border-color: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }
.cta-band .btn-primary:hover { background: #f0f6fc; color: var(--accent-hover) !important; transform: translateY(-2px); }

/* Page hero (inner pages) */
.page-hero {
  background: var(--hero-bg);
  padding: clamp(2.5rem, 6vw, 3.5rem) 1.5rem clamp(2rem, 5vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-mesh);
  pointer-events: none;
}
.page-hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .lead { color: var(--muted); font-size: 1.05rem; margin: 0; }
.page-hero-actions {
  margin-top: 1.5rem;
  justify-content: center;
}
.section--awi-demo {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-muted) 50%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}
.ai-copilot-embedded-card.is-highlight {
  animation: awi-demo-flash 1.8s ease;
}
@keyframes awi-demo-flash {
  0%, 100% { box-shadow: var(--shadow-md); }
  35% { box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.28), var(--shadow-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-copilot-embedded-card.is-highlight { animation: none; }
}

/* Triad (inventory · buyers · suppliers) */
.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .triad { grid-template-columns: 1fr; } }
.triad-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 50%;
}
.triad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(12, 30, 61, 0.12);
}
.triad-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.triad-card .icon.inv { background: var(--accent-soft); color: var(--accent); }
.triad-card .icon.buy { background: rgba(0, 128, 230, 0.1); color: var(--accent-2); }
.triad-card .icon.sup { background: rgba(15, 39, 68, 0.08); color: var(--navy); }
.triad-card h3 { margin: 0 0 0.5rem; color: var(--navy); font-size: 1.15rem; }
.triad-card p { margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; }
.triad-card .link-more {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent);
  text-decoration: none !important;
}
.triad-card .link-more:hover { color: var(--accent-hover); }

/* Capability grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 50%;
}
.cap-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0, 102, 204, 0.16);
}
.cap-card h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--navy); }
.cap-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.cap-card .badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.badge-live { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(0, 102, 204, 0.2); }
.badge-roadmap { background: var(--surface-muted); color: var(--muted); }

/* Persona blocks */
.persona {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.persona:last-child { border-bottom: none; }
@media (max-width: 768px) { .persona { grid-template-columns: 1fr; } }
.persona-aside {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.persona-aside .persona-icon { margin-bottom: 0.85rem; }
.persona-aside h2 { margin: 0 0 0.5rem; color: var(--navy); font-size: 1.5rem; }
.persona-aside .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.persona-aside .problem { color: var(--muted); margin: 0 0 1rem; font-size: 0.95rem; }
.persona ul.bullets {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.92rem;
}
.persona ul.bullets li { margin-bottom: 0.45rem; }
.persona-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; }

/* Platform layers */
.layer-stack { display: flex; flex-direction: column; gap: 1rem; }
.layer-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
}
.layer-card .layer-icon { flex-shrink: 0; }
.layer-card h3 { margin: 0 0 0.35rem; color: var(--navy); }
.layer-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Integration table */
.integ-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.integ-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.integ-table th,
.integ-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.integ-table th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--navy);
}
.integ-table tr:last-child td { border-bottom: none; }
.integ-table code { font-size: 0.8rem; }

/* Legal / prose */
.prose {
  max-width: 65ch;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.prose h1 { color: var(--navy); margin-top: 0; }
.prose h2 { color: var(--navy); font-size: 1.15rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--text); font-size: 0.95rem; }
.prose ul { padding-left: 1.2rem; }

/* Footer */
.site-footer {
  background: var(--navy-soft);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 1.5rem 2rem;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-brand .logo-word {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
}
.footer-brand .logo-word > .logo-ar {
  letter-spacing: 0.08em;
}
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-brand p { margin: 0.5rem 0 0; line-height: 1.5; }
.footer-col h4 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.4rem;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.18s ease, transform 0.18s ease;
}
.footer-col a:hover { color: #fff; text-decoration: none; transform: translateX(2px); }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.8rem;
}
.site-footer strong { color: #fff; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details[open] {
  border-color: rgba(0, 102, 204, 0.2);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  content: "−";
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { margin-bottom: 0.5rem; }
.faq p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* App portfolio */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 50%;
}
.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 204, 0.16);
}
.app-card .app-role {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.app-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}
.app-card .app-for {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.app-card p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  color: var(--muted);
}
.app-card .app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.app-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--muted);
}
.app-tag.mobile {
  background: var(--surface-muted);
  color: var(--text);
}
.app-tag-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
}

/* —— Form page —— */
.form-page { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.form-page h1 { color: var(--navy); margin-bottom: 0.5rem; }
.form-hint { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }
.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}
.form-section h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--navy);
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
}
.field textarea { min-height: 88px; resize: vertical; }
.field .req { color: #dc2626; }
.field-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }
.file-drop {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.checkbox-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.checkbox-row input { width: auto; margin-top: 0.25rem; }
.form-actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.json-preview {
  display: none;
  margin-top: 1.5rem;
  background: #0f2744;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.75rem;
  overflow: auto;
  max-height: 320px;
}
.json-preview.visible { display: block; }
.alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.alert-success { background: var(--surface-muted); border: 1px solid var(--border); color: var(--text); }
.alert-error { background: var(--surface-muted); border: 1px solid var(--border); color: var(--text); }

.form-sub {
  margin: 1.25rem 0 0.65rem;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
}
.form-sub:first-of-type { margin-top: 0; }
.check-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.check-group label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
}
.check-group label > span { flex: 1; }
.check-group input { width: auto; margin-top: 0.2rem; flex-shrink: 0; }
.check-group .hint {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.check-group label.disabled-hint { opacity: 0.65; cursor: not-allowed; }

/* Wizard */
.wizard-progress {
  margin-bottom: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem 1rem;
}
.wizard-progress-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  justify-content: space-between;
}
.wizard-progress-list li {
  flex: 1 1 auto;
  min-width: 4.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.wizard-progress-list .step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: var(--bg);
}
.wizard-progress-list li.is-active { color: var(--navy); }
.wizard-progress-list li.is-active .step-num {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ink-inverse);
}
.wizard-progress-list li.is-done .step-num {
  border-color: var(--border);
  background: var(--surface-muted);
  color: var(--text);
}
.wizard-progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.wizard-progress-bar span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--ink);
  border-radius: 4px;
  transition: width 0.25s ease;
}
.wizard-step { display: none; }
.wizard-step.is-active { display: block; }
.wizard-step .form-section:last-child { margin-bottom: 0; }
.wizard-footer {
  position: sticky;
  bottom: 0;
  background: linear-gradient(transparent, var(--bg) 12%, var(--bg));
  padding: 1rem 0 0.5rem;
  margin-top: 0.5rem;
}
.wizard-summary {
  font-size: 0.9rem;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  background: var(--bg);
}
.wizard-summary dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.wizard-summary dt {
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0;
}
.wizard-summary dd {
  margin: 0.15rem 0 0;
}
.wizard-summary ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
}
@media (max-width: 520px) {
  .wizard-progress-list li span:not(.step-num) { display: none; }
  .wizard-progress-list li { min-width: 2rem; }
}

/* —— Login portals —— */
.login-hero { padding-bottom: 2rem; }
.login-portals { padding-top: 0; }
.login-portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}
.login-portal-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.login-portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c7d2fe;
  text-decoration: none;
}
.login-portal-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}
.login-portal-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}
.login-portal-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-portal-icon .icon-svg {
  width: 22px;
  height: 22px;
}
.login-portal-icon--blue { background: var(--accent-soft); color: var(--accent); }
.login-portal-icon--purple { background: rgba(15, 39, 68, 0.08); color: var(--navy); }
.login-portal-icon--orange { background: rgba(0, 128, 230, 0.1); color: var(--accent-2); }
.login-note {
  max-width: 720px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .login-portal-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* —— Dark theme —— */
[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f1f5f9;
  --ink-inverse: #0f2744;
  --navy: #f1f5f9;
  --navy-soft: #1a2744;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --surface: #121c2e;
  --bg: #0b1220;
  --hero-bg: linear-gradient(180deg, #121c2e 0%, #0b1220 60%);
  --surface-muted: #1a2744;
  --hover: rgba(96, 165, 250, 0.08);
  --accent: #60a5fa;
  --accent-hover: #3b82f6;
  --accent-2: #93c5fd;
  --accent-3: #2563eb;
  --accent-soft: rgba(96, 165, 250, 0.12);
  --link: #60a5fa;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] a {
  color: var(--link);
  text-decoration-color: rgba(96, 165, 250, 0.35);
}
[data-theme="dark"] .header-inner {
  background: rgba(11, 18, 32, 0.88);
}
[data-theme="dark"] .site-header.is-scrolled .header-inner {
  background: rgba(11, 18, 32, 0.96);
}
[data-theme="dark"] .site-header {
  border-bottom-color: transparent;
}
[data-theme="dark"] .site-header.is-scrolled {
  border-bottom-color: var(--border);
}
[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.06) 1px, transparent 1px);
}
[data-theme="dark"] .hero-pill {
  background: var(--accent-soft);
  border-color: rgba(96, 165, 250, 0.22);
  color: var(--accent);
}
[data-theme="dark"] .lang-btn.is-active {
  background: var(--accent);
  color: #0b1220;
}
[data-theme="dark"] .site-footer {
  background: #070d18;
  border-top-color: var(--border);
}
[data-theme="dark"] .cta-band {
  background: linear-gradient(135deg, #121c2e 0%, #1a2744 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .cta-band .btn-primary {
  background: var(--accent);
  color: #0b1220 !important;
  border-color: var(--accent);
}
[data-theme="dark"] .cta-band .btn-primary:hover {
  background: var(--accent-hover);
  color: #0b1220 !important;
}
[data-theme="dark"] .section--ai {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--bg) 100%);
}
[data-theme="dark"] .ai-not-chat {
  color: var(--accent);
  border-color: rgba(96, 165, 250, 0.22);
}
[data-theme="dark"] .ai-flow-step {
  border-color: rgba(96, 165, 250, 0.22);
}
[data-theme="dark"] pre,
[data-theme="dark"] code {
  background: var(--surface-muted);
  color: var(--text);
}
[data-theme="dark"] .pillar.live {
  background: var(--surface-muted);
  border-color: var(--border);
}
[data-theme="dark"] .badge-live {
  background: var(--surface-muted);
  color: var(--text);
}
[data-theme="dark"] .note,
[data-theme="dark"] .alert-error {
  background: var(--surface-muted);
  border-color: var(--border);
  color: var(--text-secondary, var(--muted));
}
[data-theme="dark"] th {
  background: var(--surface-muted);
}

/* —— Demo Request Modal Styles —— */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 68, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease-out;
}
.demo-modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 540px;
  width: 100%;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.demo-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.demo-modal-close:hover { color: var(--text); }
.demo-modal-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.demo-modal-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem 0; color: var(--navy); }
.demo-modal-desc { font-size: 0.95rem; color: var(--muted); margin: 0 0 1.5rem 0; }
.demo-form-group { margin-bottom: 1.1rem; }
.demo-form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; }
.demo-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.95rem;
}
.demo-form-input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.demo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.demo-role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.4rem; }
.demo-role-option input { display: none; }
.demo-role-box {
  display: block;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.demo-role-option input:checked + .demo-role-box {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.demo-role-box strong { display: block; font-size: 0.9rem; color: var(--text); }
.demo-role-box small { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }
.demo-modal-footer { margin-top: 1.5rem; }
.demo-modal-footnote { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }

.demo-redirecting-state { text-align: center; padding: 2rem 1rem; }
.demo-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.5rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* —— ROI Calculator Styles —— */
.roi-calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin: 2.5rem 0;
}
.roi-calc-badge {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.roi-calc-header h3 { font-size: 1.75rem; margin: 0 0 0.5rem 0; color: var(--navy); }
.roi-calc-header p { font-size: 1rem; color: var(--muted); margin-bottom: 2rem; }
.roi-calc-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; }
.roi-slider-group { margin-bottom: 1.8rem; }
.roi-slider-label { display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; margin-bottom: 0.5rem; }
.roi-slider-label strong { font-size: 1.1rem; color: var(--accent); }
.roi-range-input { width: 100%; accent-color: var(--accent); height: 8px; border-radius: 4px; cursor: pointer; }
.roi-slider-ticks { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; }
.roi-features-check { margin-top: 1.5rem; }
.roi-check-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--text); margin-bottom: 0.6rem; }
.roi-check-icon { color: #10b981; font-weight: 800; }
.roi-calc-results { background: var(--surface-muted); border-radius: 16px; padding: 1.8rem; border: 1px solid var(--border); }
.roi-result-box { margin-bottom: 1.5rem; text-align: center; }
.roi-result-title { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.roi-result-value { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin: 0.2rem 0; }
.roi-result-box--accent .roi-result-value { color: var(--accent); }
.roi-result-sub { font-size: 0.8rem; color: var(--muted); }

/* —— Ultra-Modern Glowing Gradient Icon Box & Supplier Cards —— */
.modern-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.22);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.modern-icon-box svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
  stroke-width: 2.2;
}
.modern-icon-box--lg {
  width: 64px;
  height: 64px;
  border-radius: 20px;
}
.modern-icon-box--lg svg {
  width: 32px;
  height: 32px;
}

.integrations-directory-header {
  margin-bottom: 2rem;
}
.integrations-header-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.integrations-directory-header h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.5rem 0;
}
.integrations-directory-header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 750px;
  margin: 0;
}

.integration-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.integration-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.integration-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15, 39, 68, 0.12);
  border-color: rgba(0, 102, 204, 0.3);
}
.integration-card:hover::before {
  opacity: 1;
}
.integration-card:hover .modern-icon-box {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 14px 30px rgba(0, 102, 204, 0.35);
}

.integration-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.integration-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.integration-speed-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--surface-muted);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.integration-card-body {
  margin-bottom: 1.2rem;
  flex-grow: 1;
}
.integration-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.2rem 0;
}
.integration-type-subtitle {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.integration-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.integration-card-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.btn-supplier-detail {
  background: var(--surface-muted);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: all 0.2s ease;
}
.btn-supplier-detail:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.supplier-modal-card {
  max-width: 620px;
}
.supplier-detail-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* —— Ultra-Modern Hero Pulse Ticker Styles —— */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-pulse-card {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 25px 60px rgba(15, 39, 68, 0.14);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  background-image:
    linear-gradient(var(--surface), var(--surface)),
    linear-gradient(135deg, rgba(0, 102, 204, 0.45), rgba(56, 189, 248, 0.12), rgba(0, 128, 230, 0.35));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.hero-pulse-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-pulse-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.pulse-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.pulse-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 12px #10b981;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.pulse-throughput {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}
.hero-pulse-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 210px;
}
.pulse-item {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  transition: all 0.4s ease;
}
.pulse-item--new {
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.15);
  animation: slideIn 0.4s ease-out;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.pulse-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.pulse-dest { font-size: 0.92rem; color: var(--navy); }
.pulse-badge { font-size: 0.72rem; font-weight: 700; color: #059669; }
.pulse-item-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.pulse-supplier { font-weight: 600; color: var(--text); }
.pulse-speed { font-weight: 700; color: var(--accent); }
.hero-pulse-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.pulse-stat small { display: block; font-size: 0.72rem; color: var(--muted); }
.pulse-stat strong { font-size: 1.1rem; color: var(--navy); }

/* —— AI Visualizer Styles —— */
.ai-vis-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin: 2.5rem 0;
}
.ai-vis-badge {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.ai-vis-header h3 { font-size: 1.75rem; color: var(--navy); margin: 0 0 0.5rem 0; }
.ai-vis-header p { font-size: 1rem; color: var(--muted); margin-bottom: 1.8rem; }
.ai-vis-selector { display: flex; gap: 0.6rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.ai-vis-pill {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}
.ai-vis-pill.is-active, .ai-vis-pill:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.ai-vis-grid {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 1.2rem;
  align-items: center;
}
.ai-vis-box {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
}
.ai-vis-box--raw { border-left: 4px solid #ef4444; }
.ai-vis-box--parsed { border-left: 4px solid #10b981; }
.vis-box-label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--muted); margin-bottom: 0.6rem; }
.vis-code-block {
  font-family: monospace;
  font-size: 0.88rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.8rem;
  border-radius: 8px;
  color: #ef4444;
  word-break: break-all;
}
.vis-box-sub { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; }
.ai-vis-arrow { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.ai-sparkle-circle {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0066cc, #00d2ff);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(0, 102, 204, 0.4);
}
.ai-speed-tag { font-size: 0.78rem; font-weight: 700; color: #10b981; }
.ai-conf-tag { font-size: 0.72rem; color: var(--muted); }
.vis-parsed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.vis-parsed-item small { display: block; font-size: 0.75rem; color: var(--muted); }
.vis-parsed-item strong { font-size: 0.9rem; color: var(--navy); }

/* —— Operational Alerts & Engine Showcase Styles —— */
.alerts-vis-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  margin: 2.5rem 0;
}
.alerts-vis-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.alerts-header-left { display: flex; gap: 1rem; align-items: flex-start; }
.alerts-live-dot {
  width: 14px;
  height: 14px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 14px #ef4444;
  animation: pulse 1.2s infinite;
  margin-top: 0.4rem;
  flex-shrink: 0;
}
.alerts-vis-header h3 { font-size: 1.6rem; color: var(--navy); margin: 0 0 0.3rem 0; }
.alerts-vis-header p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.alerts-stats-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
}
.alerts-events-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.alert-event-item {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--border);
}
.alert-event-item--active { border-left-color: #ef4444; box-shadow: 0 4px 20px rgba(239, 68, 68, 0.08); }
.alert-event-top { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.4rem; }
.alert-badge { font-size: 0.72rem; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: 50px; text-transform: uppercase; }
.alert-badge--critical { background: rgba(239, 68, 68, 0.18); color: #dc2626; }
.alert-badge--warning { background: rgba(245, 158, 11, 0.18); color: #d97706; }
.alert-badge--resolved { background: rgba(16, 185, 129, 0.18); color: #059669; }
.alert-badge--info { background: rgba(14, 165, 233, 0.18); color: #0284c7; }
.alert-event-title { font-size: 1rem; color: var(--navy); }
.alert-event-time { margin-left: auto; font-size: 0.78rem; color: var(--muted); }
.alert-event-desc { font-size: 0.9rem; color: var(--text); margin: 0 0 0.6rem 0; }
.alert-event-action { font-size: 0.82rem; font-weight: 700; color: var(--accent); font-family: monospace; }
.alerts-vis-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.alerts-footer-item strong { display: block; font-size: 0.85rem; color: var(--navy); }
.alerts-footer-item small { font-size: 0.75rem; color: var(--muted); }

/* —— Agency Engines Showcase Styles —— */
.agency-engines-section { margin: 3rem 0; }
.engines-header { margin-bottom: 2rem; }
.engines-header-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.engines-header h3 { font-size: 1.85rem; font-weight: 800; color: var(--navy); margin: 0 0 0.5rem 0; }
.engines-header p { font-size: 1rem; color: var(--muted); max-width: 750px; margin: 0; }
.engines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.engine-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.engine-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.engine-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.engine-badge { font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 50px; }
.engine-badge--primary { background: var(--accent-soft); color: var(--accent); }
.engine-badge--danger { background: rgba(239, 68, 68, 0.15); color: #dc2626; }
.engine-badge--success { background: rgba(16, 185, 129, 0.15); color: #059669; }
.engine-badge--info { background: rgba(14, 165, 233, 0.15); color: #0284c7; }
.engine-badge--warning { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.engine-num { font-size: 0.7rem; font-weight: 800; color: var(--muted); letter-spacing: 0.06em; }
.engine-cat-tag { font-size: 0.72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; display: block; }
.engine-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 0 0 0.3rem 0; }
.engine-sub { display: block; font-family: monospace; font-size: 0.76rem; color: var(--accent); margin-bottom: 0.8rem; background: var(--surface-muted); padding: 0.2rem 0.5rem; border-radius: 6px; width: fit-content; word-break: break-all; }
.engine-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* —— Tour Sale & Pickup Module Styles —— */
.tours-pickup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin: 2.5rem 0;
}
.tours-header-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.tours-pickup-header h3 { font-size: 1.75rem; color: var(--navy); margin: 0 0 0.5rem 0; }
.tours-pickup-header p { font-size: 1rem; color: var(--muted); margin-bottom: 2rem; max-width: 800px; }
.tours-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.tour-feat-item {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
}
.tour-feat-item h4 { font-size: 1.1rem; color: var(--navy); margin: 1rem 0 0.4rem 0; }
.tour-feat-item p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.tours-sample-manifest {
  background: var(--surface-muted);
  border: 1px dashed var(--accent);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
}
.manifest-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; font-size: 0.9rem; color: var(--navy); }
.manifest-status { font-size: 0.78rem; font-weight: 700; color: #10b981; }
.manifest-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--surface);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* —— Floating & Embedded AI Copilot Chat Styles —— */
#ai-copilot-floating-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  font-family: inherit;
}
.ai-copilot-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #0066cc, #00d2ff);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-copilot-trigger--fab {
  padding: 0;
  background: transparent;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 102, 204, 0.38);
}
.ai-copilot-trigger--fab:hover {
  box-shadow: 0 12px 36px rgba(0, 102, 204, 0.48);
}
.awi-logo-img--fab {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: none;
}
.ai-copilot-trigger:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.5);
}
.copilot-sparkle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.awi-logo-img {
  display: block;
  object-fit: contain;
  border-radius: 8px;
}
.awi-logo-img--trigger {
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.awi-logo-img--avatar {
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.copilot-bot-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.copilot-pulse-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: #10b981;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
}
.ai-copilot-panel {
  position: absolute;
  bottom: 4.5rem;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(15, 39, 68, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
}
.ai-copilot-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.copilot-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: var(--navy);
  color: #ffffff;
}
.copilot-header-info { display: flex; align-items: center; gap: 0.8rem; }
.copilot-header-info strong { display: block; font-size: 0.95rem; }
.copilot-header-info small { font-size: 0.72rem; color: #a0aec0; }
.copilot-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
}
.copilot-close-btn:hover { opacity: 1; }
.copilot-panel-body {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--surface-muted);
}
.copilot-msg {
  max-width: 88%;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.copilot-msg--bot {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-top-left-radius: 4px;
}
.copilot-msg--user {
  background: var(--accent);
  color: #ffffff;
  align-self: flex-end;
  border-top-right-radius: 4px;
}
.copilot-msg--typing { font-size: 0.8rem; color: var(--muted); }
.copilot-quick-prompts {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  overflow-x: auto;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.copilot-chip, .embedded-chip {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.copilot-chip:hover, .embedded-chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.copilot-input-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.copilot-input-area input {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  outline: none;
}
.copilot-input-area input:focus { border-color: var(--accent); }
.copilot-send-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.copilot-send-btn:hover { background: #0052a3; }

/* AWI B2B search_patch demo cards */
.awi-patch-card,
.awi-results-card {
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 102, 204, 0.18);
  background: var(--surface-muted);
  font-size: 0.82rem;
}
.awi-patch-card__head,
.awi-results-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.awi-patch-card__surface {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.awi-patch-card__type {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  font-family: ui-monospace, monospace;
}
.awi-patch-card__fields {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}
.awi-patch-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.awi-patch-row dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}
.awi-patch-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
}
.awi-patch-card__applied {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border);
}
.awi-patch-chip {
  font-size: 0.68rem;
  font-weight: 600;
  font-family: ui-monospace, monospace;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 102, 204, 0.14);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}
.awi-results-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  line-height: 1.5;
}
.awi-results-note {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Embedded Copilot Workspace Styles */
.ai-copilot-embedded-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin: 2.5rem 0;
}
.embedded-badge {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.embedded-header h3 { font-size: 1.75rem; color: var(--navy); margin: 0 0 0.5rem 0; }
.embedded-header p { font-size: 1rem; color: var(--muted); margin-bottom: 1.8rem; }
.embedded-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}
.embedded-chat-window {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
  height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.embedded-label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 0.8rem; }
.embedded-chips-grid { display: flex; flex-direction: column; gap: 0.6rem; }
.embedded-chip { text-align: left; padding: 0.6rem 1rem; font-size: 0.85rem; }

/* —— Hotel Performance Hub & Agency Commercial Styles —— */
.hotel-perf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin: 2.5rem 0;
}
.perf-header-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.hotel-perf-header h3 { font-size: 1.75rem; color: var(--navy); margin: 0 0 0.5rem 0; }
.hotel-perf-header p { font-size: 1rem; color: var(--muted); margin-bottom: 1.8rem; max-width: 820px; }
.perf-stats-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  padding: 1.2rem 1.6rem;
  border-radius: 16px;
}
.perf-stat-box small { display: block; font-size: 0.76rem; color: var(--muted); margin-bottom: 0.2rem; }
.perf-stat-box strong { font-size: 1.05rem; color: var(--navy); }
.perf-table-wrap { overflow-x: auto; }
.perf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.perf-table th {
  background: var(--surface-muted);
  color: var(--navy);
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--border);
  font-size: 0.8rem;
  text-transform: uppercase;
}
.perf-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.perf-signal-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}
.perf-signal--search-no-book { background: rgba(239, 68, 68, 0.15); color: #dc2626; }
.perf-signal--high-performing { background: rgba(16, 185, 129, 0.15); color: #059669; }
.perf-signal--high-cancel { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.perf-action-btn {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.perf-action-btn:hover { background: #dc2626; color: #fff; }
.perf-action--disabled {
  background: var(--surface-muted);
  color: var(--muted);
  border-color: var(--border);
}

/* —— Agency Backoffice & CRM Styles —— */
.bo-crm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin: 2.5rem 0;
}
.bo-crm-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #059669;
  background: rgba(5, 150, 105, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.bo-crm-header h3 { font-size: 1.75rem; color: var(--navy); margin: 0 0 0.5rem 0; }
.bo-crm-header p { font-size: 1rem; color: var(--muted); margin-bottom: 2rem; max-width: 820px; }
.bo-crm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}
.bo-crm-box {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.8rem;
}
.bo-crm-box--acctech { border-top: 4px solid #059669; }
.bo-crm-box--crm { border-top: 4px solid #0284c7; }
.bo-box-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.bo-box-header h4 { font-size: 1.15rem; color: var(--navy); margin: 0 0 0.2rem 0; }
.bo-box-header small { font-size: 0.78rem; color: var(--muted); }
.bo-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bo-feature-list li {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
  background: var(--surface);
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.bo-feature-list strong { display: block; color: var(--navy); margin-bottom: 0.25rem; }

/* —— Advanced Features Showcase Styles —— */
.adv-features-section { margin: 3rem 0; }
.adv-header { margin-bottom: 2rem; }
.adv-header-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ec4899;
  background: rgba(236, 72, 153, 0.12);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.adv-header h3 { font-size: 1.85rem; font-weight: 800; color: var(--navy); margin: 0 0 0.5rem 0; }
.adv-header p { font-size: 1rem; color: var(--muted); max-width: 780px; margin: 0; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.adv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.adv-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.adv-badge { font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 50px; }
.adv-badge--primary { background: var(--accent-soft); color: var(--accent); }
.adv-badge--success { background: rgba(16, 185, 129, 0.15); color: #059669; }
.adv-badge--info { background: rgba(14, 165, 233, 0.15); color: #0284c7; }
.adv-badge--warning { background: rgba(139, 92, 246, 0.15); color: #7c3aed; }
.adv-cat-tag { font-size: 0.72rem; font-weight: 700; color: #ec4899; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; display: block; }
.adv-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 0 0 0.3rem 0; }
.adv-sub { display: block; font-family: monospace; font-size: 0.76rem; color: var(--accent); margin-bottom: 0.8rem; background: var(--surface-muted); padding: 0.2rem 0.5rem; border-radius: 6px; width: fit-content; word-break: break-all; }
.adv-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ai-vis-grid { grid-template-columns: 1fr; }
  .ai-vis-arrow { margin: 1rem 0; }
  .alerts-vis-header { flex-direction: column; gap: 1rem; }
  .engines-grid { grid-template-columns: 1fr; }
  .manifest-row { flex-direction: column; gap: 0.4rem; }
  .embedded-workspace-grid { grid-template-columns: 1fr; }
  .perf-stats-banner { grid-template-columns: 1fr 1fr; }
  .bo-crm-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .onboard-timeline::before { display: none; }
}

/* —— Showcase groups (home) —— */
.section--showcase-group {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-muted) 8%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}
.showcase-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.showcase-stack > [id$="-container"]:empty {
  min-height: 0;
}
.showcase-stack .ai-vis-card,
.showcase-stack .ai-copilot-embedded-card,
.showcase-stack .alerts-vis-card,
.showcase-stack .agency-engines-section,
.showcase-stack .hotel-perf-card,
.showcase-stack .bo-crm-card,
.showcase-stack .adv-features-section,
.showcase-stack .tours-pickup-card,
.showcase-stack .roi-calc-card {
  margin: 0;
}

/* —— Integrations filter UI —— */
.integrations-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.integrations-search-box {
  position: relative;
  max-width: 480px;
}
.integrations-search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.integrations-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.integrations-search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}
.integrations-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-pill {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-pill:hover {
  border-color: rgba(0, 102, 204, 0.3);
  color: var(--text);
  background: var(--hover);
}
.filter-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.models-visual {
  position: relative;
}
.models-hub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: lowercase;
  box-shadow: 0 12px 32px rgba(0, 102, 204, 0.28);
  margin: 1rem auto 0.25rem;
}
.section-sub--tight {
  margin-top: var(--space-8);
  margin-bottom: 0;
}
.cta-band .hero-actions {
  justify-content: center;
}
.btn-on-dark {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
}
.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #fff !important;
}
.btn--block { width: 100%; }
.models-visual-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.models-roles-hint {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* —— Trust strip (21st-style marquee) —— */
.trust-strip {
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, var(--surface-muted) 0%, var(--bg) 50%, var(--surface-muted) 100%);
  padding: 0.85rem 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-strip-track {
  display: flex;
  width: max-content;
  animation: trust-marquee 42s linear infinite;
}
.trust-strip-content {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding-inline: 1.25rem;
  white-space: nowrap;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 102, 204, 0.45);
  flex-shrink: 0;
}
@keyframes trust-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-strip-track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .trust-strip-content[aria-hidden="true"] { display: none; }
  .trust-strip-content {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    padding-inline: 1.5rem;
  }
  .trust-item { white-space: nowrap; }
}
[data-theme="dark"] .stats-grid {
  background: rgba(17, 24, 39, 0.75);
  border-color: rgba(96, 165, 250, 0.12);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
[data-theme="dark"] .trust-strip {
  background: linear-gradient(90deg, var(--surface-muted) 0%, var(--bg) 50%, var(--surface-muted) 100%);
}
[data-theme="dark"] .hero-highlight {
  background: linear-gradient(
    105deg,
    #60a5fa 0%,
    #38bdf8 35%,
    #7dd3fc 50%,
    #38bdf8 65%,
    #60a5fa 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  [data-theme="dark"] .hero-highlight {
    -webkit-text-fill-color: #60a5fa;
  }
}

/* —— Autopilot Operations & Parite Showcase —— */
.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.autopilot-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .autopilot-feature-grid {
    grid-template-columns: 1fr;
  }
}
.autopilot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.autopilot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 204, 0.3);
}
.autopilot-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.autopilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}
.autopilot-badge--radar {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}
.autopilot-badge--ai {
  background: rgba(168, 85, 247, 0.12);
  color: #9333ea;
}
.autopilot-badge--contract {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.autopilot-badge--mobile {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
.autopilot-meta {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}
.autopilot-card h3 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}
.autopilot-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
}
.autopilot-mockup {
  margin-top: auto;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.mockup-flight-row,
.mockup-mail-from,
.mockup-contract-row,
.mockup-mobile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text);
}
.flight-code {
  font-weight: 700;
  color: var(--navy);
}
.flight-status--delay {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}
.mockup-transfer-action,
.mockup-intent-tag,
.mockup-contract-diff,
.mockup-bt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
}
.mockup-notify-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.09);
  color: #059669;
  font-size: 0.78rem;
  font-weight: 600;
}
.mockup-notify-badge--draft {
  background: rgba(147, 51, 234, 0.09);
  color: #7c3aed;
}
.mockup-notify-badge--match {
  background: rgba(14, 165, 233, 0.09);
  color: #0284c7;
}
.mockup-notify-badge--sync {
  background: rgba(245, 158, 11, 0.09);
  color: #d97706;
}
.mobile-offline-tag {
  background: rgba(100, 116, 139, 0.15);
  color: var(--muted);
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.print-tag {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.contract-speed {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
[data-theme="dark"] .autopilot-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(148, 163, 184, 0.12);
}
[data-theme="dark"] .autopilot-mockup {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.12);
}
[data-theme="dark"] .autopilot-card h3 {
  color: #f8fafc;
}

.contact-form-wrap { max-width: 640px; margin: 0 auto; }
.contact-status { margin-top: 1rem; font-size: 0.9rem; min-height: 1.25rem; }
.contact-status--error { color: #dc2626; }
.contact-status--success { color: #16a34a; }
