/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0A0A0A;
  background-color: #F8F8F7;
}

/* Container */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: #fff;
  border-bottom: 1px solid #CCCCCC;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Crimson Text', serif;
  font-size: 24px;
  font-weight: 700;
  color: #0A0A0A;
}

.sign-in-link {
  color: #666666;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sign-in-link:hover {
  color: #2D5F3F;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-family: 'Crimson Text', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #0A0A0A;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: #666666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.social-proof {
  margin-top: 20px;
  font-size: 14px;
  color: #666666;
}

/* Email Form */
.email-form {
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.email-input {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  border: 2px solid #CCCCCC;
  border-radius: 12px;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-input:focus {
  outline: none;
  border-color: #2D5F3F;
  box-shadow: 0 0 0 3px rgba(45, 95, 63, 0.1);
}

.email-input::placeholder {
  color: #CCCCCC;
}

.submit-button {
  width: 100%;
  height: 56px;
  padding: 0 32px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background-color: #2D5F3F;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
  background-color: #3D7A52;
}

.submit-button:active {
  transform: scale(0.98);
}

.submit-button:disabled {
  background-color: #CCCCCC;
  cursor: not-allowed;
}

.form-message {
  min-height: 24px;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.form-message.success {
  color: #2D5F3F;
}

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

/* Features Section */
.features {
  padding: 80px 0;
  background-color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.feature-card {
  text-align: center;
}

.feature-title {
  font-family: 'Crimson Text', serif;
  font-size: 24px;
  font-weight: 600;
  color: #0A0A0A;
  margin-bottom: 16px;
}

.feature-description {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background-color: #F8F8F7;
}

.cta-content {
  text-align: center;
}

.cta-title {
  font-family: 'Crimson Text', serif;
  font-size: 36px;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: #666666;
  margin-bottom: 40px;
}

/* Footer */
.footer {
  padding: 40px 0;
  background-color: #0A0A0A;
  color: #CCCCCC;
  text-align: center;
}

.footer-text {
  font-size: 14px;
}

/* Tablet and Desktop */
@media (min-width: 768px) {
  body {
    font-size: 18px;
  }

  .hero {
    padding: 120px 0;
  }

  .hero-title {
    font-size: 56px;
    margin-bottom: 32px;
  }

  .form-group {
    flex-direction: row;
    align-items: center;
  }

  .email-input {
    width: 360px;
    flex-shrink: 0;
  }

  .submit-button {
    width: auto;
    flex-shrink: 0;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .cta-title {
    font-size: 56px;
  }
}

/* Success State */
.form-success {
  padding: 20px;
  background-color: rgba(45, 95, 63, 0.1);
  border-radius: 12px;
  text-align: center;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-success h3 {
  font-family: 'Crimson Text', serif;
  font-size: 24px;
  color: #2D5F3F;
  margin-bottom: 8px;
}

.form-success p {
  color: #666666;
  font-size: 16px;
}
