/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --blue-sky:    #0EA5E9;
  --blue-light:  #EFF6FF;
  --blue-border: #BFDBFE;
  --blue-200:    #BFDBFE;
  --blue-800:    #1E3A8A;
  --green:       #16A34A;
  --green-light: #DCFCE7;
  --green-mid:   #22C55E;
  --text-dark:   #0F172A;
  --text-mid:    #475569;
  --text-muted:  #94A3B8;
  --bg-white:    #FFFFFF;
  --bg-alt:      #F8FAFC;
  --border:      #E2E8F0;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-calc: 0 20px 60px rgba(0,0,0,0.22);
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
}

/* ============================================================
   NORMALIZE / RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-weight: 500;
  font-size: 16px;
  background-color: var(--bg-white);
  color: var(--text-dark);
  -webkit-text-size-adjust: none;
}

ul, ol { list-style: none; }

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select { font: inherit; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.n-container {
  width: 100%;
  max-width: 1140px;
  padding: 0 16px;
  margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.n-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.25s ease, transform 0.15s ease;
  white-space: nowrap;
}

.n-btn--primary {
  background-color: var(--blue);
  color: #fff;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.2), 0 4px 12px rgba(37,99,235,0.35);
}

.n-btn--full { width: 100%; }

.n-btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.n-section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 32px;
}

.n-accent { color: var(--blue); }

/* ============================================================
   HEADER
   ============================================================ */
.n-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.n-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 12px;
}

.n-header__logo {
  height: 28px;
  width: auto;
}

.n-header__trust {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
}

.n-header__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.n-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-sky) 100%);
  padding: 40px 0 0;
  overflow: hidden;
}

.n-hero__wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.n-hero__content {
  color: #fff;
}

.n-hero__badge {
  margin-bottom: 16px;
}

.n-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.n-badge--green {
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #4ADE80;
}

.n-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  animation: n-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes n-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.n-hero__heading {
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #fff;
}

.n-hero__heading-accent {
  color: #BAE6FD;
}

.n-hero__subheading {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 20px;
}

.n-hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.n-hero__bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.n-bullet-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(22,163,74,0.25);
  border: 1px solid rgba(74,222,128,0.5);
  color: #4ADE80;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   STICKY CTA (mobile only)
   ============================================================ */
.n-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: #fff;
  padding: 10px 16px 14px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.14);
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.n-trust {
  background: var(--blue-light);
  border-bottom: 1px solid var(--blue-border);
  padding: 0;
  overflow: hidden;
}

.n-trust__strip {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.n-trust__strip::-webkit-scrollbar { display: none; }

.n-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 14px 20px;
  border-right: 1px solid var(--blue-border);
  min-width: 160px;
}

.n-trust__item:last-child { border-right: none; }

.n-trust__icon {
  width: 28px;
  height: 28px;
  color: var(--blue);
  flex-shrink: 0;
}

.n-trust__text { font-size: 12px; color: var(--text-mid); line-height: 1.4; }
.n-trust__text strong { display: block; font-size: 13px; color: var(--text-dark); font-weight: 700; }

/* ============================================================
   STEPS — HOW IT WORKS
   ============================================================ */
.n-steps {
  padding: 56px 0;
  background: var(--bg-white);
}

.n-steps__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
}

.n-step {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.n-step__number {
  font-size: 64px;
  font-weight: 800;
  color: var(--blue-200);
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 16px;
  user-select: none;
}

.n-step__icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.n-step__icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.n-step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.n-step__text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.n-step__time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  position: relative;
  z-index: 1;
}

.n-step__time svg {
  width: 14px;
  height: 14px;
}

.n-section-cta {
  text-align: center;
  margin-top: 32px;
}

.n-section-cta .n-btn {
  min-width: 240px;
}

/* ============================================================
   BENEFITS GRID
   ============================================================ */
.n-benefits {
  padding: 56px 0;
  background: var(--blue-light);
}

.n-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.n-benefit-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.n-benefit-card__icon {
  width: 60px;
  height: 60px;
  background: var(--blue-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.n-benefit-card__icon svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
}

.n-benefit-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.n-benefit-card__text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.n-reviews {
  padding: 56px 0;
  background: var(--bg-white);
  overflow: hidden;
}

.n-reviews__header {
  text-align: center;
  margin-bottom: 32px;
}

.n-reviews__rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.n-reviews__rating-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.n-reviews__rating-meta {
  text-align: left;
}

.n-reviews__rating-label {
  font-size: 13px;
  color: var(--text-mid);
}

.n-reviews__stars img {
  height: 20px;
  width: auto;
}

.n-review-scroll-wrap {
  overflow: hidden;
}

.n-review-scroll {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.n-review-card {
  width: 280px;
  flex-shrink: 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.n-review-card__stars img {
  height: 16px;
  width: auto;
}

.n-review-card__text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.n-review-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.n-review-person__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.n-review-person__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.n-review-person__amount {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.n-faq {
  padding: 56px 0;
  background: var(--bg-alt);
}

.n-faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.n-faq__item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.n-faq__item--open {
  border-color: var(--blue-border);
}

.n-faq__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  text-align: left;
  background: transparent;
}

.n-faq__question {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  flex: 1;
}

.n-faq__badge {
  display: inline-block;
  font-size: 10px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  margin-left: 8px;
  vertical-align: middle;
  white-space: nowrap;
}

.n-faq__icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.n-faq__item--open .n-faq__icon-btn {
  background: var(--blue-light);
}

.n-faq__icon {
  width: 18px;
  height: 18px;
  color: var(--text-mid);
  transition: transform 0.3s ease, color 0.25s ease;
}

.n-faq__item--open .n-faq__icon {
  transform: rotate(45deg);
  color: var(--blue);
}

.n-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.n-faq__item--open .n-faq__answer {
  max-height: 400px;
}

.n-faq__answer p {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================================
   SEO LINKS NAV
   ============================================================ */
.n-seo-links {
  padding: 40px 0;
  background: #F1F5F9;
  border-top: 1px solid var(--border);
}

.n-seo-links__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.n-seo-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px 24px;
}

.n-seo-links__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.n-seo-links__link {
  display: block;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.4;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .n-seo-links__link:hover { color: var(--blue); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.n-footer-cta {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-sky) 100%);
  padding: 48px 0;
  text-align: center;
}

.n-footer-cta__text {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.n-footer-cta .n-btn--primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  min-width: 240px;
}

.n-footer {
  background: #0F172A;
  padding: 36px 0 28px;
}

.n-footer__logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 20px;
}

.n-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.n-footer__links a {
  font-size: 13px;
  color: #CBD5E1;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(203,213,225,0.4);
}

.n-footer__copyright {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 16px;
  line-height: 1.6;
}

.n-footer__legal {
  font-size: 11px;
  color: #475569;
  line-height: 1.7;
  max-width: 800px;
}

/* ============================================================
   CALCULATOR MINI TRUST
   ============================================================ */
.n-calc-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.n-calc-trust span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   REVIEWS POST-SCROLL CTA
   ============================================================ */
.n-reviews__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 16px;
}

.n-reviews__cta .n-btn {
  min-width: 240px;
}

.n-reviews__cta-sub {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   RESPONSIVE — 576px
   ============================================================ */
@media (min-width: 576px) {
  .n-review-card { width: 300px; }
}

/* ============================================================
   RESPONSIVE — 640px
   ============================================================ */
@media (min-width: 640px) {
  .n-header__trust { display: flex; }
  .n-header__inner { height: 64px; }

  .n-benefits__grid { gap: 16px; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (min-width: 768px) {
  .n-benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .n-benefit-card { padding: 28px 20px; }

  .n-steps__wrapper { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .n-header__inner { height: 68px; }

  .n-hero { padding: 72px 0 0; }

  .n-hero__wrapper {
    flex-direction: row;
    align-items: flex-end;
    gap: 60px;
  }

  .n-hero__content {
    flex: 1;
    padding-bottom: 56px;
  }

  .n-hero__bullets { display: flex; }

  .n-hero__calculator-wrap {
    flex: 0 0 400px;
    padding-bottom: 0;
  }

  .n-benefits__grid { grid-template-columns: repeat(4, 1fr); }

  .n-steps__wrapper::before {
    content: '';
    position: absolute;
    top: 50px;
    left: calc(33.33% + 12px);
    right: calc(33.33% + 12px);
    height: 0;
    border-top: 2px dashed var(--blue-border);
    pointer-events: none;
  }

  .n-trust__item { flex: 1; }
}

/* ============================================================
   RESPONSIVE — 1280px
   ============================================================ */
@media (min-width: 1280px) {
  .n-hero__calculator-wrap { flex: 0 0 440px; }
  .n-review-card { width: 320px; }
}

/* ============================================================
   HOVER EFFECTS
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .n-btn--primary:hover {
    background-color: var(--blue-dark);
    transform: translateY(-1px);
  }

  .n-header__cta:hover { background-color: var(--blue-dark); }

  .n-footer-cta .n-btn--primary:hover {
    background: var(--blue-light);
    color: var(--blue-dark);
  }

  .n-footer__links a:hover { color: #fff; }

  .n-faq__toggle:hover .n-faq__question { color: var(--blue); }
}
