/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Overpass",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: #2c2c31;
  background-color: #ffffff;
}

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

/* Layout components */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  background-color: #ffffff;
  box-shadow: 0px 4px 9px #6e74860c;
  padding: 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  width: 120px;
  height: 22px;
}

.nav-menu {
  display: none;
  gap: 40px;
}

.nav-link {
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #777777;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #1e5af6;
}

.hero-section {
  background-color: #1e5af6;
  display: flex;
  align-items: center;
  min-height: 480px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 32px 16px;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.hero-title {
  width: 100%;
  max-width: 627px;
  height: auto;

  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.35;
  /* or 142% */

  /* 🤫 Neutral/N-0 */
  color: #ffffff;

  /* Blue/B-800 */
  text-shadow: 4px 5px 0px #0a2573;

  /* Inside auto layout */
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.hero-description {
  font-size: 14px;
  font-family: "Overpass", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
}

.hero-description .italic {
  font-style: italic;
}

.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.app-button {
  display: flex;
  justify-content: start;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 4px 16px #00000026;
  padding: 0px 16px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.app-button:hover {
  transform: translateY(-2px);
}

.app-button img {
  height: 52px;
  width: auto;
}

.google-play-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 5px;
  background-color: #ffffff;
}

.google-play-icon {
  width: 30px;
  height: 32px;
}

.google-play-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.google-play-text img {
  height: auto;
}

.availability-text {
  font-size: 14px;
  font-family: "Overpass", sans-serif;
  color: #ffffff;
  text-align: center;
  margin-top: 16px;
}

.features-section {
  padding: 74px 16px;
  background-color: #ffffff;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 74px;
  align-items: center;
}

.feature-image {
  width: 100%;
  max-width: 478px;
  border-radius: 46px;
}

.feature-content {
  text-align: center;
}

.feature-title {
  font-size: 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #2c2c31;
  margin-bottom: 18px;
}

.feature-description {
  font-size: 16px;
  font-family: "Overpass", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #5e6c84;
}

.feature-description .highlight {
  color: #181b25;
  font-weight: 400;
}

.feature-description .italic {
  font-style: italic;
}

.how-it-works {
  background-color: #ffffff;
  padding: 32px 16px;
  margin-top: 70px;
  height: 750px;
}

.how-it-works-arrow {
  display: none;
  margin-top: 30px;
}

.how-it-works-arrow img {
  width: 70%;
  max-width: 450px;
  height: auto;
  margin: 0px 0px 0px 250px;
}

.whats-different-section {
  background-color: #1e5af6;
  padding: 42px 16px;
  height: 675px;
}

.whats-different-title {
  font-size: 36px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 46px;
  letter-spacing: 0px;
  margin-bottom: 24px;
}

.different-tiles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.different-tile {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 5px 4px 8.7px 0px #0000001a;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 35px;
  width: 100%;
  max-width: 640px;
}

.tile-icon {
  width: 108px;
  height: 108px;
  border-radius: 16px;
  object-fit: cover;
  background-color: #eef2ff;
  flex-shrink: 0;
}

.tile-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tile-title {
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #2c2c31;
  line-height: 1.3;
}

.tile-description {
  font-size: 16px;
  font-family: "Overpass", sans-serif;
  font-weight: 400;
  color: #777d88;
  line-height: 1.6;
}

.how-it-works-title {
  font-size: 32px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #2c2c31;
  text-align: center;
  margin-bottom: 90px;
}

.steps-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.step {
  background-color: white;
  border-radius: 16px;
  padding: 40px 35px 50px 35px;
  text-align: center;
  border: 2px solid #a4c5fe;
  box-shadow: 5px 4px 8.7px 0px #0000001a;
  width: 100%;
  max-width: 360px;
}

.step-image {
  width: 100%;
  height: 142px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
  margin: 0 auto 16px;
  background-color: #d9d9d9;
}

.step-title {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #2238a8;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
}

.step-description {
  font-size: 14px;
  font-family: "Overpass", sans-serif;
  font-weight: 400;
  color: #181b25;
  line-height: 1.4;
}

.step-arrow {
  display: none;
}

.pricing-section {
  padding: 92px 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.pricing-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.pricing-content {
  text-align: center;
}

.pricing-title {
  font-size: 36px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #181b25;
  margin-bottom: 8px;
}

.energy-icon-wrapper {
  display: inline-block !important;
  vertical-align: middle;
  margin-left: 8px;
}

.energy-icon-title {
  width: 36px;
  height: 36px;
  display: inline-block !important;
  vertical-align: middle;
}

.pricing-subtitle {
  font-size: 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #181b25;
  line-height: 1.4;
  margin-top: 16px;
  margin-bottom: 32px;
}

.pricing-details {
  font-size: 16px;
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  color: #777777;
  line-height: 1.7;
  margin-bottom: 32px;
}

.pricing-details .pricing-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.energy-icon {
  width: 26px;
  height: 26px;
  display: inline-block;
}

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

.faq-section {
  padding: 42px 16px;
  margin-top: 42px;
}

.faq-title {
  font-size: 36px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #2c2c31;
  text-align: center;
  margin-bottom: 28px;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #1e5af6;
}

.faq-question-text {
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #000000;
  line-height: 1.5;
  flex: 1;
  transition: color 0.3s ease;
}

.faq-question.active .faq-question-text {
  color: #1e5af6;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  transform: rotate(180deg);
  filter: brightness(0);
}

.faq-answer {
  font-size: 16px;
  font-family: "Overpass", sans-serif;
  font-weight: 400;
  color: #767c88;
  line-height: 1.6;
  padding-bottom: 12px;
  display: none;
}

.faq-answer.active {
  display: block;
}

.faq-answer .highlight {
  color: #181b25;
  font-weight: 700;
}

.contact-section {
  background-color: #1e5af6;
  padding: 38px;
  text-align: center;
}

.contact-title {
  font-size: 32px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 32px;
}

.contact-email {
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.page-hero {
  background-color: #1e5af6;
  padding: 38px 16px;
  text-align: center;
}

.legal-section {
  background-color: #ffffff;
  padding: 42px 16px;
}

.legal-content {
  font-family: "Overpass", sans-serif;
  font-size: 16px;
  color: #2c2c31;
  line-height: 1.7;
  max-width: 920px;
  margin: 0 auto;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #2c2c31;
  margin: 24px 0 10px;
}

.legal-content ul {
  margin: 8px 0 16px 18px;
  padding-left: 18px;
}

.legal-content li {
  margin: 6px 0;
}

.legal-content a {
  color: #1e5af6;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.footer {
  background-color: #e9ebf2;
  padding: 26px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-link {
  font-size: 14px;
  font-family: "Overpass", sans-serif;
  color: #2c2c31;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #1e5af6;
}

.footer-copyright {
  font-size: 14px;
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  color: #2c2c31;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* Interactive states */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.is-visible {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 20px 28px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.modal-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #181b25;
  font-size: 18px;
  margin-top: 12px;
}

.modal-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #667085;
}

.app-button:active {
  transform: scale(0.95);
}

.faq-question.active .faq-icon {
  transform: rotate(0deg);
  filter: none;
}

/* Responsive media queries */
@media (max-width: 639px) {
  .app-button {
    justify-content: center;
    width: 80%;
    margin: 0 auto;
  }

  /* Mobile layout for what's-different tiles */
  .different-tile {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    row-gap: 6px;
    padding: 25px 16px 16px 25px;
    align-items: start;
  }

  .tile-icon {
    width: 60px;
    height: 60px;
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  /* Let title/description participate directly in the grid */
  .tile-content {
    display: contents;
  }

  .tile-title {
    grid-column: 2;
    grid-row: 1 / span 2;
    /* reserve two rows for title */
    /* force a two-line box even for short titles */
    line-height: 20px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    align-content: center;
  }

  .tile-description {
    grid-column: 1 / span 2;
    grid-row: 3;
    /* always below the image */
    margin-top: 4px;
  }
}

/* Ensure sections stack cleanly on small screens */
@media (max-width: 767px) {
  .how-it-works {
    height: auto;
    padding: 32px 16px 32px;
    margin-top: 70px;
  }

  .whats-different-section {
    height: auto;
    padding: 42px 16px;
    margin-top: 24px;
  }
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 18px;
  }

  .app-buttons {
    flex-direction: row;
    justify-content: start;
    gap: 16px;
  }

  .feature-title {
    font-size: 28px;
  }

  .feature-description {
    font-size: 18px;
  }

  .steps-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .different-tiles {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .different-tile {
    width: calc(50% - 8px);
  }

  .step {
    width: calc(50% - 8px);
  }

  .faq-question-text {
    font-size: 22px;
  }

  .faq-answer {
    font-size: 18px;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    flex-direction: row;
    gap: 24px;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .nav-menu {
    display: flex;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 0px 16px;
    margin-bottom: -6px;
  }

  .hero-image {
    width: 42%;
    align-self: flex-end;
  }

  .hero-text {
    width: 55%;
    text-align: left;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 45px;
    line-height: 1.4;
  }

  .hero-description {
    font-size: 22px;
    line-height: 1.5;
  }

  .feature {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }

  .feature:nth-child(even) {
    flex-direction: row-reverse;
  }

  .feature:nth-child(even) .feature-content {
    text-align: right;
  }

  .feature-image {
    width: 48%;
  }

  .feature-content {
    width: 48%;
  }

  .feature-title {
    font-size: 36px;
  }

  .feature-description {
    font-size: 20px;
  }

  .how-it-works-title {
    font-size: 36px;
  }

  .whats-different-title {
    font-size: 45px;
  }

  .different-tile {
    width: 550px;
    height: 175px;
  }

  .steps-container {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
  }

  .step {
    width: calc(20% - 12px);
  }

  .step-arrow {
    display: block;
    margin: 128px 8px;
  }

  .pricing-section {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .pricing-layout {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .pricing-content {
    width: 100%;
    text-align: left;
  }

  .pricing-title {
    font-size: 52px;
  }

  .pricing-visual {
    width: 80%;
  }

  .energy-icon-title {
    width: 52px;
    height: 52px;
  }

  .pricing-subtitle {
    font-size: 30px;
  }

  .pricing-details {
    font-size: 20px;
  }

  .pricing-image {
    width: 80%;
  }

  .contact-title {
    font-size: 45px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 45px;
  }

  .how-it-works-arrow {
    display: flex;
    justify-content: center;
  }

  .feature-title {
    font-size: 36px;
  }

  .steps-container {
    gap: 10px;
  }

  .step {
    height: 300px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 56px;
  }

  .features-section {
    padding: 74px 86px;
  }

  .faq-section {
    padding: 42px 56px;
  }

  .pricing-section {
    padding: 92px 56px;
  }
}
