/* styles.css */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: #f0f4f8;
  color: #111;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

header, section, footer {
  padding: 2rem;
}

header {
  background-color: #111827;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  border-bottom: 8px solid #10b981;
  border-radius: 0 0 12px 12px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.2rem;
}

.cta-button {
  background-color: #10b981;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block; /* add this */
  text-align: center;
  text-decoration: none; /* removes underline */
  max-width: 100%;       /* ✅ Prevent overflow */
  box-sizing: border-box; /* ✅ Includes padding in width */
}

.cta-button:hover {
  background-color: #059669;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #111827;
}

.features, .pricing, .testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 1 1 280px;
  max-width: 320px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.15);
}

.card h3 {
  margin-top: 0;
  color: #1f2937;
}

input[type="text"],
input[type="email"] {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  max-width: 400px;
}

form {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

footer {
  text-align: center;
  font-size: 0.875rem;
  color: #555;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.placeholder-img {
  width: 100%;
  height: 160px;
  background-color: #e5e7eb;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.real-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
}

section {
  margin-bottom: 3rem;
}

.section-divider {
  border-top: 2px solid #e5e7eb;
  margin: 3rem auto;
  width: 60%;
}

.coming-soon {
  background-color: #e5e7eb;
  color: #374151;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 1rem;
  cursor: not-allowed;
}

.note {
  text-align: center;
  font-size: 0.95rem;
  color: #4b5563;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.how-it-works-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.step-icon {
  font-size: 2rem;
  flex-shrink: 0;
  color: #10b981;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
  
   .cta-button {
    width: 100%; /* ✅ Full width on small screens */
  }

  header p,
  .section-title {
    font-size: 1rem;
  }

  .card {
    padding: 1rem;
  }

  form {
    padding: 1.5rem;
  }

  .cta-button,
  .coming-soon {
    width: 100%;
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-icon {
    margin-bottom: 0.5rem;
  }
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: block;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
}

.step {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.step:nth-child(1) {
  animation-delay: 0.2s;
}
.step:nth-child(2) {
  animation-delay: 0.4s;
}
.step:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html {
  scroll-behavior: smooth;
}