/* =============================================
   CYBERPUNK NEON THEME - Custom Styles
   ============================================= */

/* --- Google Fonts Fallback --- */
body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: #000000;
  color: #e0e0e0;
  overflow-x: hidden;
}

/* --- Scanlines Overlay --- */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #050510;
}
::-webkit-scrollbar-thumb {
  background: #ff2d75;
  border-radius: 3px;
  box-shadow: 0 0 10px #ff2d75;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff1493;
}

/* --- Selection --- */
::selection {
  background: #ff2d75;
  color: #000;
}
::-moz-selection {
  background: #ff2d75;
  color: #000;
}

/* =============================================
   NEON GLOW UTILITIES
   ============================================= */
.neon-pink {
  color: #ff2d75;
  text-shadow: 0 0 7px #ff2d75, 0 0 10px #ff2d75, 0 0 21px #ff2d75, 0 0 42px #ff1493;
}
.neon-cyan {
  color: #00ffff;
  text-shadow: 0 0 7px #00ffff, 0 0 10px #00ffff, 0 0 21px #00ffff, 0 0 42px #00e5ff;
}
.neon-yellow {
  color: #ffff00;
  text-shadow: 0 0 7px #ffff00, 0 0 10px #ffff00, 0 0 21px #ffff00;
}
.neon-green {
  color: #00ff41;
  text-shadow: 0 0 7px #00ff41, 0 0 10px #00ff41, 0 0 21px #00ff41;
}

.neon-border-pink {
  border: 1px solid #ff2d75;
  box-shadow: 0 0 5px #ff2d75, 0 0 20px rgba(255, 45, 117, 0.3), inset 0 0 5px rgba(255, 45, 117, 0.1);
}
.neon-border-cyan {
  border: 1px solid #00ffff;
  box-shadow: 0 0 5px #00ffff, 0 0 20px rgba(0, 255, 255, 0.3), inset 0 0 5px rgba(0, 255, 255, 0.1);
}

.neon-box {
  background: rgba(5, 5, 16, 0.9);
  border: 1px solid #ff2d75;
  box-shadow: 0 0 10px rgba(255, 45, 117, 0.3), 0 0 40px rgba(255, 45, 117, 0.1), inset 0 0 20px rgba(255, 45, 117, 0.05);
}

.neon-box-cyan {
  background: rgba(5, 5, 16, 0.9);
  border: 1px solid #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3), 0 0 40px rgba(0, 255, 255, 0.1), inset 0 0 20px rgba(0, 255, 255, 0.05);
}

/* =============================================
   GLITCH ANIMATION
   ============================================= */
@keyframes glitch {
  0% {
    text-shadow: 2px 0 #ff2d75, -2px 0 #00ffff;
    transform: translate(0);
  }
  20% {
    text-shadow: -2px 0 #ff2d75, 2px 0 #00ffff;
    transform: translate(-2px, 2px);
  }
  40% {
    text-shadow: 2px 0 #ff2d75, -2px 0 #00ffff;
    transform: translate(2px, -2px);
  }
  60% {
    text-shadow: -2px 0 #ff2d75, 2px 0 #00ffff;
    transform: translate(-2px, 0);
  }
  80% {
    text-shadow: 2px 0 #ff2d75, -2px 0 #00ffff;
    transform: translate(0, 2px);
  }
  100% {
    text-shadow: 2px 0 #ff2d75, -2px 0 #00ffff;
    transform: translate(0);
  }
}

.glitch-text {
  animation: glitch 0.3s infinite;
  position: relative;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.glitch-text::before {
  left: -2px;
  text-shadow: 2px 0 #ff2d75;
  animation: glitch-before 2s infinite linear alternate-reverse;
  clip: rect(44px, 9999px, 56px, 0);
}
.glitch-text::after {
  left: 2px;
  text-shadow: -2px 0 #00ffff;
  animation: glitch-after 3s infinite linear alternate-reverse;
  clip: rect(12px, 9999px, 36px, 0);
}
@keyframes glitch-before {
  0% { clip: rect(12px, 9999px, 52px, 0); }
  20% { clip: rect(76px, 9999px, 30px, 0); }
  40% { clip: rect(40px, 9999px, 86px, 0); }
  60% { clip: rect(10px, 9999px, 70px, 0); }
  80% { clip: rect(54px, 9999px, 20px, 0); }
  100% { clip: rect(22px, 9999px, 62px, 0); }
}
@keyframes glitch-after {
  0% { clip: rect(64px, 9999px, 88px, 0); }
  20% { clip: rect(18px, 9999px, 44px, 0); }
  40% { clip: rect(82px, 9999px, 36px, 0); }
  60% { clip: rect(30px, 9999px, 58px, 0); }
  80% { clip: rect(50px, 9999px, 14px, 0); }
  100% { clip: rect(72px, 9999px, 28px, 0); }
}

/* --- Glitch hover for stats --- */
@keyframes glitch-number {
  0%, 100% { transform: translate(0); opacity: 1; }
  5% { transform: translate(-3px, 1px); opacity: 0.8; }
  10% { transform: translate(3px, -1px); opacity: 1; }
  15% { transform: translate(0); opacity: 0.9; }
}
.glitch-number {
  animation: glitch-number 5s infinite;
}

/* =============================================
   CHROMATIC ABERRATION (HERO TITLE)
   ============================================= */
.chromatic-text {
  text-shadow:
    2px 0 #ff2d75,
    -2px 0 #00ffff,
    0 0 20px rgba(255, 45, 117, 0.6),
    0 0 40px rgba(0, 255, 255, 0.4);
  position: relative;
}

/* =============================================
   NEON GRID FLOOR (HERO)
   ============================================= */
.neon-grid-floor {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) perspective(600px) rotateX(60deg);
  width: 120%;
  height: 50%;
  background-image:
    linear-gradient(rgba(255, 45, 117, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 117, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 0;
}

/* =============================================
   NEON RAIN EFFECT
   ============================================= */
.neon-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.rain-drop {
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #00ffff, #ff2d75);
  animation: rain-fall linear infinite;
  opacity: 0;
}
@keyframes rain-fall {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* =============================================
   HEXAGONAL ICON FRAMES
   ============================================= */
.hex-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 92px;
  background: #050510;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: none;
  position: relative;
}
.hex-icon::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: linear-gradient(135deg, #ff2d75, #ff1493);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
  opacity: 0.7;
}
.hex-icon i {
  color: #fff;
  font-size: 28px;
  text-shadow: 0 0 10px #fff;
  z-index: 1;
}

.hex-icon-cyan::before {
  background: linear-gradient(135deg, #00ffff, #00e5ff);
}

/* =============================================
   FEATURE CARDS - NEON BORDER GLOW ON HOVER
   ============================================= */
.feature-card {
  background: rgba(10, 10, 25, 0.85);
  border: 1px solid rgba(255, 45, 117, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 117, 0.05), transparent);
  transition: left 0.6s;
}
.feature-card:hover::before {
  left: 100%;
}
.feature-card:hover {
  border-color: #ff2d75;
  box-shadow: 0 0 15px rgba(255, 45, 117, 0.4), 0 0 40px rgba(255, 45, 117, 0.15), inset 0 0 30px rgba(255, 45, 117, 0.05);
  transform: translateY(-5px);
}

/* =============================================
   NAVBAR - DARK GLASS + NEON PINK BOTTOM GLOW
   ============================================= */
.nav-glass {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 45, 117, 0.4);
  box-shadow: 0 4px 20px rgba(255, 45, 117, 0.2);
}
.nav-link {
  position: relative;
  transition: color 0.3s;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00ffff;
  box-shadow: 0 0 10px #00ffff;
  transition: width 0.3s;
}
.nav-link:hover {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}
.nav-link:hover::after {
  width: 100%;
}

/* =============================================
   MOBILE HAMBURGER
   ============================================= */
.hamburger {
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 100;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #ff2d75;
  box-shadow: 0 0 5px #ff2d75;
  transition: all 0.3s;
}
.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: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid #ff2d75;
    box-shadow: 0 10px 30px rgba(255, 45, 117, 0.3);
  }
  .nav-links.active {
    display: flex;
  }
}

/* =============================================
   STATS COUNTER
   ============================================= */
.stat-number {
  font-family: 'Orbitron', monospace;
  color: #ff2d75;
  text-shadow: 0 0 10px #ff2d75, 0 0 20px #ff2d75;
}

/* =============================================
   TESTIMONIAL CARDS
   ============================================= */
.testimonial-card {
  background: rgba(10, 10, 25, 0.9);
  border: 1px solid rgba(255, 45, 117, 0.25);
  position: relative;
  transition: all 0.4s;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  width: 3px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, #ff2d75, #00ffff, transparent);
  box-shadow: 0 0 10px #ff2d75;
}
.testimonial-card:hover {
  border-color: #ff2d75;
  box-shadow: 0 0 20px rgba(255, 45, 117, 0.3);
  transform: translateY(-3px);
}
.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ff2d75;
  box-shadow: 0 0 15px rgba(255, 45, 117, 0.4);
  object-fit: cover;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-item {
  background: rgba(10, 10, 25, 0.9);
  border: 1px solid rgba(255, 45, 117, 0.2);
  margin-bottom: 12px;
  transition: all 0.3s;
  cursor: pointer;
}
.faq-item:hover {
  border-color: rgba(255, 45, 117, 0.5);
}
.faq-item.active {
  border-color: #ff2d75;
  box-shadow: 0 0 15px rgba(255, 45, 117, 0.2);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-weight: 600;
}
.faq-indicator {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #00ffff;
  border-radius: 50%;
  color: #00ffff;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
  transition: all 0.3s;
  flex-shrink: 0;
}
.faq-item.active .faq-indicator {
  background: #00ffff;
  color: #000;
  box-shadow: 0 0 15px #00ffff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px 24px;
}

/* =============================================
   CTA - NEON GRADIENT
   ============================================= */
.cta-section {
  background: #000000;
  position: relative;
}
.cta-glow {
  background: linear-gradient(135deg, #ff2d75, #ff1493, #00ffff, #a855f7);
  background-size: 300% 300%;
  animation: gradient-shift 4s ease-in-out infinite;
  padding: 2px;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.cta-inner {
  background: #050510;
}

/* =============================================
   FOOTER - NEON GRID
   ============================================= */
.footer-grid-bg {
  background:
    linear-gradient(rgba(255, 45, 117, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 117, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #050510;
  border: 2px solid #ff2d75;
  color: #ff2d75;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 45, 117, 0.4);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #ff2d75;
  color: #000;
  box-shadow: 0 0 25px #ff2d75, 0 0 50px rgba(255, 45, 117, 0.5);
}

/* =============================================
   FLOATING CUSTOMER SERVICE BUTTON
   ============================================= */
.floating-cs {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d75, #ff1493);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  font-size: 22px;
  box-shadow: 0 0 20px rgba(255, 45, 117, 0.5), 0 0 40px rgba(255, 45, 117, 0.3);
  animation: pulse-cs 2s infinite;
  transition: transform 0.3s;
}
.floating-cs:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 45, 117, 0.7), 0 0 60px rgba(255, 45, 117, 0.4);
}
@keyframes pulse-cs {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 45, 117, 0.5), 0 0 40px rgba(255, 45, 117, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 45, 117, 0.7), 0 0 60px rgba(255, 45, 117, 0.5);
  }
}

/* =============================================
   INTERSECTION OBSERVER ANIMATIONS
   ============================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.scale-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Delay Utilities --- */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* =============================================
   ABOUT PAGE - NEON BORDER BOX
   ============================================= */
.about-neon-card {
  background: rgba(5, 5, 16, 0.9);
  border: 1px solid rgba(255, 45, 117, 0.3);
  box-shadow: 0 0 15px rgba(255, 45, 117, 0.15), 0 0 40px rgba(0, 255, 255, 0.08);
  transition: all 0.4s;
}
.about-neon-card:hover {
  border-color: #ff2d75;
  box-shadow: 0 0 25px rgba(255, 45, 117, 0.25), 0 0 50px rgba(0, 255, 255, 0.15);
}

/* =============================================
   CONTACT PAGE - FORM INPUTS
   ============================================= */
.cyber-input {
  background: rgba(10, 10, 25, 0.9);
  border: 1px solid rgba(255, 45, 117, 0.3);
  color: #fff;
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: all 0.3s;
  font-family: 'Noto Sans SC', sans-serif;
}
.cyber-input:focus {
  border-color: #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3), 0 0 20px rgba(0, 255, 255, 0.1);
}
.cyber-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.cyber-btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #ff2d75, #ff1493);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 45, 117, 0.4);
}
.cyber-btn:hover {
  box-shadow: 0 0 25px rgba(255, 45, 117, 0.6), 0 0 50px rgba(255, 45, 117, 0.3);
  transform: translateY(-2px);
}
.cyber-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.cyber-btn:hover::before {
  left: 100%;
}

.cyber-btn-cyan {
  background: linear-gradient(135deg, #00ffff, #00e5ff);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}
.cyber-btn-cyan:hover {
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6), 0 0 50px rgba(0, 255, 255, 0.3);
}

/* =============================================
   CONTACT INFO CARDS
   ============================================= */
.contact-info-card {
  background: rgba(10, 10, 25, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.3);
  padding: 24px;
  transition: all 0.3s;
}
.contact-info-card:hover {
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* =============================================
   SECTION DIVIDER
   ============================================= */
.neon-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff2d75, #ff1493, transparent);
  margin: 16px auto;
  box-shadow: 0 0 10px #ff2d75;
}

/* =============================================
   ABOUT PAGE TIMELINE
   ============================================= */
.timeline-line {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid rgba(255, 45, 117, 0.4);
}
.timeline-dot {
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff2d75;
  box-shadow: 0 0 10px #ff2d75, 0 0 20px rgba(255, 45, 117, 0.5);
}

/* =============================================
   PAGE HERO SUB
   ============================================= */
.page-hero-sub {
  position: relative;
  overflow: hidden;
  background: #050510;
}
.page-hero-sub::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(255, 45, 117, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .neon-grid-floor {
    width: 150%;
    height: 40%;
    background-size: 40px 40px;
  }
  .hex-icon {
    width: 60px;
    height: 69px;
  }
  .hex-icon i {
    font-size: 22px;
  }
  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
  .floating-cs {
    bottom: 70px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

/* =============================================
   FOCUS-VISIBLE
   ============================================= */
*:focus-visible {
  outline: 2px solid #00ffff;
  outline-offset: 2px;
}
