/* Non-critical CSS loaded after hero */

/* Base Styles */
html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* About Section */
.about {
  padding: 6rem 0;
  background-color: var(--white);
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3rem;
  letter-spacing: -0.025em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-600);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
}

/* Construction Section */
.construction {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.construction h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3rem;
  letter-spacing: -0.025em;
}

.construction-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.construction-text p {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.construction-text p:last-child {
  margin-bottom: 0;
}

.progress-visual {
  text-align: center;
  min-width: 200px;
}

.progress-bar {
  width: 200px;
  height: 8px;
  background-color: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-600) 0%, #6366f1 100%);
  border-radius: 4px;
  width: 0%;
  animation: progressFill 3s ease-in-out infinite;
}

.progress-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

@keyframes progressFill {
  0%, 100% { width: 65%; }
  50% { width: 85%; }
}

/* Waitlist Section */
.waitlist-section {
  padding: 6rem 0;
  background-color: var(--gray-900);
  color: var(--white);
}

.waitlist-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.waitlist-description {
  text-align: center;
  font-size: 1.125rem;
  color: var(--gray-300);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.email-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid var(--gray-700);
  border-radius: 12px;
  font-size: 1rem;
  background-color: var(--gray-800);
  color: var(--white);
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: var(--gray-400);
}

.email-input:focus {
  outline: none;
  border-color: var(--primary-600);
  background-color: var(--gray-900);
}

.email-input.error {
  border-color: var(--error-600);
}

.error-message {
  color: var(--error-600);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-align: center;
  min-height: 1.25rem;
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--gray-800);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
}

.footer-brand p {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--white);
  margin: 0;
}

.footer-contact p {
  margin: 0 0 0.5rem 0;
  color: var(--gray-400);
}

.contact-link {
  color: var(--primary-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #6366f1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin: 0;
}

/* Toast System */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  pointer-events: none;
}

.toast {
  background-color: var(--success-600);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: auto;
  max-width: 300px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.error {
  background-color: var(--error-600);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about {
    padding: 4rem 0;
  }
  
  .about h2 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .construction {
    padding: 4rem 0;
  }
  
  .construction h2 {
    font-size: 2rem;
  }
  
  .construction-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .waitlist-section {
    padding: 4rem 0;
  }
  
  .waitlist-section h2 {
    font-size: 2rem;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .email-input {
    margin-bottom: 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .toast-container {
    top: 1rem;
    right: 1rem;
    left: 1rem;
  }
  
  .toast {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .progress-fill {
    animation: none;
    width: 75%;
  }
}