/* Isolated "Why Nofal" section — programming page (mockup) */
.npw {
  --npw-navy: #1c1c35;
  --npw-sky: #1db8f8;
  --npw-ink: #5b6475;
  --npw-line: #e8eef6;
  --npw-soft: #f4f9fd;
  background: #fff;
  color: var(--npw-navy);
}

.npw *,
.npw *::before,
.npw *::after { box-sizing: border-box; }

.npw-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(36px, 5.5vw, 72px) 0 8px;
}

.npw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(20px, 3.6vw, 40px);
  align-items: center;
}

.npw-copy h2 {
  margin: 0;
  color: var(--npw-navy);
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  line-height: 1.38;
  font-weight: 800;
  letter-spacing: -.4px;
}

.npw-copy h2 span {
  display: block;
  color: var(--npw-sky);
}

.npw-lead {
  margin: 14px 0 0;
  color: var(--npw-ink);
  font-size: clamp(.98rem, 1.35vw, 1.08rem);
  line-height: 1.9;
}

.npw-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 22px;
  margin-top: 28px;
}

.npw-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.npw-feat__ico {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef8ff;
  color: #0ea5e0;
}

.npw-feat__ico svg {
  width: 22px;
  height: 22px;
  display: block;
}

.npw-feat h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--npw-navy);
}

.npw-feat p {
  margin: 0;
  color: var(--npw-ink);
  font-size: .88rem;
  line-height: 1.75;
}

.npw-visual {
  position: relative;
  min-height: 280px;
}

.npw-visual::before,
.npw-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.npw-visual::before {
  width: 58%;
  height: 58%;
  top: 4%;
  left: 18%;
  background: radial-gradient(circle, rgba(125, 211, 252, .42), transparent 70%);
}

.npw-visual::after {
  width: 34%;
  height: 34%;
  right: 4%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(186, 230, 253, .5), transparent 72%);
}

.npw-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(12, 29, 61, .12));
}

.npw-reasons {
  margin: 36px 0 0;
  padding: 22px 22px 10px;
  border-radius: 20px;
  background: var(--npw-soft);
  border: 1px solid var(--npw-line);
}

.npw-reasons h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--npw-navy);
}

.npw-reasons ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.npw-reasons li {
  position: relative;
  padding: 0 28px 12px 0;
  color: var(--npw-ink);
  font-size: .94rem;
  line-height: 1.75;
}

.npw-reasons li::before {
  content: '';
  position: absolute;
  top: .45em;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5e0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E")
    center / 12px no-repeat,
    #fff;
  border: 1px solid #d7ebf8;
}

.npw-extras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 0;
}

.npw-extra {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--npw-line);
  box-shadow: 0 8px 24px rgba(12, 29, 61, .04);
}

.npw-extra__ico {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #eef8ff;
  color: #0ea5e0;
}

.npw-extra__ico svg {
  width: 20px !important;
  height: 20px !important;
  display: block;
  margin: 0;
  flex: 0 0 20px;
}

.npw-extra strong {
  display: block;
  font-size: .95rem;
  color: var(--npw-navy);
}

.npw-extra div span {
  display: block;
  margin-top: 4px;
  color: var(--npw-ink);
  font-size: .82rem;
  line-height: 1.65;
}

.npw-note {
  margin: 22px 0 28px;
  color: var(--npw-ink);
  font-size: .98rem;
  line-height: 1.9;
}

.npw-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 70% at 8% 120%, rgba(29, 184, 248, .22), transparent 46%),
    radial-gradient(ellipse 70% 80% at 110% -10%, rgba(14, 165, 224, .16), transparent 42%),
    linear-gradient(180deg, #07152c 0%, #0a2448 48%, #04101f 100%);
  color: #fff;
  text-align: center;
  padding: clamp(40px, 5.5vw, 64px) 20px;
}

.npw-cta::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 140%;
  background:
    repeating-radial-gradient(
      circle at 18% 120%,
      transparent 0 38px,
      rgba(125, 211, 252, .07) 39px 40px
    );
  transform: rotate(-12deg);
  z-index: 0;
  pointer-events: none;
}

.npw-cta::after {
  content: '';
  position: absolute;
  inset: auto -20% -40%;
  height: 120%;
  background:
    repeating-radial-gradient(
      circle at 82% 0%,
      transparent 0 46px,
      rgba(29, 184, 248, .08) 47px 48px
    );
  z-index: 0;
  pointer-events: none;
}

.npw-cta h3,
.npw-cta p,
.npw-cta a {
  position: relative;
  z-index: 1;
}

.npw-cta h3 {
  margin: 0;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.45;
}

.npw-cta p {
  margin: 10px auto 0;
  max-width: 46ch;
  color: rgba(238, 247, 255, .86);
  font-size: 1rem;
  line-height: 1.8;
}

.npw-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 22px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #1db8f8;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(29, 184, 248, .28);
}

.npw-cta a:hover { background: #0ea5e0; }

.npw-cta a svg {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 1024px) {
  .npw-grid { grid-template-columns: 1fr; }
  .npw-visual { order: -1; min-height: 0; max-width: 560px; margin: 0 auto; }
  .npw-extras { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .npw-shell { width: min(1180px, calc(100% - 24px)); padding-top: 24px; }
  .npw-feats,
  .npw-reasons ul,
  .npw-extras { grid-template-columns: 1fr; }
  .npw-reasons { padding: 18px 16px 6px; }
  .npw-cta a { width: min(100%, 420px); }
}

@media (prefers-reduced-motion: reduce) {
  .npw-cta a { transition: none; }
}
