/* ═══════════════════════════════════════════
   nw-product.css — Product page styles
   NinjaWeb5 marketing site
═══════════════════════════════════════════ */

/* ─────────────────────────────────────────
   HERO — Dark Premium
───────────────────────────────────────── */

.nw-product-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid rgba(124,140,255,.4);
  border-radius: 100px;
  margin-bottom: 28px;
  color: #7c8cff;
  opacity: 1;
}

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

.nw-product-hero {
  padding: 90px 0 80px;
  background: radial-gradient(ellipse at top left, #1a1f3a 0%, #0b0f14 60%);
  position: relative;
}

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

@media (max-width: 991px) {
  .nw-product-hero__left { padding-right: 0; margin-bottom: 48px; }
  .nw-product-hero { padding: 60px 0 60px; }
}

.nw-product-hero h1 {
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 20px;
}

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

.nw-product-hero__sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.62);
  margin: 0 0 36px;
  max-width: 440px;
}

/* Hero CTAs */
.nw-hero-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;
}
.nw-hero-btn-primary:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(111,124,255,.55);
  transform: translateY(-1px);
}

.nw-hero-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;
}
.nw-hero-btn-secondary:hover {
  color: #fff;
  text-decoration: none;
  border-color: rgba(255,255,255,.4);
}

/* Building blocks grid — dark glass */
.nw-blocks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
}

.nw-block-card {
  background: rgba(255,255,255,.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 28px 26px;
  transition: background .18s;
}
.nw-block-card:hover { background: rgba(255,255,255,.06); }

.nw-block-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}

.nw-block-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}

.nw-block-desc {
  font-size: 13px;
  color: rgba(255,255,255,.52);
  line-height: 1.55;
  margin: 0;
}

.nw-block-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #7c8cff;
  padding: 3px 9px;
  border: 1px solid rgba(124,140,255,.3);
  border-radius: 4px;
}

/* ─────────────────────────────────────────
   CORE CAPABILITIES
───────────────────────────────────────── */

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

/* ─────────────────────────────────────────
   ARCHITECTURE — Layer diagram
───────────────────────────────────────── */

.nw-arch-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 48px 0 0;
}
.nw-arch-layer {
  text-align: center;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 160px;
  flex-shrink: 0;
}
.nw-arch-layer.nw-arch-ninja {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}
.nw-arch-layer-icon {
  font-size: 28px;
  margin-bottom: 10px;
  opacity: 0.7;
}
.nw-arch-layer h6 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nw-arch-layer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.nw-arch-layer.nw-arch-ninja h6 { color: #fff; }
.nw-arch-arrow {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.3);
  padding: 0 16px;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .nw-arch-diagram { flex-direction: column; }
  .nw-arch-arrow { padding: 12px 0; transform: rotate(90deg); }
}

/* ─────────────────────────────────────────
   GSAP FALLBACK
───────────────────────────────────────── */

.fade-anim, .move-anim {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  clip-path: none !important;
}

/* ─────────────────────────────────────────
   USE CASES
───────────────────────────────────────── */

.nw-usecase-card {
  position: relative;
  padding: 32px 24px;
  border: 1px solid rgba(0,0,0,.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.nw-usecase-card:hover {
  border-color: #111;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.nw-usecase-card h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}
.nw-usecase-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
  flex: 1;
}
.nw-usecase-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
}
.nw-usecase-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 20px;
  opacity: 0.45;
  transition: opacity .2s;
  color: #111;
  text-decoration: none;
  position: relative;
  z-index: 2;
}
.nw-usecase-card:hover .nw-usecase-link { opacity: 1; }

/* ─────────────────────────────────────────
   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;
}
