/* ================================================================
   NodeMaven mirror overrides
   Matches: nodemaven.com residential proxies page aesthetic
   — Gradient accent text, colored card borders, clean sections
   ================================================================ */

/* ── Header language dropdown (mirror pages skip theme JS; mega panels use z-index: 100) ── */
@media screen and (min-width: 681px) {
  .header .header-languages {
    position: relative;
    z-index: 220;
  }

  .header .header-languages__dropdown {
    left: auto;
    right: 0;
    z-index: 221;
  }
}

/* ── Hero constraints (page-scoped) ── */
body.postid-35670 .section-ratings--center { margin-bottom: 14px; }

body.postid-35670 .section-hero-secondary .section-header--center .section-header__title,
body.postid-35670 .section-hero-secondary .section-header--center .section-header__description {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.postid-35670 .section-hero-secondary .section-header--center .section-header__description {
  max-width: min(38rem, calc(100vw - 2rem));
}
body.postid-35670 .section-hero-secondary .section-header--center .section-header__description p {
  margin: 0;
}
@media (min-width: 681px) {
  body.postid-35670 .section-hero-secondary .section-header--center .section-header__description {
    max-width: 42rem;
  }
}

/* ── Swiper fallback grid ── */
.section-feature-panel__slider .swiper-wrapper {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 12px;
  transform: none !important;
}
@media (min-width: 1081px) {
  .section-feature-panel__slider .swiper-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
.section-feature-panel__slider .swiper-slide {
  width: auto !important;
  margin: 0 !important;
}

/* ── Checker placement + stacking (above hero foil / row backgrounds) ── */
body.postid-35670 .section-hero-secondary .section-hero-panel__foil {
  z-index: 0;
}

body.postid-35670 .section-hero-secondary #pl-w2f7fec22 {
  position: relative;
  z-index: 1;
}

body.postid-35670 #proxy-checker.pc-wrap {
  margin-top: clamp(20px, 5vw, 44px);
  position: relative;
  z-index: 50;
  isolation: isolate;
}

body.postid-35670 #proxy-checker .pc-card {
  position: relative;
  z-index: 0;
}

body.postid-35670 #proxy-checker {
  font-family: var(--body-font, "Involve", Arial, sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gray-900, #121212);
}

/* Sections after checker stay above stretched hero layers */
body.postid-35670 .nm-section {
  position: relative;
  z-index: 40;
}

/* ================================================================
   Gradient accent text — matches NodeMaven teal/green headings
   ================================================================ */
.nm-gradient-text {
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   Section system
   ================================================================ */
.nm-section {
  position: relative;
  padding: 64px 16px;
  box-sizing: border-box;
  overflow: hidden;
}
@media (min-width: 681px)  { .nm-section { padding: 80px 24px; } }
@media (min-width: 1081px) { .nm-section { padding: 100px 32px; } }

.nm-section--mist {
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 45%, #eff6ff 100%);
  border-radius: clamp(36px, 5vw, 56px);
}

.nm-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

/* Eyebrow with glow dot */
.nm-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #14b8a6;
  margin-bottom: 14px;
}
.nm-eyebrow--glow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 0 10px #14b8a6, 0 0 24px rgba(20, 184, 166, 0.5);
  animation: nm-pulse-dot 2.2s ease-in-out infinite;
}
@keyframes nm-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.nm-section__title {
  font-family: var(--body-font-alt, "Archivo", "Arial Black", sans-serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 16px;
}
.nm-section__subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: #64748b;
  margin: 0 0 44px;
  max-width: 40rem;
}

/* ================================================================
   Step cards — glass, glow, shine sweep, animated number badges
   ================================================================ */
.nm-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .nm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.nm-step {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(248, 250, 255, 0.62) 100%
  );
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 12px rgba(15, 23, 42, 0.04),
    0 12px 40px -12px rgba(99, 102, 241, 0.1);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}
.nm-step:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 40px rgba(15, 23, 42, 0.1),
    0 20px 60px -16px rgba(99, 102, 241, 0.2);
}
.nm-step--blue:hover  { border-color: #93c5fd; }
.nm-step--teal:hover  { border-color: #5eead4; }
.nm-step--purple:hover { border-color: #c4b5fd; }

/* Colored glow (bottom of card) */
.nm-step__glow {
  position: absolute;
  bottom: -50%;
  left: 10%;
  right: 10%;
  height: 100%;
  border-radius: 50%;
  opacity: 0;
  filter: blur(40px);
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.nm-step--blue .nm-step__glow  { background: radial-gradient(ellipse, rgba(59,130,246,0.35), transparent 70%); }
.nm-step--teal .nm-step__glow  { background: radial-gradient(ellipse, rgba(20,184,166,0.35), transparent 70%); }
.nm-step--purple .nm-step__glow { background: radial-gradient(ellipse, rgba(139,92,246,0.35), transparent 70%); }
.nm-step:hover .nm-step__glow { opacity: 1; }

/* Shine sweep */
.nm-step__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.6) 50%, transparent 70%);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}
.nm-step:hover .nm-step__shine {
  opacity: 1;
  animation: nm-shine-sweep 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes nm-shine-sweep {
  to { transform: translateX(100%); }
}

/* Animated number badge */
.nm-step__number {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 20px;
}
.nm-step--blue .nm-step__number  { background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); }
.nm-step--teal .nm-step__number  { background: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%); }
.nm-step--purple .nm-step__number { background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); }
.nm-step__number > span {
  position: relative;
  z-index: 1;
  font-family: var(--body-font-alt, "Archivo", "Arial Black", sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.nm-step__number::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.nm-step--blue .nm-step__number::after  { background: rgba(59,130,246,0.25); }
.nm-step--teal .nm-step__number::after  { background: rgba(20,184,166,0.25); }
.nm-step--purple .nm-step__number::after { background: rgba(139,92,246,0.25); }
.nm-step:hover .nm-step__number::after {
  opacity: 1;
  transform: scale(1.25);
  animation: nm-badge-ring 1.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes nm-badge-ring {
  0%, 100% { transform: scale(1.15); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 0; }
}

.nm-step__title {
  font-family: var(--body-font-alt, "Archivo", "Arial Black", sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.nm-step__desc {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

/* ================================================================
   Feature cards — glass on dark bg, shimmer, hover glow
   ================================================================ */
.nm-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .nm-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

.nm-feature {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(248, 250, 255, 0.68) 100%
  );
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 2px 12px rgba(15, 23, 42, 0.04),
    0 12px 40px -12px var(--feat-glow, rgba(99, 102, 241, 0.1));
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
}
.nm-feature:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 40px rgba(15, 23, 42, 0.08),
    0 20px 60px -16px var(--feat-glow, rgba(99, 102, 241, 0.18));
}
.nm-feature--blue:hover  { border-color: #93c5fd; }
.nm-feature--teal:hover  { border-color: #5eead4; }
.nm-feature--purple:hover { border-color: #c4b5fd; }
.nm-feature--green:hover { border-color: #86efac; }
.nm-feature--blue  { --feat-glow: rgba(59,130,246,0.18); }
.nm-feature--teal  { --feat-glow: rgba(20,184,166,0.18); }
.nm-feature--purple { --feat-glow: rgba(139,92,246,0.18); }
.nm-feature--green { --feat-glow: rgba(34,197,94,0.18); }

/* Shimmer sweep on hover */
.nm-feature__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}
.nm-feature:hover .nm-feature__shimmer {
  opacity: 1;
  animation: nm-shine-sweep 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.nm-feature__icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  color: #fff;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.nm-feature:hover .nm-feature__icon {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 8px 24px -6px var(--feat-glow, rgba(59,130,246,0.4));
}
.nm-feature--blue .nm-feature__icon   { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.nm-feature--teal .nm-feature__icon   { background: linear-gradient(135deg, #14b8a6, #2dd4bf); }
.nm-feature--purple .nm-feature__icon { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.nm-feature--green .nm-feature__icon  { background: linear-gradient(135deg, #22c55e, #4ade80); }

.nm-feature__title {
  font-family: var(--body-font-alt, "Archivo", "Arial Black", sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.nm-feature__desc {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

/* ================================================================
   Floating orbs (dark section bg)
   ================================================================ */
.nm-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.nm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.nm-orb--1 {
  width: 440px; height: 440px;
  top: -15%; left: -8%;
  background: radial-gradient(circle, rgba(191,219,254,0.6), transparent 70%);
  animation: nm-orb-float 14s ease-in-out infinite alternate;
}
.nm-orb--2 {
  width: 360px; height: 360px;
  top: 40%; right: -10%;
  background: radial-gradient(circle, rgba(196,181,253,0.5), transparent 70%);
  animation: nm-orb-float 18s ease-in-out 2s infinite alternate-reverse;
}
.nm-orb--3 {
  width: 300px; height: 300px;
  bottom: -10%; left: 30%;
  background: radial-gradient(circle, rgba(153,246,228,0.5), transparent 70%);
  animation: nm-orb-float 12s ease-in-out 4s infinite alternate;
}
@keyframes nm-orb-float {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.08); }
  66%  { transform: translate(-15px, 25px) scale(0.95); }
  100% { transform: translate(20px, -10px) scale(1.04); }
}

/* ================================================================
   CTA block — particles, gradient, glow button
   ================================================================ */
.nm-cta {
  position: relative;
  text-align: center;
  padding: 72px 32px;
  border-radius: var(--body-border-radius, 28px);
  background:
    radial-gradient(ellipse 60% 50% at 20% 110%, rgba(191,219,254,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 80% -20%, rgba(196,181,253,0.3) 0%, transparent 55%),
    linear-gradient(165deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(248, 250, 255, 0.72) 50%,
      rgba(239, 246, 255, 0.78) 100%
    );
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  color: #0f172a;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 2px 16px rgba(15, 23, 42, 0.05),
    0 16px 48px -12px rgba(99, 102, 241, 0.12);
}

.nm-cta__content {
  position: relative;
  z-index: 1;
}

/* Floating particles */
.nm-cta__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.nm-cta__particles > span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(139,92,246,0.15));
  animation: nm-float-particle linear infinite;
}
.nm-cta__particles > span:nth-child(1) { width: 6px; height: 6px; left: 10%; animation-duration: 12s; animation-delay: 0s; }
.nm-cta__particles > span:nth-child(2) { width: 4px; height: 4px; left: 25%; animation-duration: 16s; animation-delay: 2s; }
.nm-cta__particles > span:nth-child(3) { width: 8px; height: 8px; left: 45%; animation-duration: 10s; animation-delay: 4s; }
.nm-cta__particles > span:nth-child(4) { width: 5px; height: 5px; left: 65%; animation-duration: 14s; animation-delay: 1s; }
.nm-cta__particles > span:nth-child(5) { width: 3px; height: 3px; left: 80%; animation-duration: 18s; animation-delay: 3s; }
.nm-cta__particles > span:nth-child(6) { width: 7px; height: 7px; left: 92%; animation-duration: 11s; animation-delay: 5s; }
@keyframes nm-float-particle {
  0%   { bottom: -10%; opacity: 0; transform: translateX(0); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.5; }
  100% { bottom: 110%; opacity: 0; transform: translateX(40px); }
}

.nm-cta__title {
  font-family: var(--body-font-alt, "Archivo", "Arial Black", sans-serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 14px;
}
.nm-cta__title-em {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #14b8a6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nm-gradient-shift 4s ease-in-out infinite;
}
@keyframes nm-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nm-cta__desc {
  font-size: 16px;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 32px;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.nm-cta__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 40px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
}
.nm-cta__btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 12px 36px rgba(15, 23, 42, 0.2),
    0 0 40px rgba(59, 130, 246, 0.15);
}
.nm-cta__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,0.15) 50%, transparent 75%);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}
.nm-cta__btn:hover::before {
  opacity: 1;
  animation: nm-shine-sweep 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nm-cta__btn svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nm-cta__btn:hover svg {
  transform: translateX(4px);
}

/* ================================================================
   Scroll-triggered reveal + stagger
   ================================================================ */
.nm-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.nm-reveal.nm-visible {
  opacity: 1;
  transform: translateY(0);
}

.nm-visible .nm-step,
.nm-visible .nm-feature {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  animation: nm-card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.nm-visible .nm-step:nth-child(1),
.nm-visible .nm-feature:nth-child(1) { animation-delay: 0.08s; }
.nm-visible .nm-step:nth-child(2),
.nm-visible .nm-feature:nth-child(2) { animation-delay: 0.18s; }
.nm-visible .nm-step:nth-child(3),
.nm-visible .nm-feature:nth-child(3) { animation-delay: 0.28s; }
.nm-visible .nm-feature:nth-child(4) { animation-delay: 0.38s; }

@keyframes nm-card-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* CTA entrance */
.nm-visible .nm-cta {
  animation: nm-cta-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
@keyframes nm-cta-in {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero + checker entrance (always visible, no IntersectionObserver needed) */
@keyframes nm-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.postid-35670 .section-ratings--center {
  animation: nm-fade-up 0.5s ease both;
}
body.postid-35670 .section-header__title {
  animation: nm-fade-up 0.55s ease 0.06s both;
}
body.postid-35670 .section-header__description {
  animation: nm-fade-up 0.6s ease 0.12s both;
}
body.postid-35670 #proxy-checker .pc-card {
  animation: nm-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .nm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nm-visible .nm-step,
  .nm-visible .nm-feature,
  .nm-visible .nm-cta {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .nm-orb,
  .nm-cta__particles > span,
  .nm-step__shine,
  .nm-feature__shimmer,
  .nm-cta__btn::before,
  .nm-eyebrow--glow::before {
    animation: none !important;
  }
  .nm-step,
  .nm-feature,
  .nm-cta__btn {
    transition: none !important;
  }
  .nm-cta__title-em {
    animation: none !important;
    background-size: 100% 100%;
  }
  body.postid-35670 .section-ratings--center,
  body.postid-35670 .section-header__title,
  body.postid-35670 .section-header__description,
  body.postid-35670 #proxy-checker .pc-card {
    animation: none !important;
  }
}
