/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
  color: #1e293b;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Left Side - Content */
.left-side {
  flex: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  opacity: 0;
  transform: translateX(-50px);
  animation: fade-slide-left 1s ease-out 0.2s forwards;
}

@keyframes fade-slide-left {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* Hero Header */
.hero-header {
  text-align: center;
  margin-bottom: 2rem;
}

.brand-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.15));
  flex-shrink: 0;
}

.brand {
  font-size: 3rem;
  font-weight: 800;
  color: #4f46e5;
  letter-spacing: -2px;
  margin: 0;
}

.tagline {
  font-size: 1.25rem;
  font-weight: 500;
  color: #6366f1;
  margin: 0.25rem 0 0 0;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.coming-soon-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6366f1;
  text-align: center;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 1rem;
}

.value-prop {
  font-size: 1.125rem;
  color: #475569;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.under-construction {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.construction-emoji {
  font-size: 1.5rem;
}

/* Features Section */
.features-section {
  margin: 1.5rem 0;
}

.features-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 1rem;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: feature-fade-in 0.6s ease-out forwards;
}

.feature-item:nth-child(1) {
  animation-delay: 0.4s;
}
.feature-item:nth-child(2) {
  animation-delay: 0.5s;
}
.feature-item:nth-child(3) {
  animation-delay: 0.6s;
}
.feature-item:nth-child(4) {
  animation-delay: 0.7s;
}
.feature-item:nth-child(5) {
  animation-delay: 0.8s;
}
.feature-item:nth-child(6) {
  animation-delay: 0.9s;
}

@keyframes feature-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-item:hover {
  background: #e0e7ff;
  border-color: #c7d2fe;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.feature-item .icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.soc2-note {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid #0ea5e9;
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 0.95rem;
  color: #0c4a6e;
  text-align: center;
}

/* Left Footer */
.left-footer {
  margin-top: 2rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #4f46e5;
}

.credits {
  font-size: 1.1rem;
  color: #64748b;
}

.credits a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
}

.credits a:hover {
  text-decoration: underline;
}

/* Right Side - Countdown & Signup */
.right-side {
  flex: 1;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transform: translateX(50px);
  animation: fade-slide-right 1s ease-out 0.4s forwards;
}

@keyframes fade-slide-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.right-content {
  text-align: center;
  color: white;
  width: 100%;
  max-width: 400px;
}

/* Countdown Timer */
.countdown-section {
  margin-bottom: 3rem;
}

.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-value {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Signup Section */
.signup-section {
  margin-bottom: 3rem;
}

.signup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.waitlist-form {
  width: 100%;
}

.input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
  outline: none;
  transition: all 0.3s ease;
}

.waitlist-form input[type="email"]:focus {
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.notify-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.notify-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.form-message {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.9);
  color: white;
  opacity: 1;
  transform: translateY(0);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.9);
  color: white;
  opacity: 1;
  transform: translateY(0);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
  }

  .left-side,
  .right-side {
    flex: none;
  }

  .left-side {
    min-height: 60vh;
    padding: 1.5rem;
  }

  .right-side {
    min-height: 40vh;
    padding: 1.5rem;
  }

  .brand {
    font-size: 2.5rem;
  }

  .coming-soon-title {
    font-size: 2rem;
  }

  .countdown-timer {
    gap: 1rem;
  }

  .time-value {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .left-side {
    padding: 1rem;
  }

  .right-side {
    padding: 1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-nav {
    gap: 1rem;
  }

  .countdown-timer {
    gap: 0.75rem;
  }

  .time-value {
    font-size: 2rem;
  }

  .time-label {
    font-size: 0.625rem;
  }

  .input-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .notify-btn {
    width: 100%;
  }
}

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

  .coming-soon-title {
    font-size: 1.75rem;
  }

  .logo {
    width: 60px;
    height: 60px;
  }

  .countdown-timer {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .time-value {
    font-size: 1.75rem;
  }
}
