/* ============================================
   CIRCUIT / ELECTRICITY THEME - Custom CSS
   HyppoAds Website Rebuild
   ============================================ */

/* ── Blog / Article Prose Styling ── */
.prose-custom h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-family: 'Space Grotesk', sans-serif;
}
.prose-custom h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  font-family: 'Space Grotesk', sans-serif;
}
.prose-custom h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}
.prose-custom p {
  color: #c0c8d8;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.prose-custom ul, .prose-custom ol {
  color: #c0c8d8;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  line-height: 1.8;
}
.prose-custom ul {
  list-style-type: disc;
}
.prose-custom ol {
  list-style-type: decimal;
}
.prose-custom li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.prose-custom blockquote {
  border-left: 3px solid #00D4FF;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 0 0.5rem 0.5rem 0;
  color: #d1d9e6;
  font-style: italic;
}
.prose-custom a {
  color: #00D4FF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose-custom a:hover {
  color: #00FFD4;
}
.prose-custom strong {
  color: #fff;
  font-weight: 600;
}
.prose-custom code {
  background: rgba(0, 212, 255, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  color: #00FFD4;
  font-family: 'JetBrains Mono', monospace;
}
.prose-custom pre {
  background: rgba(10, 14, 39, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 0.5rem;
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.prose-custom hr {
  border: none;
  border-top: 1px solid rgba(0, 212, 255, 0.15);
  margin: 2.5rem 0;
}

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #00D4FF;
  --secondary: #0A0E27;
  --accent: #7B2FFF;
  --glow: #00FFD4;
  --bg-dark: #050816;
  --bg-card: #0D1232;
  --bg-light: #FFFFFF;
  --text-primary: #FFFFFF;
  --text-secondary: #A0AEC0;
  --text-dark: #0A0E27;
  --border-glow: rgba(0, 212, 255, 0.3);
  --gradient-hero: linear-gradient(135deg, #0A0E27 0%, #1A1050 50%, #0A0E27 100%);
  --gradient-cta: linear-gradient(90deg, #00D4FF 0%, #7B2FFF 100%);
  --gradient-accent: linear-gradient(135deg, #00D4FF 0%, #00FFD4 100%);
}

/* ---------- Base Styles ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.mono { font-family: 'JetBrains Mono', monospace; }

/* ---------- Background Grid ---------- */
.circuit-bg-grid {
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---------- Glow Effects ---------- */
.glow-text {
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
}

.glow-text-purple {
  text-shadow: 0 0 20px rgba(123, 47, 255, 0.5), 0 0 40px rgba(123, 47, 255, 0.3);
}

.glow-text-mint {
  text-shadow: 0 0 20px rgba(0, 255, 212, 0.5), 0 0 40px rgba(0, 255, 212, 0.3);
}

.text-glow-pulse {
  animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { text-shadow: 0 0 10px rgba(0, 212, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.2); }
  to   { text-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.4), 0 0 80px rgba(0, 212, 255, 0.2); }
}

/* ---------- Heading Flicker Glow ---------- */
h2, h1 {
  animation: headingFlickerGlow 4s ease-in-out infinite;
}

@keyframes headingFlickerGlow {
  0%, 100% { text-shadow: none; }
  10% { text-shadow: 0 0 6px rgba(0, 212, 255, 0.15); }
  20% { text-shadow: none; }
  30% { text-shadow: 0 0 10px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 212, 255, 0.1); }
  40% { text-shadow: 0 0 4px rgba(0, 212, 255, 0.1); }
  50% { text-shadow: 0 0 15px rgba(0, 212, 255, 0.25), 0 0 30px rgba(0, 212, 255, 0.1); }
  60% { text-shadow: none; }
  70% { text-shadow: 0 0 8px rgba(0, 212, 255, 0.15); }
  80% { text-shadow: 0 0 12px rgba(0, 212, 255, 0.2), 0 0 25px rgba(0, 212, 255, 0.08); }
  90% { text-shadow: none; }
}

/* Override for .glow-text to keep its own animation */
.glow-text { animation: glowPulse 2s ease-in-out infinite alternate; }
.text-glow-pulse { animation: glowPulse 2s ease-in-out infinite alternate; }

/* ---------- Neon Border / Cards ---------- */
.circuit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.circuit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.4s ease;
}

/* Circuit trace border effect on cards */
.circuit-card::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary), 0 0 15px rgba(0, 212, 255, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: traceCardBorder 6s linear infinite;
  offset-path: path('M 12 0 L calc(100% - 12px) 0 Q 100% 0 100% 12 L 100% calc(100% - 12px) Q 100% 100% calc(100% - 12px) 100% L 12 100% Q 0 100% 0 calc(100% - 12px) L 0 12 Q 0 0 12 0');
}

.circuit-card:hover::after {
  opacity: 1;
}

@keyframes traceCardBorder {
  0%   { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

.circuit-card:hover {
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.circuit-card:hover::before {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(123, 47, 255, 0.2), rgba(0, 255, 212, 0.2));
}

/* ---------- CTA Buttons ---------- */
.btn-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gradient-cta);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-cta:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), 0 0 60px rgba(123, 47, 255, 0.2), 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* Electric spark effect on hover */
.btn-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
}

.btn-cta:hover::before {
  width: 300px;
  height: 300px;
  opacity: 1;
  animation: electricSpark 0.6s ease-out;
}

@keyframes electricSpark {
  0%   { width: 0; height: 0; opacity: 0.8; }
  50%  { opacity: 0.4; }
  100% { width: 300px; height: 300px; opacity: 0; }
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transition: all 0.5s ease;
  transform: translateX(-100%);
}

.btn-cta:hover::after {
  transform: translateX(100%);
}

/* Lightning bolt on hover for CTA */
.btn-cta:hover {
  animation: btnLightning 0.15s ease-in-out 2;
}

@keyframes btnLightning {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.4); box-shadow: 0 0 60px rgba(0, 212, 255, 0.6), 0 0 100px rgba(123, 47, 255, 0.3); }
}

.btn-cta-outline {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-cta-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
  animation: btnLightning 0.15s ease-in-out 1;
}

/* ---------- Animated Border Trace ---------- */
.trace-border {
  position: relative;
}

.trace-border::before,
.trace-border::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.trace-border::before {
  top: 0; left: 0;
  animation: traceMoveH 3s linear infinite;
}

.trace-border::after {
  bottom: 0; right: 0;
  animation: traceMoveH 3s linear infinite reverse;
}

@keyframes traceMoveH {
  0%   { left: -40px; }
  100% { left: calc(100% + 40px); }
}

/* ---------- Node Pulse ---------- */
.circuit-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(0, 212, 255, 0.3);
  animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 8px var(--primary), 0 0 15px rgba(0, 212, 255, 0.3); transform: scale(1); }
  50%      { box-shadow: 0 0 20px var(--primary), 0 0 40px rgba(0, 212, 255, 0.5); transform: scale(1.2); }
}

/* ---------- Particle Background ---------- */
.particles-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  10%  { opacity: 0.3; }
  90%  { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-100vh) translateX(30px); }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* ---------- Hero Section ---------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gradient-hero);
}

.hero-section-short {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gradient-hero);
}

/* ---------- Hero Electrical Storm / Grid ---------- */
.hero-section::before,
.hero-section-short::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 800px 400px at 20% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 600px 300px at 80% 30%, rgba(123, 47, 255, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 80%, rgba(0, 255, 212, 0.04) 0%, transparent 70%);
  animation: heroStorm 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes heroStorm {
  0% {
    background:
      radial-gradient(ellipse 800px 400px at 20% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 70%),
      radial-gradient(ellipse 600px 300px at 80% 30%, rgba(123, 47, 255, 0.05) 0%, transparent 70%),
      radial-gradient(ellipse 400px 400px at 50% 80%, rgba(0, 255, 212, 0.04) 0%, transparent 70%);
  }
  25% {
    background:
      radial-gradient(ellipse 900px 500px at 30% 40%, rgba(0, 212, 255, 0.09) 0%, transparent 70%),
      radial-gradient(ellipse 500px 400px at 70% 60%, rgba(123, 47, 255, 0.07) 0%, transparent 70%),
      radial-gradient(ellipse 600px 300px at 40% 70%, rgba(0, 255, 212, 0.05) 0%, transparent 70%);
  }
  50% {
    background:
      radial-gradient(ellipse 700px 350px at 60% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 70%),
      radial-gradient(ellipse 800px 400px at 20% 70%, rgba(123, 47, 255, 0.06) 0%, transparent 70%),
      radial-gradient(ellipse 500px 500px at 80% 50%, rgba(0, 255, 212, 0.06) 0%, transparent 70%);
  }
  75% {
    background:
      radial-gradient(ellipse 600px 400px at 50% 60%, rgba(0, 212, 255, 0.1) 0%, transparent 70%),
      radial-gradient(ellipse 700px 300px at 30% 20%, rgba(123, 47, 255, 0.05) 0%, transparent 70%),
      radial-gradient(ellipse 400px 400px at 70% 80%, rgba(0, 255, 212, 0.04) 0%, transparent 70%);
  }
  100% {
    background:
      radial-gradient(ellipse 800px 400px at 40% 50%, rgba(0, 212, 255, 0.07) 0%, transparent 70%),
      radial-gradient(ellipse 600px 350px at 60% 40%, rgba(123, 47, 255, 0.06) 0%, transparent 70%),
      radial-gradient(ellipse 500px 300px at 30% 70%, rgba(0, 255, 212, 0.05) 0%, transparent 70%);
  }
}

/* ---------- Circuit SVG Background ---------- */
.circuit-svg-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.circuit-svg-bg svg {
  width: 100%;
  height: 100%;
  opacity: 0.12;
}

/* ---------- Navbar ---------- */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-fixed.scrolled {
  background: rgba(10, 14, 39, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 18, 50, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  padding: 12px 0;
  min-width: 260px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  display: block;
  animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dropdown-item {
  display: block;
  padding: 10px 24px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  color: var(--primary);
  background: rgba(0, 212, 255, 0.05);
  padding-left: 30px;
}

/* Mobile Nav */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: rgba(5, 8, 22, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 80px 32px 32px;
  border-left: 1px solid rgba(0, 212, 255, 0.1);
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  display: block;
  padding: 16px 0;
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  transition: color 0.3s ease;
}

.mobile-link:hover { color: var(--primary); }

.mobile-submenu {
  padding-left: 20px;
}

.mobile-submenu .mobile-link {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 2001;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .nav-desktop { display: none !important; }
}

/* ---------- Footer ---------- */
.footer-circuit-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--glow), var(--primary), transparent);
  position: relative;
  overflow: visible;
}

.footer-circuit-divider::before,
.footer-circuit-divider::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

.footer-circuit-divider::before { left: 25%; }
.footer-circuit-divider::after { right: 25%; }

/* ---------- Section Divider ---------- */
.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  position: relative;
}

/* ---------- Electric Flicker ---------- */
.electric-flicker {
  animation: electricFlicker 0.1s ease-in-out 3;
}

@keyframes electricFlicker {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ---------- Counter Animation ---------- */
.counter-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  color: var(--primary);
}

/* ---------- Tag Pills ---------- */
.tag-pill {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.08);
  color: var(--primary);
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.tag-pill:hover {
  background: rgba(0, 212, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* ---------- Booking Widget ---------- */
.booking-widget-frame {
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

/* ---------- Highlighted Word ---------- */
.text-electric { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-glow { color: var(--glow); }

/* ---------- Bold Callout Box ---------- */
.callout-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 32px 40px;
  position: relative;
  overflow: hidden;
}

.callout-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-cta);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 212, 255, 0.5); }

/* ---------- Chat Widget ---------- */
.chat-widget-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

/* ---------- Light Section ---------- */
.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-light h2,
.section-light h3 {
  color: var(--text-dark);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: white;
}

/* ---------- Circuit Node Decorations (background dots) ---------- */
.circuit-bg-nodes {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.circuit-bg-nodes .bg-node {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.15;
  animation: bgNodePulse 3s ease-in-out infinite;
}

@keyframes bgNodePulse {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(1.5); box-shadow: 0 0 8px var(--primary); }
}

/* ---------- Animated Electric Current Lines ---------- */
.electric-current-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.electric-current-overlay svg {
  width: 100%;
  height: 100%;
}

/* ---------- Responsive Helpers ---------- */
@media (max-width: 640px) {
  .circuit-card { padding: 24px; }
  .btn-cta { padding: 12px 28px; font-size: 0.85rem; }
}
