/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: hsl(0, 0%, 5%);
  --card: hsl(0, 0%, 8%);
  --foreground: hsl(0, 0%, 98%);
  --muted: hsl(0, 0%, 45%);
  --primary: hsl(0, 85%, 55%);
  --primary-glow: hsl(0, 100%, 60%);
  --border: hsl(0, 0%, 15%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--background) 0%, var(--background) 80%, hsla(0, 85%, 55%, 0.05) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Popup Container */
.gx-popup {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  margin: 1rem;
  background: hsla(0, 0%, 8%, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  border-radius: 16px;
  box-shadow: 
    0 25px 50px -12px hsla(0, 0%, 0%, 0.5),
    0 0 60px -15px hsla(0, 85%, 55%, 0.15);
  overflow: hidden;
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gx-glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(90deg, hsla(0, 85%, 55%, 0.2), transparent, hsla(0, 85%, 55%, 0.2));
  border-radius: 20px;
  filter: blur(15px);
  pointer-events: none;
  z-index: -1;
}

.gx-content {
  position: relative;
}

/* Hero Image */
.gx-hero-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.gx-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gx-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--card), transparent);
}

/* Body Content */
.gx-body {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Badge */
.gx-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: hsla(0, 85%, 55%, 0.1);
  border: 1px solid hsla(0, 85%, 55%, 0.3);
  border-radius: 999px;
}

/* Headline */
.gx-headline {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--foreground);
}

.gx-highlight {
  color: var(--primary);
  text-shadow: 0 0 30px hsla(0, 85%, 55%, 0.5);
}

/* Subtitle */
.gx-subtitle {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Benefits List */
.gx-benefits {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gx-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsla(0, 0%, 98%, 0.9);
}

.gx-check {
  color: var(--primary);
  font-size: 0.875rem;
}

/* CTA Button */
.gx-cta {
  display: block;
  padding: 0.875rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 
    0 4px 15px hsla(0, 85%, 55%, 0.4),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.1);
  transition: all 0.2s ease;
}

.gx-cta:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px hsla(0, 85%, 55%, 0.5),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.2);
}

.gx-cta:active {
  transform: translateY(0);
}

/* Trust Text */
.gx-trust {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Animation */
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (min-width: 640px) {
  .gx-headline {
    font-size: 1.5rem;
  }
  
  .gx-hero-wrapper {
    height: 220px;
  }
}
