/*
Theme Name: Nukkad Blog Theme
Theme URI: https://www.nukkadshops.com
Description: Custom blog theme for Nukkad Shops — matching the main website brand colors with animated scroll sections, horizontal scroll, category filters, and a full-featured blog layout.
Author: Nukkad Shops
Author URI: https://www.nukkadshops.com
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: nukkad-blog
*/

/* ═══════════════════════════════════════════════════
   NUKKAD SHOPS — BRAND COLOR SYSTEM
   Primary Blue  : #1B3FA6
   Deep Blue     : #0F2778
   Blue Light    : #EEF3FF
   Orange Accent : #F97316
   Green         : #16A34A
   Purple        : #7C3AED
   Dark Text     : #0F172A
   Mid Text      : #475569
   Light Text    : #94A3B8
   Background    : #F8FAFC
   Border        : #E2E8F0
═══════════════════════════════════════════════════ */

:root {
  --ns-blue:        #1B3FA6;
  --ns-blue-deep:   #0F2778;
  --ns-blue-bright: #2563EB;
  --ns-blue-light:  #EEF3FF;
  --ns-blue-mid:    #DBEAFE;
  --ns-orange:      #F97316;
  --ns-orange-lt:   #FFF7ED;
  --ns-green:       #16A34A;
  --ns-green-lt:    #F0FDF4;
  --ns-purple:      #7C3AED;
  --ns-purple-lt:   #F5F3FF;
  --ns-dark:        #0F172A;
  --ns-mid:         #475569;
  --ns-light:       #94A3B8;
  --ns-white:       #FFFFFF;
  --ns-bg:          #F8FAFC;
  --ns-border:      #E2E8F0;
  --ns-border2:     #CBD5E1;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.nukkad-blog-page {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--ns-white);
  color: var(--ns-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── TICKER ─── */
.ns-ticker {
  background: var(--ns-blue);
  overflow: hidden;
  padding: 9px 0;
}
.ns-ticker-inner {
  display: inline-flex;
  animation: nsTick 32s linear infinite;
  white-space: nowrap;
}
.ns-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 0 36px;
}
.ns-ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ns-orange);
  flex-shrink: 0;
  display: inline-block;
}
@keyframes nsTick { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ─── NAVBAR ─── */
.ns-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 68px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ns-border);
  box-shadow: 0 1px 10px rgba(0,0,0,.05);
}
.ns-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.ns-nav-logo img { height: 34px; width: auto; }
.ns-nav-logo-text {
  font-weight: 800;
  font-size: 19px;
  color: var(--ns-blue);
  letter-spacing: -.02em;
}
.ns-nav-logo-text span { color: var(--ns-orange); }
.ns-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.ns-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ns-mid);
  text-decoration: none;
  transition: color .2s;
}
.ns-nav-links a:hover,
.ns-nav-links a.active { color: var(--ns-blue); }
.ns-nav-cta {
  background: var(--ns-blue) !important;
  color: var(--ns-white) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background .2s, transform .2s !important;
  display: inline-block;
  text-decoration: none;
}
.ns-nav-cta:hover { background: var(--ns-blue-deep) !important; transform: translateY(-1px); }

/* ─── HERO ─── */
.ns-hero {
  background: linear-gradient(135deg, var(--ns-blue-deep) 0%, var(--ns-blue) 55%, #1e4fc2 100%);
  padding: 84px 60px 72px;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}
.ns-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 440px; height: 440px;
  border-radius: 50%;
  border: 55px solid rgba(255,255,255,.04);
  pointer-events: none;
}
.ns-hero::after {
  content: '';
  position: absolute;
  bottom: -160px; left: 32%;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 36px solid rgba(255,255,255,.03);
  pointer-events: none;
}
.ns-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  animation: nsRiseUp .55s .05s both;
}
.ns-hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ns-orange);
  animation: nsBlink 2s ease-in-out infinite;
  display: inline-block;
}
.ns-hero h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--ns-white);
  margin-bottom: 20px;
  animation: nsRiseUp .6s .18s both;
}
.ns-hero h1 em {
  font-style: normal;
  color: var(--ns-orange);
}
.ns-hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 36px;
  animation: nsRiseUp .6s .32s both;
}
.ns-hero-btns {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  animation: nsRiseUp .6s .46s both;
}
.ns-btn-white {
  background: var(--ns-white);
  color: var(--ns-blue);
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: transform .2s, box-shadow .2s;
  display: inline-block;
}
.ns-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.ns-btn-outline {
  color: rgba(255,255,255,.82);
  border: 1.5px solid rgba(255,255,255,.28);
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  display: inline-block;
}
.ns-btn-outline:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.ns-hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  animation: nsRiseUp .6s .6s both;
}
.ns-stat-val { font-size: 26px; font-weight: 800; color: var(--ns-white); letter-spacing: -.02em; }
.ns-stat-label { font-size: 11px; color: rgba(255,255,255,.48); margin-top: 2px; }

/* Hero floating cards */
.ns-hero-cards {
  position: relative;
  height: 440px;
  animation: nsRiseUp .8s .28s both;
}
.ns-hcard {
  position: absolute;
  background: var(--ns-white);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
  transition: transform .3s;
}
.ns-hcard:hover { transform: translateY(-4px) !important; }
.ns-hcard-main  { width: 300px; top: 0; right: 0; z-index: 3; }
.ns-hcard-sm1   { width: 228px; bottom: 56px; left: 0; z-index: 2; transform: rotate(-3deg); }
.ns-hcard-sm2   { width: 210px; bottom: 0; right: 20px; z-index: 1; transform: rotate(2deg); }
.ns-hcard-img   { width: 100%; height: 120px; border-radius: 8px; object-fit: cover; margin-bottom: 10px; background: var(--ns-blue-light); display: block; }
.ns-hcard-title { font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--ns-dark); margin-bottom: 7px; }
.ns-hcard-meta  { font-size: 11px; color: var(--ns-light); }

/* ─── CATEGORY BADGES ─── */
.ns-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 9px;
}
.ns-badge-blue   { background: var(--ns-blue-light); color: var(--ns-blue); }
.ns-badge-orange { background: var(--ns-orange-lt);  color: var(--ns-orange); }
.ns-badge-green  { background: var(--ns-green-lt);   color: var(--ns-green); }
.ns-badge-purple { background: var(--ns-purple-lt);  color: var(--ns-purple); }

/* Card category badge (absolute) */
.ns-card-cat {
  position: absolute;
  top: 13px; left: 13px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ─── SECTION LAYOUT ─── */
.ns-section { padding: 84px 60px; }
.ns-section-white { background: var(--ns-white); }
.ns-section-bg    { background: var(--ns-bg); }

.ns-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ns-blue);
  margin-bottom: 12px;
}
.ns-eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--ns-blue);
  border-radius: 2px;
}
.ns-eyebrow-light { color: rgba(255,255,255,.7); }
.ns-eyebrow-light::before { background: rgba(255,255,255,.7); }

.ns-section-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--ns-dark);
  margin-bottom: 12px;
}
.ns-section-title em { font-style: normal; color: var(--ns-blue); }
.ns-section-title-white { color: var(--ns-white); }
.ns-section-sub { font-size: 15px; color: var(--ns-mid); line-height: 1.7; max-width: 520px; }
.ns-section-sub-light { color: rgba(255,255,255,.55); }

.ns-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 48px;
}
.ns-view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--ns-blue);
  text-decoration: none;
  padding: 9px 18px;
  border: 1.5px solid var(--ns-blue);
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.ns-view-all:hover { background: var(--ns-blue); color: var(--ns-white); }

/* ─── DIVIDER ─── */
.ns-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 60px;
}
.ns-divider-line { flex: 1; height: 1px; background: var(--ns-border); }
.ns-divider-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ns-light);
  white-space: nowrap;
}

/* ─── FEATURED POST ─── */
.ns-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ns-border);
  box-shadow: 0 6px 32px rgba(0,0,0,.07);
  transition: transform .4s ease, box-shadow .4s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.ns-featured:hover { transform: translateY(-6px); box-shadow: 0 18px 56px rgba(27,63,166,.12); }
.ns-featured:hover .ns-feat-arrow { transform: translateX(4px); }
.ns-feat-visual {
  background: linear-gradient(135deg, var(--ns-blue-deep), var(--ns-blue));
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ns-feat-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 60%, rgba(249,115,22,.2), transparent 65%);
}
.ns-feat-img {
  width: 82%;
  height: 250px;
  border-radius: 10px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 18px 48px rgba(0,0,0,.4);
}
.ns-feat-badge {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 3;
  background: var(--ns-orange);
  color: var(--ns-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
}
.ns-feat-content {
  background: var(--ns-white);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ns-feat-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ns-blue);
  margin-bottom: 14px;
}
.ns-feat-title {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--ns-dark);
  margin-bottom: 14px;
}
.ns-feat-excerpt { font-size: 15px; color: var(--ns-mid); line-height: 1.75; margin-bottom: 28px; }
.ns-feat-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ns-meta-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ns-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ns-white);
  flex-shrink: 0;
}
.ns-meta-name { font-size: 14px; font-weight: 600; color: var(--ns-dark); }
.ns-meta-date { font-size: 12px; color: var(--ns-light); }
.ns-read-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ns-blue);
  color: var(--ns-white);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: background .2s, transform .2s;
}
.ns-read-more:hover { background: var(--ns-blue-deep); transform: translateY(-1px); }
.ns-feat-arrow { transition: transform .2s; display: inline-block; }

/* ─── FILTER BUTTONS ─── */
.ns-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.ns-filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--ns-border);
  background: var(--ns-white);
  color: var(--ns-mid);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.ns-filter-btn:hover,
.ns-filter-btn.ns-active {
  background: var(--ns-blue);
  color: var(--ns-white);
  border-color: var(--ns-blue);
}

/* ─── BLOG GRID ─── */
.ns-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ns-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ns-border);
  background: var(--ns-white);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s, border-color .35s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.ns-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(27,63,166,.10);
  border-color: rgba(37,99,235,.28);
}
.ns-card-thumb {
  height: 188px;
  overflow: hidden;
  position: relative;
}
.ns-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.ns-card:hover .ns-card-thumb img { transform: scale(1.06); }
.ns-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  transition: transform .5s ease;
}
.ns-card:hover .ns-card-placeholder { transform: scale(1.06); }
.ns-card-body { padding: 20px 20px 18px; }
.ns-card-title { font-size: 15px; font-weight: 700; line-height: 1.38; color: var(--ns-dark); margin-bottom: 9px; }
.ns-card-excerpt {
  font-size: 13px;
  color: var(--ns-mid);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--ns-border);
}
.ns-card-date { font-size: 11px; color: var(--ns-light); }
.ns-card-arrow {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--ns-blue-light);
  color: var(--ns-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, color .2s;
}
.ns-card:hover .ns-card-arrow { background: var(--ns-blue); color: var(--ns-white); }

/* ─── HORIZONTAL SCROLL ─── */
.ns-hscroll-section {
  padding: 84px 0 84px 60px;
  background: var(--ns-blue);
  overflow: hidden;
}
.ns-hscroll-header { padding-right: 60px; margin-bottom: 48px; }
.ns-htrack {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-right: 60px;
  padding-bottom: 10px;
  scrollbar-width: none;
  cursor: grab;
}
.ns-htrack::-webkit-scrollbar { display: none; }
.ns-htrack:active { cursor: grabbing; }
.ns-htile {
  flex-shrink: 0;
  width: 288px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 30px 26px;
  transition: background .3s, transform .3s, border-color .3s;
}
.ns-htile:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-4px);
}
.ns-tile-num { font-size: 46px; font-weight: 800; letter-spacing: -.04em; color: rgba(255,255,255,.09); line-height: 1; margin-bottom: 18px; }
.ns-tile-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(255,255,255,.1); margin-bottom: 16px; }
.ns-tile-title { font-size: 17px; font-weight: 700; color: var(--ns-white); line-height: 1.3; letter-spacing: -.01em; margin-bottom: 9px; }
.ns-tile-body  { font-size: 13px; color: rgba(255,255,255,.52); line-height: 1.7; margin-bottom: 18px; }
.ns-tile-link  { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.78); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: color .2s; }
.ns-tile-link:hover { color: var(--ns-white); }
.ns-tile-link::after { content: '→'; font-size: 14px; transition: transform .2s; display: inline-block; }
.ns-tile-link:hover::after { transform: translateX(4px); }

/* ─── CTA CARDS ─── */
.ns-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ns-cta-card {
  border-radius: 18px;
  padding: 46px 42px;
  position: relative;
  overflow: hidden;
  min-height: 288px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
  transition: transform .35s ease, box-shadow .35s;
  cursor: pointer;
}
.ns-cta-card:hover { transform: translateY(-6px); }
.ns-cta-card:hover .ns-cta-arrow { transform: translateX(4px); }
.ns-cta-arrow { transition: transform .2s; display: inline-block; }
.ns-cta-light  { background: var(--ns-white); border: 1px solid var(--ns-border); }
.ns-cta-blue   { background: linear-gradient(135deg, var(--ns-blue-deep), var(--ns-blue)); box-shadow: 0 10px 36px rgba(27,63,166,.28); }
.ns-cta-orange { background: linear-gradient(135deg, #ea580c, var(--ns-orange)); box-shadow: 0 10px 36px rgba(249,115,22,.28); }
.ns-cta-bgword {
  position: absolute;
  top: -10px; right: -16px;
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -.05em;
}
.ns-cta-light  .ns-cta-bgword { color: rgba(0,0,0,.04); }
.ns-cta-blue   .ns-cta-bgword,
.ns-cta-orange .ns-cta-bgword { color: rgba(255,255,255,.08); }
.ns-cta-cat  { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.ns-cta-light  .ns-cta-cat { color: var(--ns-blue); }
.ns-cta-blue   .ns-cta-cat,
.ns-cta-orange .ns-cta-cat { color: rgba(255,255,255,.65); }
.ns-cta-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 10px; }
.ns-cta-light  h3 { color: var(--ns-dark); }
.ns-cta-blue   h3,
.ns-cta-orange h3 { color: var(--ns-white); }
.ns-cta-card p { font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.ns-cta-light  p { color: var(--ns-mid); }
.ns-cta-blue   p,
.ns-cta-orange p { color: rgba(255,255,255,.62); }
.ns-cta-action { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.ns-cta-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.ns-cta-light  .ns-cta-action { color: var(--ns-blue); }
.ns-cta-light  .ns-cta-circle { background: var(--ns-blue-light); }
.ns-cta-blue   .ns-cta-action,
.ns-cta-orange .ns-cta-action { color: var(--ns-white); }
.ns-cta-blue   .ns-cta-circle,
.ns-cta-orange .ns-cta-circle { background: rgba(255,255,255,.15); }

/* ─── NEWSLETTER ─── */
.ns-newsletter {
  background: var(--ns-bg);
  padding: 76px 60px;
  text-align: center;
  border-top: 1px solid var(--ns-border);
}
.ns-newsletter-inner { max-width: 500px; margin: 0 auto; }
.ns-newsletter h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--ns-dark); margin-bottom: 12px; }
.ns-newsletter p  { font-size: 15px; color: var(--ns-mid); line-height: 1.65; margin-bottom: 28px; }
.ns-nl-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.ns-nl-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--ns-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ns-dark);
  background: var(--ns-white);
  outline: none;
  transition: border-color .2s;
}
.ns-nl-input::placeholder { color: var(--ns-light); }
.ns-nl-input:focus { border-color: var(--ns-blue); }
.ns-nl-btn {
  background: var(--ns-blue);
  color: var(--ns-white);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.ns-nl-btn:hover { background: var(--ns-blue-deep); transform: translateY(-1px); }

/* ─── SCROLL REVEAL ─── */
.ns-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .62s cubic-bezier(.25,.46,.45,.94), transform .62s cubic-bezier(.25,.46,.45,.94);
}
.ns-reveal.ns-in { opacity: 1; transform: translateY(0); }
.ns-d1 { transition-delay: .08s; }
.ns-d2 { transition-delay: .16s; }
.ns-d3 { transition-delay: .24s; }
.ns-d4 { transition-delay: .32s; }

/* ─── KEYFRAMES ─── */
@keyframes nsBlink  { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
@keyframes nsRiseUp { from { opacity: 0; transform: translateY(26px) } to { opacity: 1; transform: translateY(0) } }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .ns-nav { padding: 0 20px; }
  .ns-nav-links { display: none; }
  .ns-hero { grid-template-columns: 1fr; padding: 56px 20px 44px; min-height: auto; text-align: center; }
  .ns-hero-sub { margin-inline: auto; }
  .ns-hero-btns { justify-content: center; }
  .ns-hero-stats { justify-content: center; }
  .ns-hero-cards { display: none; }
  .ns-section { padding: 56px 20px; }
  .ns-featured { grid-template-columns: 1fr; }
  .ns-feat-visual { min-height: 200px; }
  .ns-blog-grid { grid-template-columns: 1fr; }
  .ns-cta-grid { grid-template-columns: 1fr; }
  .ns-hscroll-section { padding-left: 20px; }
  .ns-hscroll-header { padding-right: 20px; }
  .ns-htrack { padding-right: 20px; }
  .ns-newsletter { padding: 56px 20px; }
  .ns-divider { padding: 0 20px; }
  .ns-section-head { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 961px) and (max-width: 1200px) {
  .ns-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
