/* ============================================================
   NASAON — HOMEPAGE BLOCKS
   All classes namespaced .nsn-* so nothing collides with the
   existing theme. Enqueue after style.css.
   ============================================================ */

:root {
  --nsn-cyan:  #00D4FF;
  --nsn-line:  rgba(255,255,255,0.10);
  --nsn-dim:   rgba(255,255,255,0.62);
  --nsn-panel: rgba(255,255,255,0.028);
}

.nsn-alt { background: rgba(255,255,255,0.018); }

/* ---------- PROOF STRIP ---------- */
.nsn-proof {
  border-top: 1px solid var(--nsn-line);
  border-bottom: 1px solid var(--nsn-line);
  padding: 3rem 0;
}
.nsn-proof__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.nsn-proof__k {
  font-family: 'Clash Display', 'Instrument Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--nsn-cyan);
  margin-bottom: .5rem;
  line-height: 1.25;
}
.nsn-proof__v {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--nsn-dim);
}

/* ---------- LIFECYCLE ---------- */
.nsn-cycle {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: none;
}
.nsn-cycle__step {
  position: relative;
  padding: 0 1.75rem;
  border-left: 1px solid var(--nsn-line);
}
.nsn-cycle__step:first-child { padding-left: 0; border-left: 0; }
.nsn-cycle__n {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nsn-cyan);
  margin-bottom: .85rem;
}
.nsn-cycle__step h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 .6rem;
  line-height: 1.3;
}
.nsn-cycle__step p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--nsn-dim);
}

/* ---------- CARD GRID ---------- */
.nsn-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.nsn-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nsn-card {
  padding: 1.9rem 1.6rem;
  border: 1px solid var(--nsn-line);
  border-radius: 14px;
  background: var(--nsn-panel);
  transition: border-color .25s ease, transform .25s ease;
}
.nsn-card:hover { border-color: rgba(0,212,255,0.38); transform: translateY(-3px); }
.nsn-card h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 .7rem;
  line-height: 1.35;
}
.nsn-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.68;
  color: var(--nsn-dim);
}

/* ---------- WORK ---------- */
.nsn-work {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.nsn-work__item {
  display: block;
  padding: 2.2rem 2rem;
  border: 1px solid var(--nsn-line);
  border-radius: 16px;
  background: var(--nsn-panel);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s ease, transform .25s ease;
}
.nsn-work__item:hover { border-color: rgba(0,212,255,0.38); transform: translateY(-3px); }
.nsn-work__tag {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nsn-cyan);
  margin-bottom: 1rem;
}
.nsn-work__item h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 .8rem;
  line-height: 1.3;
}
.nsn-work__item p {
  margin: 0 0 1.2rem;
  font-size: .94rem;
  line-height: 1.7;
  color: var(--nsn-dim);
}
.nsn-work__go { font-size: .88rem; font-weight: 600; color: var(--nsn-cyan); }

/* ---------- STEPS ---------- */
.nsn-steps {
  list-style: none;
  counter-reset: nsnstep;
  margin: 3.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 3rem;
}
.nsn-steps li {
  counter-increment: nsnstep;
  padding-left: 3.25rem;
  position: relative;
}
.nsn-steps li::before {
  content: counter(nsnstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1rem;
  font-family: 'Clash Display', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(0,212,255,0.32);
}
.nsn-steps h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 .5rem;
}
.nsn-steps p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.68;
  color: var(--nsn-dim);
}

/* ---------- CTA ROW / FINAL ---------- */
.nsn-cta-row {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.nsn-final { text-align: center; max-width: 720px; }
.nsn-final .nsn-cta-row { justify-content: center; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .nsn-proof__inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .nsn-cycle       { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 0; }
  .nsn-cycle__step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .nsn-grid, .nsn-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .nsn-work        { grid-template-columns: 1fr; }
  .nsn-steps       { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nsn-proof__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .nsn-cycle        { grid-template-columns: 1fr; }
  .nsn-cycle__step  { padding-left: 0; border-left: 0; }
  .nsn-grid, .nsn-grid--3 { grid-template-columns: 1fr; }
  .nsn-cta-row a    { width: 100%; justify-content: center; text-align: center; }
}

/* ============================================================
   MARQUEE — restored. The old page-home.php carried this inline
   in its own <head>; get_header() dropped it. Defined here so it
   loads last and wins regardless of what style.css contains.
   ============================================================ */
.marquee-wrap {
  overflow: hidden;
  padding: 1.6rem 0;
  border-top: 1px solid var(--nsn-line);
  border-bottom: 1px solid var(--nsn-line);
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 2.5rem;
  animation: nsnMarquee 38s linear infinite;
  will-change: transform;
}
.marquee-track.reverse { animation-name: nsnMarqueeRev; animation-duration: 44s; }
@keyframes nsnMarquee    { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes nsnMarqueeRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Clash Display', 'Instrument Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(255,255,255,0.72);
  transition: color .22s ease;
}
.marquee-item:hover { color: #fff; }
.marquee-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--nsn-cyan);
  flex: 0 0 auto;
  box-shadow: 0 0 10px rgba(0,212,255,0.65);
}
@media (max-width: 640px) { .marquee-item { font-size: .92rem; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-wrap { overflow-x: auto; }
}

/* ---------- LOCKUP — cyan edge glow ---------- */
.nsn-lockup {
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0,212,255,.30),
    0 0 22px rgba(0,212,255,.28),
    0 0 60px rgba(0,212,255,.16),
    0 24px 60px rgba(0,0,0,.45);
  transition: box-shadow .45s ease, transform .45s ease;
}
.nsn-lockup:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(0,212,255,.55),
    0 0 30px rgba(0,212,255,.45),
    0 0 90px rgba(0,212,255,.24),
    0 28px 70px rgba(0,0,0,.5);
}
@media (prefers-reduced-motion: reduce) { .nsn-lockup:hover { transform: none; } }

/* ---------- BREATHING ROOM ---------- */
.nsn-grid        { gap: 2rem; margin-top: 4rem; }
.nsn-card        { padding: 2.6rem 2.2rem; border-radius: 18px; }
.nsn-card h3     { margin-bottom: 1rem; line-height: 1.4; }
.nsn-card p      { line-height: 1.8; }
.nsn-work        { gap: 2rem; margin-top: 4rem; }
.nsn-work__item  { padding: 2.8rem 2.5rem; }
.nsn-cycle       { margin-top: 4rem; }
.nsn-cycle__step { padding: 0 2.25rem; }
.nsn-steps       { gap: 2.75rem 4rem; margin-top: 4rem; }
.nsn-proof__inner{ gap: 3rem; }
.section         { padding-top: 6.5rem; padding-bottom: 6.5rem; }
@media (max-width: 1000px) {
  .nsn-grid { gap: 1.5rem; }
  .nsn-card { padding: 2.1rem 1.8rem; }
  .section  { padding-top: 4.5rem; padding-bottom: 4.5rem; }
}

/* ---------- RESULT APPROVAL CHAIN ---------- */
.nsn-flow {
  margin-top: 4rem;
  padding: 3rem 2.75rem;
  border: 1px solid rgba(0,212,255,.18);
  border-radius: 20px;
  background: rgba(0,212,255,.028);
}
.nsn-flow__head h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 .9rem;
}
.nsn-flow__head p {
  margin: 0 0 2.75rem;
  max-width: 62ch;
  font-size: .96rem;
  line-height: 1.8;
  color: var(--nsn-dim);
}
.nsn-flow__chain {
  list-style: none;
  counter-reset: nsnflow;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
}
.nsn-flow__chain li {
  counter-increment: nsnflow;
  position: relative;
  padding: 1.5rem 1.4rem 1.5rem 1.4rem;
  border-radius: 14px;
  border: 1px solid var(--nsn-line);
  background: rgba(255,255,255,.022);
}
.nsn-flow__chain li::before {
  content: counter(nsnflow);
  position: absolute;
  top: -11px; left: 1.4rem;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--nsn-cyan);
  color: #04222c;
  font-size: .72rem;
  font-weight: 700;
}
.nsn-flow__who {
  display: block;
  font-family: 'Clash Display', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: .45rem 0 .55rem;
  color: #fff;
}
.nsn-flow__chain p {
  margin: 0;
  font-size: .89rem;
  line-height: 1.75;
  color: var(--nsn-dim);
}
.nsn-flow__end { border-color: rgba(0,212,255,.34); }
.nsn-flow__note {
  margin: 2.25rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--nsn-line);
  font-size: .89rem;
  line-height: 1.8;
  color: var(--nsn-dim);
  max-width: 70ch;
}
@media (max-width: 1000px) {
  .nsn-flow        { padding: 2.25rem 1.6rem; }
  .nsn-flow__chain { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nsn-flow__chain { grid-template-columns: 1fr; }
}

/* ---------- RESULT FLOW — IMAGE ---------- */
.nsn-flow__chart {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 0 1px rgba(0,212,255,.28), 0 0 26px rgba(0,212,255,.20), 0 20px 50px rgba(0,0,0,.45);
}
.nsn-flow__chart img { display: block; width: 100%; height: auto; }

/* ---------- RESULT FLOW — desktop chart, mobile list ---------- */
@media (min-width: 1001px) {
  .nsn-flow__chart { display: block; }
  .nsn-flow__chain { display: none; }
  .nsn-flow__note  { margin-top: 1.75rem; }
}
@media (max-width: 1000px) {
  .nsn-flow__chart { display: none; }
}

/* ---------- CYAN CTA BAND ---------- */
.nsn-band {
  background: linear-gradient(100deg, #00D4FF 0%, #00A8CC 100%);
  padding: 3.25rem 24px;
}
.nsn-band__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.nsn-band__text {
  margin: 0;
  flex: 1 1 460px;
  font-family: 'Clash Display', 'Instrument Sans', sans-serif;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  color: #04222c;
}
.nsn-band__btn {
  flex: 0 0 auto;
  display: inline-block;
  padding: 15px 30px;
  border-radius: 4px;
  background: #04222c;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .22s ease, background-color .22s ease;
}
.nsn-band__btn:hover { background: #000; transform: translateY(-2px); }
@media (max-width: 640px) {
  .nsn-band { padding: 2.5rem 20px; }
  .nsn-band__inner { flex-direction: column; align-items: flex-start; gap: 1.75rem; }
  .nsn-band__btn { width: 100%; text-align: center; }
}

/* ---------- STAGGERED GRIDS ---------- */
.nsn-grid { gap: 3rem 2.5rem; margin-top: 4.5rem; margin-bottom: 3.5rem; }
@media (min-width: 1001px) {
  .nsn-grid > :nth-child(3n+2) { transform: translateY(3.5rem); }
  .nsn-grid                    { margin-bottom: 6rem; }
  .nsn-grid--3 > :nth-child(3n+2) { transform: translateY(3.5rem); }
  .nsn-work { gap: 2.5rem; }
  .nsn-work__item:nth-child(2) { transform: translateY(3rem); }
  .nsn-work { margin-bottom: 4rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .nsn-card, .nsn-work__item { transition: transform .3s ease, border-color .25s ease; }
}
@media (min-width: 1001px) {
  .nsn-grid > :nth-child(3n+2):hover { transform: translateY(3.5rem) translateY(-3px); }
  .nsn-work__item:nth-child(2):hover { transform: translateY(3rem) translateY(-3px); }
}
