/* =============================================================================
   WHITEPAPER PAGE — Premium Dark Glass (Neodustria)
   Namespace: wpn-*
   Replaces legacy wp-* white-theme styles
   ============================================================================= */

/* =============================================================================
   1. ROOT TOKENS
   ============================================================================= */

:root {
  --wp-bg:          #02050A;
  --wp-blue:        #168BFF;
  --wp-blue-mid:    #0e6dcc;
  --wp-muted:       rgba(169, 184, 200, 0.88);
  --wp-card-bg:     rgba(4, 10, 24, 0.95);
  --wp-border:      rgba(22, 139, 255, 0.18);
  --wp-blue-glow:   rgba(22, 139, 255, 0.22);
}


/* =============================================================================
   2. HERO — split layout
   ============================================================================= */

.wpn-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--wp-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(22, 139, 255, 0.11) 0%, transparent 70%),
    linear-gradient(rgba(22, 139, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 139, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  position: relative;
  overflow: hidden;
}

.wpn-hero-inner {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 40px;
  padding: 180px 0 80px;
  align-items: center;
  width: 100%;
}

.wpn-hero-copy {
  display: flex;
  flex-direction: column;
}

.wpn-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--wp-blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(22, 139, 255, 0.45);
}

.wpn-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--wp-blue), rgba(22, 139, 255, 0.4));
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(22, 139, 255, 0.6);
}

.wpn-hero-h1 {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.wpn-hero-accent {
  color: var(--wp-blue);
}

.wpn-hero-sub {
  font-size: 16px;
  line-height: 1.72;
  color: var(--wp-muted);
  max-width: 440px;
  margin: 0 0 28px;
}

.wpn-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.wpn-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(22, 139, 255, 0.32);
  background: rgba(22, 139, 255, 0.08);
  color: rgba(169, 184, 200, 0.90);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 100px;
  line-height: 1;
  box-shadow: inset 0 0 0 0 transparent, 0 0 10px rgba(22, 139, 255, 0.06);
  transition: border-color 0.25s, color 0.25s;
}
.wpn-chip:hover {
  border-color: rgba(22, 139, 255, 0.55);
  color: #ffffff;
}

.wpn-chip svg {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  flex-shrink: 0;
}

/* Hero visual */

.wpn-hero-visual {
  position: relative;
  height: 100%;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.wpn-hero-halo {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 139, 255, 0.28) 0%, rgba(22, 139, 255, 0.06) 50%, transparent 70%);
  filter: blur(72px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.wpn-hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 30%;
  display: block;
  filter: drop-shadow(0 0 48px rgba(22, 139, 255, 0.30));
  animation: wpn-float 6s ease-in-out infinite;
  -webkit-mask-image:
    radial-gradient(ellipse 88% 80% at 62% 45%, black 18%, rgba(0,0,0,0.88) 42%, rgba(0,0,0,0.45) 68%, transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 14%, black 38%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 88% 80% at 62% 45%, black 18%, rgba(0,0,0,0.88) 42%, rgba(0,0,0,0.45) 68%, transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 14%, black 38%);
  mask-composite: intersect;
}

/* Atmospheric depth overlay on hero visual */
.wpn-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--wp-bg) 0%, rgba(2,5,10,0.35) 15%, transparent 45%),
    radial-gradient(ellipse at 75% 30%, rgba(22,139,255,0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 2;
}

@keyframes wpn-float {
  0%,  100% { transform: translateY(0); }
  50%        { transform: translateY(-18px); }
}


/* =============================================================================
   3. STATS / METRICS DASHBOARD
   ============================================================================= */

.wpn-stats {
  position: relative;
  padding: 72px 0 80px;
  background: var(--wp-bg);
  overflow: hidden;
}

/* Background scan grid */
.wpn-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 139, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 139, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Ambient glow behind the grid */
.wpn-stats::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(22, 139, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Section eyebrow label */
.wpn-stats-eyebrow {
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(22, 139, 255, 0.60);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.wpn-stats-eyebrow::before,
.wpn-stats-eyebrow::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 139, 255, 0.35));
}
.wpn-stats-eyebrow::after {
  background: linear-gradient(90deg, rgba(22, 139, 255, 0.35), transparent);
}

.wpn-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.wpn-stat {
  position: relative;
  background: rgba(4, 10, 24, 0.90);
  border: 1px solid rgba(22, 139, 255, 0.16);
  border-radius: 14px;
  padding: 32px 28px 28px;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.wpn-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 139, 255, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.wpn-stat:hover {
  border-color: rgba(22, 139, 255, 0.40);
  box-shadow: 0 0 32px rgba(22, 139, 255, 0.10), inset 0 1px 0 rgba(22, 139, 255, 0.12);
}

/* HUD corner brackets */
.wpn-stat::after {
  content: '';
  position: absolute;
  top: 8px; right: 8px;
  width: 14px; height: 14px;
  border-top: 1.5px solid rgba(22, 139, 255, 0.40);
  border-right: 1.5px solid rgba(22, 139, 255, 0.40);
  pointer-events: none;
}

/* Icon terminal */
.wpn-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(22, 139, 255, 0.10);
  border: 1px solid rgba(22, 139, 255, 0.30);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 16px rgba(22, 139, 255, 0.15);
}

.wpn-stat-icon i {
  color: var(--wp-blue);
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(22, 139, 255, 0.55));
}

.wpn-stat-number {
  font-size: clamp(36px, 3.5vw, 54px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.wpn-stat-label {
  font-size: 12px;
  color: var(--wp-muted);
  line-height: 1.45;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

/* Data bar at bottom of each stat card */
.wpn-stat-bar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 28px;
  padding-top: 12px;
  border-top: 1px solid rgba(22, 139, 255, 0.10);
}

.wpn-stat-bar-seg {
  flex: 1;
  background: rgba(22, 139, 255, 0.18);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.wpn-stat-bar-seg.active {
  background: rgba(22, 139, 255, 0.65);
  box-shadow: 0 0 8px rgba(22, 139, 255, 0.40);
}

.wpn-stat:hover .wpn-stat-bar-seg {
  background: rgba(22, 139, 255, 0.28);
}

.wpn-stat:hover .wpn-stat-bar-seg.active {
  background: var(--wp-blue);
}

/* Progress bar variant */
.wpn-stat-bar--progress {
  display: block;
  height: 4px;
  background: rgba(22, 139, 255, 0.10);
  border-radius: 4px;
  overflow: hidden;
  padding-top: 0;
  margin-top: 12px;
  border-top: none;
}

.wpn-stat-bar--progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--wp-blue), rgba(22, 139, 255, 0.55));
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(22, 139, 255, 0.40);
  animation: wpn-bar-fill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes wpn-bar-fill {
  from { width: 0; }
}

/* Dot row variant */
.wpn-stat-bar--dots {
  display: flex;
  gap: 6px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(22, 139, 255, 0.10);
  height: auto;
}

.wpn-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(22, 139, 255, 0.20);
  border: 1px solid rgba(22, 139, 255, 0.30);
  transition: background 0.3s;
}

.wpn-stat-dot.active {
  background: rgba(22, 139, 255, 0.65);
  box-shadow: 0 0 6px rgba(22, 139, 255, 0.40);
}

.wpn-stat:hover .wpn-stat-dot.active {
  background: var(--wp-blue);
}

/* Wave variant */
.wpn-stat-wave {
  position: relative;
  z-index: 1;
  height: 28px;
  padding-top: 12px;
  border-top: 1px solid rgba(22, 139, 255, 0.10);
  overflow: hidden;
}

.wpn-stat-wave svg {
  width: 100%;
  height: 16px;
  display: block;
}

.wpn-stat-wave path {
  fill: none;
  stroke: rgba(22, 139, 255, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: wpn-wave-draw 2s ease forwards;
}

@keyframes wpn-wave-draw {
  to { stroke-dashoffset: 0; }
}


/* =============================================================================
   4. SECTION SEPARATOR
   ============================================================================= */

.wpn-separator {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.wpn-separator-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 139, 255, 0.20), transparent);
}

.wpn-separator-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: rgba(22, 139, 255, 0.45);
  white-space: nowrap;
}


/* =============================================================================
   5. FEATURED CARD — dark glass
   ============================================================================= */

.wpn-card {
  background: var(--wp-card-bg);
  border: 1px solid var(--wp-border);
  border-radius: 16px;
  padding: 0;
  margin: 56px 0;
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Shimmer sweep */
.wpn-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(22, 139, 255, 0.06) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: wpn-sweep 4s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.wpn-card:hover {
  border-color: rgba(22, 139, 255, 0.45);
  box-shadow: 0 0 60px rgba(22, 139, 255, 0.14);
}

/* Featured badge */
.wpn-card-badge {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(22, 139, 255, 0.12);
  border: 1px solid rgba(22, 139, 255, 0.45);
  border-radius: 100px;
  color: var(--wp-blue);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  box-shadow: 0 0 16px rgba(22, 139, 255, 0.18);
}

.wpn-card-badge i {
  font-size: 10px;
}

/* Card inner layout */
.wpn-card-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Copy column */
.wpn-card-copy {
  padding: 48px 48px 48px 52px;
  display: flex;
  flex-direction: column;
}

.wpn-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.wpn-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid rgba(22, 139, 255, 0.25);
  background: rgba(22, 139, 255, 0.08);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.wpn-pill--edition {
  border-color: rgba(22, 139, 255, 0.40);
  background: rgba(22, 139, 255, 0.08);
  color: var(--wp-blue);
}

.wpn-card-title {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 16px;
}

.wpn-card-lead {
  font-size: 15px;
  color: var(--wp-muted);
  line-height: 1.72;
  margin-bottom: 24px;
  max-width: 440px;
}

/* Topic tags */
.wpn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.wpn-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(22, 139, 255, 0.06);
  border: 1px solid rgba(22, 139, 255, 0.20);
  color: var(--wp-blue);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* Bullet list */
.wpn-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.wpn-bullets li {
  font-size: 14px;
  color: var(--wp-muted);
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.6;
}

.wpn-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wp-blue);
  box-shadow: 0 0 8px rgba(22, 139, 255, 0.55);
}

/* CTA row */
.wpn-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}

.wpn-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--wp-blue) 0%, #0e6dcc 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 28px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  letter-spacing: 0.02em;
}

.wpn-btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(22, 139, 255, 0.40);
}

.wpn-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--wp-muted);
  font-size: 12px;
  font-weight: 600;
  border-radius: 28px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
  letter-spacing: 0.02em;
}

.wpn-btn-ghost:hover {
  border-color: var(--wp-blue);
  color: #ffffff;
}

/* Footnote */
.wpn-footnote {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(169, 184, 200, 0.55);
  line-height: 1.5;
}

.wpn-footnote i {
  color: var(--wp-blue);
  margin-top: 1px;
  flex-shrink: 0;
  font-size: 12px;
}

@keyframes wpn-sweep {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}


/* =============================================================================
   6. PREVIEW FRAMES — blue glowing animated
   ============================================================================= */

.wpn-preview {
  background: rgba(22, 139, 255, 0.03);
  border-left: 1px solid rgba(22, 139, 255, 0.10);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpn-frames-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(169, 184, 200, 0.55);
}

.wpn-frames-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex: 1;
}

.wpn-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(22, 139, 255, 0.28);
  display: block;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  text-decoration: none;
}

.wpn-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 139, 255, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Scanline sweep */
.wpn-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(22, 139, 255, 0.18) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: wpn-scan 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.wpn-frame:hover::after {
  opacity: 1;
}

.wpn-frame:hover {
  border-color: rgba(22, 139, 255, 0.65);
  box-shadow: 0 0 24px rgba(22, 139, 255, 0.22);
  transform: translateY(-3px);
}

.wpn-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.88) saturate(0.9);
  transition: filter 0.4s ease;
}

.wpn-frame:hover img {
  filter: brightness(0.98) saturate(1.05);
}

.wpn-frame-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  background: rgba(2, 5, 10, 0.85);
  border: 1px solid rgba(22, 139, 255, 0.35);
  color: var(--wp-blue);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

@keyframes wpn-scan {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* Preview caption */
.wpn-preview-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(169, 184, 200, 0.50);
  padding-top: 12px;
  border-top: 1px solid rgba(22, 139, 255, 0.10);
  gap: 8px;
}

.wpn-preview-caption i {
  color: var(--wp-blue);
  margin-right: 5px;
}


/* =============================================================================
   7. UPCOMING CARD — reserved slot with pulse animation
   ============================================================================= */

.wpn-card--upcoming {
  opacity: 0.85;
  border-color: rgba(22, 139, 255, 0.12);
}

.wpn-card--upcoming:hover {
  opacity: 1;
  border-color: rgba(22, 139, 255, 0.35);
  box-shadow: 0 0 40px rgba(22, 139, 255, 0.10);
}

.wpn-reserved {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 40px;
  position: relative;
}

.wpn-reserved-orbit {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto;
}

/* Outer ring */
.wpn-reserved-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(22, 139, 255, 0.25);
  animation: wpn-spin 10s linear infinite;
}

/* Inner ring */
.wpn-reserved-ring:nth-child(2) {
  inset: 16px;
  border-color: var(--wp-blue);
  opacity: 0.18;
  animation-duration: 6s;
  animation-direction: reverse;
}

.wpn-reserved-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.wpn-reserved-icon i {
  font-size: 32px;
  color: var(--wp-blue);
  filter: drop-shadow(0 0 8px rgba(22, 139, 255, 0.55));
}

.wpn-reserved-pulse {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 139, 255, 0.22) 0%, transparent 70%);
  opacity: 0;
  animation: wpn-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

.wpn-reserved-label {
  margin-top: 20px;
  text-align: center;
}

.wpn-reserved-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.wpn-reserved-text {
  font-size: 13px;
  color: var(--wp-muted);
  line-height: 1.55;
  margin: 0;
}

@keyframes wpn-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes wpn-pulse {
  0%,  100% { opacity: 0;    transform: scale(1); }
  50%        { opacity: 0.12; transform: scale(1.2); }
}


/* =============================================================================
   8. WHAT'S INSIDE section — Engineering Module Grid
   ============================================================================= */

.wpn-inside {
  padding: 80px 0 96px;
  background: var(--wp-bg);
  position: relative;
  overflow: hidden;
}

.wpn-inside::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 139, 255, 0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 139, 255, 0.030) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Eyebrow label */
.wpn-inside-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(22, 139, 255, 0.60);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.wpn-inside-label::before,
.wpn-inside-label::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 139, 255, 0.35));
}
.wpn-inside-label::after {
  background: linear-gradient(90deg, rgba(22, 139, 255, 0.35), transparent);
}

.wpn-inside-heading {
  text-align: center;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 56px;
  line-height: 1.12;
  position: relative;
  z-index: 1;
}

/* 2×2 module grid */
.wpn-inside-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* Central cross-hair connector */
.wpn-inside-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: calc(100% - 40px);
  background: linear-gradient(to bottom, transparent, rgba(22, 139, 255, 0.18), transparent);
  pointer-events: none;
}

.wpn-inside-item {
  position: relative;
  background: rgba(4, 10, 24, 0.92);
  border: 1px solid rgba(22, 139, 255, 0.16);
  border-radius: 16px;
  padding: 40px 36px 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

/* Top-right corner bracket */
.wpn-inside-item::before {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 18px; height: 18px;
  border-top: 1.5px solid rgba(22, 139, 255, 0.35);
  border-right: 1.5px solid rgba(22, 139, 255, 0.35);
  pointer-events: none;
  transition: border-color 0.35s ease;
}

/* Bottom-left corner bracket */
.wpn-inside-item::after {
  content: '';
  position: absolute;
  bottom: 12px; left: 12px;
  width: 18px; height: 18px;
  border-bottom: 1.5px solid rgba(22, 139, 255, 0.35);
  border-left: 1.5px solid rgba(22, 139, 255, 0.35);
  pointer-events: none;
  transition: border-color 0.35s ease;
}

.wpn-inside-item:hover {
  border-color: rgba(22, 139, 255, 0.45);
  box-shadow:
    0 0 40px rgba(22, 139, 255, 0.10),
    inset 0 1px 0 rgba(22, 139, 255, 0.10);
  transform: translateY(-3px);
}

.wpn-inside-item:hover::before,
.wpn-inside-item:hover::after {
  border-color: rgba(22, 139, 255, 0.70);
}

/* Item number badge */
.wpn-inside-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(22, 139, 255, 0.40);
  margin-bottom: 24px;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* Icon panel */
.wpn-inside-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(22, 139, 255, 0.08);
  border: 1px solid rgba(22, 139, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 20px rgba(22, 139, 255, 0.10), inset 0 1px 0 rgba(22, 139, 255, 0.15);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.wpn-inside-item:hover .wpn-inside-icon {
  background: rgba(22, 139, 255, 0.14);
  box-shadow: 0 0 32px rgba(22, 139, 255, 0.22), inset 0 1px 0 rgba(22, 139, 255, 0.20);
}

.wpn-inside-icon i {
  color: var(--wp-blue);
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(22, 139, 255, 0.60));
}

.wpn-inside-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.wpn-inside-desc {
  font-size: 14px;
  color: var(--wp-muted);
  line-height: 1.65;
  margin: 0 0 28px;
  flex: 1;
}

/* Bottom accent bar */
.wpn-inside-accent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wpn-inside-accent-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(22, 139, 255, 0.30), transparent);
}

.wpn-inside-accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(22, 139, 255, 0.50);
  box-shadow: 0 0 6px rgba(22, 139, 255, 0.40);
  flex-shrink: 0;
  animation: wpn-dot-pulse 2.5s ease-in-out infinite;
}

.wpn-inside-item:nth-child(2) .wpn-inside-accent-dot { animation-delay: 0.6s; }
.wpn-inside-item:nth-child(3) .wpn-inside-accent-dot { animation-delay: 1.2s; }
.wpn-inside-item:nth-child(4) .wpn-inside-accent-dot { animation-delay: 1.8s; }

@keyframes wpn-dot-pulse {
  0%, 100% { opacity: 0.50; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.4); }
}


/* =============================================================================
   9. WP CTA SECTION — split layout with image
   ============================================================================= */

.wpn-cta-section {
  padding: 80px 0 96px;
  background: var(--wp-bg);
  position: relative;
  overflow: hidden;
}

.wpn-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(22, 139, 255, 0.09) 0%, transparent 65%);
  pointer-events: none;
}

.wpn-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.wpn-cta-copy {
  display: flex;
  flex-direction: column;
}

.wpn-cta-eyebrow {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--wp-blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 0 16px rgba(22, 139, 255, 0.40);
}
.wpn-cta-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--wp-blue);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(22, 139, 255, 0.55);
}

.wpn-cta-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 20px;
}

.wpn-cta-title em {
  font-style: normal;
  color: var(--wp-blue);
}

.wpn-cta-desc {
  font-size: 15px;
  color: var(--wp-muted);
  line-height: 1.70;
  margin: 0 0 36px;
  max-width: 420px;
}

.wpn-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
}

.wpn-cta-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.wpn-cta-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: rgba(169, 184, 200, 0.55);
  font-weight: 600;
}

.wpn-cta-trust-item i {
  color: rgba(22, 139, 255, 0.55);
  font-size: 11px;
}

/* Image column */
.wpn-cta-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpn-cta-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 139, 255, 0.18) 0%, transparent 65%);
  filter: blur(48px);
  opacity: 0.7;
  pointer-events: none;
}

.wpn-cta-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 14px;
  filter: drop-shadow(0 0 40px rgba(22, 139, 255, 0.25));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.wpn-cta-visual:hover .wpn-cta-img {
  filter: drop-shadow(0 0 56px rgba(22, 139, 255, 0.38));
  transform: translateY(-4px);
}


/* =============================================================================
   10. RESPONSIVE
   ============================================================================= */

/* — Large tablet / small desktop (1024px) — */
@media (max-width: 1024px) {

  .wpn-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .wpn-hero-visual {
    order: -1;
    min-height: 420px;
  }

  .wpn-hero-halo {
    width: 420px;
    height: 420px;
  }

  .wpn-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wpn-card-inner {
    grid-template-columns: 1fr;
  }

  .wpn-preview {
    border-left: none;
    border-top: 1px solid rgba(22, 139, 255, 0.10);
  }

  .wpn-inside-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wpn-cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .wpn-cta-visual {
    order: -1;
  }
}

/* — Tablet (768px) — */
@media (max-width: 768px) {

  .wpn-hero-inner {
    padding: 120px 0 60px;
    gap: 40px;
  }

  .wpn-hero-h1 {
    font-size: clamp(28px, 6vw, 44px);
  }

  .wpn-hero-visual {
    min-height: 300px;
  }

  .wpn-hero-halo {
    width: 300px;
    height: 300px;
  }

  .wpn-inside-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wpn-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wpn-card-copy {
    padding: 40px 28px;
  }

  .wpn-preview {
    padding: 28px 24px;
  }

  .wpn-frames-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* — Mobile (480px) — */
@media (max-width: 480px) {

  .wpn-hero-inner {
    padding: 100px 0 48px;
    gap: 32px;
  }

  .wpn-hero-chips {
    flex-wrap: wrap;
    gap: 8px;
  }

  .wpn-hero-visual {
    min-height: 240px;
  }

  .wpn-hero-halo {
    width: 240px;
    height: 240px;
  }

  .wpn-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .wpn-stat {
    padding: 24px 16px;
  }

  .wpn-inside-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wpn-inside-item {
    padding: 28px 24px 24px;
  }

  .wpn-card-copy {
    padding: 32px 20px 28px;
  }

  .wpn-preview {
    padding: 24px 16px;
  }

  .wpn-frames-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wpn-actions,
  .wpn-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wpn-btn-primary,
  .wpn-btn-ghost {
    justify-content: center;
    text-align: center;
  }

  .wpn-reserved-orbit {
    width: 120px;
    height: 120px;
  }

  .wpn-reserved-icon i {
    font-size: 24px;
  }
}


/* =============================================================================
   11. REDUCED MOTION
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {

  .wpn-hero-image,
  .wpn-inside-accent-dot {
    animation: none;
  }

  .wpn-card::before {
    animation: none;
  }

  .wpn-frame::after {
    animation: none;
  }

  .wpn-reserved-ring {
    animation: none;
  }

  .wpn-reserved-pulse {
    animation: none;
    opacity: 0;
  }

  .wpn-stat-wave path {
    animation: none;
    stroke-dashoffset: 0;
  }

  .wpn-stat-bar--progress-fill {
    animation: none;
  }

  .wpn-card,
  .wpn-frame,
  .wpn-btn-primary,
  .wpn-btn-ghost,
  .wpn-inside-item,
  .wpn-frame img {
    transition-duration: 0.15s;
  }
}
