/* ============================================
   BASE
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-top: 0;
}

p {
  color: #8f8f8f;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

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

a {
  -webkit-tap-highlight-color: transparent;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.big-heading {
  font-family: "Ubuntu", sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.mid-heading {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  line-height: 1.7;
  font-weight: 400;
}

.section-heading {
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

/* ============================================
   CONTAINERS
   ============================================ */

.container-fluid {
  padding: 5% 8%;
}

/* ============================================
   SECTIONS
   ============================================ */

.colored-section {
  background-color: #ff4c68;
  color: #fff;
}

.white-section {
  background-color: #fff;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
  padding: 0.5rem 0 2rem;
}

.navbar-brand {
  font-family: "Ubuntu", sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 700;
}

.nav-item {
  padding: 4px 12px;
}

.nav-link {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  padding: 10px 4px !important;
}

/* Make collapsed menu readable on mobile */
.navbar-collapse {
  background-color: rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 8px;
}

@media (min-width: 992px) {
  .navbar-collapse {
    background: none;
    padding: 0;
    margin-top: 0;
  }
}

/* ============================================
   TITLE SECTION
   ============================================ */

#title {
  background-color: #ff4c68;
  color: #fff;
  text-align: left;
}

#title .container-fluid {
  padding: 2% 8% 5%;
}

.title-image {
  width: 60%;
  transform: rotate(25deg);
  position: absolute;
  right: 18%;
  top: 10%;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

#features {
  position: relative;
}

#features .container-fluid {
  padding: 5% 6%;
}

.feature-title {
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  color: #ef8172;
  margin-bottom: 0.6rem;
}

.feature-box {
  padding: 4% 5%;
}

.icon {
  color: #ef8172;
  margin-bottom: 1rem;
  display: block;
}

.icon:hover {
  color: #ff4c68;
}

.hook-text {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  color: #555;
  margin: 0 auto;
  max-width: 300px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

#testimonials {
  background-color: #ef8172;
}

#testimonials .container-fluid {
  padding: 6% 8%;
}

.testimonial-text {
  font-size: clamp(1.2rem, 4vw, 2.5rem);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.testimonial-image {
  width: clamp(60px, 12vw, 100px);
  border-radius: 50%;
  margin: 16px auto;
  display: block;
}

.carousel-item em {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  opacity: 0.9;
}

/* Larger tap targets for carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  align-items: center;
  justify-content: center;
  display: flex;
}

/* ============================================
   PRICING SECTION
   ============================================ */

#pricing {
  padding: 60px 20px;
}

#pricing .container-fluid {
  padding: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  margin-bottom: 2.5rem;
}

.pricing-column {
  padding: 12px 10px;
  margin-bottom: 4px;
}

.price-text {
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ff4c68;
  font-weight: 700;
}

/* Feature list inside pricing cards */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  text-align: left;
}

.feature-list li {
  color: #555;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.7;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "✓ ";
  color: #ef8172;
  font-weight: 700;
}

/* Card styling */
.card {
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.card-featured {
  border-color: #ff4c68;
}

.card-header {
  background-color: #fff;
  border-bottom: 2px solid #f0f0f0;
  padding: 1.2rem 1rem;
}

.card-featured .card-header {
  background-color: #ff4c68;
  border-bottom-color: #ff4c68;
}

.card-featured .card-header h3 {
  color: #fff;
}

.card-header h3 {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin: 0;
  line-height: 1.3;
}

.card-body {
  padding: 1.5rem 1.25rem;
}

.card-body .btn {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  padding: 0.85rem 1rem;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 1rem;
  /* Minimum tap target */
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-note {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 1.5rem;
}

/* ============================================
   CALL TO ACTION
   ============================================ */

#cta .container-fluid {
  padding: 6% 8%;
}

.cta-email {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  word-break: break-all;
}

.cta-email:hover {
  color: rgba(255,255,255,0.85);
}

.cta-body {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

/* ============================================
   FOOTER
   ============================================ */

footer .container-fluid {
  padding: 4% 8%;
}

.social-icons {
  margin-bottom: 0.75rem;
}

.social-icon {
  font-size: 1.4rem;
  margin: 12px 14px;
  color: #555;
  cursor: pointer;
  display: inline-block;
  /* Minimum tap target */
  min-width: 44px;
  min-height: 44px;
  line-height: 44px;
  text-align: center;
}

.social-icon:hover {
  color: #ff4c68;
}

.footer-copy {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0;
}

/* ============================================
   TABLET (max-width: 1028px)
   ============================================ */

@media (max-width: 1028px) {
  #title {
    text-align: center;
  }

  .title-image {
    position: static;
    transform: rotate(0);
    width: 65%;
    margin: 24px auto 0;
    display: block;
  }
}

/* ============================================
   MOBILE (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
  /* Base containers */
  .container-fluid {
    padding: 8% 5%;
  }

  #title .container-fluid {
    padding: 4% 5% 8%;
    text-align: center;
  }

  /* Title image */
  .title-image {
    width: 78%;
    margin-top: 28px;
  }

  /* Features */
  #features .container-fluid {
    padding: 8% 4%;
  }

  .feature-box {
    padding: 8% 6%;
    border-bottom: 1px solid #f4f4f4;
  }

  .feature-box:last-child {
    border-bottom: none;
  }

  .hook-text {
    max-width: 100%;
    font-size: 0.95rem;
  }

  /* Testimonials */
  #testimonials .container-fluid {
    padding: 10% 6%;
  }

  .testimonial-text {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .testimonial-image {
    width: 70px;
  }

  /* Pricing — horizontal scroll strip on mobile */
  #pricing {
    padding: 40px 0;
  }

  #pricing .container-fluid {
    padding: 0;
  }

  #pricing .section-heading,
  #pricing .pricing-subtitle,
  #pricing .fx-note {
    padding: 0 20px;
  }

  /* Turn the Bootstrap row into a horizontal scroll container */
  #pricing .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding: 8px 16px 20px;
    /* Hide scrollbar but keep scrollability */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #pricing .row::-webkit-scrollbar {
    display: none;
  }

  /* Each card column: fixed width so 1.2 cards peek on screen */
  .pricing-column {
    flex: 0 0 82vw;
    max-width: 82vw;
    padding: 6px 8px;
    scroll-snap-align: center;
  }

  .card {
    border-radius: 14px;
    height: 100%;
  }

  .card-body {
    padding: 1.25rem 1.1rem;
  }

  /* Scroll hint dots */
  .pricing-scroll-hint {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
    padding-bottom: 4px;
  }

  .pricing-scroll-hint span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ddd;
    display: inline-block;
    transition: background 0.2s;
  }

  .pricing-scroll-hint span.active {
    background: #ff4c68;
  }

  /* CTA */
  #cta .container-fluid {
    padding: 10% 5%;
  }

  .cta-body {
    text-align: left;
    font-size: 0.95rem;
  }

  /* Footer */
  footer .container-fluid {
    padding: 8% 5%;
  }

  .social-icon {
    font-size: 1.3rem;
    margin: 8px 10px;
  }
}

/* ============================================
   SMALL MOBILE (max-width: 400px)
   ============================================ */

@media (max-width: 400px) {
  .big-heading {
    font-size: 1.45rem;
  }

  .section-heading {
    font-size: 1.65rem;
  }

  .testimonial-text {
    font-size: 1.1rem;
  }

  .pricing-column {
    flex: 0 0 88vw;
    max-width: 88vw;
    padding: 6px 6px;
  }

  .card-body {
    padding: 1rem 0.9rem;
  }

  .feature-list li {
    font-size: 0.88rem;
  }

  .price-text {
    font-size: 1.7rem;
  }
}
