@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-obsidian: #07090E;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --border-cyan: rgba(6, 182, 212, 0.25);
  --border-indigo: rgba(99, 102, 241, 0.25);
  --border-purple: rgba(168, 85, 247, 0.25);
}

body {
  background-color: var(--bg-obsidian);
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(168, 85, 247, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.15);
}

.glass-card-interactive {
  cursor: pointer;
}

.glass-nav {
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Dropdown Menu styling */
.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease-in-out;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Neon Gradient Buttons & Text */
.gradient-text-cyan-purple {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #06b6d4 0%, #4f46e5 100%);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
  transition: all 0.3s ease;
}

.btn-primary-glow:hover {
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.6);
  transform: translateY(-1px);
}

.btn-pro-glow {
  background: linear-gradient(135deg, #7c3aed 0%, #c084fc 100%);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
  transition: all 0.3s ease;
}

.btn-pro-glow:hover {
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.6);
  transform: translateY(-1px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07090e;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #06b6d4;
}

/* Option Buttons in Wizard */
.option-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.option-btn:hover {
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(30, 41, 59, 0.9);
}

.option-btn.selected-yes {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.8) !important;
  color: #34d399 !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.option-btn.selected-partial {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.8) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.option-btn.selected-no {
  background: rgba(244, 63, 94, 0.2) !important;
  border-color: rgba(244, 63, 94, 0.8) !important;
  color: #fb7185 !important;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.25);
}

/* Framework Badges */
.badge-live {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-coming {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-planned {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* ==========================================================================
   Modal Component & Sender.net Dark Theme Overrides
   ========================================================================== */

#waitlist-modal.active {
  display: flex !important;
  opacity: 1 !important;
}

#waitlist-modal.active > div:nth-child(2) {
  transform: scale(1) !important;
}

/* Center Alignment Helper for Sender Forms */
.sender-form-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

.sender-form-field {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  max-width: 440px !important;
  width: 100% !important;
}

.sender-form-field form {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.sender-form-field input[type="email"],
.sender-form-field input[type="text"],
.sender-form-field select,
.sender-form-field textarea {
  background-color: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.875rem !important;
  width: 100% !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.sender-form-field input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.sender-form-field input:focus {
  border-color: #06b6d4 !important;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3) !important;
}

.sender-form-field label,
.sender-form-field p,
.sender-form-field span {
  color: #e2e8f0 !important;
  font-size: 0.875rem !important;
}

.sender-form-field button,
.sender-form-field input[type="submit"] {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 1.5rem !important;
  border: none !important;
  width: 100% !important;
  cursor: pointer !important;
  font-size: 0.875rem !important;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3) !important;
  transition: all 0.2s ease !important;
  margin-top: 0.5rem !important;
}

.sender-form-field button:hover,
.sender-form-field input[type="submit"]:hover {
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5) !important;
  transform: translateY(-1px) !important;
}

/* Hide Sender.net Branding links & logos */
.sender-branding,
.sender-form-field a[href*="sender.net"],
.sender-form-field .powered-by,
.sender-form-field [class*="branding"] {
  display: none !important;
}
