:root {
  --brand-green: #02b100;
  --brand-green-bright: #44d62c;
  --brand-green-dark: #002d00;
  --bg-soft: #f3fff3;
  --footer-green: #8bf88a;
  --text-main: #1f1f1f;
  --text-muted: #5a5a5a;
  --border: #d7d7d7;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", "Trebuchet MS", sans-serif;
  color: var(--text-main);
  background: #ffffff;
}

.container {
  width: min(1280px, 95vw);
  margin: 0 auto;
}

.header-wrapper {
  background-image: url("./assets/images/landing/MainImg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #ececec;
}

.topbar-inner {
  width: min(1360px, 96vw);
  margin: 0 auto;
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 16px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name,
.footer-brand {
  color: var(--brand-green);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
}

.search-row {
  display: flex;
  align-items: center;
}

.search-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c5fbc5;
  border-radius: 10px 2px 2px 10px;
  box-shadow: inset 0 3px 4px rgba(0, 0, 0, 0.2);
  padding: 0 12px;
  outline: none;
}

.search-btn {
  min-height: 42px;
  border: 0;
  border-radius: 0 10px 10px 0;
  padding: 0 14px;
  background: var(--brand-green);
  color: #ffffff;
  cursor: pointer;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-actions select {
  min-height: 39px;
  border-radius: 6px;
  border: 1px solid #c7c7c7;
  padding: 0 8px;
  background: #fff;
}

.btn {
  border: 0;
  border-radius: 8px;
  min-height: 40px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: var(--brand-green);
  color: #fff;
}

.hero {
  padding: 90px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: 30px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--brand-green-dark);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.1;
}

.hero-copy h1 span,
.footer-tagline span,
.how-grid h3 span {
  color: var(--brand-green-bright);
}

.hero-sub {
  margin: 22px 0 0;
  font-size: 1.2rem;
}

.hero-note {
  margin: 12px 0 0;
  font-style: italic;
}

.hero-version {
  margin: 14px 0 0;
  color: #707070;
  font-size: 0.75rem;
}

.value-list {
  margin: 30px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.value-list li {
  position: relative;
  padding-left: 28px;
}

.value-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  color: #2ecc71;
  font-weight: 700;
}

.value-list strong {
  display: block;
  font-style: italic;
  font-size: 1.1rem;
}

.value-list p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cta {
  min-height: 46px;
  font-size: 1rem;
  padding-inline: 18px;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 90%;
  max-width: 480px;
  object-fit: contain;
}

.services-section {
  padding: 30px 0 95px;
  background: #ffffff;
}

.services-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  color: #707070;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn:hover {
  background: #eafbea;
  color: var(--brand-green);
}

.services-track {
  overflow-x: auto;
  scroll-behavior: smooth;
  display: grid;
  grid-template-columns: repeat(8, minmax(260px, 1fr));
  gap: 12px;
  padding: 6px;
}

.services-track::-webkit-scrollbar {
  height: 8px;
}

.services-track::-webkit-scrollbar-thumb {
  background: #e2e2e2;
  border-radius: 999px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  background: #fff;
  min-height: 424px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.service-card .cover {
  width: 100%;
  height: 194px;
  object-fit: cover;
}

.service-body {
  padding: 10px;
}

.helper-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-wrap {
  position: relative;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.status-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.status-online {
  background: #3ac162;
}

.status-offline {
  background: #aab7b8;
}

.helper-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.service-title {
  margin: 14px 0 8px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.service-description {
  margin: 0;
  min-height: 54px;
  text-align: center;
  color: #5b5b5b;
  font-size: 0.9rem;
}

.service-divider {
  margin: 12px -10px 0;
  border-top: 1px solid #ececec;
}

.service-rating {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.83rem;
}

.service-price {
  margin-top: 10px;
  color: var(--brand-green);
  font-size: 0.9rem;
  font-weight: 700;
}

.how-it-works {
  background-image: url("./assets/images/landing/howItsWorks/bg_img.png");
  background-size: cover;
  background-position: center;
  padding: 120px 0 90px;
}

.how-it-works h2,
.faq-section h2 {
  margin: 0;
  text-align: center;
  color: var(--brand-green-dark);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.how-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.second-row {
  margin-top: 18px;
}

.how-grid h3 {
  margin: 0 0 14px;
  color: #333;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
}

.how-grid p {
  margin: 0 0 14px;
  color: #5eb45d;
  line-height: 1.56;
}

.how-grid iframe {
  width: 82%;
  max-width: 520px;
  height: 245px;
  border: 2px solid #0bd909;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
}

.video-slot {
  width: 82%;
  max-width: 520px;
  height: 245px;
  border: 2px solid #0bd909;
  border-radius: 15px;
  overflow: hidden;
  margin: 0 auto;
  background: #111;
}

.video-slot iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.video-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 0, 0, 0.88);
  color: #fff;
  width: 84px;
  height: 56px;
  border-radius: 12px;
  font-size: 1.8rem;
  line-height: 56px;
  text-align: center;
}

.video-fallback-note {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  color: #fff;
  font-size: 0.78rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.still-questions {
  text-align: center;
  margin-top: 22px;
}

.text-action {
  border: 0;
  background: transparent;
  color: #1a7e19;
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
  padding: 0;
}

.faq-section {
  background: var(--bg-soft);
  padding: 65px 0 80px;
}

.faq-root {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.faq-category {
  background: #ececec;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.faq-category > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 1rem;
}

.faq-category > summary::-webkit-details-marker {
  display: none;
}

.faq-items {
  padding: 10px 10px 12px;
}

.faq-item {
  background: #fff;
  border-radius: 4px;
  margin: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16);
}

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 0.96rem;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 16px 15px;
  color: #444;
  line-height: 1.5;
}

.footer {
  background: var(--footer-green);
  padding: 65px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 30px;
}

.footer-tagline {
  margin: 18px 0 8px;
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-copy {
  margin: 0 0 8px;
  color: #4a4a4a;
}

.footer-copy.small {
  font-size: 0.8rem;
  color: #707070;
}

.footer-info h4 {
  margin: 0 0 20px;
  color: #007417;
  font-size: 1.45rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  padding: 16px;
}

.modal.show {
  display: grid;
}

.modal-content {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.modal-content h3 {
  margin: 0;
  color: var(--brand-green-dark);
}

.modal-content p {
  margin: 10px 0 20px;
  color: #4f4f4f;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1150px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .topbar-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 35px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    width: min(420px, 92%);
  }

  .desktop-only {
    display: none;
  }

  .services-controls {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .how-it-works {
    padding-top: 60px;
  }

  .how-grid,
  .second-row {
    margin-top: 24px;
    grid-template-columns: 1fr;
  }

  .how-grid iframe {
    width: 100%;
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
