.main-panel {
  transition: width 0.25s ease, margin 0.25s ease;
  width: 100%;
  min-height: calc(100vh - 60px);
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}

/* ================================================
  SECTION 1 — Hero CSS
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: #0b1c39;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1628 0%, rgba(46, 139, 87, 0.85) 100%);
  z-index: 1;
}

/* ── DIAGRAM SHARED ── */
.riab-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 600;
  max-width: 660px;
  margin: 0 auto;
}

.riab-svg-rings,
.riab-svg-full {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
}

/* Hub polygon glow animation */
.riab-hub-glow {
  animation: riabHubGlow 3s ease-in-out infinite;
}
@keyframes riabHubGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(52,211,153,0.2)); }
  50%       { filter: drop-shadow(0 0 22px rgba(52,211,153,0.5)); }
}

/* Pulse rings animation */
.riab-pulse-ring {
  animation: riabPulseRing 2.8s ease-out infinite;
  transform-origin: 320px 300px;
}
.riab-pulse-ring--2 {
  animation-delay: 1.4s;
}
@keyframes riabPulseRing {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0;   }
}

.riab-ring-spin {
  transform-origin: 320px 300px;
  animation: riabSpinCW 22s linear infinite;
}
.riab-ring-spin-rev {
  transform-origin: 320px 300px;
  animation: riabSpinCCW 30s linear infinite;
}
@keyframes riabSpinCW  { to { transform: rotate(360deg);  } }
@keyframes riabSpinCCW { to { transform: rotate(-360deg); } }

.riab-line {
  animation: riabLinePulse 2.5s ease-in-out infinite;
}
@keyframes riabLinePulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1;   }
}

.riab-dot {
  filter: drop-shadow(0 0 5px #34D399);
}

/* ── CENTER HUB ── */
.riab-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(100px, 20%, 140px);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}

.riab-hub__inner {
  width: 100%; height: 100%;
  background: rgba(10, 22, 40, 0.92);
  border: 1.5px solid rgba(52, 211, 153, 0.45);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(52, 211, 153, 0.2), inset 0 0 20px rgba(52, 211, 153, 0.06);
  animation: riabHubGlow 3s ease-in-out infinite;
}
@keyframes riabHubGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(52,211,153,0.15), inset 0 0 15px rgba(52,211,153,0.05); }
  50%       { box-shadow: 0 0 55px rgba(52,211,153,0.35), inset 0 0 28px rgba(52,211,153,0.12); }
}

.riab-hub__name {
  font-size: clamp(14px, 2.2vw, 22px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.riab-hub__sub {
  font-size: clamp(9px, 1.2vw, 13px);
  color: #34D399;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.riab-hub__pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(52, 211, 153, 0.25);
  animation: riabPulseRing 2.8s ease-out infinite;
}
.riab-hub__pulse--2 {
  animation-delay: 1.4s;
}
@keyframes riabPulseRing {
  0%   { transform: scale(1);    opacity: 0.6; }
  100% { transform: scale(2.4);  opacity: 0;   }
}

/* ── DEVICE NODES — image-only, no card box ── */
.riab-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 5;
  animation: riabNodeIn 0.7s ease both;
}
@keyframes riabNodeIn {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1);   }
}

/* Desktop node positions */
.riab-node--top    { top: 0%;    left: 50%; transform: translateX(-50%); }
.riab-node--bottom { bottom: 0%; left: 50%; transform: translateX(-50%); flex-direction: column-reverse; }
.riab-node--left   { left: 0%;  top: 50%;  transform: translateY(-50%); flex-direction: row; gap: 10px; }
.riab-node--right  { right: 0%; top: 50%;  transform: translateY(-50%); flex-direction: row-reverse; gap: 10px; }

.riab-node--top    { animation-delay: 0.1s; }
.riab-node--right  { animation-delay: 0.2s; }
.riab-node--bottom { animation-delay: 0.3s; }
.riab-node--left   { animation-delay: 0.4s; }

/* Image wrapper — replaces riab-node__card, no background/border */
.riab-node__card {
  position: relative;
  width: clamp(80px, 13vw, 115px);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
  /* NO background, NO border, NO border-radius */
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}
.riab-node__card:hover {
  transform: scale(1.13) translateY(-4px);
}

.riab-node__img {
  width: 100%; height: 100%;
  object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.55)) drop-shadow(0 0 8px rgba(52,211,153,0.15));
  transition: filter 0.3s;
}
.riab-node__card:hover .riab-node__img {
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6)) drop-shadow(0 0 16px rgba(52,211,153,0.45));
}

/* subtle glow under image */
.riab-node__glow {
  position: absolute;
  bottom: -12px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 40%;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(14px);
  transition: opacity 0.3s;
}
.riab-node__glow--green { background: #34D399; }
.riab-node__glow--blue  { background: #60A5FA; }
.riab-node__card:hover .riab-node__glow { opacity: 0.65; }

.riab-node__label {
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ── VISIBILITY: Desktop diagram wrap ── */
.riab-diagram-wrap {
  display: none;
}

/* ── MOBILE: Show same orbital diagram, scaled down ── */
.riab-diagram-mobile {
  display: block;
  margin-top: 48px;
}

/* Mobile diagram fixed size so nodes don't overflow */
.riab-diagram-mobile .riab-diagram {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 640 / 600;
  height: auto;
  margin: 0 auto;
}

/* Scale hub down on mobile */
.riab-diagram-mobile .riab-hub {
  width: 90px;
}
.riab-diagram-mobile .riab-hub__name { font-size: 15px; }
.riab-diagram-mobile .riab-hub__sub  { font-size: 9px; }

/* Mobile node image size */
.riab-diagram-mobile .riab-node__card {
  width: 68px;
}

/* Mobile node label font */
.riab-diagram-mobile .riab-node__label {
  font-size: 10px;
}

/* Mobile node positions — tighter to fit 320px container */
/* SVG viewBox is 500x500, diagram is 320px → ratio = 320/500 = 0.64 */
/* top: 0% = 0px, bottom:0% = 320px, left:0% = 0px, right:0% = 320px */
/* Nodes should sit at ~16% from edges so image+label fit inside */
.riab-diagram-mobile .riab-node--top {
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
}
.riab-diagram-mobile .riab-node--bottom {
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column-reverse;
}
.riab-diagram-mobile .riab-node--left {
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: row;
  gap: 6px;
}
.riab-diagram-mobile .riab-node--right {
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: row-reverse;
  gap: 6px;
}

/* Hide old mobile grid (if any leftover) */
.riab-mobile-grid,
.riab-mobile__hub,
.riab-mobile__devices,
.riab-mcard,
.riab-mobile__tagline {
  display: none !important;
}

/* ── RESPONSIVE ── */

/* Desktop */
@media (min-width: 1024px) {
  .riab-diagram-wrap {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 55%;
    z-index: 1;
    animation: heroImageFade 1s ease 0.3s both;
  }
  .riab-diagram-mobile { display: none; }
}

/* Tablet */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .riab-diagram-mobile { display: block; }
  .riab-diagram-wrap   { display: none; }
  .riab-diagram-mobile .riab-diagram {
    width: 480px;
    max-width: 480px;
    height: 450px;
  }
  .riab-diagram-mobile .riab-node__card { width: 90px; }
  .riab-diagram-mobile .riab-hub { width: 115px; }
  .riab-diagram-mobile .riab-hub__name { font-size: 18px; }
  .riab-diagram-mobile .riab-hub__sub  { font-size: 11px; }
  .riab-diagram-mobile .riab-node__label { font-size: 12px; }
}

/* ── HERO LAYOUT ── */
.hero__image-wrap {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 55%;
  height: auto;
  display: none;
  z-index: 1;
  animation: heroImageFade 1s ease 0.3s both;
}

.hero__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.hero__image-overlay { display: none; }

.hero__container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero__content {
  width: 50%;
  padding-top: 120px;
  padding-bottom: 120px;
  color: white;
  animation: heroContentIn 0.6s ease both;
}

@media (max-width: 1023.98px) {
  .hero__container {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__content {
    width: 100%;
    padding-top: 110px;
    padding-bottom: 80px;
  }
  .hero__desc { max-width: none; }
  .hero__image-mobile {
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 14px;
  }
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title--gradient {
  background: linear-gradient(90deg, #2E8B57, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.75;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background-color: #2da06d;
  color: #ffffff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(46, 139, 87, 0.25);
  transition: all 0.2s ease;
}
.hero__cta:hover {
  background-color: rgba(46, 139, 87, 0.9);
  box-shadow: 0 20px 40px rgba(46, 139, 87, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
  color: #ffffff;
}

.hero__image-mobile {
  display: block;
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  animation: heroImageMobileFade 0.8s ease 0.3s both;
}
.hero__image-mobile img {
  width: 100%; height: auto;
  object-fit: cover; display: block;
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroImageFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroImageMobileFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (min-width: 640px) {
  .hero__content { padding: 160px 24px; }
}

@media (min-width: 1024px) {
  .hero__image-wrap { display: block; }
  .hero__content {
    width: 50%;
    padding: 160px 32px 160px 0;
  }
  .hero__image-mobile { display: none; }
}


/* ================================================
  SECTION 2 — Unified Platform CSS
   ================================================ */
.unified-section {
  padding: 96px 0;
  background-color: #f7f9fb;
}

.unified-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .unified-container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .unified-container {
    padding: 0 32px;
  }
}

.unified-header {
  text-align: center;
  margin-bottom: 64px;
}

.unified-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--riab-heading);
  line-height: 1.2;
}

.unified-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .unified-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .unified-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.unified-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e5e9ef;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
  opacity: 0;
  transform: translateY(24px);
}

.unified-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.25s ease;
}

.unified-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.unified-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(46, 139, 87, 0.10);
  color: var(--riab-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.unified-icon i {
  font-size: 24px;
  color: var(--riab-green);
}

.unified-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--riab-heading);
  margin-bottom: 12px;
}

.unified-card-desc {
  font-size: 1.0rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* ================================================
   SECTION 3 — Full-Stack Infrastructure Stack CSS
   ================================================ */

.sec-stack {
  padding: 96px 0;
  background: #ffffff;
  border-top: 1px solid #e5e9ef;
  border-bottom: 1px solid #e5e9ef;
}

.sec-stack .sec-header {
  text-align: center;
  margin-bottom: 64px;
}

.sec-stack .sec-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--riab-heading);
  line-height: 1.2;
  margin: 0;
}

.stack-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .stack-container { padding: 0 24px; } }
@media (min-width: 1024px) { .stack-container { padding: 0 32px; } }

.stack-layers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.stack-center-line {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #e5e9ef;
  transform: translateX(-50%);
  z-index: 0;
}
@media (min-width: 768px) {
  .stack-center-line { display: block; }
}

.stack-layer {
  position: relative;
  z-index: 1;
  padding: 28px 32px;
  border-radius: 16px;
  border: 1px solid #e5e9ef;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

@media (min-width: 768px) {
  .stack-layer {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 34px 44px;
  }
}

.stack-layer:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.stack-layer__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--riab-heading);
  margin: 0;
}

.stack-layer__desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
}

.stack-layer--highlight {
  background: #eef9f3;
  border-color: var(--riab-green);
  box-shadow: 0 4px 20px rgba(46,139,87,0.15),
              0 0 0 1px rgba(46,139,87,0.20);
}

.stack-layer--highlight:hover {
  box-shadow: 0 8px 32px rgba(46,139,87,0.22),
              0 0 0 1px rgba(46,139,87,0.25);
  transform: translateY(-2px);
}

.stack-layer--highlight .stack-layer__title {
  color: var(--riab-green);
}

.stack-layer--highlight .stack-layer__desc {
  color: var(--riab-green);
}

/* ================================================
   SECTION 4 — Engineered In-House CSS
   ================================================ */

.sec-engineering {
  padding: 96px 0;
  background: #f7f9fb;
}

.engineering-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .engineering-container { padding: 0 24px; } }
@media (min-width: 1024px) { .engineering-container { padding: 0 32px; } }

.engineering-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .engineering-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.engineering-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--riab-heading);
  margin-bottom: 20px;
  line-height: 1.2;
}

.engineering-text > p {
  font-size: 1.22rem;
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 32px;
}

.eng-block {
  margin-bottom: 32px;
}
.eng-block:last-child { margin-bottom: 0; }

.eng-block h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--riab-heading);
  margin-bottom: 16px;
}

.eng-device-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eng-device-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 0.97rem;
}

.eng-device-list i {
  color: var(--riab-green);
  font-size: 16px;
  flex-shrink: 0;
}

.eng-cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .eng-cap-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }
}

.eng-cap-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.55;
}

.eng-cap-list i {
  color: var(--riab-green);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 5px;
}

.engineering-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border: 1px solid #e5e9ef;
}

.engineering-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.engineering-img:hover img {
  transform: scale(1.02);
}

/* ================================================
   SECTION 5 — Platform Built for Scale CSS
   ================================================ */

.sec-platform {
  padding: 96px 0;
  background: #ffffff;
  border-top: 1px solid #e5e9ef;
  border-bottom: 1px solid #e5e9ef;
}

.sec-platform .sec-header {
  text-align: center;
  margin-bottom: 64px;
}

.sec-platform .sec-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--riab-heading);
  line-height: 1.2;
  margin: 0;
}

.platform-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .platform-container { padding: 0 24px; } }
@media (min-width: 1024px) { .platform-container { padding: 0 32px; } }

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}

.platform-card {
  background: #ffffff;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.platform-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.platform-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(46, 139, 87, 0.10);
  color: var(--riab-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* ---- Card title ---- */
.platform-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--riab-heading);
  margin-bottom: 10px;
}

/* ---- Card description ---- */
.platform-card p {
  font-size: 1.0rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* ================================================
   SECTION 6 — RIAB Device Ecosystem CSS
   ================================================ */

.sec-ecosystem {
  padding: 96px 0;
  background: radial-gradient(1200px 500px at 50% 0%, rgba(46,139,87,0.10), rgba(247,249,251,1) 55%);
}

.sec-ecosystem .sec-header {
  text-align: center;
  margin-bottom: 64px;
}

.sec-ecosystem .sec-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--riab-heading);
  line-height: 1.2;
  margin: 0;
}

.ecosystem-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .ecosystem-container { padding: 0 24px; } }
@media (min-width: 1024px) { .ecosystem-container { padding: 0 32px; } }

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
}
@media (min-width: 1024px) {
  .ecosystem-grid {
    grid-template-columns: 1fr 200px 1fr;
    gap: 32px;
    align-items: center;
  }
}

.eco-left,
.eco-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eco-left { align-items: flex-start; }
.eco-right { align-items: flex-start; }

@media (min-width: 1024px) {
  .eco-left { align-items: flex-end; }
  .eco-right { align-items: flex-start; }
}

.eco-col__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--riab-heading);
  margin-bottom: 20px;
  text-align: left;
  letter-spacing: -0.01em;
}
.eco-col__title--right { text-align: left; }
@media (min-width: 1024px) {
  .eco-col__title--right { text-align: right; }
}

.eco-device-card {
  background: #ffffff;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 0;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 420px;
  min-height: 74px;
  position: relative;
  overflow: hidden;
}
.eco-device-card:last-child { margin-bottom: 0; }
.eco-device-card:hover {
  border-color: var(--riab-green);
  box-shadow: 0 18px 50px rgba(46,139,87,0.14);
}

.eco-device-card--right {
  justify-content: flex-start;
}

.eco-device-card span {
  font-weight: 700;
  color: var(--riab-heading);
  font-size: 1.0rem;
  letter-spacing: -0.01em;
}

.eco-device-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(46,139,87,0.10);
  color: var(--riab-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.eco-device-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, rgba(46,139,87,0.00), rgba(46,139,87,0.08), rgba(46,139,87,0.00));
  transform: rotate(18deg);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.eco-device-card:hover::before { opacity: 1; }

.eco-center {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  justify-self: center;
  overflow: visible;
}
@media (min-width: 1024px) {
  .eco-center { display: flex; }
}

.eco-platform-box {
  width: 128px;
  height: 128px;
  background: var(--riab-green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(46,139,87,0.30);
  transform: rotate(12deg);
  position: relative;
  z-index: 1;
}

.eco-platform-box span {
  color: #ffffff;
  font-weight: 800;
  font-size: 22px;
  transform: rotate(-12deg);
  display: block;
}

.eco-center__lines {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 820px;
  height: 160px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.eco-right .eco-col__title {
  text-align: center;
}
@media (min-width: 1024px) {
  .eco-right .eco-col__title { text-align: left; }
}

.eco-supported-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 520px;
}

.eco-supported-card {
  background: #ffffff;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eco-supported-card:hover {
  box-shadow: 0 18px 50px rgba(46,139,87,0.14);
  border-color: var(--riab-green);
  transform: translateY(-2px);
}

.eco-supported-card i {
  font-size: 26px;
  color: var(--riab-green);
  display: block;
  margin-bottom: 10px;
}

.eco-supported-card span {
  font-weight: 700;
  color: var(--riab-heading);
  font-size: 0.92rem;
  line-height: 1.4;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scroll-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scroll-reveal.is-visible,
.scroll-reveal-left.is-visible,
.scroll-reveal-right.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* ================================================
   SECTION 7 — Flexible Deployment Models CSS
   ================================================ */

.sec-deployment {
  padding: 96px 0;
  background: #ffffff;
  border-top: 1px solid #e5e9ef;
  border-bottom: 1px solid #e5e9ef;
}

.sec-deployment .sec-header {
  text-align: center;
  margin-bottom: 64px;
}

.sec-deployment .sec-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--riab-heading);
  line-height: 1.2;
  margin: 0;
}

.deployment-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .deployment-container { padding: 0 24px; } }
@media (min-width: 1024px) { .deployment-container { padding: 0 32px; } }

.deployment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 768px) {
  .deployment-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 32px;
  }
}

.deploy-card {
  background: #f7f9fb;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  padding: 36px 28px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.deploy-card__icon { display: none; }
.deploy-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.deploy-card--featured {
  background: rgba(46, 139, 87, 0.05);
  border: 2px solid var(--riab-green);
  box-shadow: 0 8px 32px rgba(46,139,87,0.15);
  position: relative;
}

@media (min-width: 768px) {
  .deploy-card--featured {
    transform: translateY(-16px);
  }
  .deploy-card--featured:hover {
    transform: translateY(-20px);
  }
}

.deploy-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--riab-green);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.deploy-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--riab-heading);
  margin-bottom: 15px;
}

.deploy-card p {
  font-size: 1.092rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 768px) {
  .deploy-card--featured.scroll-reveal.is-visible {
    transform: translateY(-16px);
  }
}

/* ================================================
   SECTION 8 — How RIAB Is Different CSS
   ================================================ */

.sec-different {
  padding: 96px 0;
  background: #f7f9fb;
}

.different-container {
  max-width: 960px;       /* max-w-5xl */
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .different-container { padding: 0 24px; } }
@media (min-width: 1024px) { .different-container { padding: 0 32px; } }

/* ---- Table scroll wrapper ---- */
.different-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid #e5e9ef;
}

/* ---- Table ---- */
.different-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  min-width: 560px;       /* prevent too much squish on mobile */
}

/* ---- Header row ---- */
.different-table thead tr {
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid #e5e9ef;
}

.different-table thead th {
  padding: 18px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0a1628;
  text-align: left;
  white-space: nowrap;
}

/* RIAB header cell — green background */
.different-table__riab-head {
  background: #2DA06D !important;
  color: #ffffff !important;
}

/* ---- Body rows ---- */
.different-table tbody tr {
  border-bottom: 1px solid #e5e9ef;
  transition: background 0.15s ease;
}
.different-table tbody tr:last-child {
  border-bottom: none;
}
.different-table tbody tr:hover td {
  background: rgba(0,0,0,0.025);
}
/* Keep RIAB column highlighted on hover */
.different-table tbody tr:hover .different-table__riab {
  background: rgba(45,160,109,0.10);
}

/* ---- Body cells ---- */
.different-table tbody td {
  padding: 18px 24px;
  font-size: 0.92rem;
  color: #6b7280;
  vertical-align: middle;
}

/* Feature column — bold navy */
.different-table__feature {
  font-weight: 600 !important;
  color: #0a1628 !important;
}

/* RIAB column — green tint + bold green text */
.different-table__riab {
  background: rgba(45,160,109,0.06);
  font-weight: 700 !important;
  color: #2DA06D !important;
}

/* ---- Tagline ---- */
.different-tagline {
  text-align: center;
  margin-top: 32px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0a1628;
  line-height: 1.6;
}

/* ---- Scroll reveal ---- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================================================
   SECTION 9 — Why Choose RIAB CSS
   ================================================ */

.sec-why {
  padding: 96px 0;
  background: #ffffff;
  border-top: 1px solid #e5e9ef;
}

.sec-why .sec-header {
  text-align: center;
  margin-bottom: 64px;
}

.sec-why .sec-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--riab-heading);
  line-height: 1.2;
  margin: 0;
}

.why-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .why-container { padding: 0 24px; } }
@media (min-width: 1024px) { .why-container { padding: 0 32px; } }

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-card {
  background: #f7f9fb;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  padding: 36px 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.why-card:hover {
  box-shadow: 0 8px 32px rgba(46,139,87,0.10);
  transform: translateY(-4px);
  border-color: var(--riab-green);
}

.why-card > i {
  font-size: 36px;
  color: var(--riab-green);
  display: block;
  margin-bottom: 24px;
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--riab-heading);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 1.095rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ================================================
   SECTION 10 — Built for Your Industry CSS
   ================================================ */

.sec-solutions {
  padding: 96px 0;
  background: #f7f9fb;
  border-top: 1px solid #e5e9ef;
}

.sec-solutions .sec-header {
  text-align: center;
  margin-bottom: 64px;
}

.sec-solutions .sec-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--riab-heading);
  line-height: 1.2;
  margin: 0;
}

.solutions-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .solutions-container { padding: 0 24px; } }
@media (min-width: 1024px) { .solutions-container { padding: 0 32px; } }

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(4, 1fr); }
}

.solution-card {
  background: #ffffff;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.solution-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transform: translateY(-3px);
  border-color: var(--riab-green);
}

.solution-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(46,139,87,0.10);
  color: var(--riab-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}


.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--riab-heading);
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* ================================================
   SECTION 11 — Final CTA CSS
   ================================================ */

.sec-finalcta {
  padding: 96px 0;
  background: linear-gradient(
    135deg,
    #0a1628 0%,
    rgba(46,139,87,0.85) 100%
  );
  text-align: center;
  color: #ffffff;
}

.finalcta-container {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .finalcta-container { padding: 0 24px; } }
@media (min-width: 1024px) { .finalcta-container { padding: 0 32px; } }

.finalcta-box h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.15;
}

.finalcta-box p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 40px;
  line-height: 1.7;
}

.finalcta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background: #ffffff;
  color: var(--riab-green);
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.20);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.finalcta-btn:hover {
  background: #f3f4f6;
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  color: #236B43;
  text-decoration: none;
}

.unified-section .unified-title,
.sec-stack .sec-header h2,
.sec-platform .sec-header h2,
.sec-ecosystem .sec-header h2,
.sec-deployment .sec-header h2,
.sec-different .sec-header h2,
.sec-why .sec-header h2,
.sec-solutions .sec-header h2,
.overview-title h2,
.services-title h2,
.solve-title h2,
.our-solutions-title h2 {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.unified-section .unified-title:before,
.sec-stack .sec-header h2:before,
.sec-platform .sec-header h2:before,
.sec-ecosystem .sec-header h2:before,
.sec-deployment .sec-header h2:before,
.sec-different .sec-header h2:before,
.sec-why .sec-header h2:before,
.sec-solutions .sec-header h2:before,
.overview-title h2:before,
.services-title h2:before,
.solve-title h2:before,
.our-solutions-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: #D1D9E0;
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.unified-section .unified-title::after,
.sec-stack .sec-header h2::after,
.sec-platform .sec-header h2::after,
.sec-ecosystem .sec-header h2::after,
.sec-deployment .sec-header h2::after,
.sec-different .sec-header h2::after,
.sec-why .sec-header h2::after,
.sec-solutions .sec-header h2::after,
.overview-title h2::after,
.services-title h2::after,
.solve-title h2::after,
.our-solutions-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--riab-green);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}