@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Bluish Color Scheme */
  --bg-main: #f8fafc;        /* Slate 50 - Very light blue-gray */
  --bg-dark: #0f172a;        /* Slate 900 - Dark navy blue */
  --bg-white: #ffffff;
  --text-main: #0f172a;      /* Slate 900 */
  --text-light: #f8fafc;
  --text-muted: #475569;     /* Slate 600 */
  --text-dark-muted: #94a3b8;/* Slate 400 */
  --accent: #2563eb;         /* Blue 600 - Primary blue */
  --accent-hover: #1d4ed8;   /* Blue 700 */
  --accent-secondary: #0ea5e9;/* Sky 500 - Cyan/Light blue accent */
  --border-light: rgba(15, 23, 42, 0.08);
  --border-dark: rgba(248, 250, 252, 0.1);
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 10px 10px -5px rgba(15, 23, 42, 0.02);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
  --glow-color: rgba(37, 99, 235, 0.1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  z-index: 10000;
  transition: width 0.1s ease-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.6vw, 40px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--text-main);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-main) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-dark .text-gradient {
  background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-100%);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::after {
  transform: translateX(0);
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4), 0 0 15px rgba(37, 99, 235, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background-color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-light);
}

/* Demo request modal */
body.demo-modal-open {
  overflow: hidden;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.demo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(3px);
}

.demo-modal__panel {
  position: relative;
  width: min(760px, calc(100vw - 28px));
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  box-shadow: 0 28px 80px -24px rgba(15, 23, 42, 0.45);
  padding: clamp(20px, 2.8vw, 34px);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-modal.is-open .demo-modal__panel {
  transform: translateY(0) scale(1);
}

.demo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.demo-modal__eyebrow {
  margin: 0;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.demo-modal h2 {
  margin: 8px 0 8px;
  color: #0f172a;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

.demo-modal__lead {
  margin: 0 0 18px;
  color: #475569;
  font-size: 1rem;
}

.demo-modal__view[hidden] {
  display: none !important;
}

.demo-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demo-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px;
}

.demo-form__field span {
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
}

.demo-form__field input {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 0.95rem;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-form__field input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.demo-form__actions {
  margin-top: 4px;
}

.demo-form__actions .btn {
  width: 100%;
  min-height: 48px;
}

.demo-form__status {
  min-height: 1.25rem;
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: #16a34a;
}

.demo-success-links {
  display: grid;
  gap: 10px;
  margin: 18px 0 14px;
}

.demo-success-link {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  gap: 10px;
}

.demo-success-link--discord {
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #ffffff;
  border: 1px solid rgba(88, 101, 242, 0.45);
  box-shadow: 0 10px 24px -14px rgba(88, 101, 242, 0.8);
}

.demo-success-link--discord:hover {
  background: linear-gradient(135deg, #6773ff 0%, #5865f2 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -14px rgba(88, 101, 242, 0.95);
}

.demo-success-link__icon {
  flex-shrink: 0;
  opacity: 0.98;
}

.demo-success-close {
  width: 100%;
}

@media (max-width: 760px) {
  .demo-form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* NAVBAR */
@keyframes navbarEnter {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes navShimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px clamp(16px, 4vw, 28px);
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-18px);
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.navbar--ready {
  animation: navbarEnter 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav-inner {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 0;
  width: 100%;
  max-width: min(1280px, 100%);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  padding: 10px 12px 10px 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 40px -18px rgba(15, 23, 42, 0.12);
  transition:
    background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(37, 99, 235, 0.07) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.navbar.scrolled {
  padding: 14px clamp(16px, 4vw, 28px);
}

.navbar.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 50px -20px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transform: translateY(-2px);
}

.navbar.scrolled .nav-inner::before {
  opacity: 1;
  animation: navShimmer 4.5s ease-in-out infinite;
}

.nav-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 8px;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand:hover {
  opacity: 0.92;
  transform: translateX(-1px);
}

.nav-brand-text {
  line-height: 1;
}

.nav-brand svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--accent);
  stroke: currentColor;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.nav-brand:hover svg {
  transform: rotate(-10deg) scale(1.06);
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.28));
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: var(--text-main);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(15, 23, 42, 0.06);
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.45);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.navbar.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  margin-left: clamp(8px, 2vw, 28px);
  gap: clamp(16px, 3vw, 40px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
}

.nav-menu > a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: #64748b;
  transition: color 0.2s ease;
  position: relative;
  padding: 8px 0;
}

.nav-menu > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-menu > a:hover {
  color: var(--text-main);
}

.nav-menu > a:hover::after {
  transform: scaleX(1);
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 0;
  font: inherit;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.22s ease;
  position: relative;
}

.nav-dropdown-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn:focus-visible {
  color: var(--text-main);
  outline: none;
}

.nav-dropdown-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
  border-radius: 8px;
}

.nav-dropdown:hover .nav-dropdown-btn {
  box-shadow: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  transform: translateY(14px) scale(0.97);
  transform-origin: top left;
  min-width: 260px;
  max-width: min(320px, 92vw);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow:
    0 24px 48px -16px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.28s;
  z-index: 1200;
}

.nav-dropdown-menu a {
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.18s ease, color 0.18s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-menu a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  transform: translateX(4px);
}

.nav-dropdown-menu--mega {
  left: 0;
  min-width: min(1080px, calc(100vw - 40px));
  max-width: min(1120px, 96vw);
  padding: 10px;
  gap: 0;
  transform: translateY(14px) scale(0.97);
  transform-origin: top left;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.98) 100%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 28px 64px -24px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

/* Use cases & industries: center under trigger; Features stays left-aligned */
.nav-dropdown-menu--use-cases,
.nav-dropdown-menu--industries {
  left: 50%;
  transform: translateX(-50%) translateY(14px) scale(0.97);
  transform-origin: top center;
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: stretch;
  width: 100%;
}

.nav-mega-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 8px 6px 10px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-mega-heading {
  flex-shrink: 0;
  margin: 0 0 4px;
  padding: 2px 8px 8px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  border-left: 3px solid var(--accent);
}

.nav-mega-col:nth-child(1) .nav-mega-heading {
  border-left-color: #2563eb;
}

.nav-mega-col:nth-child(2) .nav-mega-heading {
  border-left-color: #0ea5e9;
}

.nav-mega-col:nth-child(3) .nav-mega-heading {
  border-left-color: #0891b2;
}

.nav-mega-col:nth-child(4) .nav-mega-heading {
  border-left-color: #7c3aed;
}

.nav-mega-col:nth-child(5) .nav-mega-heading {
  border-left-color: #059669;
}

.nav-mega-col:nth-child(6) .nav-mega-heading {
  border-left-color: #d97706;
}

.nav-dropdown-menu--mega .nav-mega-col > a {
  padding: 6px 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 8px;
}

@media (max-width: 1400px) {
  .nav-dropdown-menu--mega:not(.nav-dropdown-menu--use-cases):not(.nav-dropdown-menu--industries) {
    min-width: min(720px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
  }

  .nav-mega-grid:not(.nav-mega-grid--use-cases):not(.nav-mega-grid--industries) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-mega-grid:not(.nav-mega-grid--use-cases):not(.nav-mega-grid--industries) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.nav-dropdown--hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-menu--use-cases,
.nav-dropdown:focus-within .nav-dropdown-menu--use-cases,
.nav-dropdown.nav-dropdown--hover .nav-dropdown-menu--use-cases,
.nav-dropdown:hover .nav-dropdown-menu--industries,
.nav-dropdown:focus-within .nav-dropdown-menu--industries,
.nav-dropdown.nav-dropdown--hover .nav-dropdown-menu--industries {
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown:focus-within .nav-dropdown-btn,
.nav-dropdown.nav-dropdown--hover .nav-dropdown-btn {
  color: var(--text-main);
}

.nav-dropdown:hover .nav-dropdown-btn::after,
.nav-dropdown:focus-within .nav-dropdown-btn::after,
.nav-dropdown.nav-dropdown--hover .nav-dropdown-btn::after {
  transform: scaleX(1);
}

.nav-dropdown:hover .nav-mega-col,
.nav-dropdown:focus-within .nav-mega-col,
.nav-dropdown.nav-dropdown--hover .nav-mega-col {
  animation: navMegaColIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.nav-dropdown:hover .nav-mega-col:nth-child(1),
.nav-dropdown:focus-within .nav-mega-col:nth-child(1),
.nav-dropdown.nav-dropdown--hover .nav-mega-col:nth-child(1) {
  animation-delay: 0.03s;
}

.nav-dropdown:hover .nav-mega-col:nth-child(2),
.nav-dropdown:focus-within .nav-mega-col:nth-child(2),
.nav-dropdown.nav-dropdown--hover .nav-mega-col:nth-child(2) {
  animation-delay: 0.06s;
}

.nav-dropdown:hover .nav-mega-col:nth-child(3),
.nav-dropdown:focus-within .nav-mega-col:nth-child(3),
.nav-dropdown.nav-dropdown--hover .nav-mega-col:nth-child(3) {
  animation-delay: 0.09s;
}

.nav-dropdown:hover .nav-mega-col:nth-child(4),
.nav-dropdown:focus-within .nav-mega-col:nth-child(4),
.nav-dropdown.nav-dropdown--hover .nav-mega-col:nth-child(4) {
  animation-delay: 0.12s;
}

.nav-dropdown:hover .nav-mega-col:nth-child(5),
.nav-dropdown:focus-within .nav-mega-col:nth-child(5),
.nav-dropdown.nav-dropdown--hover .nav-mega-col:nth-child(5) {
  animation-delay: 0.15s;
}

.nav-dropdown:hover .nav-mega-col:nth-child(6),
.nav-dropdown:focus-within .nav-mega-col:nth-child(6),
.nav-dropdown.nav-dropdown--hover .nav-mega-col:nth-child(6) {
  animation-delay: 0.18s;
}

.nav-dropdown-btn svg {
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .nav-dropdown-btn svg,
.nav-dropdown:focus-within .nav-dropdown-btn svg,
.nav-dropdown.nav-dropdown--hover .nav-dropdown-btn svg {
  transform: rotate(180deg);
}

.nav-dropdown:hover .nav-mega-col:hover,
.nav-dropdown:focus-within .nav-mega-col:hover,
.nav-dropdown.nav-dropdown--hover .nav-mega-col:hover {
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 8px 24px -12px rgba(37, 99, 235, 0.2);
}

/* Use cases mega menu (narrower than Features) */
.nav-dropdown-menu--use-cases {
  min-width: min(720px, calc(100vw - 48px));
  max-width: min(760px, 94vw);
}

.nav-mega-grid--use-cases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Home: use case anchors clear fixed navbar */
#use-cases,
.use-case-card {
  scroll-margin-top: 96px;
}

.use-cases-section {
  scroll-margin-top: 88px;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 8px;
}

.use-case-card h3 {
  margin-top: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.use-case-card > p:first-of-type {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.use-case-card-links {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.use-case-card-links-label {
  font-weight: 700;
  color: var(--text-main);
  margin-right: 4px;
}

.use-case-card-links a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.use-case-card-links a:hover {
  text-decoration: underline;
}

.use-case-card-readmore {
  margin: 0 0 12px;
}

.use-case-card-readmore .btn {
  font-size: 0.8125rem;
  padding: 8px 16px;
  font-weight: 600;
}

.use-case-sentence-strip {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 22px 0 26px;
}

.use-case-sentence {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--text-main);
  max-width: 880px;
}

.use-case-steps-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.use-case-steps-list li {
  margin-bottom: 10px;
}

.use-case-steps-list li:last-child {
  margin-bottom: 0;
}

.use-cases-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.use-case-hub-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.use-case-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -20px rgba(15, 23, 42, 0.2);
}

.use-case-hub-card h3 {
  margin-top: 0;
  color: var(--text-main);
}

.use-case-hub-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.use-case-hub-cta {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

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

.nav-actions .btn:active {
  transform: translateY(0);
}

.nav-action-login {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.65);
}

.nav-action-login:hover {
  border-color: rgba(15, 23, 42, 0.22);
  background: #fff;
}

.nav-action-cta {
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  margin-right: 6px;
}

.nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-social-link:hover {
  background: rgba(15, 23, 42, 0.06);
}

.nav-social-link:hover .nav-social-svg {
  transform: scale(1.06);
}

.nav-social-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.45);
}

.nav-social-link svg,
.nav-social-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-social-svg--slack {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  .nav-links-wrap {
    margin-left: 16px;
    gap: 20px;
  }

  .nav-menu {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  body.nav-no-scroll {
    overflow: hidden;
  }

  .navbar {
    padding: 12px 16px;
  }

  .navbar.scrolled {
    padding: 10px 16px;
  }

  .nav-inner {
    padding: 10px 14px;
    border-radius: 20px;
    align-items: center;
  }

  .navbar.scrolled .nav-inner {
    transform: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex: none;
    order: 3;
    margin-left: 0;
    margin-top: 0;
    padding-top: 0;
    gap: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid transparent;
    transition:
      max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.35s ease,
      margin-top 0.35s ease,
      padding-top 0.35s ease,
      border-color 0.25s ease;
  }

  .navbar.nav-open .nav-links-wrap {
    max-height: min(70vh, 560px);
    opacity: 1;
    margin-top: 12px;
    padding-top: 8px;
    overflow-y: auto;
    pointer-events: auto;
    border-top-color: rgba(15, 23, 42, 0.08);
  }

  .nav-menu > .nav-dropdown,
  .nav-menu > a,
  .nav-actions {
    opacity: 0;
    transform: translateY(8px);
  }

  .navbar.nav-open .nav-menu > .nav-dropdown,
  .navbar.nav-open .nav-menu > a {
    animation: navDrawerItemIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .navbar.nav-open .nav-menu > .nav-dropdown:nth-child(1) {
    animation-delay: 0.05s;
  }

  .navbar.nav-open .nav-menu > .nav-dropdown:nth-child(2) {
    animation-delay: 0.1s;
  }

  .navbar.nav-open .nav-menu > .nav-dropdown:nth-child(3) {
    animation-delay: 0.15s;
  }

  .navbar.nav-open .nav-actions {
    animation: navDrawerItemIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-menu > a {
    padding: 14px 6px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 1rem;
  }

  .nav-menu > a::after {
    display: none;
  }

  .nav-dropdown {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .nav-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 6px;
    font-size: 1rem;
  }

  .nav-dropdown-menu {
    position: static;
    left: auto;
    transform: none !important;
    min-width: 0;
    max-width: none;
    margin: 0 0 8px;
    padding: 4px;
    opacity: 1;
    pointer-events: none;
    display: none;
    box-shadow: none;
    border: none;
    background: rgba(241, 245, 249, 0.95);
    border-radius: 12px;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    transform: none !important;
    pointer-events: none;
    display: none;
  }

  .nav-dropdown.nav-dropdown--open .nav-dropdown-menu {
    display: flex;
    pointer-events: auto;
    animation: navDrawerItemIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-dropdown.nav-dropdown--open .nav-dropdown-btn svg {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu--mega {
    min-width: 0;
    max-width: none;
    padding: 8px;
    background: rgba(241, 245, 249, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
  }

  .nav-mega-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-mega-col {
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
  }

  .nav-mega-heading {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav-dropdown-menu--mega .nav-mega-col > a {
    padding: 8px 10px;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px 0 8px;
    margin-top: 4px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
  }

  .nav-social {
    justify-content: center;
    flex-wrap: wrap;
    margin-right: 0;
    padding: 4px 0 8px;
    gap: 4px;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
  }
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: clamp(132px, 16vw, 168px) 0 clamp(88px, 11vw, 120px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 88% 42%, rgba(147, 197, 253, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 18% 78%, rgba(196, 181, 253, 0.12), transparent 52%),
    radial-gradient(ellipse 55% 45% at 72% 88%, rgba(125, 211, 252, 0.14), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 38%, #f1f5f9 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: radial-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 85% 75% at 70% 45%, black 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 70% 45%, black 15%, transparent 75%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.hero-content {
  max-width: min(38rem, 100%);
  position: relative;
  z-index: 2;
  padding: clamp(4px, 1vw, 12px) clamp(12px, 2.5vw, 24px) clamp(4px, 1.5vw, 12px) 0;
}

.hero-welcome {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 1rem;
  line-height: 1.35;
  position: relative;
  padding-bottom: 0.875rem;
  max-width: max-content;
}

.hero-welcome::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  opacity: 0.65;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.125rem, 3.5vw, 3.125rem);
  line-height: 1.07;
  letter-spacing: -0.038em;
  margin: 0 0 24px;
}

.hero-title-line {
  display: block;
  color: #0f172a;
}

.hero-title-accent {
  display: block;
  margin-top: 0.1em;
  color: #1d4ed8;
  -webkit-text-fill-color: currentColor;
}

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.72;
  letter-spacing: 0.011em;
  max-width: 100%;
  color: #475569;
  margin: 0 0 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-hero-primary {
  padding: 14px 28px;
  font-size: 0.9375rem;
  box-shadow:
    0 4px 14px rgba(37, 99, 235, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-hero-secondary {
  padding: 14px 28px;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.1);
}

.btn-with-icon {
  gap: 10px;
}

.btn-with-icon svg {
  flex-shrink: 0;
}

/* Discord brand (Blurple) — hero CTA */
.btn-hero-discord {
  padding: 14px 28px;
  font-size: 0.9375rem;
}

.btn-discord {
  background-color: #5865f2;
  color: #ffffff;
  border-color: #5865f2;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.38);
}

.btn-discord:hover {
  background-color: #4752c4;
  border-color: #4752c4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.45);
}

.btn-discord::after {
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  max-width: 100%;
}

.hero-stat {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease;
}

.hero-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.22);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px -12px rgba(37, 99, 235, 0.15);
}

.hero-stat-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.hero-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.3;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: clamp(360px, 44vw, 580px);
  padding-top: clamp(4px, 1vw, 12px);
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(118%, 820px);
  aspect-ratio: 1;
  background: radial-gradient(ellipse 62% 62% at 50% 48%, rgba(37, 99, 235, 0.16), transparent 68%);
  filter: blur(3px);
  z-index: 0;
  pointer-events: none;
}

.hero .hero-graphics {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(620px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  pointer-events: none;
  overflow: visible;
}

.hero .hero-graphics svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Hero orchestration diagram: interaction, layout, motion */
.hero .hero-graphics--orchestration {
  pointer-events: auto;
  aspect-ratio: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: none;
  margin-left: auto;
  margin-right: 0;
  width: 100%;
}

.hero .hero-orchestration-svg-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: min(680px, 100%);
}

.hero .hero-orchestration-svg-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-orchestration-labels--short {
  display: none;
}

@media (max-width: 640px) {
  .hero-orchestration-labels--full {
    display: none;
  }

  .hero-orchestration-labels--short {
    display: block;
  }
}

.hero-graphics--orchestration .hero-cluster {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1);
  transform-box: fill-box;
  transform-origin: center center;
}

.hero-graphics--orchestration .hero-cluster .hero-cluster-card {
  transition: stroke 0.35s ease, stroke-width 0.35s ease;
  animation: hero-card-shadow-pulse 6.5s ease-in-out infinite;
}

.hero-cluster--prod .hero-cluster-card { animation-delay: 0s; }
.hero-cluster--edge .hero-cluster-card { animation-delay: -1.1s; }
.hero-cluster--ai .hero-cluster-card { animation-delay: -2.2s; }
.hero-cluster--staging .hero-cluster-card { animation-delay: -3.3s; }

@keyframes hero-card-shadow-pulse {
  0%, 100% {
    filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.07));
  }

  50% {
    filter: drop-shadow(0 10px 24px rgba(37, 99, 235, 0.13));
  }
}

.hero-orchestration-svg-wrap svg .hero-cluster-drift {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: hero-cluster-drift 5.5s ease-in-out infinite;
}

.hero-cluster--prod .hero-cluster-drift { animation-delay: 0s; }
.hero-cluster--edge .hero-cluster-drift { animation-delay: -0.7s; }
.hero-cluster--ai .hero-cluster-drift { animation-delay: -1.4s; }
.hero-cluster--staging .hero-cluster-drift { animation-delay: -2.1s; }

@keyframes hero-cluster-drift {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2.5px);
  }
}

.hero-orchestration-svg-wrap svg .hero-ai-shimmer {
  animation: hero-ai-shimmer-pulse 3.8s ease-in-out infinite;
}

@keyframes hero-ai-shimmer-pulse {
  0%, 100% {
    opacity: 0.12;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-hub-inner-ring {
  transform-origin: center;
  animation: hero-hub-inner-pulse 4.2s ease-in-out infinite;
}

@keyframes hero-hub-inner-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.08;
  }

  50% {
    transform: scale(1.035);
    opacity: 0.13;
  }
}

.hero-hub-mark-svg {
  transform-origin: 12px 12px;
  transform-box: fill-box;
  animation: hero-hub-mark-tilt 7s ease-in-out infinite;
}

@keyframes hero-hub-mark-tilt {
  0%, 100% {
    transform: rotate(-1.2deg);
  }

  50% {
    transform: rotate(1.2deg);
  }
}

.hero-orchestration-svg-wrap svg .hero-packet {
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.45));
}

.hero-orchestration-svg-wrap svg [class*="hero-orchestration-labels"] text {
  opacity: 0.9;
  transition: opacity 0.35s ease, fill 0.35s ease;
}

.hero-orchestration-svg-wrap:hover svg [class*="hero-orchestration-labels"] text {
  opacity: 1;
}

.hero-graphics--orchestration .hero-cluster:hover {
  transform: scale(1.055);
}

.hero-graphics--orchestration .hero-cluster--k8s:hover .hero-cluster-card {
  stroke: #94a3b8;
}

.hero-graphics--orchestration .hero-cluster--ai:hover .hero-cluster-card {
  stroke-width: 2.65;
}

/* Let hover hit cluster cards, not dashed guides or floating labels */
.hero-orchestration-svg-wrap svg .data-flow-line {
  pointer-events: none;
  stroke-dasharray: 6 10;
  animation: dash-flow 2s linear infinite, flow-line-breathe 4.5s ease-in-out infinite;
}

.hero-orchestration-svg-wrap svg .data-flow-line--active {
  stroke: #38bdf8;
  animation: dash-flow 2s linear infinite, flow-line-breathe-active 3.2s ease-in-out infinite;
}

@keyframes flow-line-breathe {
  0%, 100% {
    opacity: 0.38;
  }

  50% {
    opacity: 0.58;
  }
}

@keyframes flow-line-breathe-active {
  0%, 100% {
    opacity: 0.56;
    filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.35));
  }

  50% {
    opacity: 0.88;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.55));
  }
}

.hero-orchestration-svg-wrap svg [class*="hero-orchestration-labels"] {
  pointer-events: none;
}

@keyframes hero-hub-pulse-ring {
  0%, 100% {
    opacity: 0.32;
  }

  50% {
    opacity: 0.58;
  }
}

.hero-hub-pulse-ring {
  animation: hero-hub-pulse-ring 2.85s ease-in-out infinite;
}

.hero-orchestration-svg-wrap svg .data-flow-line--stagger-1 { animation-delay: 0s, 0s; }
.hero-orchestration-svg-wrap svg .data-flow-line--stagger-2 { animation-delay: 0.12s, 0.12s; }
.hero-orchestration-svg-wrap svg .data-flow-line--stagger-3 { animation-delay: 0.24s, 0.24s; }
.hero-orchestration-svg-wrap svg .data-flow-line--stagger-4 { animation-delay: 0.36s, 0.36s; }

@media (min-width: 1025px) {
  /*
   * Layout: copy column = only as wide as content (max 40rem). Diagram column = all remaining width (1fr).
   * This keeps typography stable while the graphic can use the full right side — no 50/50 split waste.
   * SVG scale uses transform-origin: left center so zoom grows toward the viewport right, not into the text.
   */
  .hero .container.hero-layout {
    max-width: none;
  }

  .hero-layout {
    align-items: center;
    gap: clamp(48px, 5.5vw, 88px);
    grid-template-columns: fit-content(40rem) minmax(0, 1fr);
  }

  .hero-content {
    justify-self: start;
    min-width: 0;
    padding-right: clamp(8px, 1.2vw, 20px);
    max-width: 100%;
    transform: translateY(-18px);
  }

  .hero-title {
    font-size: clamp(2.5rem, 3.25vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -0.034em;
    margin-bottom: clamp(20px, 2.2vw, 26px);
  }

  .hero-lead {
    font-size: 1.125rem;
    line-height: 1.82;
    margin-bottom: 32px;
    color: #475569;
    max-width: 38em;
  }

  /* Glow lives in the visual column; bias right so it stays behind the diagram */
  .hero-visual::before {
    left: 52%;
    width: min(118%, 840px);
    transform: translate(-50%, -50%);
    opacity: 0.58;
    background: radial-gradient(ellipse 58% 58% at 54% 48%, rgba(96, 165, 250, 0.22), transparent 68%);
  }

  .hero-visual {
    justify-content: flex-start;
    align-items: center;
    padding-left: clamp(12px, 1.5vw, 28px);
    padding-right: clamp(4px, 1vw, 16px);
    padding-top: 0;
    min-height: 0;
    min-width: 0;
    overflow: visible;
    width: 100%;
  }

  .hero .hero-graphics--orchestration {
    align-items: center;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  /* Fill the wide right column; scale from left edge so expansion goes toward the outer/right edge, not the copy */
  .hero .hero-orchestration-svg-wrap {
    width: 100%;
    max-width: min(1040px, 100%);
    margin-left: 0;
    margin-right: auto;
    transform: scale(1.12);
    transform-origin: left center;
  }

}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: stretch;
  }

  .hero-content {
    max-width: none;
    padding-right: 0;
  }

  .hero-stats {
    max-width: none;
  }

  .hero-visual {
    max-width: 100%;
    width: 100%;
    min-height: clamp(320px, 56vw, 520px);
    justify-content: center;
    padding-left: 0;
    align-items: center;
  }

  .hero .hero-graphics {
    max-width: min(560px, 94vw);
  }

  .hero .hero-graphics--orchestration {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: min(640px, 94vw);
  }

  .hero .hero-orchestration-svg-wrap {
    max-width: min(620px, 94vw);
  }
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stat:hover {
    transform: none;
  }

  .hero-stat {
    transition: none;
  }

  .hero .hero-orchestration-svg-wrap {
    transform: none;
  }

  .hero .hero-graphics--orchestration {
    transform: none;
  }

  .hero-orchestration-svg-wrap svg .data-flow-line {
    animation: none;
    stroke: #94a3b8;
    opacity: 0.45;
    filter: none;
  }

  .hero-flow-packets {
    display: none;
  }

  .hero-hub-pulse-ring {
    animation: none;
    opacity: 0.42;
  }

  .hero-hub-inner-ring,
  .hero-hub-mark-svg,
  .hero-orchestration-svg-wrap svg .hero-cluster-drift,
  .hero-orchestration-svg-wrap svg .hero-ai-shimmer {
    animation: none;
  }

  .hero-hub-inner-ring {
    transform: none;
    opacity: 0.08;
  }

  .hero-hub-mark-svg {
    transform: none;
  }

  .hero-orchestration-svg-wrap svg .hero-ai-shimmer {
    opacity: 0;
  }

  .hero-graphics--orchestration .hero-cluster .hero-cluster-card {
    animation: none;
    filter: none;
  }

  .hero-orchestration-svg-wrap svg .hero-cluster-led {
    animation: none !important;
    opacity: 1;
    filter: none;
  }

  .hero-orchestration-svg-wrap svg [class*="hero-orchestration-labels"] text {
    transition: none;
  }

  .hero-graphics--orchestration .hero-cluster {
    transition: none;
  }

  .hero-graphics--orchestration .hero-cluster:hover {
    transform: none;
  }

  .hero-graphics--orchestration .hero-cluster--k8s:hover .hero-cluster-card {
    stroke: #e2e8f0;
  }

  .hero-graphics--orchestration .hero-cluster--ai:hover .hero-cluster-card {
    stroke-width: 2;
  }

  .nav-social-link:hover .nav-social-svg {
    transform: none;
  }

  .nav-social-link,
  .nav-social-svg {
    transition: none;
  }

  .navbar,
  .navbar.navbar--ready,
  .nav-inner,
  .nav-inner::before,
  .nav-brand,
  .nav-brand svg,
  .nav-dropdown-menu,
  .nav-dropdown-menu a,
  .nav-mega-col,
  .nav-dropdown-btn,
  .nav-dropdown-btn svg,
  .nav-dropdown-btn::after,
  .nav-menu > a::after,
  .nav-actions .btn,
  .nav-links-wrap {
    animation: none !important;
    transition: none !important;
  }

  .navbar {
    opacity: 1;
    transform: none;
  }

  .navbar.scrolled .nav-inner::before {
    opacity: 0;
  }

  .nav-dropdown:hover .nav-mega-col,
  .nav-dropdown:focus-within .nav-mega-col,
  .nav-dropdown.nav-dropdown--hover .nav-mega-col {
    animation: none !important;
  }

  @media (max-width: 768px) {
    .navbar.nav-open .nav-menu > .nav-dropdown,
    .navbar.nav-open .nav-menu > a,
    .navbar.nav-open .nav-actions,
    .nav-dropdown.nav-dropdown--open .nav-dropdown-menu {
      animation: none !important;
    }

    .nav-menu > .nav-dropdown,
    .nav-menu > a,
    .nav-actions {
      opacity: 1;
      transform: none;
    }
  }

  .home .hero-bg,
  .home .section:not(.section-dark) .section-badge,
  .home .section-dark .section-badge,
  .home .home-mockup-chart-line,
  .home #platform .split-image--screenshot .product-screenshot-frame,
  .home .industry-card,
  .home .floating-metric .icon-wrap,
  .home .scroll-progress,
  .home .cta-block::after,
  .home .suite-category .card-icon {
    animation: none !important;
  }

  .home .hero-bg {
    transform: none;
  }

  .home .hero-content.reveal .hero-welcome::after,
  .home .hero-content.reveal.active .hero-welcome::after {
    animation: none;
    width: 2.5rem;
    opacity: 0.65;
  }

  .home .scroll-progress {
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  }

  .product-screenshot-open-hint {
    opacity: 1;
    transform: none;
  }
}

/* Home — extra motion (index only: body.home) */
.home .hero-bg {
  animation: home-hero-bg-drift 32s ease-in-out infinite alternate;
}

@keyframes home-hero-bg-drift {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.035) translate(-1.2%, 0.8%);
  }
}

.home .hero-content.reveal:not(.active) .hero-welcome::after {
  width: 0;
  opacity: 0;
}

.home .hero-content.reveal.active .hero-welcome::after {
  animation: home-underline-draw 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

@keyframes home-underline-draw {
  to {
    width: 2.5rem;
    opacity: 0.65;
  }
}

.home .section:not(.section-dark) .section-badge {
  background: linear-gradient(
    110deg,
    rgba(15, 23, 42, 0.06) 0%,
    rgba(37, 99, 235, 0.16) 45%,
    rgba(14, 165, 233, 0.12) 55%,
    rgba(15, 23, 42, 0.06) 100%
  );
  background-size: 220% 100%;
  animation: home-badge-sheen 8s ease infinite;
}

.home .section-dark .section-badge {
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(14, 165, 233, 0.28) 45%,
    rgba(37, 99, 235, 0.22) 55%,
    rgba(255, 255, 255, 0.08) 100%
  );
  background-size: 220% 100%;
  animation: home-badge-sheen 8s ease infinite;
}

@keyframes home-badge-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.home .home-mockup-chart-line {
  stroke-dasharray: 48 140;
  animation: home-chart-dash 3.8s ease-in-out infinite;
}

@keyframes home-chart-dash {
  0%,
  100% {
    stroke-opacity: 0.75;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-opacity: 1;
    stroke-dashoffset: -42;
  }
}

.home #platform .split-image--screenshot .product-screenshot-frame {
  animation:
    home-screenshot-enter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both,
    home-split-glow 6s ease-in-out infinite alternate 1.2s;
}

@keyframes home-split-glow {
  0% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 28px 64px -28px rgba(15, 23, 42, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  }
  100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 36px 72px -24px rgba(37, 99, 235, 0.18),
      0 0 0 1px rgba(37, 99, 235, 0.08) inset;
  }
}

.home .industry-card {
  animation: home-industry-border 9s ease-in-out infinite;
}

@keyframes home-industry-border {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.05);
  }
  50% {
    border-color: rgba(14, 165, 233, 0.22);
  }
}

.home .floating-metric .icon-wrap {
  animation: home-icon-breathe 3.4s ease-in-out infinite;
}

@keyframes home-icon-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

.home .scroll-progress {
  background: linear-gradient(
    90deg,
    #1d4ed8,
    #38bdf8,
    #6366f1,
    #0ea5e9,
    #1d4ed8
  );
  background-size: 220% 100%;
  animation: home-progress-sheen 3.8s linear infinite;
}

@keyframes home-progress-sheen {
  to {
    background-position: 220% 0;
  }
}

.home .cta-block::after {
  animation: home-cta-sheen 22s linear infinite;
  transform-origin: center;
}

@keyframes home-cta-sheen {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.home .suite-category .card-icon {
  animation: home-suite-icon-float 5.5s ease-in-out infinite;
}

.home .suite-category .card:nth-child(1) .card-icon {
  animation-delay: 0s;
}

.home .suite-category .card:nth-child(2) .card-icon {
  animation-delay: -1.1s;
}

.home .suite-category .card:nth-child(3) .card-icon {
  animation-delay: -2.2s;
}

@keyframes home-suite-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* MARQUEE */
.marquee {
  overflow: hidden;
  padding: 60px 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.marquee-content {
  display: flex;
  gap: 80px;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-main);
  opacity: 0.4;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.marquee-item:hover {
  opacity: 1;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SECTIONS */
.section {
  padding: 140px 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h2, .section-dark h3 {
  color: var(--text-light);
}

.section-dark p {
  color: var(--text-dark-muted);
}

.section-header {
  margin-bottom: 80px;
  max-width: none;
}

.section-header h2 {
  margin-bottom: 24px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(15, 23, 42, 0.05);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-dark .section-badge {
  background-color: rgba(255,255,255,0.1);
  color: var(--text-light);
}

/* TWO COLUMN LAYOUT */
.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.section-dark .split-image {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Product screenshot showcase (marketing) */
.split-image--screenshot {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  display: block;
  padding: 8px 0 0;
}

.split-image--screenshot .product-screenshot {
  margin: 0;
  width: 100%;
}

/* Platform: text full width, screenshot below (readable copy) */
#platform .split-layout--stacked-screenshot {
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 56px);
}

#platform .split-layout--stacked-screenshot .split-content {
  max-width: none;
}

#platform .split-layout--stacked-screenshot .split-image--screenshot {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.product-screenshot--size-lg {
  width: 100%;
}

.product-screenshot--size-lg .product-screenshot-frame {
  padding: 12px 14px 16px;
}

.product-screenshot--banner,
.product-screenshot--size-compact {
  width: 100%;
  max-width: none;
  margin: 0 auto 48px;
}

.product-screenshot--banner .product-screenshot-frame {
  padding: 14px 16px 18px;
}

.product-screenshot--banner .product-screenshot-chrome {
  padding: 10px 14px 12px;
}

.product-screenshot--size-md {
  width: 100%;
  margin: 0;
}

.product-screenshot-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  margin-top: 48px;
  margin-bottom: 8px;
}

.product-screenshot-row-copy .section-badge {
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .product-screenshot-row {
    grid-template-columns: 1fr;
  }

  .product-screenshot-row .product-screenshot {
    order: -1;
  }
}

.product-screenshot {
  margin: 0;
}

.product-screenshot-frame {
  position: relative;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 28px 64px -28px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.product-screenshot--featured .product-screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 36px 72px -24px rgba(37, 99, 235, 0.18),
    0 0 0 1px rgba(37, 99, 235, 0.08) inset;
}

.product-screenshot-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 8px;
}

.product-screenshot-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.product-screenshot-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.product-screenshot-dots span:nth-child(1) {
  background: #fca5a5;
}

.product-screenshot-dots span:nth-child(2) {
  background: #fcd34d;
}

.product-screenshot-dots span:nth-child(3) {
  background: #86efac;
}

.product-screenshot-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.product-screenshot-url svg {
  flex-shrink: 0;
  color: #94a3b8;
}

.product-screenshot-url span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-screenshot-live {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.product-screenshot-viewport {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  line-height: 0;
}

.product-screenshot-viewport img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.product-screenshot-open {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  line-height: 0;
}

.product-screenshot-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.product-screenshot-open-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-screenshot-open:hover .product-screenshot-open-hint,
.product-screenshot-open:focus-visible .product-screenshot-open-hint {
  opacity: 1;
  transform: translateY(0);
}

.product-screenshot-open-hint svg {
  flex-shrink: 0;
}

/* Full-screen screenshot lightbox */
body.product-lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.product-lightbox.is-open {
  display: flex;
}

.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1200px, 96vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(248, 250, 252, 0.12);
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.product-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
  flex-shrink: 0;
}

.product-lightbox-caption {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.product-lightbox-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.product-lightbox-btn,
.product-lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(248, 250, 252, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.product-lightbox-btn--reset {
  font-size: 0.75rem;
  min-width: 52px;
}

.product-lightbox-btn:hover,
.product-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(248, 250, 252, 0.28);
}

.product-lightbox-close {
  padding: 0;
  min-width: 36px;
}

.product-lightbox-stage {
  flex: 1;
  min-height: 200px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #020617;
  cursor: default;
}

.product-lightbox-stage.is-pannable {
  cursor: grab;
}

.product-lightbox-stage.is-dragging {
  cursor: grabbing;
}

.product-lightbox-img {
  width: auto;
  height: auto;
  max-width: min(1100px, 90vw);
  max-height: min(75vh, 900px);
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.product-lightbox-hint {
  margin: 0;
  padding: 10px 16px 14px;
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.55);
  text-align: center;
  flex-shrink: 0;
}

/* Feature page screenshot galleries */
.feature-screenshots-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f8fafc 100%);
  border-top: 1px solid var(--border-light);
}

.section-alt {
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
}

.feature-screenshots-lead {
  max-width: 640px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

.product-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
}

/* Alternating screenshot walkthrough (image + rich copy) */
.screenshot-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 72px);
  margin-top: clamp(40px, 5vw, 56px);
}

.screenshot-showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border-radius: calc(var(--radius-lg) + 4px);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  position: relative;
}

.screenshot-showcase-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--accent) 0%, #6366f1 100%);
  opacity: 0.85;
}

.screenshot-showcase-item--reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.screenshot-showcase-item--reverse .screenshot-showcase-visual {
  order: 2;
}

.screenshot-showcase-item--reverse .screenshot-showcase-copy {
  order: 1;
}

.screenshot-showcase-item--reverse::before {
  left: auto;
  right: 0;
  border-radius: 3px 0 0 3px;
}

.screenshot-showcase--on-alt .screenshot-showcase-item {
  background: var(--bg-card);
}

.screenshot-showcase-visual .product-screenshot {
  margin: 0;
}

.screenshot-showcase-visual .product-screenshot--size-md .product-screenshot-frame {
  padding: 10px;
}

.screenshot-showcase-copy {
  padding: 0 clamp(8px, 2vw, 16px);
}

.screenshot-showcase-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.screenshot-showcase-step {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}

.screenshot-showcase-of {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.screenshot-showcase-badge {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.screenshot-showcase-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 12px;
  line-height: 1.25;
}

.screenshot-showcase-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 18px;
  max-width: 52ch;
}

.screenshot-showcase-points {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screenshot-showcase-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-main);
}

.screenshot-showcase-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  position: relative;
}

.screenshot-showcase-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.screenshot-showcase-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.9;
}

.screenshot-showcase-hint svg {
  flex-shrink: 0;
  opacity: 0.7;
}

@media (max-width: 960px) {
  .screenshot-showcase-item,
  .screenshot-showcase-item--reverse {
    grid-template-columns: 1fr;
  }

  .screenshot-showcase-item--reverse .screenshot-showcase-visual,
  .screenshot-showcase-item--reverse .screenshot-showcase-copy {
    order: unset;
  }

  .screenshot-showcase-visual {
    order: -1;
  }

  .screenshot-showcase-badge {
    margin-left: 0;
  }

  .screenshot-showcase-desc {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screenshot-showcase-item {
    box-shadow: none;
  }
}

.product-screenshot--size-sm .product-screenshot-frame {
  padding: 8px;
}

.product-screenshot--size-sm .product-screenshot-chrome {
  padding: 6px 10px 8px;
  margin-bottom: 6px;
}

.product-screenshot--size-sm .product-screenshot-url {
  font-size: 0.62rem;
  padding: 4px 10px;
}

.product-screenshot--size-sm .product-screenshot-live {
  display: none;
}

.product-screenshot--size-sm .product-screenshot-caption {
  margin-top: 10px;
}

.product-screenshot--size-sm .product-screenshot-caption-title {
  font-size: 0.8125rem;
}

@media (max-width: 640px) {
  .product-lightbox-panel {
    width: 100%;
    max-height: 96vh;
  }

  .product-lightbox-toolbar {
    flex-wrap: wrap;
  }

  .product-lightbox-open-hint {
    opacity: 1;
    transform: none;
    font-size: 0.65rem;
    right: 8px;
    bottom: 8px;
  }
}

.product-screenshot-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 12px;
  margin-top: 14px;
  padding: 0 8px;
  text-align: center;
}

.product-screenshot-caption-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.product-screenshot-caption-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.floating-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.floating-metric-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
}

.floating-metric-value--accent {
  color: var(--accent);
}

.floating-metric-value--success {
  color: #10b981;
}

@keyframes home-screenshot-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  .split-image--screenshot .floating-metric.m1 {
    right: 4%;
    top: 8%;
  }

  .split-image--screenshot .floating-metric.m2 {
    left: 4%;
    bottom: 18%;
  }
}

@media (max-width: 640px) {
  .split-image--screenshot .floating-metric {
    display: none;
  }

  .product-screenshot-chrome {
    flex-wrap: wrap;
    padding: 8px 10px;
  }

  .product-screenshot-live {
    display: none;
  }

  .product-screenshot-url {
    flex: 1 1 100%;
    order: 3;
    font-size: 0.65rem;
  }
}

/* GRAPHICS / UI MOCKUPS */
.mockup-container {
  width: 100%;
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.section-dark .mockup-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.mockup-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

.mockup-sidebar, .mockup-main {
  background: rgba(15, 23, 42, 0.03);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.section-dark .mockup-sidebar, .section-dark .mockup-main {
  background: rgba(255,255,255,0.03);
}

/* TABS SECTION */
.tabs-container {
  display: flex;
  flex-direction: column;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 60px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 20px 32px;
  background: transparent;
  border: none;
  color: var(--text-dark-muted);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-light);
}

.tab-btn.active {
  color: var(--text-light);
  border-bottom-color: var(--accent-secondary);
}

.tab-panel {
  display: none;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.tab-features {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.tab-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.125rem;
  color: var(--text-dark-muted);
}

.tab-features li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent-secondary);
}

/* CARDS GRID & PRODUCT SUITE */
.suite-category {
  margin-bottom: 40px;
}
.category-title {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.card::after {
  content: '';
  position: absolute;
  left: var(--mouse-x, 0);
  top: var(--mouse-y, 0);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: -1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 10px 30px -10px var(--glow-color);
  border-color: rgba(37, 99, 235, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background-color: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.card p {
  font-size: 1rem;
  margin-bottom: 0;
}

.card-note {
  margin-top: 10px;
}

/* INDUSTRIES GRID */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.industry-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 40px 32px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-content {
  position: relative;
  z-index: 1;
}

.industry-card h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 16px;
  transition: var(--transition);
}

.industry-card p {
  color: var(--text-dark-muted);
  margin-bottom: 0;
  font-size: 1rem;
}

.industry-card:hover h3 {
  color: var(--accent-secondary);
}

.section-dark .section-header-desc {
  color: rgba(248, 250, 252, 0.78);
  max-width: 640px;
  margin: 12px auto 0;
  line-height: 1.65;
}

.industries-grid--linked {
  margin-bottom: 8px;
}

.industry-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.industry-card--link:hover {
  color: inherit;
}

.industry-card-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-secondary);
  letter-spacing: 0.02em;
}

.industry-card--link:hover .industry-card-cta {
  text-decoration: underline;
}

.industries-hub-cta {
  text-align: center;
  margin-top: 40px;
}

/* Industry detail pages */
body.industry-page {
  padding-top: 96px;
}

.industry-hero .industry-tagline {
  font-size: 1.0625rem;
  color: rgba(248, 250, 252, 0.85);
  margin-top: 16px;
  max-width: 52ch;
  line-height: 1.6;
}

.industry-sentence-strip {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.06));
  border-bottom: 1px solid var(--border-light);
}

.industry-detail-section {
  padding-top: 48px;
}

.industry-how-panel {
  margin-top: 28px;
}

.industry-screens-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

.industry-related-section .industry-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.industry-related-card h3 {
  margin-top: 0;
  color: var(--text-light);
}

.industry-related-card p {
  color: rgba(248, 250, 252, 0.88);
  margin-bottom: 0;
  line-height: 1.65;
}

.industry-related-card a {
  color: var(--accent-secondary);
  font-weight: 600;
}

.industry-hub-section {
  padding-top: 48px;
}

.industry-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.industry-hub-card {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.industry-hub-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: inherit;
}

.industry-hub-card-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.industry-hub-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.industry-hub-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.industry-hub-card-link {
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
}

.nav-dropdown-menu--industries {
  min-width: min(680px, calc(100vw - 48px));
}

.nav-mega-grid--industries {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nav-dropdown-menu--industries {
  min-width: min(920px, calc(100vw - 32px));
}

@media (max-width: 1100px) {
  .nav-mega-grid--industries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-mega-grid--industries {
    grid-template-columns: 1fr;
  }
}

.industries-subheading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 48px 0 8px;
  text-align: center;
}

.industries-subheading:first-of-type {
  margin-top: 8px;
}

.industries-subdesc {
  text-align: center;
  color: rgba(248, 250, 252, 0.72);
  margin: 0 auto 24px;
  max-width: 52ch;
  line-height: 1.6;
}

.industry-card--tech::before {
  background: linear-gradient(180deg, #7c3aed 0%, #2563eb 100%);
}

.industry-hub-group-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.industry-hub-group-title--tech {
  margin-top: 56px;
}

.industry-hub-group-desc {
  color: var(--text-muted);
  margin: 0 0 24px;
  line-height: 1.6;
}


/* CTA BLOCK */
.cta-block {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.cta-block::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

/* FOOTER */
.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0b1224 0%, #0f172a 42%, #111827 100%);
  color: var(--text-light);
  padding: 0 0 36px;
  margin-top: 0;
}

.footer-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% -10%, rgba(37, 99, 235, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(14, 165, 233, 0.12), transparent 50%);
}

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

.footer-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  padding: clamp(36px, 5vw, 52px) clamp(24px, 4vw, 40px);
  margin-top: clamp(48px, 6vw, 72px);
  margin-bottom: clamp(40px, 5vw, 56px);
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(15, 23, 42, 0.6) 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.footer-cta-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 8px;
}

.footer-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-light);
  margin: 0;
  max-width: 36ch;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-footer {
  padding: 12px 22px;
  font-size: 0.9375rem;
}

.btn-footer--block {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 48px);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 0.9;
  color: var(--text-light);
}

.footer-logo svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-secondary);
}

.footer-tagline {
  color: var(--text-dark-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 34ch;
  margin: 0 0 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(248, 250, 252, 0.06);
  border: 1px solid rgba(248, 250, 252, 0.1);
  color: var(--text-dark-muted);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-social-link:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--text-light);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 18px;
}

.footer-col-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-dark-muted);
  margin: 0 0 16px;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list li:last-child {
  margin-bottom: 0;
}

.footer-links-list a {
  color: var(--text-dark-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--accent-secondary);
  padding-left: 4px;
}

.footer-links-list--compact {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}

.footer-links-list--compact a {
  font-size: 0.875rem;
}

.footer-account-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.footer-col--account {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 24px;
}

.footer-stack-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
}

.footer-stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-stack-list li {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.75);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(248, 250, 252, 0.06);
  border: 1px solid rgba(248, 250, 252, 0.08);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  color: var(--text-dark-muted);
  font-size: 0.875rem;
}

.footer-bottom-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.footer-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-secondary);
  transition: color 0.2s ease, gap 0.2s ease;
}

.footer-back-link:hover {
  color: var(--text-light);
  gap: 8px;
}

.footer-bottom-sep {
  opacity: 0.4;
  user-select: none;
}

.footer-copy {
  color: var(--text-dark-muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-legal a {
  color: var(--text-dark-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--text-light);
}

/* Legacy footer selectors (feature pages) */
.footer-col h4 {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1.125rem;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a:hover {
  color: var(--text-light);
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active, .reveal-left.active, .reveal-right.active, .reveal-scale.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delay classes for staggered animations */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

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

.floating {
  animation: float 6s ease-in-out infinite;
}
.floating-slow {
  animation: float 8s ease-in-out infinite reverse;
}

.floating-metric {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-main);
  z-index: 10;
}
.floating-metric .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
}
.floating-metric.m1 { top: 15%; right: -15%; animation: float 7s ease-in-out infinite; }
.floating-metric.m2 { bottom: 15%; left: -20%; animation: float 6s ease-in-out infinite reverse; }

/* SVG specific animations */
@keyframes dash-flow {
  to { stroke-dashoffset: -100; }
}
.data-flow-line {
  stroke-dasharray: 6 10;
  animation: dash-flow 2s linear infinite;
}

@keyframes blink-led {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px #22c55e); }
  50% { opacity: 0.3; filter: none; }
}
.led-green { animation: blink-led 1.5s infinite; fill: #22c55e; }
.led-blue { animation: blink-led 2s infinite 0.5s; fill: #0ea5e9; }
.led-amber { animation: blink-led 3s infinite 1s; fill: #f59e0b; }

@keyframes spin-slow {
  100% { transform: rotate(360deg); }
}
.spin-slow {
  transform-origin: center;
  animation: spin-slow 15s linear infinite;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .split-layout, .tab-panel.active {
    grid-template-columns: 1fr;
  }
  .split-image {
    order: -1;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col--account {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.75rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  .section {
    padding: 80px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta-actions {
    width: 100%;
  }

  .footer-cta-actions .btn-footer {
    flex: 1;
    min-width: 140px;
  }

  .footer-col--account {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-bottom-start {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-sep {
    display: none;
  }
}

/* --- Feature detail pages --- */
body.feature-page {
  padding-top: 96px;
}

.feature-hero {
  padding: 120px 0 88px;
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.feature-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(37, 99, 235, 0.25), transparent 55%);
  pointer-events: none;
}

.feature-hero .container {
  position: relative;
  z-index: 1;
}

.feature-kicker {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 20px;
}

.feature-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: none;
}

.feature-lead {
  font-size: 1.25rem;
  color: var(--text-dark-muted);
  max-width: none;
  margin-bottom: 32px;
  line-height: 1.65;
}

.feature-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.feature-capability-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px;
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feature-cap-item {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.feature-cap-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.feature-cap-desc {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: -40px;
  padding-bottom: 40px;
}

.feature-panel {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}

.feature-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.feature-panel p {
  font-size: 1rem;
  margin-bottom: 16px;
}

.feature-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-panel li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
}

.feature-panel-accent {
  box-shadow: inset 0 4px 0 0 var(--accent), var(--shadow-md);
}

.feature-deep-dive {
  padding-top: 0;
}

.feature-deep-dive .split-layout {
  align-items: start;
}

@media (max-width: 1024px) {
  .feature-detail-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

/* Feature page: KPI grid & virtualization detail */
.feature-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.feature-kpi-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-kpi-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-md);
}

.feature-kpi-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.feature-kpi-value {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 10px;
  line-height: 1.15;
}

.feature-kpi-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.feature-kpi-sep {
  opacity: 0.45;
  font-weight: 600;
  margin: 0 2px;
}

.feature-kpi-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 28px auto 0;
  line-height: 1.5;
}

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

.feature-tab-pill {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-tab-pill.is-active {
  color: var(--text-light);
  background: rgba(37, 99, 235, 0.35);
  border-color: rgba(14, 165, 233, 0.45);
}

.feature-tab-pills--light {
  justify-content: flex-start;
}

.feature-tab-pills--light .feature-tab-pill {
  color: var(--text-muted);
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
}

.feature-tab-pills--light .feature-tab-pill.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  border-color: rgba(15, 118, 110, 0.5);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
}

.feature-capacity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-capacity-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.feature-capacity-card h3 {
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.feature-capacity-line {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.feature-capacity-line .muted {
  color: var(--text-muted);
  font-weight: 500;
}

.feature-capacity-bar {
  margin-top: 18px;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.feature-capacity-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

.feature-capacity-bar--memory span {
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.feature-capacity-bar--disk span {
  background: linear-gradient(90deg, #334155, #64748b);
}

@media (max-width: 900px) {
  .feature-capacity-grid {
    grid-template-columns: 1fr;
  }
}
