/* 
   WebPays Fraud - High Contrast Glassmorphism Design System
   Mobile-First, Performance Optimized
*/

:root {
  /* Color Palette - High Contrast Dark Mode */
  --bg-dark: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-primary: #00f0ff; /* Neon Cyan */
  --accent-secondary: #ff0055; /* Neon Red/Pink */
  --accent-warning: #ffcc00; /* Neon Yellow */
  --border-glass: rgba(255, 255, 255, 0.1);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  text-transform: uppercase;
  background: linear-gradient(to right, #fff, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

p {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #fff;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.font-mono { font-family: var(--font-mono); }
.text-accent { color: var(--accent-primary); }
.text-warning { color: var(--accent-warning); }
.text-danger { color: var(--accent-secondary); }

/* Glassmorphism Components */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: var(--space-md);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  color: #fff;
}

.logo span {
  color: var(--accent-secondary);
}

.nav-links {
  display: none;
  gap: var(--space-md);
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 0, 85, 0.1);
  border: 1px solid var(--accent-secondary);
  color: var(--accent-secondary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  letter-spacing: 0.1em;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-primary);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* Features/Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

/* Table */
.table-container {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
}

th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

tr:last-child td {
  border-bottom: none;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-glass);
  padding: var(--space-lg) 0;
  margin-top: var(--space-xl);
  background: rgba(0,0,0,0.5);
}

/* Media Queries */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  
  h1 { font-size: 5rem; }
}