/* =====================================================
   HTTMarket Homepage Layout Styles
   For: How it Works | Why Choose | Guides | CTA | FAB
   ===================================================== */

/* Base Section Setup */
.section {
  padding: 80px 5%;
  text-align: center;
  background: #ffffff;
}

.section--alt {
  background: #f9fafc;
}

.section--light {
  background: #f3f7fb;
}

.section--cta {
  background: linear-gradient(135deg, #007ad1, #005fa3);
  color: #fff;
  padding: 100px 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Titles */
.section__title {
  font-size: 2rem;
  font-weight: 800;
  color: #007ad1;
  margin-bottom: 50px;
}

.section__title--invert {
  color: #fff;
}

/* ========== HOW IT WORKS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,122,209,0.15);
}

.step__icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.step__title {
  color: #007ad1;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step__copy {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* ========== WHY CHOOSE HTTMARKET ========== */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.trust__card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.trust__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,122,209,0.12);
}

.trust__title {
  color: #007ad1;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.trust__card p {
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
}

/* ========== GUIDES & RESOURCES ========== */
.resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.resource {
  background: #fff;
  border-left: 5px solid #007ad1;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.resource:hover {
  border-left-color: #e60023;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,122,209,0.1);
}

.resource__title a {
  color: #007ad1;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.resource__title a:hover {
  color: #e60023;
}

.resource p {
  margin-top: 10px;
  color: #555;
  font-size: 0.95rem;
}

/* ========== FINAL CALL TO ACTION ========== */
.section--cta .btn {
  background: #e60023;
  color: #fff;
  padding: 18px 40px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.section--cta .btn:hover {
  background: #c1001d;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ========== FLOATING CTA BUTTON ========== */
.fab-post {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #e60023;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.fab-post:hover {
  background: #c1001d;
  transform: translateY(-2px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .section {
    padding: 60px 4%;
  }

  .section__title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .step, .trust__card, .resource {
    padding: 20px;
  }

  .fab-post {
    font-size: 1rem;
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .fab-post {
    right: 15px;
    bottom: 15px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}
