:root {
  --primary-yellow: #f8c214;
  --cta-green: #01b140;
  --text-dark: #000000;
  --card-bg: #f2f2f2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
  color: var(--text-dark);
}

.top-nav-placeholder {
  width: 100%;
  height: 60px;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  margin: 0;
  background-color: #fff;
}

.header-bar {
  background-color: #fff;
  padding: 8px 0 0 0; /* Creates the white gap */
  text-align: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.header-yellow-bg {
  background-color: var(--primary-yellow);
  padding: 10px 5px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 32px;
  max-width: 1000px; /* Narrower to create the side gaps */
  width: 95%;
  margin: 0 auto;
}

.hero-section {
  display: flex;
  justify-content: center;
  padding: 0 20px;
  margin-top: 0;
}

.hero-card {
  background-color: #f9f9f9;
  border: 1px solid rgba(0, 0, 0, 0.45);
  border-radius: 8px; /* Matching the original's rounding better */
  max-width: 1100px; /* Slightly narrower to match reference aspect ratio */
  width: 100%;
  display: flex;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow as seen in reference */
  margin: 0px auto;
}

.hero-content {
  flex: 1.2;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.headline {
  font-size: 26px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800; /* Extra bold for emphasis */
  line-height: 1.1;
  margin-bottom: 15px;
  text-align: center;
  color: #000;
}

.divider {
  height: 1px;
  background-color: #999;
  width: 100%;
  margin-bottom: 20px;
}

.checklist {
  list-style: none;
  margin-bottom: 25px;
  padding-left: 10px;
}

.checklist li {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #333;
}

.check-icon {
  width: 20px;
  height: 20px;
  background-color: #01b140;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
}

.check-icon::after {
  content: "";
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.btn-cta {
  background-color: #01b140; /* Match original vibrant green */
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 18px 20px;
  border-radius: 6px;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 18px;
  display: block; /* Make it full width of container */
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.stats {
  font-size: 15px;
  color: #555; /* Slightly lighter gray */
  margin-bottom: 12px;
  font-family: inherit;
}

.stats span {
  color: #d92121; /* Match the red number */
  font-weight: 700;
}

.sub-link {
  color: #000;
  font-size: 14px;
  text-decoration: underline;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-image-wrapper {
  flex: 0 0 450px; /* Slightly narrower to balance the card */
  display: flex;
  padding: 10px; /* Thinner inner padding for the image */
  align-items: center;
}

.hero-image-wrapper img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px; /* Matches original rounding */
  border: 1px solid #ddd;
}

.logo-strip {
  text-align: center;
  margin: 50px 0;
}

.logo-strip img {
  max-width: 900px;
  width: 90%;
}

.bottom-footer {
  text-align: center;
  padding: 30px; /* More padding as seen in original */
  background-color: #f2f2f2;
  border-top: 1px solid #ddd;
  color: #555; /* Slightly lighter gray */
  font-size: 14px;
}

/* --- Bottom UI Sections --- */

.info-banner {
  background-color: #ffef00; /* Bright yellow */
  padding: 20px 40px; /* Better side padding to match visual style */
  margin: 10px auto;
  max-width: 1100px;
  width: 100%;
  border-radius: 0; /* Removing radius to match sharp look in image */
}

.banner-content {
  font-family: "Montserrat", sans-serif;
  font-size: 16px; /* Slightly smaller to match original screenshot better */
  line-height: 1.5;
  text-align: left; /* Alignment changed from center to match original */
  color: #000;
  font-weight: 400;
}

.banner-content strong {
  font-weight: 800;
}

.comparison-section {
  max-width: 1100px;
  width: 95%;
  margin: 0 auto 30px;
}

.comparison-grid {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.comparison-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.comparison-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.emoji-overlay {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 50px;
  line-height: 1;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bottom-cta {
  text-align: center;
  max-width: 1000px; /* Allowing for a wider button area */
  margin: 60px auto 80px; /* More vertical space */
  padding: 0 20px;
}

.bottom-headline {
  font-family: "Montserrat", sans-serif;
  font-size: 32px; /* Slightly larger to match prominence */
  font-weight: 800;
  margin-bottom: 10px;
  color: #000;
}

.bottom-subtext {
  font-size: 16px; /* Slightly smaller to match original better */
  color: #333;
  margin-bottom: 25px;
  font-weight: 400;
}

/* --- Responsive Design --- */

/* Tablets / iPad Landscape (up to 1024px, we'll use 960px as base) */
@media (max-width: 960px) {
  .header-bar {
    width: 100%;
    max-width: none;
    padding-top: 5px;
  }

  .header-yellow-bg {
    font-size: 20px; /* Scaling down for better tablet fit */
    width: 100%;
    max-width: none;
    padding: 10px;
  }

  .top-nav-placeholder {
    border: none;
    height: 40px; /* Reducing height for mobile */
  }

  .hero-card {
    flex-direction: column;
    margin: 0 auto;
    border-radius: 0;
    border: none; /* Removing all borders for full-width mobile look */
    max-width: none;
    box-shadow: none; /* Cleaner look on mobile */
  }

  .hero-image-wrapper {
    width: 100%;
    flex: none;
    padding: 0;
    /* order removed to place image below content */
  }

  .hero-image-wrapper img {
    aspect-ratio: auto;
    max-height: 400px;
  }

  .hero-content {
    padding: 25px 20px;
  }

  .headline {
    font-size: 24px; /* Moderately reduced for tablets */
  }

  .comparison-grid {
    flex-direction: column;
  }

  .info-banner {
    padding: 15px 20px;
  }
}

/* Tablets / iPad Portrait (up to 768px) */
@media (max-width: 768px) {
  .header-yellow-bg {
    font-size: 22px;
  }

  .headline {
    font-size: 24px;
  }

  .checklist li {
    font-size: 18px;
  }

  .btn-cta {
    font-size: 22px;
    padding: 15px;
  }

  .bottom-headline {
    font-size: 26px;
  }

  .emoji-overlay {
    font-size: 40px;
  }
}

/* Mobile Phones (up to 480px) */
@media (max-width: 480px) {
  .main-container {
    padding: 0;
  }

  .header-yellow-bg {
    font-size: 15px; /* Further reduction for narrow screens (430px and below) */
    padding: 8px 5px;
    width: 100%;
    max-width: none;
    line-height: 1.3;
  }

  .headline {
    font-size: 18px; /* Scaling down further to ensure no overflow */
    line-height: 1.2;
    padding: 0 10px;
  }

  .hero-content {
    padding: 15px 10px;
  }

  .hero-image-wrapper img {
    border-radius: 0;
    border: none;
  }

  .checklist {
    padding-left: 5px;
    margin-bottom: 20px;
  }

  .checklist li {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .btn-cta {
    font-size: 18px;
    padding: 12px;
    border-radius: 4px;
  }

  .stats {
    font-size: 13px;
  }

  .info-banner {
    padding: 15px 10px;
    width: 100%;
    max-width: none;
  }

  .banner-content {
    font-size: 14px;
    text-align: center; /* Better for mobile lists */
  }

  .comparison-section {
    width: 100%;
    padding: 0 10px;
  }

  .bottom-headline {
    font-size: 20px;
  }

  .bottom-subtext {
    font-size: 14px;
  }

  .bottom-footer {
    padding: 20px 10px;
    font-size: 12px;
  }
}
