/* ==========================================================================
   ULTIMATIVE ROT-WEISS MODERN CSS 2025
   Possible Bots Licensing System
   ========================================================================== */

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red-primary: #ff1a1a;
  --red-secondary: #ff4d4d;
  --red-glow: #ff6666;
  --white-primary: #ffffff;
  --white-secondary: #f8f9fa;
  --black-primary: #0a0a0a;
  --black-secondary: #1a1a1a;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 26, 26, 0.25);
  --shadow-glow: 0 0 40px rgba(255, 26, 26, 0.4);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--white-primary);
  background: var(--black-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   PERFekte GLASSMORPHISM 2025
   ========================================================================== */
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.03), transparent);
  border-radius: inherit;
  pointer-events: none;
}

.glass-hover {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-hover:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 26, 26, 0.5);
  transform: translateY(-8px);
  box-shadow: 
    0 25px 60px rgba(255, 26, 26, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   ANIMATIONS FRAMEWORK
   ========================================================================== */
@keyframes float-glow {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    box-shadow: var(--shadow-glow);
  }
  50% { 
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(255, 26, 26, 0.5);
  }
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 26, 26, 0.6);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(255, 26, 26, 0.9);
    transform: scale(1.05);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: slideInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
}

.pulse-glow {
  animation: pulse-glow 2s infinite;
}

.float-glow {
  animation: float-glow 6s ease-in-out infinite;
}

/* ==========================================================================
   NAVBAR 2.0 - GLASS PERFECTION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(40px);
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid rgba(255, 26, 26, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--white-primary) 0%, var(--red-glow) 50%, var(--white-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.025em;
}

/* ==========================================================================
   HERO SECTION - EPIC SCALE
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding: 12rem 2rem 8rem;
  display: flex;
  align-items: center;
  position: relative;
  background: 
    radial-gradient(ellipse at top left, rgba(255, 26, 26, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    linear-gradient(135deg, #1a0000 0%, var(--black-primary) 50%, #000000 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 26, 26, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.25), rgba(255, 255, 255, 0.1));
  color: var(--white-primary);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  margin-bottom: 4rem;
  box-shadow: 0 8px 24px rgba(255, 26, 26, 0.2);
  animation: pulse-glow 3s infinite;
}

.hero-title {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  margin-bottom: 2.5rem;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--white-primary) 0%, #ffd6d6 40%, var(--white-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.highlight {
  background: linear-gradient(135deg, var(--red-primary), var(--red-glow), var(--red-primary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  max-width: 900px;
  margin: 0 auto 5rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 6rem;
}

.demo-btn {
  background: linear-gradient(135deg, var(--white-primary), var(--white-secondary));
  color: var(--black-primary);
  padding: 1.75rem 4rem;
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 
    0 20px 40px rgba(255, 255, 255, 0.25),
    0 8px 20px rgba(0, 0, 0, 0.2);
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.demo-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
}

.demo-btn:hover::before {
  left: 100%;
}

.demo-btn:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 
    0 35px 70px rgba(255, 255, 255, 0.35),
    0 15px 30px rgba(0, 0, 0, 0.3);
}

.login-btn, .login-btn-secondary {
  background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
  color: var(--white-primary);
  padding: 1.5rem 3.5rem;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 700;
  border: 2px solid transparent;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.login-btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 48px;
  z-index: -1;
}

.login-btn:hover {
  border-color: var(--white-primary);
  transform: translateY(-6px);
  box-shadow: 
    0 25px 50px rgba(255, 26, 26, 0.45),
    0 0 0 1px var(--white-primary);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.status-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--red-primary);
  border-radius: 50%;
  margin-right: 1rem;
  box-shadow: 0 0 25px rgba(255, 26, 26, 0.8);
  animation: pulse-glow 1.8s infinite;
}

/* ==========================================================================
   CONTAINER & SECTIONS
   ========================================================================== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 8rem;
}

.section-header h2 {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--white-primary), #ffd6d6, var(--white-primary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section-header p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.7;
}

/* ==========================================================================
   FEATURES GRID - 3D HOVER EFFECTS
   ========================================================================== */
.features, .tech-stack, .pricing {
  padding: 10rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 3rem;
}

.feature-card {
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-20px) rotateX(8deg) scale(1.02);
  box-shadow: 
    0 40px 100px rgba(255, 26, 26, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 3rem;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(255, 26, 26, 0.2);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--red-primary), var(--red-glow));
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 20px 50px rgba(255, 26, 26, 0.4);
}

.feature-card h3 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--white-primary), var(--red-glow));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card ul {
  list-style: none;
  text-align: left;
}

.feature-card li {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.check {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-glow));
  border-radius: 50%;
  margin-right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
  color: var(--white-primary);
  box-shadow: 0 0 20px rgba(255, 26, 26, 0.8);
  flex-shrink: 0;
}

/* ==========================================================================
   TECH STACK - NEON GLOW
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  justify-items: center;
}

.tech-item {
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tech-item:hover {
  transform: translateY(-15px) scale(1.1);
}

.tech-icon {
  width: 7rem;
  height: 7rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 26, 26, 0.15));
  border-radius: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tech-item:hover .tech-icon {
  background: linear-gradient(135deg, var(--red-primary), var(--red-glow));
  border-color: var(--white-primary);
  box-shadow: 
    0 0 50px rgba(255, 26, 26, 0.6),
    0 20px 50px rgba(0, 0, 0, 0.4);
  transform: scale(1.15) rotateY(360deg);
}

.tech-item div:last-child {
  font-size: 1.375rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white-primary), var(--red-glow));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   PRICING CARDS - PREMIUM DESIGN
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  padding: 5rem 4rem;
  border-radius: 3rem;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-glow), var(--red-primary));
}

.price-card.popular {
  border: 3px solid rgba(255, 26, 26, 0.4);
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.08), rgba(255, 255, 255, 0.02));
  transform: scale(1.05);
  box-shadow: 
    0 40px 100px rgba(255, 26, 26, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.popular-badge {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
  color: var(--white-primary);
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 800;
  box-shadow: 0 15px 40px rgba(255, 26, 26, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--red-primary), var(--white-primary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  position: relative;
}

.plan {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white-primary);
  margin-bottom: 3rem;
  letter-spacing: -0.025em;
}

.price-card ul {
  list-style: none;
  margin-bottom: 4rem;
}

.price-card li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.buy-btn {
  width: 100%;
  padding: 1.5rem 3rem;
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: 800;
  border: none;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-family: inherit;
}

.buy-btn.primary {
  background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
  color: var(--white-primary);
  box-shadow: 
    0 20px 50px rgba(255, 26, 26, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.buy-btn:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 30px 70px rgba(255, 26, 26, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   CTA SECTION - HEROIC
   ========================================================================== */
.cta {
  padding: 12rem 0;
  background: 
    radial-gradient(ellipse at center, rgba(255, 26, 26, 0.08) 0%, transparent 70%),
    rgba(10, 10, 10, 0.6);
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 6rem 3rem;
  border-radius: 4rem;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.1), transparent);
  animation: float-glow 8s ease-in-out infinite;
}

.cta-container h2 {
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 900;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--white-primary), #ffd6d6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-container p {
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER - ELEGANT
   ========================================================================== */
.footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255, 26, 26, 0.3);
  background: rgba(10, 10, 10, 0.8);
}

.footer .container {
  text-align: center;
}

.footer .logo {
  font-size: 2.75rem;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-radius: 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.footer-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-primary), var(--red-glow));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.footer-links a:hover {
  color: var(--white-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.footer-links a:hover::before {
  opacity: 1;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   ADMIN DASHBOARD - ENTERPRISE LEVEL
   ========================================================================== */
.admin-body {
  background: linear-gradient(145deg, #120000 0%, var(--black-primary) 50%);
}

.main-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 20rem;
  background: rgba(18, 0, 0, 0.98);
  backdrop-filter: blur(40px);
  border-right: 1px solid rgba(255, 26, 26, 0.4);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.03), transparent);
  opacity: 0.5;
}

.sidebar-header {
  padding: 3rem 2.5rem;
  border-bottom: 1px solid rgba(255, 26, 26, 0.3);
  position: relative;
  z-index: 2;
}

.sidebar-header .logo {
  font-size: 1.875rem;
  margin-bottom: 0.75rem;
}

.subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-menu {
  flex: 1;
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 1.25rem 2.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-right: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--red-primary);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-50%) scale(0);
  transition: all 0.3s ease;
}

.nav-item:hover::before,
.nav-item.active::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.nav-item:hover, .nav-item.active {
  color: var(--white-primary);
  background: rgba(255, 26, 26, 0.15);
  border-right-color: var(--red-primary);
  transform: translateX(8px);
}

.nav-item .icon {
  width: 1.75rem;
  margin-right: 1.25rem;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 2.5rem;
  border-top: 1px solid rgba(255, 26, 26, 0.3);
  position: relative;
  z-index: 2;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 26, 26, 0.6);
  box-shadow: 0 0 20px rgba(255, 26, 26, 0.4);
  transition: all 0.3s ease;
}

.user-info:hover .avatar {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 26, 26, 0.7);
}

.username {
  font-weight: 700;
  font-size: 1rem;
}

.role {
  font-size: 0.8rem;
  color: var(--red-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logout-btn {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.2), rgba(255, 26, 26, 0.1));
  color: var(--red-primary);
  border: 2px solid rgba(255, 26, 26, 0.4);
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.logout-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.logout-btn:hover {
  color: var(--white-primary);
  transform: translateY(-3px);
  box-shadow: 
    0 15px 40px rgba(255, 26, 26, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logout-btn:hover::before {
  opacity: 1;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(18, 0, 0, 0.5), transparent);
}

.header {
  padding: 2.5rem 3rem;
  border-bottom: 1px solid rgba(255, 26, 26, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  z-index: 100;
}

.header-left h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--white-primary), #ffd6d6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.header-left > div {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.new-license-btn {
  background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
  color: var(--white-primary);
  padding: 1.125rem 2.5rem;
  border-radius: 3rem;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  box-shadow: 
    0 15px 40px rgba(255, 26, 26, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.new-license-btn:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 25px 60px rgba(255, 26, 26, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.dashboard-content {
  flex: 1;
  padding: 3.5rem;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.stat-card {
  padding: 3.5rem 2.5rem;
  border-radius: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 35px 80px rgba(255, 26, 26, 0.25),
    0 15px 30px rgba(0, 0, 0, 0.4);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.stat-icon {
  font-size: 2.25rem;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(255, 26, 26, 0.3);
}

.status-live, .status-24h, .status-today, .status-avg {
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  color: var(--red-primary);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.stat-value {
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--red-primary), var(--white-primary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  font-weight: 600;
}

.quick-actions {
  margin-top: 4rem;
}

.quick-actions h2 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--white-primary), var(--red-glow));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.025em;
}

.quick-actions h2::before {
  content: '⚡';
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--red-primary), var(--red-glow));
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 26, 26, 0.6);
  flex-shrink: 0;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.action-card {
  padding: 3rem 2rem;
  border: 2px dashed rgba(255, 26, 26, 0.4);
  border-radius: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
}

.action-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.action-card:hover::before {
  opacity: 1;
}

.action-card:hover {
  border-color: var(--red-primary);
  background: rgba(255, 26, 26, 0.08);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 30px 70px rgba(255, 26, 26, 0.25),
    0 10px 25px rgba(0, 0, 0, 0.3);
}

.action-icon {
  font-size: 3.5rem;
  margin-bottom: 1.75rem;
  display: block;
  filter: drop-shadow(0 10px 25px rgba(255, 26, 26, 0.4));
  transition: all 0.4s ease;
}

.action-card:hover .action-icon {
  transform: scale(1.2) rotate(15deg);
  filter: drop-shadow(0 15px 35px rgba(255, 26, 26, 0.6));
}

.action-title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--white-primary), var(--red-glow));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.action-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  font-weight: 500;
}

/* ==========================================================================
   MODAL - ENTERPRISE GRADE
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.modal-content {
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 3rem;
  position: relative;
  transform: scale(0.9);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal:not(.hidden) .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 26, 26, 0.3);
}

.modal-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--white-primary), var(--red-glow));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.close-btn {
  font-size: 2.25rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(20px);
}

.close-btn:hover {
  background: rgba(255, 26, 26, 0.2);
  color: var(--white-primary);
  border-color: rgba(255, 26, 26, 0.5);
  transform: rotate(90deg) scale(1.1);
}

.form-group {
  margin-bottom: 2.5rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white-primary);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 26, 26, 0.3);
  border-radius: 2rem;
  color: var(--white-primary);
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(20px);
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--red-primary);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 0 0 4px rgba(255, 26, 26, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.key-input {
  display: flex;
  gap: 1.5rem;
}

.key-input input {
  flex: 1;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.4);
}

#generateKey {
  padding: 1.5rem 2.5rem;
  background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
  color: var(--white-primary);
  border: none;
  border-radius: 2rem;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 
    0 15px 40px rgba(255, 26, 26, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#generateKey:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 25px 60px rgba(255, 26, 26, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.form-actions {
  display: flex;
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 26, 26, 0.3);
  margin-top: 3rem;
}

.form-actions button {
  flex: 1;
  padding: 1.5rem 2rem;
  border-radius: 2.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

#copyKey {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white-primary);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
}

#copyKey:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white-primary);
  transform: translateY(-4px);
}

.form-actions button[type="submit"] {
  background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
  color: var(--white-primary);
  box-shadow: 
    0 20px 50px rgba(255, 26, 26, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.form-actions button[type="submit"]:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 35px 70px rgba(255, 26, 26, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.generated {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 197, 94, 0.1)) !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3) !important;
}

/* ==========================================================================
   LOADING SCREEN - SPECTACULAR
   ========================================================================== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(-45deg, var(--red-primary), var(--red-secondary), var(--red-primary));
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.loading-content {
  text-align: center;
  animation: float-glow 3s ease-in-out infinite;
}

.spinner {
  width: 6rem;
  height: 6rem;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top: 4px solid var(--white-primary);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
  margin: 0 auto 2.5rem;
  position: relative;
}

.spinner::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: spin 3s linear infinite reverse;
}

.loading-text {
  font-size: 2.75rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white-primary), var(--red-glow));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.025em;
}

.loading-screen > div:last-child {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE PERFECTION
   ========================================================================== */
@media (max-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .sidebar {
    width: 18rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-buttons, .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .demo-btn, .login-btn {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .header {
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  
  .dashboard-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .hero {
    padding: 8rem 1.25rem 6rem;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PERFORMANCE & ACCESSIBILITY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--red-secondary), var(--red-primary));
}
