html { scroll-behavior: smooth; }
body {
  background-color: #070B11;
  background-image:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(45,212,227,0.12), transparent 60%),
    radial-gradient(ellipse 700px 500px at 85% 8%, rgba(45,212,227,0.07), transparent 60%),
    radial-gradient(ellipse 800px 600px at 0% 32%, rgba(45,212,227,0.07), transparent 62%),
    radial-gradient(ellipse 900px 600px at 100% 46%, rgba(45,212,227,0.06), transparent 62%),
    radial-gradient(ellipse 900px 600px at 5% 68%, rgba(45,212,227,0.06), transparent 62%),
    radial-gradient(ellipse 1000px 650px at 95% 82%, rgba(45,212,227,0.07), transparent 62%),
    radial-gradient(ellipse 1100px 500px at 50% 100%, rgba(45,212,227,0.09), transparent 65%),
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-size: auto, auto, auto, auto, auto, auto, auto, 64px 64px, 64px 64px;
  background-position: top left, top right, left, right, left, right, bottom center, top left, top left;
}
.glow-border {
  border: 1px solid rgba(45,212,227,0.28);
  transition: border-color .45s ease, box-shadow .45s ease, transform .35s ease, background-color .35s ease;
}
.glass {
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(10px);
}
.card-glow {
  box-shadow: 0 0 40px -12px rgba(45,212,227,0.15);
}
.text-glow {
  text-shadow: 0 0 24px rgba(45,212,227,0.35);
}

/* Interactive card treatment: every .glow-border card starts subdued,
   brightens to teal as it scrolls into view, and lights up further on
   hover for an engaging feel. */
.glow-border {
  border-color: rgba(255,255,255,0.08);
}
.glow-border.in-view {
  border-color: rgba(45,212,227,0.30);
}
.glow-border:hover {
  border-color: #2DD4E3 !important;
  box-shadow: 
    0 0 30px rgba(45, 212, 227, 0.45), 
    0 0 60px rgba(45, 212, 227, 0.25),
    inset 0 0 15px rgba(45, 212, 227, 0.15);
  background-color: rgba(45, 212, 227, 0.10);
  transform: translateY(-8px) scale(1.015);
}
.glow-border:hover .box-icon {
  background-color: rgba(45,212,227,0.18);
  color: #7FEAF2;
  transform: scale(1.08);
}
.box-icon {
  transition: background-color .35s ease, color .35s ease, transform .35s ease;
}

/* Scroll-reveal: fade + rise into place as the section enters view */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1.in-view { transition-delay: .08s; }
.reveal-delay-2.in-view { transition-delay: .16s; }
.reveal-delay-3.in-view { transition-delay: .24s; }
.reveal-delay-4.in-view { transition-delay: .32s; }

.btn-lift {
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.btn-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(45,212,227,0.45);
}
.placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 10px, transparent 10px, transparent 20px),
    #0C161D;
  border: 1px dashed rgba(45,212,227,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(127,234,242,0.55);
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.section-glow-teal {
  background:
    radial-gradient(ellipse 1000px 400px at 50% 100%, rgba(45,212,227,0.10), transparent 70%),
    radial-gradient(ellipse 700px 400px at 12% 0%, rgba(45,212,227,0.08), transparent 65%),
    radial-gradient(ellipse 700px 400px at 88% 15%, rgba(45,212,227,0.06), transparent 65%);
}
.glow-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.55;
  animation: floatGlow 12s ease-in-out infinite;
  z-index: 0;
}
.glow-orb-slow { animation-duration: 16s; }
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.08); }
}
:focus-visible {
  outline: 2px solid #2DD4E3;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
