/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-500: #2e9e7a;
  --primary-600: #248a6a;
  --primary-50: #e8f5f0;
  --neutral-900: #2d3436;
  --neutral-700: #535a5d;
  --neutral-600: #6b7275;
  --neutral-500: #7f878a;
  --neutral-400: #9aa1a5;
  --neutral-300: #b6bbbf;
  --neutral-200: #d2d5d8;
  --neutral-100: #e8eaec;
  --neutral-50: #f5f6f7;
  --white: #ffffff;
  --amber-50: #fff6e5;
  --blue-50: #ebf3fd;
  --tertiary-100: #ddd6ee;
  --secondary-200: #b0bdd0;
  --font-heading: 'Bricolage Grotesque', serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--neutral-100);
  height: 57px;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 57px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--primary-600);
  letter-spacing: -0.5px;
  line-height: 28px;
}

/* ── Hero ── */
.hero {
  border-bottom: 1px solid var(--neutral-100);
  overflow: hidden;
  position: relative;
}

.hero__inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
}

.hero__content {
  flex: 1;
  min-width: 0;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__badge-line {
  width: 40px;
  height: 1px;
  background: var(--neutral-300);
}

.hero__badge-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 16px;
  white-space: nowrap;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 72px;
  line-height: 77.76px;
  letter-spacing: -1.8px;
  color: var(--neutral-900);
  margin-bottom: 48px;
}

.hero__title--green {
  color: var(--primary-500);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 29.25px;
  color: var(--neutral-700);
  max-width: 560px;
  margin-bottom: 80px;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
  background: var(--primary-500);
  color: var(--white);
  font-size: 16px;
  line-height: 24px;
  padding: 10px 28px;
  border-radius: 12px;
  box-shadow: 0 10px 7.5px rgba(46, 158, 122, 0.2), 0 4px 3px rgba(46, 158, 122, 0.2);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 10px rgba(46, 158, 122, 0.25), 0 6px 4px rgba(46, 158, 122, 0.2);
}

.btn__icon {
  width: 18px;
  height: 18px;
}

.hero__cta-note {
  font-size: 12px;
  line-height: 16px;
  color: var(--neutral-400);
}

.hero__image {
  flex-shrink: 0;
  width: 404px;
  position: relative;
}

.hero__image img {
  width: 100%;
  height: auto;
}

/* ── Tags Marquee ── */
.hero__tags {
  max-width: 1024px;
  margin: 0 auto;
  overflow: hidden;
  padding: 16px 0 24px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero__tags-track {
  display: flex;
  gap: 12px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--neutral-100);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--neutral-600);
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section Shared ── */
.section-header {
  text-align: center;
  max-width: 602px;
  margin: 0 auto 64px;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary-500);
  margin-bottom: 12px;
}

.section-label--left {
  text-align: left;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.9px;
  color: var(--neutral-900);
  margin-bottom: 12px;
}

.section-title--left {
  text-align: left;
}

.section-desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--neutral-500);
  max-width: 448px;
  margin: 0 auto;
}

/* ── Features ── */
.features {
  padding: 128px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 769px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card--wide {
    grid-column: span 1;
  }

  .features__row-bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--tertiary-100);
  border-radius: 16px;
  padding: 27px 25px;
  overflow: hidden;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__icon img {
  width: 24px;
  height: 24px;
}

.feature-card__icon--green {
  background: var(--primary-50);
}

.feature-card__icon--amber {
  background: var(--amber-50);
}

.feature-card__icon--blue {
  background: var(--blue-50);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: var(--neutral-900);
  margin-bottom: 16px;
}

.feature-card__desc {
  font-size: 14px;
  line-height: 22.75px;
  color: var(--neutral-500);
}

/* ── How It Works ── */
.how-it-works {
  background: var(--neutral-50);
  padding: 128px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
}

.step-card__number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 48px;
  line-height: 48px;
  color: var(--neutral-100);
  display: block;
  margin-bottom: 16px;
}

.step-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: var(--neutral-900);
  margin-bottom: 16px;
}

.step-card__desc {
  font-size: 14px;
  line-height: 22.75px;
  color: var(--neutral-500);
}

/* ── Download / CTA ── */
.download {
  padding: 128px 0;
  overflow: hidden;
}

.download__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.download__content {
  max-width: 387px;
}

.download__desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--neutral-500);
  margin-bottom: 32px;
}

.download__badges {
  display: flex;
  align-items: center;
  gap: 24px;
}

.store-badge img {
  height: 40px;
  width: auto;
}

.download__qr {
  flex-shrink: 0;
}

.download__qr-card {
  border: 1px solid var(--secondary-200);
  border-radius: 16px;
  padding: 19px 25px 24px;
  width: 230px;
  text-align: center;
}

.download__qr-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
}

.download__qr-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: var(--neutral-900);
  margin-bottom: 4px;
}

.download__qr-subtitle {
  font-size: 12px;
  line-height: 16px;
  color: var(--neutral-400);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--neutral-100);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo--footer {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.45px;
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  font-size: 14px;
  line-height: 20px;
  color: var(--neutral-500);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--neutral-700);
}

.footer__copy {
  font-size: 12px;
  line-height: 16px;
  color: var(--neutral-400);
}

/* ════════════════════════════════
   Responsive
   ════════════════════════════════ */

@media (max-width: 1024px) {
  .hero__title {
    font-size: 56px;
    line-height: 62px;
  }

  .hero__image {
    width: 320px;
  }

  .hero__subtitle {
    margin-bottom: 48px;
  }
}

@media (max-width: 768px) {
  .hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .hero__badge {
    justify-content: center;
  }

  .hero__title {
    font-size: 42px;
    line-height: 48px;
    letter-spacing: -1px;
    margin-bottom: 24px;
  }

  .hero__subtitle {
    margin-bottom: 40px;
    max-width: 100%;
  }

  .hero__cta {
    align-items: center;
  }

  .hero__image {
    width: 280px;
    order: -1;
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 28px;
    line-height: 34px;
  }

  .features {
    padding: 80px 0;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card--wide {
    grid-column: span 1;
  }

  .features__row-bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .how-it-works {
    padding: 80px 0;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .download {
    padding: 80px 0;
  }

  .download__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
  }

  .download__content {
    max-width: 100%;
  }

  .section-label--left {
    text-align: center;
  }

  .section-title--left {
    text-align: center;
  }

  .download__badges {
    justify-content: center;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 20px;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .hero__image {
    width: 240px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 24px;
    line-height: 30px;
  }

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

  .features {
    padding: 56px 0;
  }

  .how-it-works {
    padding: 56px 0;
  }

  .download {
    padding: 56px 0;
  }
}
