body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #1a202c;
  background: #f7f9fc;
}

.container {
  margin: auto;
}

/* Header & Navigation */
.header {
  background: #fff;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  text-decoration: none;
  color: #007bff;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.btn-cta {
  background: #007bff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
}

.btn-cta:hover {
  background: #0056b3;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
  margin-top: 40px;
}
.hero-content {
  margin-top: 20px;
}
.hero h1 {
  font-size: 2em;
  margin-bottom: 15px;
  color: #007bff;
}
.hero p {
  margin-bottom: 20px;
  line-height: 1.5;
}
.btn-primary {
  background: #007bff;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
}
.btn-primary:hover {
  background: #0056b3;
}
.hero-image img {
  max-width: 100%;
  height: auto;
}

@media(min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  .hero-content {
    flex: 1;
    margin-right: 20px;
  }
  .hero-image {
    flex: 1;
  }
}

/* Features */
.features {
  margin: 60px 0;
  text-align: center;
}
.features h2 {
  font-size: 1.8em;
  margin-bottom: 40px;
  color: #007bff;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.feature-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}
.feature-image {
  max-width: 150px;
  margin-bottom: 15px;
}
.feature-card h3 {
  margin-bottom: 10px;
  color: #007bff;
}

@media(min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* How It Works */
.how-it-works {
  margin: 60px 0;
  text-align: center;
}
.how-it-works h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #007bff;
}
.steps {
  list-style: decimal;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 30px auto;
  padding-left: 20px;
}
.steps li {
  margin-bottom: 15px;
}
.steps strong {
  color: #007bff;
}

/* Testimonial */
.testimonial {
  margin: 60px 0;
  text-align: center;
}
.testimonial h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #007bff;
}
blockquote {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  font-style: italic;
  position: relative;
}
blockquote p {
  margin-bottom: 10px;
}
blockquote cite {
  font-style: normal;
  color: #555;
}

/* FAQ */
.faq {
  margin: 60px 0;
}
.faq h2 {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #007bff;
}
.faq-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
}
.faq-item h3 {
  color: #007bff;
  margin-bottom: 10px;
}

/* Call to Action */
.call-to-action {
  text-align: center;
  margin: 60px 0;
}
.call-to-action h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #007bff;
}
.call-to-action p {
  margin-bottom: 20px;
}

/* Footer */
.footer {
  margin: 40px 0;
  text-align: center;
  color: #555;
}

@media(min-width: 768px) {
  .hero h1 {
    font-size: 2.5em;
  }
  .call-to-action h2, .faq h2, .testimonial h2, .how-it-works h2, .features h2 {
    font-size: 2em;
  }
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.feature-row .feature-card,
.feature-row .hero-image {
  flex: 1 1 45%;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

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

.feature-row {
  margin-bottom: 3rem;
}

.feature-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Every even row reversed to create stagger on desktop */
.feature-row:nth-child(even) .feature-content {
  flex-direction: row-reverse;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .feature-content {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Ensure order on mobile: H3 first, then image, then paragraph */
  .feature-content h3 {
    order: 1;
  }
  .feature-content .hero-image {
    order: 2;
  }
  .feature-content p {
    order: 3;
  }
}