/* ═══════════════════════════════════════════
   nw-solutions.css — Solutions page styles
   NinjaWeb5 marketing site
═══════════════════════════════════════════ */

/* ─────────────────────────────────────────
   HERO — Dark Scenario-driven
───────────────────────────────────────── */

.nws-hero {
  padding: 100px 0 90px;
  background: linear-gradient(135deg, #0b0f14 0%, #0e1330 100%);
  position: relative;
  overflow: hidden;
}

.nws-hero__left {
  padding-right: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

@media (max-width: 991px) {
  .nws-hero { padding: 70px 0 60px; }
  .nws-hero__left { padding-right: 0; margin-bottom: 52px; }
}

.nws-platform-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid rgba(124,140,255,.4);
  border-radius: 100px;
  margin-bottom: 28px;
  color: #7c8cff;
}

.nws-hero h1 {
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
}

.nws-h1-accent {
  font-style: normal;
  background: linear-gradient(90deg, #7c8cff, #9b6bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nws-hero__sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  margin: 0 0 36px;
  max-width: 420px;
}

/* Hero CTAs */
.nws-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.nws-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: linear-gradient(90deg, #6f7cff, #8f5cff);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow .2s, transform .15s;
}
.nws-btn-primary:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(111,124,255,.55);
  transform: translateY(-1px);
}

.nws-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: transparent;
  color: rgba(255,255,255,.82);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.nws-btn-secondary:hover {
  color: #fff;
  text-decoration: none;
  border-color: rgba(255,255,255,.4);
}

/* ─────────────────────────────────────────
   SCENARIO CARDS GRID (2x2)
───────────────────────────────────────── */

.nws-scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 575px) {
  .nws-scenario-grid { grid-template-columns: 1fr; }
}

.nws-scenario-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 26px 24px;
  cursor: default;
  transition: border-color .25s, box-shadow .25s, transform .2s, background .2s;
}

.nws-scenario-card:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(124,140,255,.45);
  box-shadow: 0 0 24px rgba(124,140,255,.12);
  transform: translateY(-3px);
}

.nws-card-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.nws-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}

.nws-card-sub {
  font-size: 12px;
  font-weight: 500;
  color: #7c8cff;
  letter-spacing: .02em;
}

/* Micro description — hidden by default, reveals on hover */
.nws-card-desc {
  font-size: 12px;
  color: rgba(255,255,255,.48);
  line-height: 1.55;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease, margin .25s ease;
}

.nws-scenario-card:hover .nws-card-desc {
  max-height: 80px;
  opacity: 1;
  margin-top: 10px;
}

/* ─────────────────────────────────────────
   LEGACY HERO TAG (old pages)
───────────────────────────────────────── */

.nw-platform-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid currentColor;
  border-radius: 100px;
  margin-bottom: 28px;
  opacity: 0.55;
}

.nw-hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0.75;
}

.nw-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
}

/* ─────────────────────────────────────────
   SOLUTION CARDS (body sections)
───────────────────────────────────────── */

.quanto-service-box .nw-value-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}
.quanto-service-box .nw-value-list li {
  font-size: 13px;
  line-height: 1.6;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: inherit;
  opacity: 0.75;
}
.quanto-service-box .nw-value-list li:first-child { border-top: none; }
.quanto-service-box .nw-value-list li i {
  margin-top: 3px;
  font-size: 10px;
  opacity: 0.4;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   HOW IT WORKS — Pipeline
───────────────────────────────────────── */

.nw-pipeline-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

@media (max-width: 991px) {
  .nw-pipeline-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }
  .nw-pipeline-step {
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 40px !important;
  }
  .nw-pipeline-step:nth-child(2n) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .nw-pipeline-step:nth-child(3),
  .nw-pipeline-step:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 575px) {
  .nw-pipeline-wrapper { grid-template-columns: 1fr; }
  .nw-pipeline-step {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding-bottom: 32px !important;
  }
  .nw-pipeline-step:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
}

.nw-pipeline-step {
  padding: 0 36px 0 36px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}
.nw-pipeline-step:first-child { padding-left: 0; }
.nw-pipeline-step:last-child { border-right: none; }

.nw-pipeline-number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.1;
  display: block;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.nw-pipeline-step h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.nw-pipeline-step p {
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.6;
  margin: 0;
}

/* ─────────────────────────────────────────
   WHY IT MATTERS
───────────────────────────────────────── */

.nw-why-box {
  padding: 36px 28px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: border-color 0.25s;
}
.nw-why-box:hover { border-color: currentColor; }
.nw-why-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nw-why-box h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.nw-why-box p {
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.6;
  margin: 0;
}

/* ─────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────── */

.nw-final-cta {
  text-align: center;
  padding: 60px 20px;
}
.nw-final-cta h2 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
  line-height: 1.1;
}
.nw-final-cta p {
  font-size: 17px;
  opacity: 0.65;
  color: #fff;
  margin-bottom: 44px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.nw-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
