:root {
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe3ea;
  --soft: #f6f8fa;
  --teal: #087d78;
  --teal-dark: #075d5c;
  --gold: #c28b22;
  --steel: #263241;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

a {
  text-decoration: none;
}

.page-pad,
.nav-shell {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.sanra-nav {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(220px, 22vw, 310px);
  height: 64px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.logo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.logo-frame img:not([src]),
.logo-frame img[src=""] {
  display: none;
}

.logo-frame img {
  font-size: 0;
}

.logo-frame img:-moz-broken {
  display: none;
}

.logo-fallback {
  font-weight: 800;
  color: var(--teal);
  opacity: 0;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.96rem;
  font-weight: 800;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.ecosystem-nav {
  position: static;
}

.ecosystem-trigger {
  border: 0;
  background: transparent;
  color: var(--steel);
  font-weight: 700;
  padding: 24px 16px;
}

.ecosystem-trigger span {
  color: var(--teal);
  margin-left: 6px;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: 180ms ease;
  z-index: 1000;
}

.ecosystem-nav:hover .mega-menu,
.ecosystem-nav:focus-within .mega-menu,
.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
}

.mega-column {
  display: grid;
  gap: 10px;
  padding: 28px;
  background: var(--white);
  color: var(--ink);
}

.mega-column:hover {
  background: #f8fbfb;
}

.mega-kicker,
.accent-badge,
.section-heading span,
.tier-label {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mega-column strong {
  font-size: 1.04rem;
}

.mega-column small {
  color: var(--muted);
}

.proposal-btn {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
  padding: 12px 18px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.proposal-btn:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.hero-section {
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  padding: 58px 0 42px;
  background:
    linear-gradient(90deg, rgba(246, 248, 250, 0.96), rgba(255, 255, 255, 0.84)),
    radial-gradient(circle at 92% 22%, rgba(194, 139, 34, 0.12), transparent 24%);
}

.hero-grid {
  min-height: 620px;
}

.hero-section h1 {
  max-width: 840px;
  margin: 22px 0;
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: 0.94;
  font-weight: 900;
}

.hero-copy {
  max-width: 720px;
  color: var(--steel);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 800;
}

.preview-console {
  border: 1px solid #cfd8df;
  background: #fdfefe;
  box-shadow: 0 30px 80px rgba(38, 50, 65, 0.16);
  min-height: 520px;
}

.preview-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.preview-tab {
  min-height: 62px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.preview-tab:last-child {
  border-right: 0;
}

.preview-tab.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--teal);
}

.preview-pane {
  display: none;
  padding: clamp(22px, 4vw, 36px);
  animation: fadeIn 220ms ease;
}

.preview-pane.active {
  display: block;
}

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

.pane-topline,
.card-head,
.mini-table div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.pane-topline {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 800;
}

.pane-topline strong {
  color: var(--teal);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.metric-row div {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.metric-row small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.metric-row strong {
  font-size: 2rem;
}

.software-card {
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--white);
}

.card-head {
  margin-bottom: 24px;
  font-weight: 800;
}

.status-dot {
  color: var(--teal);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.status-dot.gold {
  color: var(--gold);
}

.progress-stack {
  display: grid;
  gap: 12px;
}

.progress-stack span {
  display: block;
  height: 12px;
  background: linear-gradient(90deg, var(--teal), #8bc6bd);
}

.mini-table {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.mini-table div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.mini-table span,
.message-flow p {
  color: var(--muted);
}

.message-flow {
  display: grid;
  gap: 12px;
}

.message-flow p {
  margin: 0;
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--soft);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 24px;
  align-items: end;
  height: 94px;
}

.signal-grid span {
  background: linear-gradient(180deg, var(--gold), var(--teal));
}

.signal-grid span:nth-child(1) { height: 38%; }
.signal-grid span:nth-child(2) { height: 72%; }
.signal-grid span:nth-child(3) { height: 54%; }
.signal-grid span:nth-child(4) { height: 88%; }
.signal-grid span:nth-child(5) { height: 63%; }

.matrix-section,
.features-section,
.footprint-section,
.engage-section {
  padding: 92px 0;
}

.matrix-section {
  background: var(--white);
}

.features-section {
  background: #f7fbfa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  line-height: 1.05;
  font-weight: 900;
}

.section-heading.compact h2 {
  max-width: 860px;
}

.brand-matrix {
  border: 1px solid var(--ink);
  background: var(--white);
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) 1.22fr;
  border-top: 1px solid var(--ink);
}

.matrix-row:first-child {
  border-top: 0;
}

.matrix-row > div {
  padding: 24px;
  border-left: 1px solid var(--ink);
  font-size: 1.02rem;
}

.matrix-row > div:first-child {
  border-left: 0;
  font-weight: 900;
}

.matrix-row span {
  color: var(--teal);
  margin-right: 12px;
}

.matrix-head {
  background: var(--ink);
  color: var(--white);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 800;
}

.matrix-head > div {
  font-size: 0.8rem;
}

.feature-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid #cfd8df;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 18px 34px rgba(38, 50, 65, 0.12);
}

.feature-card.active {
  border-color: var(--teal);
  background: linear-gradient(180deg, #ffffff, #edf8f6);
  box-shadow: inset 0 4px 0 var(--teal);
}

.feature-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feature-card strong {
  font-size: 1.25rem;
  line-height: 1.2;
}

.feature-card small {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.feature-detail {
  min-height: 100%;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.detail-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-top strong {
  color: #9de0d8;
}

.feature-detail h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
}

.feature-detail p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.architecture-stack {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.architecture-stack span {
  position: relative;
  padding: 13px 15px 13px 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.architecture-stack span::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 2px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

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

.impact-grid div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.impact-grid small {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 8px;
}

.impact-grid strong {
  color: var(--white);
}

.operations-estimator {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.85fr) minmax(220px, 0.45fr);
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #cfd8df;
  background: var(--white);
}

.estimator-copy span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimator-copy h3 {
  margin: 8px 0;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 900;
}

.estimator-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.estimator-controls {
  display: grid;
  gap: 10px;
}

.estimator-controls label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--steel);
  font-weight: 800;
}

.estimator-controls input[type="range"] {
  accent-color: var(--teal);
  width: 100%;
}

.estimator-result {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--teal);
  color: var(--white);
}

.estimator-result small {
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.78;
}

.estimator-result strong {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
}

.estimator-result span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footprint-section {
  background: #f7f9fb;
}

.map-module {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  min-height: 430px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.map-stage {
  position: relative;
  min-height: 430px;
}

.world-map {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
}

.world-map circle {
  fill: #c9d3dc;
}

.world-map path {
  fill: rgba(8, 125, 120, 0.07);
  stroke: rgba(38, 50, 65, 0.18);
  stroke-width: 2;
}

.map-hotspot {
  position: absolute;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 4px solid var(--white);
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(8, 125, 120, 0.16);
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-hotspot:hover,
.map-hotspot:focus-visible,
.map-hotspot.active {
  transform: scale(1.18);
  box-shadow: 0 0 0 12px rgba(8, 125, 120, 0.18);
}

.map-hotspot.india {
  left: 66%;
  top: 53%;
}

.map-hotspot.middle-east {
  left: 58%;
  top: 48%;
  background: #884dff;
  box-shadow: 0 0 0 8px rgba(136, 77, 255, 0.18);
}

.map-hotspot.europe {
  left: 52%;
  top: 38%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(194, 139, 34, 0.18);
}

.map-hotspot.southeast {
  left: 74%;
  top: 60%;
  background: #17a86b;
  box-shadow: 0 0 0 8px rgba(23, 168, 107, 0.16);
}

.map-tooltip {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 360px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--steel);
  font-weight: 800;
}

.footprint-panel {
  display: grid;
  align-content: stretch;
  gap: 18px;
  padding: 28px;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.94), #ffffff);
}

.footprint-panel-top {
  display: grid;
  gap: 12px;
}

.footprint-panel-top span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footprint-panel-top strong {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.footprint-panel-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footprint-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.footprint-metrics div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.footprint-metrics small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footprint-metrics strong {
  color: var(--steel);
  font-size: 1rem;
}

.footprint-actions {
  display: grid;
  gap: 10px;
}

.footprint-filter {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--steel);
  font-weight: 900;
  text-align: left;
  padding: 10px 14px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footprint-filter:hover,
.footprint-filter:focus-visible,
.footprint-filter.active {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.engage-section {
  background: var(--ink);
}

.engage-hub {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--white);
}

.engage-title {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-panel {
  min-height: 480px;
  padding: clamp(26px, 4vw, 44px);
}

.form-panel {
  border-right: 1px solid rgba(255, 255, 255, 0.26);
}

.form-label,
.form-check-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.form-control,
.form-select {
  min-height: 48px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.18rem rgba(8, 125, 120, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.form-select option {
  color: var(--ink);
}

.form-alert {
  min-height: 28px;
  margin: 18px 0 6px;
  color: #ffd58a;
  font-weight: 700;
}

.submit-btn {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.whatsapp-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.whatsapp-panel p,
.gate-note {
  color: rgba(255, 255, 255, 0.74);
}

.whatsapp-btn {
  width: fit-content;
  margin: 24px 0;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: var(--white);
  border-radius: 4px;
  padding: 13px 20px;
  font-weight: 900;
}

.whatsapp-btn:hover {
  background: #0a948d;
  color: var(--white);
}

.bot-dock {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.bot-dock span {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.06);
}

.bot-dock small {
  color: rgba(255, 255, 255, 0.7);
}

.verify-modal {
  border-radius: 6px;
  border: 0;
}

.slider-track {
  position: relative;
  height: 56px;
  border: 1px solid var(--line);
  background: var(--soft);
  overflow: hidden;
  user-select: none;
}

.slider-track span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
  pointer-events: none;
}

.slider-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(8, 125, 120, 0.16);
}

.slider-handle {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 56px;
  height: 56px;
  border: 0;
  background: var(--teal);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: grab;
}

.verify-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .ecosystem-trigger {
    width: 100%;
    text-align: left;
    padding: 16px 0;
  }

  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
  }

  .ecosystem-nav:focus-within .mega-menu,
  .ecosystem-nav:hover .mega-menu,
  .mega-menu.open {
    display: block;
  }

  .mega-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
  }

  .matrix-row {
    grid-template-columns: 1fr;
  }

  .feature-board,
  .operations-estimator {
    grid-template-columns: 1fr;
  }

  .matrix-row > div {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .matrix-row > div:first-child {
    border-top: 0;
  }

  .map-module {
    grid-template-columns: 1fr;
  }

  .footprint-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .footprint-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  }

  .bot-dock {
    position: static;
    margin: 0 20px 20px;
  }
}

@media (max-width: 575.98px) {
  .logo-frame {
    width: 230px;
    height: 52px;
  }

  .brand-text small {
    display: none;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .preview-tabs,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .preview-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .matrix-section,
  .features-section,
  .footprint-section,
  .engage-section {
    padding: 64px 0;
  }

  .feature-card {
    min-height: auto;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .map-stage,
  .world-map {
    min-height: 320px;
  }

  .map-tooltip {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .footprint-panel {
    padding: 20px;
  }

  .footprint-actions {
    grid-template-columns: 1fr;
  }
}

/* SaaS reference redesign */
:root {
  --ink: #0a1024;
  --muted: #6d7893;
  --line: #e7edf8;
  --soft: #f7faff;
  --teal: #2f6dff;
  --teal-dark: #174ee8;
  --gold: #d7c98d;
  --steel: #25304c;
  --navy: #071633;
  --navy-2: #0d2149;
}

body {
  background:
    linear-gradient(90deg, rgba(231, 238, 248, 0.88) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(231, 238, 248, 0.88) 0 1px, transparent 1px 100%),
    #ffffff;
  background-size: 96px 96px;
}

.page-pad,
.nav-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(18px, 4vw, 42px);
  padding-right: clamp(18px, 4vw, 42px);
}

.sanra-nav {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(231, 237, 248, 0.9);
}

.nav-shell {
  min-height: 84px;
}

.logo-frame {
  width: clamp(260px, 24vw, 360px);
  height: 58px;
  overflow: visible;
}

.simple-nav {
  gap: 28px;
  margin-left: 34px;
}

.simple-nav a,
.ecosystem-trigger {
  color: #27324c;
  font-size: 0.78rem;
  font-weight: 700;
}

.ecosystem-trigger {
  padding: 20px 12px;
}

.proposal-btn {
  border: 0;
  background: linear-gradient(135deg, #2f6dff, #1853e8);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(47, 109, 255, 0.24);
  padding: 11px 19px;
  font-size: 0.72rem;
  text-transform: none;
}

.proposal-btn:hover {
  background: linear-gradient(135deg, #174ee8, #0f3bb5);
  transform: translateY(-1px);
}

.mega-menu {
  border-color: var(--line);
  box-shadow: 0 24px 70px rgba(32, 73, 130, 0.13);
}

.mega-grid {
  background: transparent;
  gap: 14px;
  padding: 20px;
}

.mega-column {
  border: 1px solid var(--line);
  border-radius: 18px;
}

.hero-section {
  min-height: calc(100vh - 72px);
  padding: 76px 0 44px;
  background:
    radial-gradient(circle at 72% 18%, rgba(47, 109, 255, 0.15), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  overflow: hidden;
}

.hero-grid {
  min-height: 660px;
}

.accent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  background: #f5f9ff;
  color: var(--teal);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.hero-section h1 {
  max-width: 720px;
  margin: 20px 0 18px;
  font-size: clamp(2.55rem, 5.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-section h1 span {
  color: var(--teal);
}

.hero-copy {
  max-width: 620px;
  color: #5d6a86;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
}

.text-link {
  color: var(--teal);
}

.preview-console {
  position: relative;
  min-height: 560px;
  border: 1px solid #dbe7ff;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.92));
  box-shadow: 0 34px 90px rgba(47, 109, 255, 0.18);
  transform: perspective(1400px) rotateX(4deg) rotateY(-8deg);
  overflow: visible;
}

.preview-console::before {
  content: "";
  position: absolute;
  inset: 78px auto auto 34px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff5f57;
  box-shadow: 18px 0 0 #ffbd2e, 36px 0 0 #28c840;
}

.floating-pill {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #dbe7ff;
  border-radius: 16px;
  background: #ffffff;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(47, 109, 255, 0.15);
}

.pill-one {
  left: -18px;
  bottom: 118px;
}

.pill-two {
  right: -18px;
  top: 118px;
}

.pill-three {
  right: 52px;
  bottom: -18px;
}

.preview-tabs {
  border-bottom: 1px solid #e3ebfb;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.preview-tab {
  background: rgba(255, 255, 255, 0.7);
  color: #7b86a1;
}

.preview-tab.active {
  color: var(--teal);
  box-shadow: inset 0 -3px 0 var(--teal);
}

.metric-row div,
.software-card,
.message-flow p {
  border-color: #e3ebfb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(47, 109, 255, 0.08);
}

.progress-stack span {
  border-radius: 999px;
  background: linear-gradient(90deg, #2f6dff, #8ab0ff);
}

.matrix-section {
  background: #ffffff;
}

.centered-heading {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.centered-heading p {
  margin: 14px auto 0;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading span,
.mega-kicker,
.tier-label {
  color: var(--teal);
  letter-spacing: 0.04em;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 64px;
}

.service-copy,
.service-panel,
.brand-matrix {
  border: 1px solid #e3ebfb;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 58px rgba(32, 73, 130, 0.08);
}

.service-copy {
  padding: clamp(26px, 4vw, 42px);
}

.service-copy span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-copy h3 {
  margin: 14px 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 900;
}

.service-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.service-panel {
  padding: 26px;
  background: linear-gradient(180deg, #ffffff, #f5f8ff);
}

.service-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.service-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.service-toolbar span:nth-child(2) {
  background: #ffbd2e;
}

.service-toolbar span:nth-child(3) {
  background: #28c840;
}

.service-search,
.service-result {
  border: 1px solid #e3ebfb;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
}

.service-search {
  color: #97a4bc;
  margin-bottom: 16px;
}

.service-result {
  display: grid;
  gap: 8px;
}

.service-result small {
  color: var(--muted);
  line-height: 1.6;
}

.matrix-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.brand-matrix {
  overflow: hidden;
}

.matrix-row {
  border-color: #e3ebfb;
}

.matrix-row > div {
  border-color: #e3ebfb;
}

.matrix-head {
  background: #f5f8ff;
  color: var(--steel);
}

.features-section {
  background:
    radial-gradient(circle at 22% 18%, rgba(47, 109, 255, 0.22), transparent 28%),
    linear-gradient(180deg, var(--navy), #081123);
  color: #ffffff;
}

.inverse-heading h2 {
  color: #ffffff;
}

.inverse-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.feature-card {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  box-shadow: none;
}

.feature-card:hover,
.feature-card:focus-visible {
  border-color: rgba(104, 151, 255, 0.7);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.feature-card.active {
  border-color: rgba(104, 151, 255, 0.9);
  background: rgba(47, 109, 255, 0.18);
  box-shadow: inset 0 4px 0 #6f9cff;
}

.feature-card span {
  color: #8eb0ff;
}

.feature-card small {
  color: rgba(255, 255, 255, 0.66);
}

.feature-detail {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.detail-top strong {
  color: #8eb0ff;
}

.architecture-stack span,
.impact-grid div {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.architecture-stack span::before {
  border-color: #78a2ff;
}

.operations-estimator {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.estimator-copy span {
  color: #8eb0ff;
}

.estimator-copy p,
.estimator-controls label {
  color: rgba(255, 255, 255, 0.7);
}

.estimator-result {
  border-radius: 20px;
  background: linear-gradient(135deg, #2f6dff, #1647cf);
}

.footprint-section {
  background: #ffffff;
}

.map-module {
  border-color: #e3ebfb;
  border-radius: 26px;
  box-shadow: 0 22px 58px rgba(32, 73, 130, 0.08);
}

.engage-section {
  background: #f5f8ff;
}

.engage-hub {
  border: 1px solid #dce7fb;
  border-radius: 28px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(32, 73, 130, 0.1);
  overflow: hidden;
}

.engage-title,
.form-panel {
  border-color: #e3ebfb;
}

.form-label,
.form-check-label,
.whatsapp-panel p,
.gate-note {
  color: var(--muted);
}

.form-control,
.form-select {
  border-color: #dce7fb;
  background: #f8fbff;
  color: var(--ink);
  border-radius: 14px;
}

.submit-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #2f6dff, #1853e8);
}

.whatsapp-btn {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f6dff, #1853e8);
}

.bot-dock {
  border-color: #dce7fb;
  background: #f8fbff;
  border-radius: 999px;
}

.bot-dock span {
  border-color: var(--teal);
}

.bot-dock small {
  color: var(--muted);
}

@media (max-width: 991.98px) {
  .preview-console {
    transform: none;
  }

  .service-showcase {
    grid-template-columns: 1fr;
  }
}
