/* ============================================
   VyxPay Pre-Launch — Custom Styles
   ============================================ */

/* === Glassmorphism === */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.glass-accent {
  background: rgba(51, 112, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(51, 112, 255, 0.25);
  box-shadow: 0 0 60px rgba(51, 112, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* === Background Effects === */
.gradient-mesh {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(51, 112, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(99, 51, 255, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #030408 0%, #0a0e1a 50%, #060810 100%);
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(51, 112, 255, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.section-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(51, 112, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* === Section Divider === */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51, 112, 255, 0.3), transparent);
}

/* === Code Block === */
.code-block {
  background: rgba(3, 4, 8, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

.code-keyword  { color: #5996ff; }
.code-string   { color: #4ade80; }
.code-comment  { color: #6b7280; }
.code-number   { color: #f59e0b; }
.code-property { color: #c084fc; }
.code-tag      { color: #f472b6; }
.code-attr     { color: #38bdf8; }

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* === Navbar States === */
.nav-scrolled {
  background: rgba(6, 8, 16, 0.95) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* === Animated Border Glow === */
@keyframes border-glow {
  0%, 100% { border-color: rgba(51, 112, 255, 0.3); }
  50% { border-color: rgba(51, 112, 255, 0.6); }
}

.waitlist-glow {
  animation: border-glow 3s ease-in-out infinite;
}

/* === Connecting Line (How It Works) === */
.step-line {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(51, 112, 255, 0.5), transparent);
  margin: 0 auto;
}

/* === Mobile Menu === */
.mobile-menu {
  background: rgba(6, 8, 16, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #030408;
}
::-webkit-scrollbar-thumb {
  background: rgba(51, 112, 255, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(51, 112, 255, 0.5);
}

/* === Selection === */
::selection {
  background: rgba(51, 112, 255, 0.4);
  color: white;
}

/* === Pricing Card Comparison === */
.pricing-muted {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* === Input Focus Ring === */
input:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(51, 112, 255, 0.5);
}

/* === Smooth Scroll === */
html {
  scroll-behavior: smooth;
}

/* === Pulse dot for "Launching" badge === */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.pulse-dot {
  animation: pulse-dot 2s ease-in-out infinite;
}
