* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Regular", sans-serif;
  background: linear-gradient(135deg, #0f4bb9 0%, #0a3d9a 50%, #083477 100%);
  min-height: 100vh;

  overflow-x: hidden;
}

.container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Background Animation */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.particle:nth-child(2) {
  width: 120px;
  height: 120px;
  right: 10%;
  animation-delay: 2s;
  animation-duration: 10s;
}

.particle:nth-child(3) {
  width: 60px;
  height: 60px;
  left: 60%;
  animation-delay: 4s;
  animation-duration: 6s;
}

.particle:nth-child(4) {
  width: 100px;
  height: 100px;
  right: 30%;
  animation-delay: 1s;
  animation-duration: 9s;
}

.particle:nth-child(5) {
  width: 40px;
  height: 40px;
  left: 30%;
  animation-delay: 3s;
  animation-duration: 7s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-100px) rotate(180deg);
    opacity: 0.8;
  }
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.hero-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 60px 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(15, 75, 185, 0.3);
}

/* Logo */
.logo-container {
  margin-bottom: 40px;
}

.logo {
  display: grid;
  /* padding: 12px 24px; */
  place-content: center;
  place-self: center;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  width: 130px;
  height: 125px;
}

.logo-text {
  color: white;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Typography */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Form Styles */
.waitlist-form-container {
  margin-bottom: 60px;
}

.form-group, .form-group-input {
  display: flex;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.email-input {
  flex: 1;
  min-width: 280px;
  padding: 16px 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
  border-color: #4facfe;
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.3);
  transform: translateY(-2px);
}

.submit-btn {
  position: relative;
  padding: 16px 32px;
  background: linear-gradient(135deg, #0f4bb9 0%, #1a5cd6 100%);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  min-width: 160px;
  box-shadow: 0 8px 25px rgba(15, 75, 185, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(15, 75, 185, 0.4);
  background: linear-gradient(135deg, #1a5cd6 0%, #2366e8 100%);
}

.submit-btn:active {
  transform: translateY(0);
}

.btn-text {
  transition: opacity 0.3s ease;
}

.btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-btn.loading .btn-text {
  opacity: 0;
}

.submit-btn.loading .btn-loader {
  opacity: 1;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.form-message {
  font-size: 14px;
  margin-top: 12px;
  transition: all 0.3s ease;
}

.form-message.success {
  color: #4facfe;
}

.form-message.error {
  color: #ff6b6b;
}

/* Stats */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4facfe;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Features */
.features-preview {
  text-align: center;
}

.features-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 30px;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 75, 185, 0.2);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(79, 172, 254, 0.3);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}

.success-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f4bb9 0%, #1a5cd6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  margin: 0 auto 20px;
  font-weight: bold;
}

.modal-content h2 {
  color: #0f4bb9;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.modal-content p {
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-close-btn {
  background: linear-gradient(135deg, #0f4bb9 0%, #1a5cd6 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 75, 185, 0.3);
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in-up:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in-up:nth-child(3) {
  animation-delay: 0.3s;
}
.fade-in-up:nth-child(4) {
  animation-delay: 0.4s;
}
.fade-in-up:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 20px;
  }

  .form-group {
    flex-direction: column;
    align-items: stretch;
  }

  .email-input {
    min-width: auto;
  }

  .stats-container {
    gap: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .stats-container {
    flex-direction: column;
    gap: 20px;
  }
}
