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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  background: #ffffff;
}

.content {
  text-align: center;
  max-width: 800px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.logo-container {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease-out;
}

.logo {
  width: 200px;
  height: auto;
  transition: all 0.6s ease;
}

.logo:hover {
  transform: scale(1.05) rotate(2deg);
}

.title {
  font-size: 4rem;
  font-weight: 200;
  margin-bottom: 2rem;
  color: #1a1a1a;
  letter-spacing: -0.03em;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.ai-accent {
  color: #e11d48;
  font-weight: 400;
}

.typing-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.typing-text {
  font-size: 1.8rem;
  font-weight: 300;
  color: #6b7280;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typed-text {
  font-weight: 400;
  color: #e11d48;
}

.cursor {
  display: inline-block;
  background-color: #e11d48;
  margin-left: 3px;
  width: 3px;
  animation: blink 1s infinite;
}

.cursor.typing {
  animation: none;
}

@keyframes blink {
  0% {
    background-color: #e11d48;
  }
  49% {
    background-color: #e11d48;
  }
  50% {
    background-color: transparent;
  }
  99% {
    background-color: transparent;
  }
  100% {
    background-color: #e11d48;
  }
}

.newsletter {
  animation: fadeInUp 1s ease-out 1.2s both;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #f3f4f6;
  border-radius: 50px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: #1a1a1a;
  transition: all 0.3s ease;
  outline: none;
}

.newsletter-form input:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

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

.newsletter-form button {
  padding: 1rem 2rem;
  background: #e11d48;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.newsletter-form button:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.3);
}

.newsletter-form button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.message-display {
  margin-top: 1rem;
  min-height: 1.5rem;
}

.success-message {
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #22c55e;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.error-message {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #ef4444;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* Fade in up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle floating animation for logo */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.logo {
  animation: fadeInUp 1s ease-out, float 6s ease-in-out 2s infinite;
}

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

  .title {
    font-size: 3rem;
  }

  .typing-text {
    font-size: 1.4rem;
  }

  .logo {
    width: 150px;
  }

  .typing-container {
    height: 70px;
    margin-bottom: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  .title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .typing-text {
    font-size: 1.2rem;
  }

  .logo {
    width: 120px;
  }

  .newsletter h3 {
    font-size: 1.1rem;
  }

  .typing-container {
    height: 60px;
  }
}
