/* ============================================
   GLOBAL SENTIX - BLACK/GRAY ENTERPRISE THEME
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-bg: #0d0d0d;
  --secondary-bg: #1a1a1a;
  --card-bg: #252525;
  --accent-primary: #888888;
  --accent-secondary: #666666;
  --accent-gold: #999999;
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --text-muted: #7a7a7a;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(136, 136, 136, 0.3);
  --glow-red: rgba(136, 136, 136, 0.4);
  --glow-orange: rgba(102, 102, 102, 0.4);
  --glow-white: rgba(200, 200, 200, 0.3);
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--primary-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============================================
   TOP NAVIGATION BAR
   ============================================ */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.nav-logo span {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: #ffffff;
}

.nav-logo strong {
  font-weight: 800;
  color: #00ff88;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.nav-btn {
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.login-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.register-btn {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: #0a0a0a;
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

/* Main content padding for fixed nav */
main {
  padding-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
  }
  
  .nav-logo span {
    font-size: 1rem;
  }
  
  .nav-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .nav-btn i {
    display: none;
  }
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(136, 136, 136, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(102, 102, 102, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(150, 150, 150, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1 !important;
  animation: bgPulse 15s ease-in-out infinite;
}
@keyframes bgPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1 !important;
}

main {
  position: relative;
  z-index: 1;
  margin-left: 80px;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 100vh;
  background: linear-gradient(180deg, var(--secondary-bg) 0%, var(--card-bg) 100%);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  z-index: 999999 !important;
  backdrop-filter: blur(20px);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}
.sidebar .logo {
  width: 50px;
  height: 50px;
  margin-bottom: 50px;
  position: relative;
  cursor: pointer;
}
.sidebar .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 15px var(--glow-red));
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar .logo:hover img {
  transform: scale(1.15) rotate(360deg);
  filter: drop-shadow(0 0 30px var(--glow-red)) drop-shadow(0 0 50px var(--glow-red));
}

.sidebar nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar nav ul li a {
  display: block;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sidebar nav ul li a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.sidebar nav ul li a:hover::before {
  opacity: 0.15;
}

.sidebar nav ul li a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: grayscale(1) brightness(0.7);
  transition: all 0.3s;
}

.sidebar nav ul li a:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.1);
}

.sidebar nav ul li a:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--glow-gray);
  transform: translateX(5px);
}

/* DISCORD BUTTON */
.discord-float {
  position: fixed !important;
  left: 100px !important;
  bottom: 30px !important;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #505050 0%, #3a3a3a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(80, 80, 80, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999998 !important;
  border: 2px solid rgba(255, 255, 255, 0.1);
  animation: discordPulse 3s ease-in-out infinite;
  text-decoration: none;
}

@keyframes discordPulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(80, 80, 80, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 35px rgba(100, 100, 100, 0.6), 0 0 40px rgba(80, 80, 80, 0.3);
    transform: scale(1.05);
  }
}
.discord-float:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 15px 40px rgba(100, 100, 100, 0.6), 0 0 50px rgba(80, 80, 80, 0.4);
  animation: none;
}

.discord-float i {
  font-size: 36px;
  color: #fff !important;
}

/* PROTECTION SECTION */
#protection {
  background: linear-gradient(180deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}

.protection-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#protection h2 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

#protection .section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.protection-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 1.05rem;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.protection-text b {
  color: var(--accent-gold);
  font-weight: 600;
}

.protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 35px;
  margin-top: 60px;
  justify-items: center;
}

.protection-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 25px;
  width: 100%;
  max-width: 350px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.protection-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px var(--glow-gray);
}

.protection-card i {
  font-size: 2.8rem;
  color: var(--accent-primary);
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 0 12px var(--glow-gray));
}

.protection-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.protection-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.98rem;
  max-width: 300px;
  margin: 0 auto;
}

/* SCROLL TO TOP */
#scrollTop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 998;
  box-shadow: 0 5px 20px var(--glow-gray);
}

#scrollTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollTop:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--glow-gray);
}

/* HERO SECTION */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, var(--primary-bg) 50%, var(--secondary-bg) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(136, 136, 136, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(102, 102, 102, 0.05) 0%, transparent 60%);
  animation: heroGlow 10s ease-in-out infinite alternate;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(136, 136, 136, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 136, 136, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.3;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

@keyframes heroGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 1200px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(136, 136, 136, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  margin-bottom: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-secondary);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(136, 136, 136, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(136, 136, 136, 0.3);
  }
}

.hero-badge i {
  font-size: 1rem;
}

.hero-content h1 {
  font-size: 5.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: 4px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #aaaaaa 0%, #777777 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px var(--glow-gray));
  }
  50% {
    filter: drop-shadow(0 0 20px var(--glow-gray));
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.hero-stat .stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-indicator i {
  font-size: 1.5rem;
  color: var(--accent-primary);
  opacity: 0.7;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--glow-gray);
  border: 2px solid transparent;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.cta-btn.secondary {
  background: transparent;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: none;
}

.cta-btn.secondary:hover {
  background: var(--accent-primary);
  color: white;
}

.cta-btn i {
  font-size: 1.1rem;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--glow-gray);
}

/* SECTIONS */
section {
  padding: 100px 50px;
  position: relative;
}

section h2 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  width: 100%;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
  box-shadow: 0 0 15px var(--glow-gray);
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 60px;
  font-weight: 300;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  main {
    margin-left: 0;
  }

  .sidebar {
    width: 100%;
    height: 70px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
    bottom: 0;
    top: auto;
  }

  .sidebar .logo {
    margin-bottom: 0;
  }

  .sidebar nav ul {
    flex-direction: row;
  }

  .hero-content h1 {
    font-size: 2.8rem;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  section {
    padding: 60px 20px;
  }

  section h2 {
    font-size: 2.2rem;
  }

  .discord-float {
    left: 15px;
    bottom: 90px;
    width: 55px;
    height: 55px;
  }

  #scrollTop {
    right: 15px;
    bottom: 90px;
  }

  #protection {
    padding: 80px 25px;
  }

  .protection-grid {
    grid-template-columns: 1fr;
  }

  .protection-card {
    max-width: 100%;
  }
}

/* ============================================
   ABOUT SECTION - ENHANCED
   ============================================ */
#about {
  background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0.3;
}

.about-container {
  max-width: 1300px;
  margin: 0 auto;
}

.about-intro {
  max-width: 900px;
  margin: 0 auto 60px;
}

.about-lead {
  font-size: 1.35rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-weight: 400;
  text-align: center;
}

.about-description {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  padding: 40px 30px;
  background: linear-gradient(145deg, var(--card-bg), var(--secondary-bg));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px var(--glow-white);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 30px var(--glow-white);
}

.feature-icon i {
  font-size: 2.2rem;
  color: var(--text-primary);
  filter: drop-shadow(0 0 10px var(--glow-white));
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.feature-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
#technology {
  background: var(--secondary-bg);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.tech-card {
  padding: 40px 30px;
  background: linear-gradient(145deg, var(--card-bg), var(--secondary-bg));
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 40px var(--glow-red);
}

.tech-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 600;
}

.tech-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
#why {
  background: var(--primary-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.why-grid > div {
  text-align: center;
  padding: 40px 25px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-color);
  border-radius: 18px;
  transition: all 0.4s ease;
  position: relative;
}

.why-grid > div::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.why-grid > div:hover::after {
  opacity: 1;
}

.why-grid > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px var(--glow-red);
}

.why-grid i {
  font-size: 3rem;
  color: var(--accent-primary);
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 15px var(--glow-red));
  transition: all 0.3s;
}

.why-grid > div:hover i {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 25px var(--glow-red));
}

.why-grid h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.why-grid p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* ============================================
   MODULES SECTION
   ============================================ */
#modules {
  background: var(--secondary-bg);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 60px auto 0;
}

.module-card {
  padding: 35px 28px;
  background: linear-gradient(145deg, var(--card-bg), var(--secondary-bg));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(136, 136, 136, 0.1) 90deg,
    transparent 180deg
  );
  animation: rotateCard 8s linear infinite;
  opacity: 0;
  transition: opacity 0.4s;
}

@keyframes rotateCard {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.module-card:hover::before {
  opacity: 1;
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px var(--glow-red);
}

.module-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.module-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.98rem;
  position: relative;
  z-index: 1;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
#statistics {
  background: var(--primary-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.stat-card {
  text-align: center;
  padding: 40px 25px;
  background: linear-gradient(145deg, rgba(136, 136, 136, 0.05), rgba(102, 102, 102, 0.05));
  border: 1px solid var(--border-color);
  border-radius: 18px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.4s;
}

.stat-card:hover::before {
  opacity: 0.1;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 40px var(--glow-red);
}

.stat-card h3 {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.stat-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

/* ============================================
   SYSTEM SECTION
   ============================================ */
#system {
  background: var(--secondary-bg);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.spec-card {
  padding: 25px;
  background: linear-gradient(145deg, var(--card-bg), var(--secondary-bg));
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-primary);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.spec-card:hover {
  transform: translateX(5px);
  border-left-color: var(--accent-secondary);
  box-shadow: 0 5px 20px var(--glow-red);
}

.spec-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.98rem;
}

.spec-card b {
  color: var(--text-primary);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 8px;
}

/* ============================================
   SDK SECTION
   ============================================ */
#sdk {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  text-align: center;
  padding: 120px 50px;
}

#sdk h2 {
  margin-bottom: 25px;
}

#sdk p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  padding: 60px 50px 30px;
  text-align: center;
}

.footer-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-content p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 1rem;
}

.footer-links {
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.copy {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* ============================================
   COMING SOON - RUST
   ============================================ */
.coming-soon {
  cursor: not-allowed !important;
  opacity: 0.6;
  position: relative;
}

.coming-soon:hover {
  opacity: 0.8;
}

.rust-dots {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 12px;
  height: 12px;
  background: #888888;
  border-radius: 50%;
  animation: rustPulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(136, 136, 136, 0.6);
}

@keyframes rustPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

/* ============================================
   ANIMATED BACKGROUND PARTICLES
   ============================================ */
.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(136, 136, 136, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(136, 136, 136, 0.3);
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(var(--x-move)) scale(1);
    opacity: 0;
  }
}

.particle:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: 0s; --x-move: 50px; }
.particle:nth-child(2) { left: 20%; animation-duration: 18s; animation-delay: 2s; --x-move: -30px; }
.particle:nth-child(3) { left: 30%; animation-duration: 12s; animation-delay: 4s; --x-move: 70px; }
.particle:nth-child(4) { left: 40%; animation-duration: 20s; animation-delay: 1s; --x-move: -50px; }
.particle:nth-child(5) { left: 50%; animation-duration: 16s; animation-delay: 3s; --x-move: 40px; }
.particle:nth-child(6) { left: 60%; animation-duration: 14s; animation-delay: 5s; --x-move: -60px; }
.particle:nth-child(7) { left: 70%; animation-duration: 19s; animation-delay: 2s; --x-move: 80px; }
.particle:nth-child(8) { left: 80%; animation-duration: 17s; animation-delay: 4s; --x-move: -40px; }
.particle:nth-child(9) { left: 90%; animation-duration: 13s; animation-delay: 1s; --x-move: 60px; }
.particle:nth-child(10) { left: 15%; animation-duration: 21s; animation-delay: 3s; --x-move: -70px; }
.particle:nth-child(11) { left: 25%; animation-duration: 11s; animation-delay: 0s; --x-move: 90px; }
.particle:nth-child(12) { left: 35%; animation-duration: 22s; animation-delay: 5s; --x-move: -80px; }
.particle:nth-child(13) { left: 45%; animation-duration: 15s; animation-delay: 2s; --x-move: 55px; }
.particle:nth-child(14) { left: 55%; animation-duration: 18s; animation-delay: 4s; --x-move: -45px; }
.particle:nth-child(15) { left: 65%; animation-duration: 16s; animation-delay: 1s; --x-move: 75px; }
.particle:nth-child(16) { left: 75%; animation-duration: 20s; animation-delay: 3s; --x-move: -55px; }
.particle:nth-child(17) { left: 85%; animation-duration: 14s; animation-delay: 0s; --x-move: 65px; }
.particle:nth-child(18) { left: 95%; animation-duration: 17s; animation-delay: 5s; --x-move: -75px; }
.particle:nth-child(19) { left: 5%; animation-duration: 19s; animation-delay: 2s; --x-move: 85px; }
.particle:nth-child(20) { left: 50%; animation-duration: 13s; animation-delay: 4s; --x-move: -65px; }

/* ============================================
   POPUP MODAL SYSTEM
   ============================================ */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  position: relative;
  max-width: 600px;
  width: 90%;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border: 2px solid rgba(136, 136, 136, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(136, 136, 136, 0.2),
    inset 0 0 30px rgba(136, 136, 136, 0.05);
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: popupBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popupBounce {
  0% {
    transform: scale(0.3) rotate(-5deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.05) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.popup-overlay.active .popup-container {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(136, 136, 136, 0.2);
  border: 2px solid rgba(136, 136, 136, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 20px;
  color: #999;
  font-weight: bold;
}

.popup-close:hover {
  background: rgba(136, 136, 136, 0.4);
  border-color: rgba(136, 136, 136, 0.6);
  transform: rotate(90deg) scale(1.1);
  color: #fff;
  box-shadow: 0 0 20px rgba(136, 136, 136, 0.4);
}

.popup-image-wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.popup-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.popup-image-wrapper:hover::before {
  left: 100%;
}

.popup-image-wrapper:hover {
  transform: scale(1.02);
}

.popup-image {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

.popup-image-wrapper:hover .popup-image {
  filter: brightness(1.1);
}

.popup-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(136, 136, 136, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}
