/* Alpha Design - Global Styles */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800;900&display=swap");

:root {
  /* Brand Colors */
  --alpha-primary: #2e3192;
  --alpha-primary-glow: rgba(46, 49, 146, 0.4);
  --alpha-surface: #f8fafc;
  --alpha-line: #e2e8f0;

  /* Text Colors */
  --text-main: #18181b;
  /* zinc-900 */
  --text-muted: #52525b;
  /* zinc-600 */
  --text-dim: #71717a;
  /* zinc-500 */
  --text-light: #f8fafc;
  /* white-ish */

  /* Font Families */
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", system-ui, -apple-system, sans-serif;

  /* Base Spacing */
  --container-max: 1280px;
  --section-spc: clamp(4rem, 10vw, 8rem);
  --section-spc-sm: clamp(3rem, 6vw, 5rem);
  --btn-radius: 0.75rem;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #ffffff;
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Headings Uniformity */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em;
  color: var(--text-main);
  font-weight: 700;
}

/* Global GSAP Initial States (Pre-JS FOUC Prevention) */
.hero-entry,
.reveal-up,
.about-reveal-left,
.about-reveal-right,
.services-reveal-left,
.services-reveal-right,
.service-card,
.portfolio-card,
.news-item,
.job-item,
.product-card,
.stat-card,
.cta-reveal,
#hero-image-wrapper,
#nav-wrapper {
  opacity: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* Global Hero Title Standard */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-main);
}

h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
}

h3 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  font-weight: 700;
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.25;
  font-weight: 700;
}

/* Utility Typography Classes */
.text-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-dim);
}

.text-body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-muted);
}

/* Global Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--btn-radius);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--alpha-primary);
  color: #ffffff;
  border: 1px solid var(--alpha-primary);
}

.btn-primary:hover {
  background-color: var(--text-main);
  border-color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--alpha-line);
}

.btn-outline:hover {
  background-color: var(--alpha-surface);
  border-color: var(--alpha-primary);
  color: var(--alpha-primary);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid #ffffff;
}

.btn-white:hover {
  background-color: var(--alpha-surface);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.btn-round {
  border-radius: 9999px;
}

/* Global Spacing Utilities */
.section-padding {
  padding-top: var(--section-spc);
  padding-bottom: var(--section-spc);
}

.section-padding-sm {
  padding-top: var(--section-spc-sm);
  padding-bottom: var(--section-spc-sm);
}

/* Global Hero Spacing for Subpages */
.subpage-hero-padding {
  padding-top: clamp(6rem, 12vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.subpage-content-padding {
  padding-top: var(--section-spc-sm);
  padding-bottom: var(--section-spc);
}

/* Custom Utilities */
.text-balance {
  text-wrap: balance;
}

.bg-grid-pattern {
  background-image:
    linear-gradient(to right, #e2e8f0 1px, transparent 1px),
    linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0;
}

.glass-nav {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.perspective-1000 {
  perspective: 1000px;
}

/* LED Light Bar Effect */
.led-light-bar {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(46, 49, 146, 0.4) 10%,
    #2e3192 20%,
    #0070f3 35%,
    #00dfd8 50%,
    #93c5fd 65%,
    #0070f3 80%,
    #2e3192 90%,
    rgba(46, 49, 146, 0.4) 110%,
    transparent 120%
  );
  background-size: 200% 100%;
  animation: led-slide 2.5s linear infinite;
  filter: blur(6px);
  /* Reduced blur for thicker, more solid color */
}

@keyframes led-slide {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Hero LED Effects */
.led-beam {
  position: absolute;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--alpha-primary),
    #00dfd8,
    var(--alpha-primary),
    transparent
  );
  filter: blur(1px);
  box-shadow:
    0 0 15px var(--alpha-primary),
    0 0 30px #00dfd8;
  opacity: 0.4;
  border-radius: 99px;
  pointer-events: none;
  z-index: 1;
}

.led-beam-1 {
  width: 250px;
  top: 15%;
  left: -100px;
  animation: led-float-h 8s linear infinite;
  transform: rotate(-15deg);
}

.led-beam-2 {
  width: 350px;
  bottom: 25%;
  right: -150px;
  animation: led-float-h-alt 10s linear infinite;
  transform: rotate(15deg);
}

.led-beam-3 {
  width: 200px;
  top: 45%;
  right: 15%;
  animation: led-float-v 12s ease-in-out infinite;
  transform: rotate(90deg);
}

.led-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--alpha-primary) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(80px);
  pointer-events: none;
  animation: led-pulse 5s ease-in-out infinite;
}

@keyframes led-float-h {
  0% {
    left: -300px;
    opacity: 0;
  }

  20% {
    opacity: 0.5;
  }

  80% {
    opacity: 0.5;
  }

  100% {
    left: 110%;
    opacity: 0;
  }
}

@keyframes led-float-h-alt {
  0% {
    right: -300px;
    opacity: 0;
  }

  20% {
    opacity: 0.4;
  }

  80% {
    opacity: 0.4;
  }

  100% {
    right: 110%;
    opacity: 0;
  }
}

@keyframes led-float-v {
  0%,
  100% {
    transform: translateY(0) rotate(90deg);
    opacity: 0.1;
  }

  50% {
    transform: translateY(-50px) rotate(90deg);
    opacity: 0.3;
  }
}

@keyframes led-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
}

/* --- Programmable LED Strip Effects --- */
.led-strip-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.led-strip {
  position: absolute;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  will-change: transform;
}

.led-strip-h {
  height: 6px;
  /* Slightly thinner */
  width: 150vw;
}

.led-strip-v {
  width: 6px;
  /* Slightly thinner */
  height: 150vh;
  flex-direction: column;
}

/* The LED "Dots" (Chips) */
.led-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 1px,
    transparent 1.5px
  );
  background-size: 8px 8px;
  opacity: 0.5;
}

/* The Traveling RGB Light Pulse */
.led-light-pulse {
  position: absolute;
  width: 300px;
  height: 100%;
  filter: blur(8px);
  will-change: left, top;
  mix-blend-mode: screen;
}

.strip-cyan .led-light-pulse {
  background: linear-gradient(
    90deg,
    transparent,
    #00dfd8,
    #fff,
    #00dfd8,
    transparent
  );
  box-shadow:
    0 0 30px #00dfd8,
    0 0 60px rgba(0, 223, 216, 0.5);
  animation: led-strip-flow-h 4s linear infinite;
}

.strip-magenta .led-light-pulse {
  background: linear-gradient(
    90deg,
    transparent,
    #ff0080,
    #fff,
    #ff0080,
    transparent
  );
  box-shadow:
    0 0 30px #ff0080,
    0 0 60px rgba(255, 0, 128, 0.5);
  animation: led-strip-flow-h 5s linear infinite reverse;
}

.strip-yellow .led-light-pulse {
  background: linear-gradient(
    90deg,
    transparent,
    #ffdc00,
    #fff,
    #ffdc00,
    transparent
  );
  box-shadow:
    0 0 30px #ffdc00,
    0 0 60px rgba(255, 220, 0, 0.5);
  animation: led-strip-flow-h 3s linear infinite;
}

.led-strip-v.strip-cyan .led-light-pulse {
  animation: led-strip-flow-v 4s linear infinite;
  background: linear-gradient(
    180deg,
    transparent,
    #00dfd8,
    #fff,
    #00dfd8,
    transparent
  );
}

.led-strip-v.strip-magenta .led-light-pulse {
  animation: led-strip-flow-v 5s linear infinite reverse;
  background: linear-gradient(
    180deg,
    transparent,
    #ff0080,
    #fff,
    #ff0080,
    transparent
  );
}

/* Edge to Edge Placements */
.strip-1 {
  top: 5%;
  left: -10%;
  transform: rotate(-35deg);
  width: 120vw;
}

.strip-2 {
  top: 85%;
  left: -10%;
  transform: rotate(25deg);
  width: 120vw;
}

.strip-3 {
  right: 10%;
  top: -10%;
  height: 120vh;
  transform: rotate(5deg);
}

.strip-4 {
  bottom: 15%;
  left: -10%;
  transform: rotate(-15deg);
  width: 120vw;
}

.strip-5 {
  top: 40%;
  left: -10%;
  transform: rotate(45deg);
  width: 150vw;
  opacity: 0.6;
}

.strip-6 {
  bottom: 20%;
  right: -10%;
  transform: rotate(-45deg);
  width: 150vw;
  opacity: 0.6;
}

.strip-7 {
  left: 5%;
  top: -10%;
  height: 120vh;
  transform: rotate(-5deg);
}

/* Splatter Elements */
.splatter {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

.splatter-cyan {
  width: 600px;
  height: 600px;
  background: #00dfd8;
  top: -100px;
  left: -100px;
}

.splatter-magenta {
  width: 500px;
  height: 500px;
  background: #ff0080;
  bottom: -50px;
  right: 10%;
}

.splatter-yellow {
  width: 400px;
  height: 400px;
  background: #ffdc00;
  top: 30%;
  right: -100px;
}

/* Optimize Large Orbs */
#orb-1,
#orb-2 {
  will-change: transform, opacity;
  backface-visibility: hidden;
  opacity: 0;
}

@keyframes led-strip-flow-h {
  0% {
    left: -500px;
  }

  100% {
    left: 100%;
  }
}

@keyframes led-strip-flow-v {
  0% {
    top: -500px;
  }

  100% {
    top: 100%;
  }
}

/* Smooth Transitions */
.nav-transition {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Selection color */
::selection {
  background-color: var(--alpha-primary);
  color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--alpha-primary);
}

/* --- Advertising & Media HUD Elements --- */

.billboard-frame {
  position: relative;
  padding: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow:
    0 30px 60px -12px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(46, 49, 146, 0.2),
    inset 0 0 1px 1px rgba(255, 255, 255, 0.1);
  will-change: transform;
}

.billboard-frame::before {
  content: "DISP_TYPE: UHD // SIGNAL: OPTIMAL // 4K_MURAL";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--alpha-primary);
  color: white;
  font-size: 8px;
  font-weight: 900;
  padding: 2px 10px;
  letter-spacing: 1.5px;
  border-radius: 3px;
  z-index: 20;
  box-shadow: 0 4px 10px rgba(46, 49, 146, 0.5);
}

.billboard-frame::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  border-radius: 16px;
  mask-image: radial-gradient(circle at top left, transparent 20%, black 20%);
}

.billboard-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(46, 49, 146, 0.15),
    transparent 70%
  );
  z-index: -1;
  border-radius: 20px;
  animation: glow-pulse 4s ease-in-out infinite;
  opacity: 0;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.panel-screw {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #52525b;
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
  z-index: 21;
}

.screw-tl {
  top: 10px;
  left: 10px;
}

.screw-tr {
  top: 10px;
  right: 10px;
}

.screw-bl {
  bottom: 10px;
  left: 10px;
}

.screw-br {
  bottom: 10px;
  right: 10px;
}

/* Dark variation for light backgrounds */
.billboard-frame-light {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.billboard-frame-light::before {
  content: "MODULE: ABOUT // IDENT: ALPHA_01";
}

.billboard-frame-light::after {
  border-color: rgba(0, 0, 0, 0.05);
}

.hud-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--alpha-primary);
  opacity: 0.6;
  z-index: 30;
  pointer-events: none;
}

.hud-tl {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
}

.hud-tr {
  top: 0;
  right: 0;
  border-top: 2px solid;
  border-right: 2px solid;
}

.hud-bl {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.hud-br {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

.ad-ticker-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

.ad-ticker-container {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticker-item::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.live-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ef4444;
  color: white;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 900;
  border-radius: 4px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 30;
  animation: pulse 2s infinite;
}

.live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.ad-label-vertical {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(9, 9, 11, 0.2);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 5;
}

@media (max-width: 1024px) {
  .ad-label-vertical {
    display: none;
    /* Hide vertical labels on mobile/tablet to prevent overlap */
  }
}

.stamped-badge {
  background: #000;
  color: #fff;
  padding: 4px 12px;
  font-size: 11px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  transform: rotate(-2deg);
}

.campaign-tracker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--alpha-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.campaign-tracker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
}

.ad-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(46, 49, 146, 0.8) 100%
  );
}

.media-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 2px 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  z-index: 25;
}

/* --- Neon Artistry System --- */

.neon-text-cyan {
  color: #fff !important;
  text-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #00dfd8,
    0 0 42px #00dfd8,
    0 0 82px #00dfd8,
    0 0 92px #00dfd8,
    0 0 102px #00dfd8,
    0 0 151px #00dfd8;
}

.neon-text-magenta,
.neon-text-pink {
  color: #fff !important;
  text-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #ff0080,
    0 0 42px #ff0080,
    0 0 82px #ff0080,
    0 0 92px #ff0080,
    0 0 102px #ff0080,
    0 0 151px #ff0080;
}

.neon-box-cyan {
  border: 2px solid #fff;
  box-shadow:
    0 0 5px #fff,
    inset 0 0 5px #fff,
    0 0 20px #00dfd8,
    inset 0 0 20px #00dfd8,
    0 0 40px #00dfd8,
    inset 0 0 40px #00dfd8;
}

.neon-box-magenta {
  border: 2px solid #fff;
  box-shadow:
    0 0 5px #fff,
    inset 0 0 5px #fff,
    0 0 20px #ff0080,
    inset 0 0 20px #ff0080,
    0 0 40px #ff0080,
    inset 0 0 40px #ff0080;
}

.neon-flicker {
  animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    opacity: 1;
  }

  20%,
  24%,
  55% {
    opacity: 0.7;
  }
}

.neon-text-cyan-small {
  color: #fff !important;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #00dfd8,
    0 0 20px #00dfd8;
  animation: neon-shine 1.5s ease-in-out infinite alternate;
}

@keyframes neon-shine {
  from {
    text-shadow:
      0 0 5px #fff,
      0 0 10px #00dfd8,
      0 0 20px #00dfd8;
  }

  to {
    text-shadow:
      0 0 10px #fff,
      0 0 20px #00dfd8,
      0 0 40px #00dfd8,
      0 0 60px #00dfd8;
  }
}

/* Simple Neon for Module Titles */
.simple-neon-cyan {
  color: #0891b2;
  text-shadow: 0 0 8px rgba(8, 145, 178, 0.3);
}

.simple-neon-magenta {
  color: #db2777;
  text-shadow: 0 0 8px rgba(219, 39, 119, 0.3);
}

/* Category Filter Buttons */
.filter-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--alpha-line);
  border-radius: 99px;
  background: transparent;
  color: #52525b;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.filter-btn:hover {
  border-color: #00dfd8;
  color: #00dfd8;
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(0, 223, 216, 0.8);
  box-shadow: 0 0 15px rgba(0, 223, 216, 0.3);
}

.filter-btn.active {
  background: #09090b;
  border-color: #00dfd8;
  color: #fff;
  text-shadow:
    0 0 10px #fff,
    0 0 20px #00dfd8;
  box-shadow:
    0 0 20px rgba(0, 223, 216, 0.5),
    inset 0 0 10px rgba(0, 223, 216, 0.2);
  animation: neon-pulse-cyan 2s infinite alternate;
}

@keyframes neon-pulse-cyan {
  0% {
    box-shadow: 0 0 15px rgba(0, 223, 216, 0.4);
  }

  100% {
    box-shadow: 0 0 25px rgba(0, 223, 216, 0.7);
  }
}

/* --- Simple & Clean Category Cards --- */
.cat-card-neon {
  position: relative;
  display: block;
  height: 440px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--alpha-line);
  z-index: 1;
}

.cat-card-neon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--alpha-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.cat-card-neon:hover {
  transform: translateY(-10px);
  border-color: var(--alpha-primary);
  box-shadow:
    0 20px 40px rgba(46, 49, 146, 0.15),
    0 0 20px rgba(46, 49, 146, 0.1);
}

.card-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  /* Full brightness */
}

.cat-card-neon:hover .card-image img {
  transform: scale(1.05);
}

/* Minimalist Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(46, 49, 146, 0.4) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.cat-card-neon:hover .card-overlay {
  opacity: 1;
}

.card-content {
  position: absolute;
  inset: 0;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 3;
}

.card-tags {
  margin-bottom: 0.5rem;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
}

.tag-neon {
  font-size: 0.6rem;
  font-weight: 900;
  color: #fff;
  background: var(--alpha-primary);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.15em;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.card-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.5s ease 0.1s;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.5s ease 0.2s;
}

.product-count {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
}

.card-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--alpha-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Hover States for Content */
.cat-card-neon:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cat-card-neon:hover .card-tags,
.cat-card-neon:hover .card-title,
.cat-card-neon:hover .card-footer {
  transform: translateY(0);
  opacity: 1;
}

.cat-card-neon:hover .card-icon {
  background: var(--alpha-primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(46, 49, 146, 0.4);
}

/* Animated Neon Borders - Hidden as requested earlier */
.neon-line {
  display: none;
}



/* Glassmorphism overrides for Neon sections */
.neon-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Entrance Animations */
.reveal-up,
.hero-entry,
#hero-image-wrapper {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

/* --- Floating WhatsApp Icon --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 25px rgba(37, 211, 102, 0.3),
    0 0 0 0 rgba(37, 211, 102, 0.7);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #128c7e;
  box-shadow:
    0 15px 35px rgba(18, 140, 126, 0.4),
    0 0 20px rgba(37, 211, 102, 1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Tooltip for WhatsApp */
.whatsapp-tooltip {
  position: absolute;
  right: 80px;
  background: #18181b;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #18181b;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow:
      0 10px 25px rgba(37, 211, 102, 0.3),
      0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow:
      0 10px 25px rgba(37, 211, 102, 0.3),
      0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow:
      0 10px 25px rgba(37, 211, 102, 0.3),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .whatsapp-tooltip {
    display: none;
    /* Hide tooltip on mobile for cleaner look */
  }

  /* Smaller buttons for very small screens */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.75rem;
  }

  /* Lightbox close button adjustment */
  #lightbox-close {
    top: 20px;
    right: 20px;
  }
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 105px;
  right: 30px;
  z-index: 99;
  width: 50px;
  height: 50px;
  background: #ffffff;
  color: #2e3192;
  border: 1px solid rgba(46, 49, 146, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
}

.back-to-top:not(.show) {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(20px);
}

.back-to-top:hover {
  background: #2e3192;
  color: #ffffff;
  border-color: #2e3192;
  box-shadow: 0 15px 35px rgba(46, 49, 146, 0.3);
  transform: translateY(-8px);
}

.back-to-top-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #2e3192, #00dfd8);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

.back-to-top:hover .back-to-top-glow {
  opacity: 0.4;
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 85px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* --- Global Button Neon Effects --- */
button,
.btn,
.magnetic,
.filter-btn,
input[type="submit"],
input[type="button"],
[role="button"] {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  outline: none !important;
  border-radius: 99px !important;
}

/* Subtle outer glow on hover */
button:hover,
.btn:hover,
.magnetic:hover,
.filter-btn:hover {
  box-shadow:
    0 0 15px rgba(46, 49, 146, 0.2),
    0 0 25px rgba(0, 223, 216, 0.15);
  transform: translateY(-2px);
}

/* Low shine text effect */
button:hover,
.btn:hover,
.magnetic:hover,
.nav-link:hover {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Specialized glow for Primary Buttons */
.bg-alpha-primary:hover {
  box-shadow:
    0 5px 20px rgba(46, 49, 146, 0.3),
    0 0 30px rgba(0, 223, 216, 0.2) !important;
}

/* Specialized glow for Light/White Buttons */
.bg-white:hover {
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(0, 223, 216, 0.2) !important;
}

/* Subtle neon border pulse for all bordered buttons */
.border-alpha-line:hover,
.border-white\/10:hover,
.border-white\/20:hover {
  border-color: rgba(0, 223, 216, 0.6) !important;
  box-shadow: 0 0 15px rgba(0, 223, 216, 0.2);
}

/* --- Neon Navigation Bar --- */
#nav-wrapper {
  opacity: 0;
  transform: translateY(-20px);
}

.nav-link-neon {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #52525b;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link-neon:hover {
  color: var(--alpha-primary);
  background: rgba(46, 49, 146, 0.05);
  text-shadow: 0 0 10px rgba(46, 49, 146, 0.2);
}

.nav-link-neon::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--alpha-primary);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--alpha-primary);
}

.nav-link-neon:hover::after {
  width: 1rem;
}

/* Active State for Nav Links */
.nav-link-neon.active {
  color: var(--alpha-primary);
  background: rgba(46, 49, 146, 0.08);
}

.nav-link-neon.active::after {
  width: 1.5rem;
}

/* Mobile Specific Nav Links */
.nav-link-neon-mobile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.nav-link-neon-mobile.active {
  color: var(--alpha-primary);
  background: rgba(46, 49, 146, 0.05);
}

.nav-link-neon-mobile.active::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  width: 20px;
  height: 3px;
  background: var(--alpha-primary);
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(46, 49, 146, 0.4);
}

/* LED Light Bar for Nav */
.led-light-bar {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 223, 216, 0) 20%,
    rgba(0, 223, 216, 0.2) 45%,
    rgba(0, 223, 216, 0.2) 55%,
    rgba(0, 223, 216, 0) 80%,
    transparent 100%
  );
  animation: led-sweep 4s linear infinite;
}

@keyframes led-sweep {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Glassmorphism for Nav Container */
#nav-inner-wrapper {
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
}

#nav-container {
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Low-Shine Sweep Animation (Internal Shine) */
.bg-alpha-primary,
.bg-zinc-900,
.filter-btn.active {
  position: relative;
  overflow: hidden;
}

.bg-alpha-primary::after,
.bg-zinc-900::after,
.filter-btn.active::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  transition: 0.8s ease;
  pointer-events: none;
  z-index: 1;
}

.bg-alpha-primary:hover::after,
.bg-zinc-900:hover::after,
.filter-btn.active:hover::after {
  left: 100%;
}

/* --- Mobile Menu Scroll Fix --- */
#mobile-menu {
  max-height: 70vh;
  /* Prevent menu from being taller than the screen */
  overflow-y: auto;
  /* Allow scrolling within the menu if content overflows */
  -webkit-overflow-scrolling: touch;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  :root {
    --section-spc: 3rem;
    --section-spc-sm: 2rem;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 3rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    line-height: 1.1;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
    line-height: 1.1;
  }

  .subpage-hero-padding {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  /* Ensure hero text doesn't hit screen edges on small devices */
  #hero-text {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    align-items: center;
    text-align: center;
  }
}

/* Force hero buttons to be full-width and centralized */
.hero-entry.flex-col {
  width: 100%;
  align-items: stretch !important;
}

.hero-entry .btn {
  width: 100%;
  display: flex;
  /* Override inline-flex for full width */
}

/* Hide the vertical labels that might overlap when centered */
.ad-label-vertical {
  display: none !important;
}

/* Performance optimization: Disable heavy animations on mobile scroll */
.led-light-pulse,
.led-strip,
.splatter {
  animation: none !important;
  filter: blur(40px) !important;
  /* Lower blur radius for better mobile performance */
}

/* Simplify background effects to prevent scroll stutter */
.led-glow {
  display: none !important;
}

.stat-card,
.value-card {
  transition: border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-reveal {
  transition: border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card {
  transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Prevent mobile address bar flicker on foldable/modern devices */
@supports (height: 100dvh) {
  #home {
    min-height: 100dvh;
  }
}

/* Fold unfolded & small tablet landscape (401px – 639px) */
@media (min-width: 401px) and (max-width: 639px) {
  #home {
    min-height: 100svh;
  }
  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
}

/* Very Small Screens (fold phones, flip phones, small devices ≤400px) */
@media (max-width: 400px) {
  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  #hero-text .hero-entry .btn {
    padding: 0.75rem 1rem;
    font-size: 0.7rem;
    gap: 0.4rem;
  }

  .stat-card {
    padding: 1.5rem !important;
  }

  .service-card {
    height: 350px !important;
  }

  .service-card .p-8 {
    padding: 1.5rem !important;
  }

  #hero-text h1 span {
    font-size: inherit;
  }

  .back-to-top {
    bottom: 75px;
    right: 15px;
    width: 38px;
    height: 38px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: 3.5rem;
  }

  #hero-image-container .billboard-frame {
    max-width: 350px;
  }

  #hero-image-container {
    align-items: center;
  }

  .service-card {
    height: 350px !important;
  }
}
