/* ============================================
   BLOG POST — NEON EDITORIAL v2 (ULTRA VIBRANT)
   ============================================ */

.post-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(20px, 3vw, 48px);
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 40px rgba(200, 255, 46, 0.03);
}
.post-nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post-nav-logo {
  height: 32px;
  width: auto;
}
.post-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.post-nav-links a {
  font-size: 0.85rem;
  color: var(--mid);
  transition:
    color 0.25s,
    text-shadow 0.25s;
}
.post-nav-links a:hover {
  color: var(--ice);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}
.post-nav-links .active {
  color: var(--neon);
  text-shadow: 0 0 12px rgba(200, 255, 46, 0.4);
}

/* Article layout */
.blog-post {
  padding: 120px clamp(20px, 3vw, 48px) 80px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 40px;
  transition:
    color 0.3s,
    text-shadow 0.3s;
}
.blog-post-back:hover {
  color: var(--neon);
  text-shadow: 0 0 10px rgba(200, 255, 46, 0.4);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.blog-post-meta time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dim);
}

.blog-post h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.blog-post-hero-img {
  width: calc(100% + 80px);
  margin-left: -40px;
  height: 320px;
  border-radius: 14px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}
.blog-post-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 300' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='200' cy='150' r='100' stroke='rgba(255,255,255,0.06)' fill='none'/%3E%3Ccircle cx='200' cy='150' r='70' stroke='rgba(255,255,255,0.04)' fill='none'/%3E%3Ccircle cx='200' cy='150' r='40' stroke='rgba(255,255,255,0.02)' fill='none'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

/* Content typography */
.blog-post-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 48px 0 16px;
  color: var(--ice);
}
.blog-post-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 36px 0 10px;
  color: var(--ice);
}
.blog-post-content p {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
}
.blog-post-content strong {
  color: var(--ice);
  font-weight: 600;
}

.blog-post-content blockquote {
  border-left: 3px solid var(--neon);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--glass);
  border-radius: 0 10px 10px 0;
  box-shadow: -4px 0 20px rgba(200, 255, 46, 0.08);
}
.blog-post-content blockquote p {
  color: var(--ice);
  font-style: italic;
  margin-bottom: 0;
  font-size: 1.02rem;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 14px 0 18px 20px;
}
.blog-post-content li {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 6px;
}
.blog-post-content ul li {
  list-style: disc;
}
.blog-post-content ol li {
  list-style: decimal;
}
.blog-post-content li::marker {
  color: var(--neon);
}

/* Tables */
.comparison-table,
.roi-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.comparison-table th,
.comparison-table td,
.roi-table th,
.roi-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem;
}
.comparison-table th,
.roi-table th {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon);
  text-shadow: 0 0 10px rgba(200, 255, 46, 0.3);
}
.comparison-table td,
.roi-table td {
  color: var(--mid);
}
.comparison-table td:first-child,
.roi-table td:first-child {
  color: var(--ice);
  font-weight: 600;
}
.highlight {
  color: var(--neon) !important;
  font-weight: 700 !important;
  text-shadow: 0 0 8px rgba(200, 255, 46, 0.3);
}

/* Stat callout */
.stat-callout {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 36px;
  text-align: center;
  margin: 32px 0;
  position: relative;
}
.stat-callout::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon),
    rgba(255, 46, 203, 0.5),
    transparent
  );
  box-shadow: 0 0 12px rgba(200, 255, 46, 0.3);
}
.stat-callout-number {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--neon);
  text-shadow:
    0 0 30px rgba(200, 255, 46, 0.5),
    0 0 60px rgba(200, 255, 46, 0.2);
}
.stat-callout-label {
  font-size: 0.88rem;
  color: var(--dim);
  margin-top: 8px;
}

/* CTA box */
.blog-post-cta {
  text-align: center;
  padding: 48px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--glass);
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.blog-post-cta::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon),
    rgba(255, 46, 203, 0.5),
    rgba(46, 240, 255, 0.3),
    transparent
  );
  background-size: 200% 100%;
  animation: ctaBorder 4s linear infinite;
  box-shadow: 0 0 16px rgba(200, 255, 46, 0.2);
}
@keyframes ctaBorder {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
.blog-post-cta::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 160px;
  background: radial-gradient(ellipse, rgba(200, 255, 46, 0.05), transparent 70%);
  pointer-events: none;
}
.blog-post-cta h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.blog-post-cta p {
  color: var(--mid);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.blog-post-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--neon);
  color: var(--black);
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(200, 255, 46, 0.2);
  position: relative;
  overflow: hidden;
}
.blog-post-cta .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.blog-post-cta .btn-primary:hover::before {
  transform: translateX(100%);
}
.blog-post-cta .btn-primary:hover {
  background: #fff;
  box-shadow:
    0 0 40px rgba(200, 255, 46, 0.5),
    0 0 80px rgba(200, 255, 46, 0.2);
}

/* Post footer */
.post-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  margin-top: 80px;
  padding: 24px clamp(20px, 3vw, 48px);
}
.post-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.post-footer p {
  font-size: 0.75rem;
  color: var(--dim);
  font-family: var(--font-mono);
}
.post-footer-legal {
  display: flex;
  gap: 16px;
}
.post-footer-legal a {
  font-size: 0.75rem;
  color: var(--dim);
  transition:
    color 0.25s,
    text-shadow 0.25s;
}
.post-footer-legal a:hover {
  color: var(--neon);
  text-shadow: 0 0 10px rgba(200, 255, 46, 0.4);
}

@media (max-width: 768px) {
  .blog-post {
    padding: 100px 20px 60px;
  }
  .blog-post h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .blog-post-hero-img {
    width: 100%;
    margin-left: 0;
    height: 200px;
  }
  .blog-post-cta {
    padding: 32px 24px;
  }
  .post-footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .post-nav-links {
    display: none;
  }
}
