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

:root {
  --white: #fff;
  --off-white: #f6f9fc;
  --grey-50: #f0f4ff;
  --grey-100: #e8edfb;
  --grey-200: #d1d9f0;
  --grey-400: #8898aa;
  --grey-600: #525f7f;
  --grey-800: #32325d;
  --ink: #0a2540;
  --blue: #635bff;
  --blue-2: #0570de;
  --blue-light: #7a73ff;
  --blue-glow: rgba(99, 91, 255, 0.22);
  --blue-dim: rgba(99, 91, 255, 0.08);
  --blue-border: rgba(99, 91, 255, 0.2);
  --green: #00d924;
  --teal: #00b2a9;
  --purple: #7c4dff;
  --border: #e6ecf8;
  --shadow-xs: 0 1px 3px rgba(50, 50, 93, 0.12), 0 1px 0 rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 4px 12px rgba(50, 50, 93, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 13px 27px -5px rgba(50, 50, 93, 0.18), 0 8px 16px -8px rgba(0, 0, 0, 0.1);
  --shadow-lg:
    0 30px 60px -12px rgba(50, 50, 93, 0.25),
    0 18px 36px -18px rgba(0, 0, 0, 0.2);
  --shadow-blue: 0 8px 30px rgba(99, 91, 255, 0.28);
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --r: 12px;
  --r-lg: 12px;
  --r-lg-2: 20px;

  /* Consistent type scale */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem; /* 36px */

  /* Consistent spacing */
  --section-y: 96px;
  --section-x: 5%;
  --card-pad: 1.75rem;
  --gap-card: 1.25rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Reset headings to use variables */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

p {
  color: var(--grey-600);
  line-height: 1.7;
}

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

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--off-white);
}
::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 2px;
}

/* ─────────────────────────────
   HEADER
───────────────────────────── */
#hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--section-x);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}

#hdr.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(10, 37, 64, 0.07);
}

.logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.logo span {
  color: var(--blue);
}

#hdr nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

#hdr nav a {
  color: var(--grey-600);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

#hdr nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s;
}

#hdr nav a:hover {
  color: var(--ink);
}
#hdr nav a:hover::after {
  transform: scaleX(1);
}

.header-ctas {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-shrink: 0;
}

/* Buttons */
.btn-ghost {
  padding: 0.45rem 1rem;
  color: var(--grey-600);
  font-size: var(--text-sm);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  transition: color 0.2s;
  border-radius: var(--r-lg);
}
.btn-ghost:hover {
  color: var(--ink);
  background: var(--grey-50);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  background: var(--blue);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--r-lg);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--blue-light);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}

.btn-primary-lg {
  padding: 0.875rem 2rem;
  font-size: var(--text-base);
  border-radius: var(--r-lg);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  border: 1.5px solid var(--grey-200);
  background: #fff;
  color: var(--grey-800);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--r-lg);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

.btn-outline-dark-lg {
  padding: 0.875rem 2rem;
  font-size: var(--text-base);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-toggle:hover {
  background: var(--grey-50);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(20px);
  padding: 1rem var(--section-x) 1.5rem;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  box-shadow: var(--shadow-md);
  gap: 0;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--grey-600);
  text-decoration: none;
  padding: 0.8rem 0;
  font-size: var(--text-base);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:hover {
  color: var(--blue);
}
.mobile-nav a:last-of-type {
  border-bottom: none;
}

.m-ctas {
  display: flex;
  gap: 0.6rem;
  padding-top: 1.25rem;
  flex-wrap: wrap;
}
.m-ctas .btn-outline-dark,
.m-ctas .btn-primary {
  flex: 1;
  justify-content: center;
  min-width: 130px;
}

/* ─────────────────────────────
   HERO
───────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px var(--section-x) 80px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.35), transparent 65%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 178, 169, 0.25), transparent 65%);
  bottom: -100px;
  left: -150px;
  animation-delay: -3s;
}
.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.2), transparent 65%);
  top: 30%;
  left: 40%;
  animation-delay: -5s;
}

.hero-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(99, 91, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.04);
  }
  66% {
    transform: translate(-20px, 15px) scale(0.97);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 560px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 91, 255, 0.08);
  border: 1px solid rgba(99, 91, 255, 0.2);
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-lg);
  margin-bottom: 1.25rem;
}

h1.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

h1.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--grey-600);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}
.hero-link:hover {
  gap: 0.6rem;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.avatars {
  display: flex;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: #fff;
  font-weight: 700;
}
.avatar:first-child {
  margin-left: 0;
}
.avatar:nth-child(2) {
  background: linear-gradient(135deg, var(--teal), #00e5d9);
}
.avatar:nth-child(3) {
  background: linear-gradient(135deg, var(--purple), #a87fff);
}

.proof-text {
  font-size: var(--text-sm);
  color: var(--grey-600);
}
.proof-text strong {
  color: var(--ink);
}

/* Dashboard visual */
.hero-visual {
  position: relative;
}

.dash-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg-2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.dash-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--blue),
    var(--blue-light),
    var(--teal)
  );
}

.dash-bar {
  background: var(--off-white);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.dash-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dash-dot-r {
  background: #ff5f57;
}
.dash-dot-y {
  background: #ffbd2e;
}
.dash-dot-g {
  background: #28c840;
}
.dash-url {
  margin-left: 0.5rem;
  font-size: var(--text-xs);
  color: var(--grey-400);
  background: var(--grey-100);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
}

.dash-body {
  padding: 1.1rem;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.kpi {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.5rem;
  text-align: center;
}
.kpi .n {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
  line-height: 1.2;
}
.kpi .l {
  font-size: 0.6rem;
  color: var(--grey-400);
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

.dash-chart {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem;
  margin-bottom: 0.9rem;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.chart-title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink);
}
.chart-badge {
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(0, 217, 36, 0.12);
  color: #00a01c;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  height: 48px;
}
.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--grey-200);
}
.bar.active {
  background: linear-gradient(180deg, var(--blue), var(--blue-light));
}
.bar.hi {
  background: linear-gradient(180deg, var(--teal), #00e5d9);
}

.dash-rows {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.drow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.drow-ic {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.65rem;
  flex-shrink: 0;
}
.drow-t {
  flex: 1;
  min-width: 0;
}
.drow-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drow-sub {
  font-size: 0.58rem;
  color: var(--grey-400);
}

.pill {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  flex-shrink: 0;
}
.pill-g {
  background: rgba(0, 217, 36, 0.1);
  color: #00a01c;
}
.pill-b {
  background: var(--blue-dim);
  color: var(--blue);
}
.pill-o {
  background: rgba(255, 150, 0, 0.1);
  color: #e07800;
}

/* Floating badges */
.fbadge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.fbadge-a {
  bottom: -16px;
  left: -28px;
  animation: fbFloat 4s ease-in-out infinite;
}
.fbadge-b {
  top: 20px;
  right: -22px;
  animation: fbFloat 4s ease-in-out infinite 1.8s;
}
.fbadge-ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.85rem;
}
.fbadge-n {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.fbadge-l {
  font-size: 0.6rem;
  color: var(--grey-400);
}

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

/* ─────────────────────────────
   LOGOS STRIP
───────────────────────────── */
.logos-strip {
  padding: 32px var(--section-x);
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.logos-label {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--grey-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.lchip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--grey-400);
  font-size: var(--text-base);
  font-weight: 600;
  font-family: var(--font-head);
  transition: color 0.2s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.lchip i {
  font-size: 1rem;
  color: var(--blue);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.lchip:hover {
  color: var(--grey-800);
}
.lchip:hover i {
  opacity: 0.9;
}

/* ─────────────────────────────
   SECTION FUNDAMENTALS
───────────────────────────── */
section {
  padding: var(--section-y) var(--section-x);
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section tag badge */
.stag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-dim);
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 1px solid var(--blue-border);
}

/* Section headings — consistent scale */
h2.stitle {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
h2.stitle em {
  font-style: normal;
  color: var(--blue);
}

/* Section subtitle */
.ssub {
  color: var(--grey-600);
  font-size: var(--text-lg);
  line-height: 1.65;
}

.tc {
  text-align: center;
}
.tc .ssub {
  margin: 0 auto;
  max-width: 560px;
}

/* Divider helpers */
.bor-bot {
  border-bottom: 1px solid var(--border);
}
.bor-rig {
  border-right: 1px solid var(--border);
}

/* ─────────────────────────────
   REVEAL ANIMATIONS
───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

.reveal-l {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-l.on {
  opacity: 1;
  transform: translateX(0);
}

.reveal-r {
  opacity: 0;
  transform: translateX(28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-r.on {
  opacity: 1;
  transform: translateX(0);
}

.d1 {
  transition-delay: 0.07s;
}
.d2 {
  transition-delay: 0.14s;
}
.d3 {
  transition-delay: 0.21s;
}
.d4 {
  transition-delay: 0.28s;
}
.d5 {
  transition-delay: 0.35s;
}

/* ─────────────────────────────
   PROBLEMS — bento grid
───────────────────────────── */
#problems {
  background: var(--off-white);
}

#problems .head-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 2rem;
}
#problems .head-container .ssub {
  max-width: 480px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-card);
  margin-top: 3rem;
}

.bcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--card-pad);
  text-align: left;
  transition: all 0.3s;
  cursor: default;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.bcard:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.25);
}

.bcard-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.bcard:hover .bcard-accent {
  opacity: 1;
}

.bcard-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.bcard h3 {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.bcard p {
  color: var(--grey-600);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ─────────────────────────────
   SOLUTIONS
───────────────────────────── */
#solutions {
  background: #fff;
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.sol-card {
  background: var(--off-white);
  padding: var(--card-pad) 1.25rem;
  text-align: left;
  transition: all 0.3s;
  cursor: default;
}
.sol-card:hover {
  background: #fff;
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
  z-index: 1;
}

/* Remove border-right from last card */
.sol-card:last-child {
  border-right: none;
}

.sol-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.2rem;
  margin: 0 0 1rem;
  transition:
    background 0.3s,
    color 0.3s;
}
.sol-card:hover .sol-ic {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.sol-card h3 {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.sol-card p {
  font-size: var(--text-sm);
  color: var(--grey-600);
  line-height: 1.65;
}

/* ─────────────────────────────
   STATS
───────────────────────────── */
#stats {
  background: var(--ink);
  padding: 80px var(--section-x);
  position: relative;
  overflow: hidden;
}
.stats-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 60% 50%,
      rgba(99, 91, 255, 0.25),
      transparent 70%
    ),
    radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size:
    auto,
    30px 30px;
}
.stats-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  display: block;
  letter-spacing: -0.05em;
  line-height: 1;
}
.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.6rem;
  display: block;
  line-height: 1.55;
}
.stat-icon {
  font-size: 1.2rem;
  color: var(--blue-light);
  margin-bottom: 0.65rem;
  display: block;
}

/* ─────────────────────────────
   ECOSYSTEM
───────────────────────────── */
#ecosystem {
  background: var(--off-white);
}

.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 0;
}

.eco-text h2 {
  margin-bottom: 0.75rem;
}
.eco-text .ssub {
  margin-bottom: 2rem;
}

.eco-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.eco-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s;
  cursor: default;
}
.eco-item:hover {
  border-color: rgba(99, 91, 255, 0.3);
  box-shadow: var(--shadow-blue);
  transform: translateX(4px);
}
.eco-item-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--blue-border);
}
.eco-item-text strong {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  display: block;
  letter-spacing: -0.01em;
}
.eco-item-text span {
  font-size: var(--text-xs);
  color: var(--grey-600);
}

/* Hub diagram */
.eco-hub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 460px;
}
.hub-center {
  position: absolute;
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 0 60px rgba(99, 91, 255, 0.4);
  z-index: 3;
}
.hub-center i {
  font-size: 1.5rem;
  color: #fff;
}
.hub-center .hl {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.hub-node {
  position: absolute;
  width: 78px;
  height: 78px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  z-index: 3;
  transition: all 0.3s;
  cursor: default;
  font-family: var(--font-body);
  text-align: center;
}
.hub-node:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
  transform: scale(1.1);
}
.hub-node i {
  font-size: 1.2rem;
  color: var(--blue);
}

.hub-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hub-svg line {
  stroke: rgba(99, 91, 255, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  animation: linePulse 2.5s linear infinite;
}
@keyframes linePulse {
  to {
    stroke-dashoffset: -20;
  }
}

/* Node positions */
.hn-1 {
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}
.hn-2 {
  top: 105px;
  right: 20px;
}
.hn-3 {
  bottom: 105px;
  right: 20px;
}
.hn-4 {
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}
.hn-5 {
  bottom: 105px;
  left: 20px;
}
.hn-6 {
  top: 105px;
  left: 20px;
}
.hn-1:hover,
.hn-4:hover {
  transform: translateX(-50%) scale(1.1);
}

/* ─────────────────────────────
   SERVICES
───────────────────────────── */
#services {
  background: #fff;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap-card);
  margin-top: 3rem;
}

/* Row layout: first 2 span 3, next 3 span 2 */
.svc-card:nth-child(1),
.svc-card:nth-child(2) {
  grid-column: span 3;
}
.svc-card:nth-child(n + 3) {
  grid-column: span 2;
}

.svc-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s;
  position: relative;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.svc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(99, 91, 255, 0.2);
}

.svc-head {
  padding: 1.5rem 1.4rem 0;
}

.svc-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.svc-card h3 {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.svc-card p {
  font-size: var(--text-sm);
  color: var(--grey-600);
  line-height: 1.7;
}

.svc-feats {
  padding: 1rem 1.4rem;
  flex: 1;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.svc-feats ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.svc-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: var(--text-sm);
  color: var(--grey-600);
  line-height: 1.5;
}
.svc-feats li i {
  color: var(--blue);
  font-size: 0.6rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.svc-foot {
  padding: 0.9rem 1.4rem 1.25rem;
  border-top: 1px solid var(--border);
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: var(--text-sm);
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}
.svc-link:hover {
  gap: 0.55rem;
}

/* ─────────────────────────────
   INDUSTRIES
───────────────────────────── */
#industries {
  background: var(--off-white);
}

.ind-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.ind-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--grey-800);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s;
  cursor: default;
}
.ind-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-blue);
  transform: translateY(-3px);
}
.ind-pill i {
  color: var(--blue);
  font-size: 1rem;
}

/* ─────────────────────────────
   CASE STUDIES
───────────────────────────── */
#casestudies {
  background: #fff;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-card);
  margin-top: 3rem;
}

.cscard {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.cscard:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(99, 91, 255, 0.25);
}

.cscard-top {
  background: var(--ink);
  padding: 1.4rem 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.cscard-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.cscard-top::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(99, 91, 255, 0.12);
}

.cs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.cs-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(99, 91, 255, 0.18);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.cs-num {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-family: var(--font-head);
}
.cscard-top h3 {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.cscard-body {
  background: #fff;
  padding: 1.25rem 1.5rem;
  flex: 1;
}
.cs-solution {
  font-size: var(--text-sm);
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.cs-tools {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.cs-tp {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  background: var(--grey-50);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.18rem 0.5rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--grey-600);
}
.cs-tp i {
  color: var(--blue);
  font-size: 0.5rem;
}

.cs-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0;
}
.cs-mbox {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
}
.cs-mnum {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  display: block;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.cs-mlbl {
  font-size: var(--text-xs);
  color: var(--grey-600);
  display: block;
  margin-top: 0.2rem;
  line-height: 1.4;
}

.cscard-foot {
  padding: 0.9rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cs-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: var(--text-sm);
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}
.cs-cta:hover {
  gap: 0.55rem;
}
.cs-ver {
  font-size: var(--text-xs);
  color: var(--grey-400);
  display: flex;
  align-items: center;
  gap: 0.28rem;
}
.cs-ver i {
  color: var(--blue);
  font-size: 0.65rem;
}

/* ─────────────────────────────
   TESTIMONIALS
───────────────────────────── */
#testimonials {
  background: var(--off-white);
}

.tst-shelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 2.5rem 0 3rem;
  box-shadow: var(--shadow-sm);
}
.tst-stat {
  padding: 1.6rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
  cursor: default;
}
.tst-stat:last-child {
  border-right: none;
}
.tst-stat:hover {
  background: var(--blue-dim);
}

.tst-stat .n {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  display: block;
  letter-spacing: -0.05em;
  line-height: 1;
}
.tst-stat .l {
  font-size: var(--text-xs);
  color: var(--grey-600);
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.tst-stat .l i {
  color: var(--blue);
  font-size: 0.65rem;
}

.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-card);
}

.tst-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.tst-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.2);
}

.tst-card-head {
  padding: 1.4rem 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.tst-qi {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.9rem;
}
.stars {
  display: flex;
  gap: 2px;
}
.stars i {
  color: #f5a623;
  font-size: 0.75rem;
}

.tst-card-body {
  padding: 0 1.5rem 1.25rem;
  flex: 1;
}
.tst-quote {
  font-size: var(--text-sm);
  color: var(--grey-600);
  line-height: 1.8;
  font-style: italic;
}

.tst-div {
  height: 1px;
  background: var(--border);
  margin: 0 1.5rem;
}

.tst-foot {
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tst-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  flex-shrink: 0;
}
.tst-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tst-co {
  font-size: var(--text-xs);
  color: var(--grey-400);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 0.28rem;
}
.tst-co i {
  color: var(--blue);
  font-size: 0.58rem;
}
.tst-ver {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  font-size: var(--text-xs);
  color: #00a01c;
  font-weight: 600;
  white-space: nowrap;
}
.tst-ver i {
  font-size: 0.7rem;
}

/* ─────────────────────────────
   CTA BANNER
───────────────────────────── */
#cta {
  background: var(--ink);
  padding: 100px var(--section-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 50%,
      rgba(99, 91, 255, 0.25),
      transparent 65%
    ),
    radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size:
    auto,
    30px 30px;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(99, 91, 255, 0.18);
  color: var(--blue-light);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(99, 91, 255, 0.3);
}

.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-lg);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: #fff;
  color: var(--ink);
  font-size: var(--text-base);
  font-weight: 700;
  border: none;
  border-radius: var(--r-lg);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-head);
  transition: all 0.2s;
  letter-spacing: -0.01em;
}
.btn-white:hover {
  background: var(--grey-50);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: var(--r-lg);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.cta-feats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.cta-feat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
}
.cta-feat i {
  color: var(--blue-light);
  font-size: 0.7rem;
}

/* ─────────────────────────────
   FOOTER
───────────────────────────── */
#footer {
  background: #0a0f1a;
  padding: 64px var(--section-x) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.fcol-head {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}
.flinks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.flinks a {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.38rem;
}
.flinks a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.flinks a i {
  font-size: 0.45rem;
  color: rgba(99, 91, 255, 0.5);
}

.footer-bot {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.fbot-info {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.85;
}
.fbot-info strong {
  color: rgba(255, 255, 255, 0.65);
}
.fbot-info i {
  color: rgba(99, 91, 255, 0.6);
  margin-right: 0.25rem;
}

.fbot-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.flegals {
  display: flex;
  gap: 1.5rem;
}
.flegals a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.flegals a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.socials {
  display: flex;
  gap: 0.5rem;
}
.sbtn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.sbtn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ─────────────────────────────
   COUNTER
───────────────────────────── */
.count-up {
  display: inline-block;
}

/* ─────────────────────────────
   RESPONSIVE — 1280px max-width screens
───────────────────────────── */
@media (max-width: 1280px) {
  #hdr nav {
    gap: 1.1rem;
  }
}

/* ─────────────────────────────
   RESPONSIVE — Tablet / 1024px
───────────────────────────── */
@media (max-width: 1100px) {
  .sol-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-card:nth-child(1),
  .svc-card:nth-child(2),
  .svc-card:nth-child(n + 3) {
    grid-column: span 1;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .eco-hub {
    height: 400px;
  }
  .hub-node {
    width: 68px;
    height: 68px;
    font-size: 0.58rem;
  }
  .hn-2,
  .hn-3 {
    right: 14px;
  }
  .hn-5,
  .hn-6 {
    left: 14px;
  }

  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─────────────────────────────
   RESPONSIVE — Tablet 900px
───────────────────────────── */
@media (max-width: 900px) {
  :root {
    --section-y: 72px;
    --section-x: 5%;
  }

  /* Header */
  #hdr nav,
  .header-ctas {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  /* Hero */
  #hero {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-visual {
    display: none;
  }

  /* Problems */
  #problems .head-container {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Solutions */
  .sol-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bor-rig {
    border-right: none;
  }

  /* Stats */
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  /* Ecosystem */
  .eco-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .eco-hub {
    display: none;
  }

  /* Services */
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-card:nth-child(1),
  .svc-card:nth-child(2),
  .svc-card:nth-child(n + 3) {
    grid-column: span 1;
  }

  /* Case studies */
  .cs-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Testimonials */
  .tst-shelf {
    grid-template-columns: repeat(2, 1fr);
  }
  .tst-stat:nth-child(2) {
    border-right: none;
  }
  .tst-stat:nth-child(1),
  .tst-stat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
  .tst-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bot {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .fbot-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Logos */
  .logos-row {
    justify-content: flex-start;
    gap: 1.5rem;
  }
  .lchip {
    font-size: var(--text-sm);
  }
}

/* ─────────────────────────────
   RESPONSIVE — Mobile 640px
───────────────────────────── */
@media (max-width: 640px) {
  :root {
    --section-y: 60px;
    --section-x: 4%;
    --card-pad: 1.25rem;
  }

  h2.stitle {
    font-size: 1.65rem;
    letter-spacing: -0.025em;
  }
  .ssub {
    font-size: var(--text-base);
  }

  /* Hero */
  #hero {
    padding-top: 90px;
  }
  h1.hero-title {
    font-size: 2rem;
    letter-spacing: -0.03em;
  }
  .hero-sub {
    font-size: var(--text-base);
  }
  .hero-actions {
    gap: 0.65rem;
  }
  .btn-primary-lg {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
  }

  /* Logos */
  .logos-row {
    gap: 1rem 1.5rem;
  }
  .lchip {
    font-size: 0.8rem;
  }
  .lchip i {
    font-size: 0.85rem;
  }

  /* Bento */
  .bento {
    grid-template-columns: 1fr;
  }

  /* Solutions */
  .sol-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sol-card {
    padding: 1.25rem 1rem;
  }
  .sol-card h3 {
    font-size: var(--text-sm);
  }
  .sol-card p {
    font-size: var(--text-xs);
  }

  /* Stats */
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-item {
    padding: 1.5rem 0.75rem;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none !important;
  }

  /* Services */
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc-card:nth-child(1),
  .svc-card:nth-child(2),
  .svc-card:nth-child(n + 3) {
    grid-column: span 1;
  }

  /* Case studies */
  .cs-grid {
    max-width: 100%;
  }

  /* Testimonials */
  .tst-shelf {
    grid-template-columns: 1fr;
  }
  .tst-stat {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .tst-stat:last-child {
    border-bottom: none !important;
  }
  .tst-grid {
    max-width: 100%;
  }

  /* CTA */
  .cta-feats {
    gap: 0.85rem;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .btn-white,
  .btn-ghost-white {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .flegals {
    gap: 1rem;
  }
}

/* ─────────────────────────────
   RESPONSIVE — Mobile XS 400px
───────────────────────────── */
@media (max-width: 400px) {
  :root {
    --section-x: 4%;
  }
  .sol-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .tst-shelf {
    grid-template-columns: 1fr 1fr;
  }
  h1.hero-title {
    font-size: 1.8rem;
  }
}
