/* HOME PAGE */
/* ============ SOLUTIONS ============ */
.solutions-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: linear-gradient(180deg, #070e1a 0%, var(--ink-900) 40%, #0c1a2e 100%);
  color: var(--text-on-dark);
}

.solutions-header {
  margin-bottom: 4rem;
  max-width: 560px;
}

.solutions-header h2 {
  color: #e8eef6;
  margin-bottom: 1rem;
}

.solutions-header p {
  color: var(--text-on-dark-muted);
}

.solution-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
  transition: all 400ms var(--ease-quart);
}

.solution-card:hover {
  border-color: rgba(3, 70, 148, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.solution-card:last-child {
  margin-bottom: 0;
}

.solution-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--ma-metadata);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.solution-tag-dot {
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
}

.solution-info h3 {
  font-size: var(--ma-pane-header);
  color: #e8eef6;
  margin-bottom: 0.75rem;
}

.solution-info p {
  color: rgba(160, 190, 230, 0.65);
  font-size: var(--ma-body-text);
  margin-bottom: 1.5rem;
}

.solution-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.solution-link {
  font-size: var(--ma-metadata);
  font-weight: 600;
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 200ms, color 200ms;
}

.solution-link:hover {
  gap: 0.5rem;
  color: #93c5fd;
}

.solution-link svg {
  width: 14px;
  height: 14px;
}

.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  position: relative;
}

.solution-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.solution-card:nth-child(even) .solution-info {
  order: 2;
}

.solution-card:nth-child(even) .solution-visual {
  order: 1;
}

/* ============ SECTORS (tabbed home layout) ============ */
.sectors-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: linear-gradient(180deg, #070e1a 0%, var(--ink-900) 40%, #0c1a2e 100%);
  color: var(--text-on-dark);
}

.sectors-header {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.sectors-eyebrow {
  display: inline-block;
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.sectors-header h2 {
  font-size: var(--ma-greeting-title);
  font-weight: 700;
  color: #e8eef6;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sectors-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 3rem;
}

.sector-tab {
  font-family: var(--font);
  font-size: var(--ma-body-text);
  font-weight: 500;
  color: rgba(160, 190, 230, 0.55);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: color 200ms, border-color 200ms;
  margin-bottom: -1px;
}

.sector-tab:hover {
  color: rgba(160, 190, 230, 0.85);
}

.sector-tab.active {
  color: #e8eef6;
  border-bottom-color: #3b82f6;
}

.sectors-body {
  position: relative;
  overflow: hidden;
}

.sector-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  pointer-events: none;
}

.sector-panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.sector-panel__content h3 {
  font-size: var(--ma-pane-header);
  font-weight: 500;
  color: #e8eef6;
  margin-bottom: 0.75rem;
}

.sector-panel__content p {
  font-size: var(--ma-body-text);
  color: rgba(160, 190, 230, 0.65);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.sector-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.sector-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--ma-body-text);
  color: rgba(160, 190, 230, 0.75);
  line-height: 1.8;
}

.sector-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b82f6;
}

.sector-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--ma-body-text);
  font-weight: 600;
  color: #60a5fa;
  transition: color 200ms, gap 200ms;
}

.sector-cta:hover {
  color: #93c5fd;
  gap: 0.75rem;
}

.sector-cta svg {
  width: 14px;
  height: 14px;
}

.sector-panel__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-panel__visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

@media (max-width: 768px) {
  .sector-panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sectors-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sector-tab {
    white-space: nowrap;
    padding: 0.75rem 1rem;
  }
}

/* ============ PRODUCTS ============ */
.products-section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--surface-alt);
}

.products-header {
  margin-bottom: 3.5rem;
}

.products-header h2 {
  margin-bottom: 0.75rem;
}

.products-header p {
  color: var(--text-secondary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  padding: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  transition: all 400ms var(--ease-quart);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-quart);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card:hover {
  border-color: rgba(0, 196, 180, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 2rem 1.25rem;
}

.product-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.product-tag {
  display: inline-block;
  font-size: var(--ma-metadata-limited);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
  margin: 0 2rem 0.75rem;
  width: fit-content;
}

.product-card h3 {
  font-size: var(--ma-header);
  margin-bottom: 0.5rem;
  padding: 0 2rem;
}

.product-card p {
  color: var(--text-secondary);
  font-size: var(--ma-body-text);
  margin-bottom: 1.25rem;
  padding: 0 2rem;
  flex: 1;
}

.product-card-link {
  font-size: var(--ma-metadata);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 200ms;
  padding: 0 2rem 2rem;
}

.product-card-link:hover {
  gap: 0.5rem;
}

/* ============ METRICS ============ */
.metrics-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: linear-gradient(180deg, var(--ink-900) 0%, #0c1a2e 100%);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric {
  padding: 2rem 1rem;
}

.metric-number {
  font-size: var(--ma-xl-numerics-limited);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.metric-text-val {
  font-size: var(--ma-greeting-title);
}

.metric-label {
  font-size: var(--ma-body-text);
  font-weight: 500;
  color: var(--text-on-dark-muted);
}

/* ============ LIFECYCLE ============ */
.lifecycle-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    linear-gradient(180deg, rgba(6, 15, 30, 0.62) 0%, rgba(6, 15, 30, 0.72) 50%, rgba(6, 15, 30, 0.62) 100%),
    url('../../images/home/identity-lifecycle-bg.webp') center / cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.lifecycle-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(3, 70, 148, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.lifecycle-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.lifecycle-eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93bbef;
  background: rgba(3, 70, 148, 0.15);
  border: 1px solid rgba(3, 70, 148, 0.35);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lifecycle-header h2 {
  font-size: var(--ma-greeting-title);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lifecycle-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--ma-body-text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Journey timeline */
.lifecycle-timeline {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Central spine */
.lifecycle-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(3, 70, 148, 0.25) 5%,
      rgba(3, 70, 148, 0.15) 50%,
      rgba(3, 70, 148, 0.25) 95%,
      transparent 100%);
  box-shadow: 0 0 8px rgba(3, 70, 148, 0.12);
  z-index: 0;
  pointer-events: none;
}

/* Timeline row */
.timeline-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

/* Alternating sides */
.timeline-row:nth-child(odd) .timeline-card-body {
  grid-column: 1;
}

.timeline-row:nth-child(odd) .timeline-card-body .card-content {
  margin-left: auto;
}

.timeline-row:nth-child(even) .timeline-card-body {
  grid-column: 3;
}

.timeline-row:nth-child(even) .timeline-node {
  grid-column: 2;
}

.timeline-row:nth-child(odd) .timeline-node {
  grid-column: 2;
}

/* Node (center) */
.timeline-node {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.timeline-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(3, 70, 148, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93bbef;
  box-shadow:
    0 0 20px rgba(3, 70, 148, 0.2),
    0 0 0 4px rgba(3, 70, 148, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 500ms var(--ease-quart);
}

.timeline-ring svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-ring i.fa-solid {
  font-size: var(--ma-pane-header);
  color: #93bbef !important;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-num {
  font-family: var(--font);
  font-size: var(--ma-metadata);
  font-weight: 700;
  color: rgba(147, 187, 239, 0.7);
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  text-shadow: 0 0 6px rgba(3, 70, 148, 0.3);
}

/* Card body */
.timeline-card-body {
  position: relative;
}

.card-content {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 460px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 500ms var(--ease-quart);
  position: relative;
}

.card-content:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.2),
    0 0 24px rgba(3, 70, 148, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-color: rgba(3, 70, 148, 0.4);
  border-top-color: rgba(255, 255, 255, 0.3);
}

.timeline-row:hover .timeline-ring {
  border-color: rgba(3, 70, 148, 0.7);
  box-shadow:
    0 0 24px rgba(3, 70, 148, 0.3),
    0 0 0 6px rgba(3, 70, 148, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.card-step {
  font-family: var(--font);
  font-size: var(--ma-metadata-limited);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 0.35rem;
}

.card-content h3 {
  font-size: var(--ma-header);
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.card-lead {
  font-size: var(--ma-body-text);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.card-lead em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  position: relative;
  padding-left: 1rem;
  font-size: var(--ma-metadata);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* Arrow connectors */
.timeline-row:nth-child(odd) .card-content::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid rgba(255, 255, 255, 0.08);
  filter: none;
}

.timeline-row:nth-child(even) .card-content::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid rgba(255, 255, 255, 0.08);
  filter: none;
}

/* Initial hidden state - prevents cards from flashing before animation */
.timeline-row .card-content,
.timeline-row .timeline-ring {
  opacity: 0;
}

/* Scroll reveal animations - .reveal class handles row-level fade-up */
.timeline-row:nth-child(1).visible .card-content {
  animation: slideInLeft 700ms var(--ease-quart) 120ms both;
}

.timeline-row:nth-child(1).visible .timeline-ring {
  animation: popIn 500ms var(--ease-quart) 0ms both;
}

.timeline-row:nth-child(2).visible .card-content {
  animation: slideInRight 700ms var(--ease-quart) 220ms both;
}

.timeline-row:nth-child(2).visible .timeline-ring {
  animation: popIn 500ms var(--ease-quart) 100ms both;
}

.timeline-row:nth-child(3).visible .card-content {
  animation: slideInLeft 700ms var(--ease-quart) 320ms both;
}

.timeline-row:nth-child(3).visible .timeline-ring {
  animation: popIn 500ms var(--ease-quart) 200ms both;
}

.timeline-row:nth-child(4).visible .card-content {
  animation: slideInRight 700ms var(--ease-quart) 420ms both;
}

.timeline-row:nth-child(4).visible .timeline-ring {
  animation: popIn 500ms var(--ease-quart) 300ms both;
}

.timeline-row:nth-child(5).visible .card-content {
  animation: slideInLeft 700ms var(--ease-quart) 520ms both;
}

.timeline-row:nth-child(5).visible .timeline-ring {
  animation: popIn 500ms var(--ease-quart) 400ms both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .lifecycle-timeline::before {
    left: 2rem;
    transform: none;
  }

  .timeline-row {
    grid-template-columns: 56px 1fr;
    gap: 1.25rem;
  }

  .timeline-row:nth-child(odd) .timeline-card-body,
  .timeline-row:nth-child(even) .timeline-card-body {
    grid-column: 2;
    text-align: left;
  }

  .timeline-row:nth-child(odd) .timeline-card-body .card-content,
  .timeline-row:nth-child(even) .timeline-card-body .card-content {
    margin-left: 0;
    max-width: none;
  }

  .timeline-node {
    grid-column: 1 !important;
    align-items: flex-start;
  }

  .timeline-ring {
    width: 48px;
    height: 48px;
  }

  .timeline-ring svg {
    width: 20px;
    height: 20px;
  }

  .card-content {
    padding: 1.5rem;
  }

  .timeline-row:nth-child(odd) .card-content::after,
  .timeline-row:nth-child(even) .card-content::after {
    display: none;
  }
}

/* ============ CASE STUDIES ============ */
.cases-section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--surface-alt);
}

.cases-header {
  margin-bottom: 3rem;
}

.cases-header h2 {
  margin-bottom: 0.75rem;
}

.cases-header p {
  color: var(--text-secondary);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-card {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  transition: all 400ms var(--ease-quart);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: rgba(0, 196, 180, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.case-tag {
  font-size: var(--ma-metadata-limited);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.case-card h3 {
  font-size: var(--ma-header);
  margin-bottom: 0.75rem;
}

.case-card p {
  font-size: var(--ma-body-text);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex: 1;
}

.case-link {
  font-size: var(--ma-metadata);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 200ms;
}

.case-link:hover {
  gap: 0.5rem;
}

/* ============ WHY MANTRA ============ */
.why-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: linear-gradient(180deg, #0a1628 0%, #0c1e38 50%, #0a1628 100%);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.04) 1px, transparent 0);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 0%, transparent 70%);
  pointer-events: none;
}

.why-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.why-eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.why-header h2 {
  font-size: var(--ma-greeting-title);
  font-weight: 700;
  color: #e8eef6;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.why-header p {
  color: rgba(160, 190, 230, 0.55);
  font-size: var(--ma-body-text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Bento grid */
.why-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  transition: all 400ms var(--ease-quart);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}


/* Icon rings */
.why-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.why-card__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.why-card__icon--purple {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
}

.why-card__icon--blue {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

.why-card__icon--teal {
  background: rgba(20, 184, 166, 0.12);
  color: #2dd4bf;
}

.why-card__icon--amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

.why-card__icon--green {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}

.why-card__icon--rose {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
}

.why-card h3 {
  font-size: var(--ma-header);
  font-weight: 500;
  color: #e8eef6;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.why-card p {
  font-size: var(--ma-body-text);
  color: rgba(160, 190, 230, 0.55);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .why-bento {
    grid-template-columns: 1fr;
  }
}

/* ============ LEAD CAPTURE FORM ============ */
.form-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f4fa 50%, #e8eef8 100%);
  position: relative;
  overflow: hidden;
}

/* Large decorative gradient orbs for visual depth */
.form-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.03) 40%, transparent 70%);
  pointer-events: none;
  animation: form-orb-float 20s ease-in-out infinite alternate;
}

.form-section::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(3, 70, 148, 0.08) 0%, rgba(3, 70, 148, 0.02) 40%, transparent 70%);
  pointer-events: none;
  animation: form-orb-float 25s ease-in-out infinite alternate-reverse;
}

@keyframes form-orb-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-20px, 15px) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {

  .form-section::before,
  .form-section::after {
    animation: none;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.form-info h2 {
  color: var(--ink-900);
  font-size: var(--ma-greeting-title);
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.form-sub {
  color: #475569;
  font-size: var(--ma-header);
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 460px;
}

.form-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 0;
}

.form-checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--ma-body-text);
  color: var(--text);
  font-weight: 500;
}

.form-checks li svg {
  flex-shrink: 0;
  color: var(--primary);
}

.form-urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--ma-metadata);
  font-weight: 700;
  color: #b45309;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fcd34d;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.15);
  position: relative;
}

.form-urgency::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  animation: urgency-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes urgency-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.form-urgency svg {
  flex-shrink: 0;
}

/* Decorative accent on left side */
.form-accent {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ---- Premium form-info redesign ---- */
.form-info__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--ma-metadata);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(3, 70, 148, 0.08);
  border: 1px solid rgba(3, 70, 148, 0.15);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.form-info__badge i {
  font-size: var(--ma-metadata-limited);
}

.form-info__highlight {
  color: var(--primary);
}

/* Checks grid: 2-column layout with icon circles */
.form-info__checks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 2.25rem;
}

.form-info__check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(3, 70, 148, 0.04);
  border: 1px solid rgba(3, 70, 148, 0.08);
  border-radius: 12px;
  transition: all 250ms ease;
}

.form-info__check-item:hover {
  background: rgba(3, 70, 148, 0.08);
  border-color: rgba(3, 70, 148, 0.18);
  transform: translateY(-1px);
}

.form-info__check-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #1d6fd3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--ma-metadata);
  flex-shrink: 0;
}

.form-info__check-item span {
  font-size: var(--ma-body-text);
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.35;
}

/* Trust stats bar */
.form-info__trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, #1d6fd3 60%, #2563eb 100%);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(3, 70, 148, 0.25);
  margin-bottom: 2rem;
}

.form-info__trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-info__trust-item strong {
  font-size: var(--ma-pane-header);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.form-info__trust-item span {
  font-size: var(--ma-metadata);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-info__trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* Responsive: checklist to single column */
@media (max-width: 640px) {
  .form-info__checks-grid {
    grid-template-columns: 1fr;
  }

  .form-info__trust {
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .form-info__trust-item strong {
    font-size: var(--ma-header);
  }
}


/* Ã¢â€â‚¬Ã¢â€â‚¬ Demo Page Ã¢â€â‚¬Ã¢â€â‚¬ */
.demo-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(8rem, 10vw, 11rem) 0 clamp(5rem, 6vw, 7rem);
  background: linear-gradient(170deg, #050c18 0%, var(--ink-900) 40%, #0c1e38 100%);
  overflow: hidden;
  text-align: center;
  color: var(--text-on-dark);
}

.demo-hero .hero-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

.demo-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8cb4e6;
  margin-bottom: 1.25rem;
}

.demo-hero h1 {
  font-size: var(--ma-hero-title);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

.demo-hero p {
  font-size: var(--ma-body-text);
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto;
}

.demo-main {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.demo-info h2 {
  font-size: var(--ma-section-title);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.demo-info>p {
  font-size: var(--ma-body-text);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.demo-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.demo-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--ma-body-text);
  color: var(--text-secondary);
  margin-bottom: 0.875rem;
  line-height: 1.5;
}

.demo-features li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--primary);
}

.demo-trust-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: var(--ma-metadata);
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.625rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
}

.demo-trust-strip svg {
  flex-shrink: 0;
  color: var(--primary);
}

.demo-form {
  padding: 2.5rem;
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 12px 40px rgba(3, 70, 148, 0.06);
  transition: box-shadow 400ms var(--ease-quart);
}

.demo-form:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 20px 48px rgba(3, 70, 148, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-group label {
  display: block;
  font-size: var(--ma-metadata);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--ma-body-text);
  font-family: var(--font);
  color: var(--text);
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  transition: all 200ms ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(3, 70, 148, 0.08);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: #f8fafc;
}

.form-group select option {
  background: #fff;
  color: var(--text);
}

.btn-form {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: var(--ma-body-text);
  margin-top: 0.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(3, 70, 148, 0.25);
  transition: all 400ms var(--ease-quart);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-form:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(3, 70, 148, 0.35);
}

.btn-form:active {
  transform: translateY(0);
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--ma-metadata);
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy svg {
  flex-shrink: 0;
  color: var(--text-muted);
}


/* ── New Hero ── */
/* ============ NEW HERO (from ideal) ============ */
#hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  background: #020912;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(8rem, 10vw, 11rem) 0 clamp(5rem, 6vw, 7rem);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../../images/home/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.hero-network-canvas,
#hero canvas#network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glow-ambient {
  position: absolute;
  pointer-events: none;
  width: 780px;
  height: 480px;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(29, 78, 216, 0.11) 0%, transparent 70%);
  filter: blur(32px);
}

.hero-inner {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 2rem;
  max-width: 820px;
  width: 100%;
}

.eyebrow {
  font-family: var(--font);
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--accent);
  border-radius: 40px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8cb4e6;
  margin-bottom: 24px;
  padding: 8px 20px;
  background: rgba(140, 180, 230, 0.1);
  border: 1px solid rgba(140, 180, 230, 0.2);
  border-radius: 40px;
}

.hero__eyebrow i {
  color: #8cb4e6;
  font-size: var(--ma-metadata);
}

.demo-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8cb4e6;
  margin-bottom: 24px;
  padding: 8px 20px;
  background: rgba(140, 180, 230, 0.1);
  border: 1px solid rgba(140, 180, 230, 0.2);
  border-radius: 40px;
}

.demo-hero__eyebrow i {
  color: #8cb4e6;
  font-size: var(--ma-metadata);
}

.headline {
  text-align: center;
  font-family: var(--font);
  font-size: var(--ma-hero-title);
  font-weight: 700;
  line-height: 1.15;
  color: #cddaee;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.tw-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
}

.tw-word {
  font-weight: 500;
  background: linear-gradient(110deg, #2570e8 0%, #3d9bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  min-width: 12ch;
  white-space: nowrap;
}

.tw-cursor {
  display: inline-block;
  width: 2px;
  height: 0.78em;
  background: #3d8ef0;
  border-radius: 1px;
  vertical-align: baseline;
  position: relative;
  top: 0.05em;
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.subtext {
  font-family: var(--font);
  font-size: var(--ma-header);
  font-weight: 400;
  color: rgba(180, 205, 240, 0.85);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.65s forwards;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.85s forwards;
}

/* Hero-specific: resting shadow + active press */
#hero .btn-primary {
  box-shadow: 0 8px 24px rgba(3, 70, 148, 0.35);
}

#hero .btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Hero ghost: dark-theme color overrides */
#hero .btn-ghost {
  color: var(--text-on-dark-muted);
  border-color: rgba(255, 255, 255, 0.15);
}

#hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.06);
}

#hero .btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

.proof-strip {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.1s forwards;
}

.proof-item {
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--ma-metadata);
  color: rgba(140, 180, 225, 0.45);
  letter-spacing: 0.02em;
  font-weight: 500;
}

.proof-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.proof-divider {
  width: 1px;
  height: 12px;
  background: rgba(59, 130, 246, 0.1);
}

/* Hero metrics strip */
.hero-metrics {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.1s forwards;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
  z-index: 10;
}

.hero-metric {
  text-align: center;
}

.hero-metric__num {
  font-family: var(--font);
  font-size: var(--ma-section-title);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-metric__num.hero-metric__text {
  font-size: var(--ma-pane-header);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hero-metric__label {
  font-family: var(--font);
  font-size: var(--ma-metadata);
  font-weight: 500;
  color: rgba(180, 205, 240, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.hero-metrics__disclaimer {
  text-align: center;
  font-size: var(--ma-metadata);
  font-weight: 500;
  color: rgba(160, 190, 230, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 1.75rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
  animation: fadeIn 0.8s ease 2s forwards;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.35), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.9;
  }
}

.scroll-label {
  font-size: var(--ma-metadata-limited);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(80, 130, 210, 0.3);
  font-weight: 400;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}




/* ══════════════════════════════════════════════════════════════
   HOME PAGE — MISSING RESPONSIVE RULES
   Tablet (1024px) and mid-mobile (900px) missing steps
   ══════════════════════════════════════════════════════════════ */

/* ── Products grid: 3-col → 2-col at 1024px (was missing) ── */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Cases grid: 3-col → 2-col at 1024px (was jumping straight to 1-col) ── */
@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Why-bento: 3-col → 2-col at 1024px, 1-col at 640px ── */
@media (max-width: 1024px) {
  .why-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-bento {
    grid-template-columns: 1fr;
  }
}

/* ── Hero metrics: better 1024px handling ── */
@media (max-width: 1024px) {
  .hero-metrics {
    gap: 1.5rem 2rem;
  }

  .hero-metric__num {
    font-size: var(--ma-pane-header);
  }
}

/* ── Solution cards: stack at 900px ── */
@media (max-width: 900px) {
  .solution-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
  }

  .solution-card:nth-child(even) .solution-info,
  .solution-card:nth-child(even) .solution-visual {
    order: unset;
  }

  .solution-visual {
    min-height: 200px;
  }

  .solution-visual img {
    max-width: 100%;
  }
}

/* ── Sectors tabs: 1024px handling ── */
@media (max-width: 1024px) {
  .sector-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sector-panel__visual img {
    max-width: 100%;
  }
}

/* ── Lifecycle timeline: 1024px tightening ── */
@media (max-width: 1024px) {
  .lifecycle-timeline {
    padding: 0 0.5rem;
  }

  .card-content {
    max-width: 100%;
  }
}

/* ── Form grid: 1024px (was jumping to 1-col at same breakpoint, clarify) ── */
@media (max-width: 1024px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-section::before,
  .form-section::after {
    display: none;
  }
}

/* ── Demo layout: 900px ── */
@media (max-width: 900px) {
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .demo-form {
    padding: 1.5rem;
  }
}

/* ── Metrics grid: 5-col → 3 at 1200px, then existing rules take over ── */
@media (max-width: 1200px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* ── Value section: 2-col at 900px before full collapse ── */
@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
