/* ===== WEBSHIELD SOLUTIONS - GLOBAL STYLES ===== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --primary: #00f5ff;
  --secondary: #0a84ff;
  --accent: #ff3cac;
  --dark: #020c1b;
  --darker: #010810;
  --card-bg: rgba(0, 245, 255, 0.04);
  --glass: rgba(0, 245, 255, 0.07);
  --glass-border: rgba(0, 245, 255, 0.15);
  --text: #e0f7fa;
  --text-muted: #7a9cb0;
  --glow: 0 0 20px rgba(0, 245, 255, 0.4);
  --glow-strong: 0 0 40px rgba(0, 245, 255, 0.6);
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease, opacity 0.3s;
  box-shadow: var(--glow);
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transition: transform 0.15s ease, width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.5;
}
.cursor.expand { transform: scale(3); opacity: 0.3; }
.cursor-ring.expand { width: 60px; height: 60px; opacity: 0.2; }

/* ===== CANVAS PARTICLE BG ===== */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== PAGE WRAPPER ===== */
.page-wrapper {
  position: relative;
  z-index: 1;
}

/* ===== PAGE TRANSITION OVERLAY ===== */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 99997;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
.page-transition.enter { animation: sweepIn 0.5s cubic-bezier(0.86, 0, 0.07, 1) forwards; }
.page-transition.exit { animation: sweepOut 0.5s cubic-bezier(0.86, 0, 0.07, 1) forwards; }
@keyframes sweepIn {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes sweepOut {
  from { transform: scaleY(1); transform-origin: top; }
  to   { transform: scaleY(0); transform-origin: top; }
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 12, 27, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
nav.scrolled {
  background: rgba(1, 8, 16, 0.95);
  box-shadow: 0 4px 30px rgba(0, 245, 255, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 42px; height: 42px;
  position: relative;
}
.logo-icon svg { width: 100%; height: 100%; }
.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  text-shadow: var(--glow);
  line-height: 1.1;
}
.logo-text span { display: block; font-size: 0.55rem; letter-spacing: 4px; color: var(--text-muted); font-weight: 400; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--primary);
  box-shadow: var(--glow);
  transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 9px 22px;
  border: 1.5px solid var(--primary);
  border-radius: 4px;
  color: var(--primary) !important;
  font-family: 'Orbitron', sans-serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 2px;
  transition: var(--transition) !important;
  background: transparent;
}
.nav-cta:hover {
  background: var(--primary) !important;
  color: var(--dark) !important;
  box-shadow: var(--glow-strong) !important;
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px; height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== SECTION COMMONS ===== */
section { padding: 100px 8%; position: relative; }
.section-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.8;
}
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.section-title .highlight {
  color: var(--primary);
  text-shadow: var(--glow);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.9;
  font-weight: 300;
}

/* ===== GLITCH EFFECT ===== */
.glitch {
  position: relative;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch::before {
  color: var(--accent);
  animation: glitch-1 3s infinite linear;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.glitch::after {
  color: var(--secondary);
  animation: glitch-2 3s infinite linear;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}
@keyframes glitch-1 {
  0%,94%,100% { transform: none; opacity: 0; }
  95% { transform: translate(-3px, -1px); opacity: 0.7; }
  97% { transform: translate(3px, 1px); opacity: 0.7; }
  99% { transform: translate(-2px, 2px); opacity: 0.7; }
}
@keyframes glitch-2 {
  0%,94%,100% { transform: none; opacity: 0; }
  96% { transform: translate(3px, 1px); opacity: 0.6; }
  98% { transform: translate(-3px, -1px); opacity: 0.6; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--dark);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(0, 245, 255, 0.5), 0 0 60px rgba(0, 245, 255, 0.2); transform: translateY(-2px); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: transparent;
  color: var(--primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1.5px solid var(--primary);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(0, 245, 255, 0.08);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.1), inset 0 0 30px rgba(0, 245, 255, 0.03);
  transform: translateY(-6px);
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}
.stat-item {
  padding: 30px 20px;
  background: var(--glass);
  text-align: center;
  transition: var(--transition);
}
.stat-item:hover { background: rgba(0, 245, 255, 0.08); }
.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: var(--glow);
  display: block;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 5px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--darker);
  border-top: 1px solid var(--glass-border);
  padding: 60px 8% 30px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 40px;
}
.footer-brand .logo-text { font-size: 1rem; margin-bottom: 15px; }
.footer-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.8; max-width: 280px; }
.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--primary); }
.social-links { display: flex; gap: 12px; margin-top: 15px; }
.social-links a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-links a:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--glow); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }
.footer-bottom .primary-text { color: var(--primary); }

/* ===== SCAN LINE OVERLAY ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 245, 255, 0.015) 2px, rgba(0, 245, 255, 0.015) 4px);
  pointer-events: none;
  z-index: 99990;
}

/* ===== GRID LINES BG ===== */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ===== FLOATING BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.badge-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(0,245,255,0.6); } 50% { box-shadow: 0 0 0 6px rgba(0,245,255,0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { padding: 0 4%; }
  section { padding: 80px 5%; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 75px; left: 0; right: 0;
    background: rgba(2, 12, 27, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}