html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  box-sizing: border-box;
}

/* Subtle grid pattern background */
.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(13, 148, 136, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 30s linear infinite;
  z-index: 0;
}

/* Large floating elements */
.container::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(13, 148, 136, 0.15), rgba(20, 184, 166, 0.08));
  filter: blur(50px);
  animation: float 20s ease-in-out infinite;
  z-index: 0;
  bottom: 10%;
  right: 10%;
  animation-delay: -10s;
}

/* Additional floating elements */
.container .floating-element-1 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, rgba(13, 148, 136, 0.12), rgba(20, 184, 166, 0.06));
  border-radius: 50%;
  filter: blur(40px);
  animation: float2 25s ease-in-out infinite;
  z-index: 0;
  bottom: 20%;
  left: 5%;
  animation-delay: -5s;
}

.container .floating-element-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  background: linear-gradient(45deg, rgba(13, 148, 136, 0.1), rgba(20, 184, 166, 0.05));
  border-radius: 50%;
  filter: blur(45px);
  animation: float3 22s ease-in-out infinite;
  z-index: 0;
  top: 15%;
  right: 5%;
  animation-delay: -8s;
}

/* Content card floating elements */
.content::before,
.content::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(13, 148, 136, 0.1), rgba(20, 184, 166, 0.05));
  border-radius: 50%;
  filter: blur(30px);
  animation: float3 18s ease-in-out infinite;
  z-index: -1;
}

.content::before {
  top: -50px;
  right: -50px;
  animation-delay: -3s;
}

.content::after {
  bottom: -50px;
  left: -50px;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.8;
  }
  25% {
    transform: translateY(-30px) rotate(90deg) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translateY(-15px) rotate(180deg) scale(0.8);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-40px) rotate(270deg) scale(1.1);
    opacity: 0.9;
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translateY(-25px) rotate(120deg) scale(1.3);
    opacity: 0.9;
  }
  66% {
    transform: translateY(-35px) rotate(240deg) scale(0.7);
    opacity: 0.4;
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-20px) rotate(180deg) scale(1.2);
    opacity: 0.8;
  }
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.content {
  width: 100%;
  max-width: 500px;
  margin: auto;
  padding: 3rem 2rem;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.content:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.header {
  margin-bottom: 2rem;
}

.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #0d9488;
  letter-spacing: -0.02em;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0d9488, #14b8a6);
  margin: 0 auto;
  border-radius: 2px;
}

.hero-section {
  margin-bottom: 3rem;
}

.coming-soon-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 2rem 0;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.description {
  font-size: 1.1rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.6;
}

.waitlist-section {
  margin-top: 2rem;
}

.waitlist-text {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 1.5rem 0;
  font-weight: 500;
}

.email-signup {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 350px;
  margin: 0 auto 1rem auto;
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.email-input {
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #374151;
  font-size: 1rem;
  transition: all 0.2s ease;
  margin: 0;
}

.email-input::placeholder {
  color: #9ca3af;
}

.email-input:focus {
  outline: none;
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
  transform: translateY(-1px);
}

/* Only show invalid state after user interaction */
.email-input:not(:placeholder-shown):invalid {
  border-color: #ef4444;
}

/* Add focus state for invalid input */
.email-input:not(:placeholder-shown):invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.join-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  background: #0d9488;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: visible;
  text-align: center;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.join-button:hover {
  background: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.join-button:active {
  background: #134e4a;
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.2);
}

.join-button:focus {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

.privacy-note {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }
  
  .content {
    width: calc(100% - 2rem);
    max-width: none;
    padding: 2.5rem 2rem;
    margin: auto;
    text-align: center;
  }
  
  .main-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .coming-soon-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  
  .hero-section {
    margin-bottom: 2.5rem;
  }
  
  .waitlist-section {
    margin-top: 2rem;
  }

  .waitlist-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .email-signup {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0 auto 1.5rem;
  }
  
  .email-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 16px;
    margin: 0;
    max-width: 100%;
    height: 50px;
  }
  
  .join-button {
    width: 100%;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin: 0;
    max-width: 100%;
  }

  .privacy-note {
    margin-top: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }
  
  .content {
    width: calc(100% - 1.5rem);
    padding: 2rem 1.5rem;
    margin: auto;
  }
  
  .main-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .coming-soon-title {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
  }
  
  .description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    padding: 0 0.5rem;
  }
  
  .hero-section {
    margin-bottom: 2rem;
  }
  
  .waitlist-section {
    margin-top: 1.75rem;
  }

  .waitlist-text {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
    padding: 0 0.5rem;
  }
  
  .email-signup {
    gap: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .email-input {
    padding: 0.875rem 1.25rem;
    height: 48px;
  }
  
  .join-button {
    height: 48px;
  }
  
  .privacy-note {
    font-size: 0.85rem;
    margin-top: 1rem;
    padding: 0 0.5rem;
    line-height: 1.4;
  }
} 