/* Waitlist Page Styles */

.waitlist-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0f 0%, #111118 50%, #0a0a0f 100%);
  color: #fff;
  position: relative;
  overflow-x: hidden;
}

/* Particles background */
.waitlist-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.waitlist-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(185, 242, 255, 0.4);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Header */
.waitlist-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.waitlist-header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.waitlist-header .logo-icon {
  font-size: 1.8rem;
}

.waitlist-header .logo-text {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.waitlist-header .logout-btn {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.waitlist-header .logout-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Content */
.waitlist-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Hero */
.waitlist-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(185, 242, 255, 0.1);
  border: 1px solid rgba(185, 242, 255, 0.3);
  border-radius: 20px;
  font-size: 0.9rem;
  color: #B9F2FF;
  margin-bottom: 1.5rem;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: #B9F2FF;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title span {
  display: block;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #B9F2FF, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 4rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.hero-subtitle-ways {
  font-size: 1.5rem;
  color: #ffd700;
  margin: 0.5rem 0 1rem 0;
  font-weight: 600;
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
}

/* Option Cards */
.option-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.option-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.option-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
}

.option-badge.special {
  background: linear-gradient(135deg, #B9F2FF, #00bcd4);
}

.option-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.option-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.option-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Wait Card Countdown */
.countdown-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: monospace;
  background: rgba(185, 242, 255, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  min-width: 60px;
}

.countdown-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.countdown-separator {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.25rem;
}

/* VIP Card */
.vip-card {
  border-color: rgba(255, 215, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 140, 0, 0.05));
}

.option-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.vip-btn {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
}

.vip-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.vip-btn svg {
  width: 18px;
  height: 18px;
}

.option-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.option-perks span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Referral Card */
.referral-card {
  border-color: rgba(185, 242, 255, 0.3);
  background: linear-gradient(135deg, rgba(185, 242, 255, 0.05), rgba(0, 188, 212, 0.05));
}

.referral-input-group {
  display: flex;
  gap: 0.5rem;
}

.referral-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.referral-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  text-transform: none;
  letter-spacing: normal;
}

.referral-input:focus {
  outline: none;
  border-color: #B9F2FF;
}

.referral-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #B9F2FF, #00bcd4);
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.referral-btn:hover:not(:disabled) {
  transform: scale(1.02);
}

.referral-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.referral-error {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* Footer */
.waitlist-footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.waitlist-footer a {
  color: #B9F2FF;
  text-decoration: none;
}

.waitlist-footer a:hover {
  text-decoration: underline;
}

/* Trial Popup Modal */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.popup-modal {
  position: relative;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
  border: 1px solid rgba(185, 242, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 60px rgba(185, 242, 255, 0.05);
  animation: popup-appear 0.3s ease-out;
}

@keyframes popup-appear {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.popup-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.popup-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.popup-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #B9F2FF, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.popup-referrer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.popup-offer {
  background: rgba(185, 242, 255, 0.1);
  border: 1px solid rgba(185, 242, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.offer-tier {
  font-size: 1.1rem;
  color: #B9F2FF;
  margin-bottom: 0.5rem;
}

.offer-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.price-current {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}

.price-period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.offer-regular {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.popup-perks {
  margin-bottom: 1.5rem;
}

.popup-perks h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.popup-perks ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.popup-perks li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0;
}

.popup-cta {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #B9F2FF, #00bcd4);
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 1rem;
}

.popup-cta:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(185, 242, 255, 0.3);
}

.popup-cta:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.popup-legal {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.5;
}

.popup-legal a {
  color: rgba(185, 242, 255, 0.7);
  text-decoration: none;
}

.popup-legal a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .waitlist-content {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-title .gradient-text {
    font-size: 2.5rem;
  }

  .countdown-value {
    font-size: 1.5rem;
    min-width: 50px;
    padding: 0.4rem 0.5rem;
  }

  .countdown-separator {
    font-size: 1.5rem;
  }

  .popup-modal {
    padding: 1.5rem;
  }

  .popup-perks ul {
    grid-template-columns: 1fr;
  }

  .price-current {
    font-size: 2.5rem;
  }
}

/* Choice Cards in Popup */
.popup-choices {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: stretch;
}

.choice-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.choice-card.choice-free {
  border-color: rgba(255, 255, 255, 0.15);
}

.choice-card.choice-vip {
  border-color: rgba(185, 242, 255, 0.4);
  background: rgba(185, 242, 255, 0.05);
  box-shadow: 0 0 20px rgba(185, 242, 255, 0.1);
}

.choice-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #B9F2FF, #00bcd4);
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #000;
}

.choice-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.choice-card h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.2rem;
}

.choice-worth {
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
  color: #ffd700;
  font-weight: 600;
}

.choice-card p:not(.choice-worth):not(.choice-legal) {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.choice-price {
  margin-bottom: 1rem;
}

.choice-price .price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #B9F2FF;
}

.choice-price .price-period {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 0.25rem;
}

.choice-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  text-align: left;
}

.choice-perks li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0;
}

.choice-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.choice-btn-free {
  background: linear-gradient(135deg, #4a4a5a, #3a3a4a);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.choice-btn-free:hover:not(:disabled) {
  transform: scale(1.02);
  background: linear-gradient(135deg, #5a5a6a, #4a4a5a);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.choice-btn-vip {
  background: linear-gradient(135deg, #B9F2FF, #00bcd4);
  color: #000;
  animation: vip-glow 2s ease-in-out infinite;
}

@keyframes vip-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(185, 242, 255, 0.4), 0 0 30px rgba(185, 242, 255, 0.2); }
  50% { box-shadow: 0 0 25px rgba(185, 242, 255, 0.6), 0 0 50px rgba(185, 242, 255, 0.3); }
}

.choice-btn-vip:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(185, 242, 255, 0.5), 0 0 60px rgba(185, 242, 255, 0.3);
}

.choice-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.choice-legal {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.5rem 0 0 0;
}

.choice-divider {
  display: none; /* Hidden in horizontal layout */
}

/* Make popup responsive on mobile */
@media (max-width: 650px) {
  .popup-modal {
    max-width: 95%;
    padding: 1.5rem;
  }
  
  .popup-choices {
    flex-direction: column;
  }
  
  .choice-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
  }
  
  .choice-divider::before,
  .choice-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
  }
}

/* ========== MOBILE RESPONSIVE STYLES ========== */

/* Tablet */
@media (max-width: 900px) {
  .waitlist-content {
    padding: 2rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-title .gradient-text {
    font-size: 3rem;
  }
  
  .hero-subtitle-ways {
    font-size: 1.3rem;
  }
  
  .options-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .option-card {
    padding: 1.75rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .waitlist-header {
    padding: 1rem;
  }
  
  .waitlist-header .logo {
    font-size: 1.2rem;
  }
  
  .waitlist-header .logo-icon {
    font-size: 1.4rem;
  }
  
  .waitlist-header .logout-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .waitlist-content {
    padding: 1.5rem 1rem;
  }
  
  .waitlist-hero {
    margin-bottom: 2rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-title .gradient-text {
    font-size: 2.25rem;
  }
  
  .hero-subtitle-ways {
    font-size: 1.1rem;
    margin: 0.25rem 0 0.75rem 0;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .options-grid {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .option-card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }
  
  .option-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.75rem;
    top: -10px;
  }
  
  .option-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .option-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .option-desc {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  
  /* Countdown mobile */
  .countdown-display {
    gap: 0.3rem;
  }
  
  .countdown-value {
    font-size: 1.4rem;
    padding: 0.4rem 0.5rem;
    min-width: 45px;
  }
  
  .countdown-label {
    font-size: 0.65rem;
  }
  
  .countdown-separator {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  /* Buttons mobile */
  .option-btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .option-perks {
    gap: 0.4rem;
    margin-top: 0.75rem;
  }
  
  .option-perks span {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
  
  /* Referral input mobile */
  .referral-input-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .referral-input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    text-align: center;
  }
  
  .referral-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
  }
  
  .referral-error {
    font-size: 0.85rem;
  }
  
  /* Footer mobile */
  .waitlist-footer {
    font-size: 0.9rem;
  }
  
  /* Popup mobile */
  .popup-overlay {
    padding: 0.75rem;
    align-items: flex-start;
    padding-top: 2rem;
  }
  
  .popup-modal {
    padding: 1.25rem;
    border-radius: 16px;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .popup-close {
    width: 28px;
    height: 28px;
    font-size: 1.25rem;
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .popup-header .popup-icon {
    font-size: 2.5rem;
  }
  
  .popup-header h2 {
    font-size: 1.25rem;
  }
  
  .popup-referrer {
    font-size: 0.85rem;
  }
  
  .choice-card {
    padding: 1.25rem 1rem;
  }
  
  .choice-icon {
    font-size: 1.75rem;
  }
  
  .choice-card h3 {
    font-size: 1.1rem;
  }
  
  .choice-card p {
    font-size: 0.85rem;
  }
  
  .choice-price .price-amount {
    font-size: 1.3rem;
  }
  
  .choice-perks li {
    font-size: 0.8rem;
  }
  
  .choice-btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .choice-legal {
    font-size: 0.7rem;
  }
  
  .choice-divider {
    font-size: 0.75rem;
    gap: 0.75rem;
  }
}

/* Extra small mobile */
@media (max-width: 380px) {
  .waitlist-header {
    padding: 0.75rem;
  }
  
  .waitlist-header .logo {
    font-size: 1rem;
  }
  
  .waitlist-content {
    padding: 1rem 0.75rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-title .gradient-text {
    font-size: 1.9rem;
  }
  
  .hero-subtitle-ways {
    font-size: 1rem;
  }
  
  .countdown-value {
    font-size: 1.2rem;
    min-width: 38px;
    padding: 0.3rem 0.4rem;
  }
  
  .countdown-separator {
    font-size: 1.2rem;
  }
  
  .option-card {
    padding: 1.25rem 1rem;
  }
  
  .option-title {
    font-size: 1.1rem;
  }
  
  .popup-modal {
    padding: 1rem;
  }
}
