/* Home-specific styles */
/* =========================
   Home Page
========================= */

.ng-home .ng-section{
  position:relative;
}

.ng-home h2{
  letter-spacing:.2px;
}

.ng-home .ng-card{
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.ng-home .ng-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,0,0,.08);
}

/* Infrastructure Section */

.ng-home .ng-infrastructure{
  background:#fff;
}

/* Ecosystem */

.ng-home .ng-ecosystem{
  position:relative;
}

.ng-home .ng-ecosystem::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:80px;
  height:2px;
  background:var(--ng-red);
  transform:translateX(-50%);
}

/* Future */

.ng-home .ng-future{
  background:
    linear-gradient(
      180deg,
      #fafafa 0%,
      #ffffff 100%
    );
}

/* =========================
   Systems Layer
========================= */

.ng-home-infrastructure{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(
      135deg,
      #0b1628 0%,
      var(--ng-navy) 50%,
      #111827 100%
    );
}

.ng-home-infrastructure::before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  top:-260px;
  right:-160px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:50%;
}

.ng-home-infrastructure .ng-page-kicker{
  color:rgba(255,255,255,.58);
}

.ng-infrastructure-lead{
  color:rgba(255,255,255,.88);
  font-size:1.08rem;
  line-height:1.65;
}

.ng-infrastructure-text{
  color:rgba(255,255,255,.62);
  line-height:1.7;
}

.ng-system-flow{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.75rem;
  padding-top:1rem;
  color:rgba(255,255,255,.82);
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:1.3px;
}

.ng-system-divider{
  color:var(--ng-red);
}

/* Responsive */

@media (max-width:767.98px){

  .ng-system-flow{
    gap:.55rem;
    font-size:.72rem;
  }

}

/* =========================
   Ecosystem
========================= */

.ng-home-ecosystem{
  position:relative;
  background:#fff;
}

.ng-ecosystem-lead{
  line-height:1.65;
}

.ng-ecosystem-sectors{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  margin-top:1.5rem;
}

.ng-ecosystem-sectors span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:.45rem .85rem;

  border:1px solid #e5e7eb;
  border-radius:999px;

  color:#4b5563;
  background:#fff;

  font-size:.78rem;
  letter-spacing:.25px;
}

/* Responsive */

@media (max-width:767.98px){

  .ng-ecosystem-sectors{
    gap:.55rem;
  }

  .ng-ecosystem-sectors span{
    font-size:.74rem;
    padding:.4rem .7rem;
  }

}

/* =========================
   Forward Infrastructure
========================= */

.ng-home-future{
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #ffffff 100%
    );
}

.ng-future-intro{
  max-width:760px;
  line-height:1.7;
}

.ng-future-item{
  padding:1.5rem 0;
  border-top:1px solid #e5e7eb;
}

.ng-future-label{
  margin-bottom:.85rem;
  color:var(--ng-red);

  font-size:.68rem;
  font-weight:600;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.ng-future-item h3{
  color:var(--ng-slate);
  font-weight:600;
}

.ng-future-item p{
  font-size:.92rem;
  line-height:1.65;
}

/* Responsive */

@media (max-width:767.98px){

  .ng-future-item{
    padding:1.25rem 0;
  }

}

/* =========================
   Strategic CTA
========================= */

.ng-home-cta{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(
      135deg,
      #0b1628 0%,
      var(--ng-navy) 55%,
      #111827 100%
    );
}

.ng-home-cta::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-180px;
  bottom:-220px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:50%;
}

.ng-home-cta .ng-page-kicker{
  color:rgba(255,255,255,.58);
}

.ng-cta-title{
  color:#fff;
  max-width:780px;
  margin-left:auto;
  margin-right:auto;
  line-height:1.15;
}

.ng-cta-text{
  max-width:680px;
  color:rgba(255,255,255,.68);
  line-height:1.7;
}