/* PlantME landing page: app-focused layout and SEO sections */

.landing-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: #ffffff;
  overflow: hidden;
}

.landing-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(44, 174, 74, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .landing-hero {
    background: linear-gradient(165deg, #f5f6f8 0%, #ffffff 45%, #f5f6f8 100%);
  }
}

.landing-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(44, 174, 74, 0.1);
  color: var(--accent-color);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.landing-hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  line-height: 1.08;
  font-weight: 800;
  color: #121212;
  letter-spacing: -0.03em;
}

.landing-hero__title .accent {
  color: var(--accent-color);
}

.landing-hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--font-dark);
  max-width: 34rem;
  margin-top: 1.5rem;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.landing-hero__store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: #121212;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-hero__store:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.landing-hero__store-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.landing-hero__store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.landing-hero__store-text small {
  font-size: 0.65rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-hero__store-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.landing-hero__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.875rem;
  height: 100%;
  min-height: 22rem;
}

.landing-hero__gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.landing-hero__gallery-item:first-child {
  grid-row: span 2;
}

.landing-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.landing-stat__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

.landing-stat__label {
  font-size: 0.875rem;
  color: var(--font-dark);
  margin-top: 0.35rem;
}

.landing-section {
  padding: 5rem 0;
}

.landing-section.-alt {
  background: var(--bg-light-1);
}

.landing-section__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.landing-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #121212;
  letter-spacing: -0.02em;
}

.landing-section__desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--font-dark);
  max-width: 40rem;
  margin-top: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2rem 1.75rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
}

.landing-section.-alt .feature-card {
  background: #fff;
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(44, 174, 74, 0.1);
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #121212;
  margin-bottom: 0.5rem;
}

.feature-card__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--font-dark);
  margin: 0;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.step-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #121212;
  margin-bottom: 0.5rem;
}

.step-card__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--font-dark);
  margin: 0;
}

.plant-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.plant-showcase__item {
  position: relative;
  border-radius: 0.875rem;
  overflow: hidden;
  aspect-ratio: 1;
}

.plant-showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.plant-showcase__item:hover img {
  transform: scale(1.05);
}

.plant-showcase__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.faq-list {
  margin-top: 2.5rem;
  max-width: 48rem;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #121212;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-color);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--font-dark);
}

.landing-cta {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.landing-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.landing-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.82) 0%, rgba(44, 174, 74, 0.75) 100%);
}

.landing-cta__content {
  position: relative;
  z-index: 2;
}

.landing-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.landing-cta__text {
  font-size: 1.125rem;
  color: #fff;
  opacity: 0.92;
  max-width: 32rem;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.landing-footer {
  padding: 3rem 0 2rem;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.landing-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.landing-footer__brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-color);
}

.landing-footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--font-dark);
  margin-top: 0.75rem;
  max-width: 22rem;
}

.landing-footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #121212;
  margin-bottom: 1rem;
}

.landing-footer__links a {
  display: block;
  font-size: 0.9375rem;
  color: var(--font-dark);
  padding: 0.25rem 0;
}

.landing-footer__links a:hover {
  color: var(--accent-color);
}

.landing-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--font-dark);
}

.header__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.header__logo-link:hover {
  color: var(--accent-color);
}

.header__logo .header__logo-icon {
  position: static;
  width: 2.125rem;
  height: 2.125rem;
  opacity: 1;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0.5rem;
}

.header__logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: -0.02em;
  line-height: 1;
}

.header__logo-text:hover {
  color: var(--accent-color);
}

.header__cta {
  display: none;
  margin-left: auto;
}

.header__menu {
  margin-left: 0.75rem;
}

.landing-use-case__list {
  padding-left: 1.25rem;
  line-height: 2;
  color: var(--font-dark);
}

.landing-app-showcase {
  background: linear-gradient(180deg, #fff 0%, #f5f6f8 100%);
  overflow: visible;
}

.device-stage {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  padding: 28px 0;
}

.app-showcase {
  position: relative;
}

.app-showcase__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(320px, 70%);
  height: 75%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(44, 174, 74, 0.18) 0%, rgba(44, 174, 74, 0) 70%);
  pointer-events: none;
}

.app-showcase__phone {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(292px, 100%);
}

.iphone-shell {
  position: relative;
  isolation: isolate;
  padding: 7px;
  border-radius: 44px;
  background: linear-gradient(180deg, #3f4652 0%, #151a22 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 22px rgba(0, 0, 0, 0.32),
    0 24px 60px rgba(17, 24, 39, 0.28);
}

.phone-frame {
  z-index: 1;
  width: 100%;
  margin: 0 auto;
}

.phone-screen-bezel {
  position: relative;
  padding: 4px;
  border-radius: 38px;
  background: #06080d;
}

.phone-screen {
  overflow: hidden;
  border-radius: 34px;
  background: #10131a;
  aspect-ratio: 390 / 844;
}

.device-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.app-showcase__pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #121212;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.app-showcase__pill i {
  color: var(--accent-color);
}

.app-showcase__pill.-top {
  top: 8%;
  left: 0;
}

.app-showcase__pill.-bottom {
  bottom: 8%;
  right: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 992px) {
  .device-stage {
    min-height: 620px;
    padding: 32px 0;
  }

  .app-showcase__phone {
    width: min(300px, 100%);
  }

  .app-showcase__pill.-top {
    left: 2%;
  }

  .app-showcase__pill.-bottom {
    right: 0;
  }
}

@media (max-width: 991px) {
  .device-stage {
    min-height: auto;
    padding: 48px 0 24px;
  }

  .app-showcase__phone {
    width: min(280px, 78vw);
  }

  .app-showcase__pill {
    display: none;
  }
}

@media (min-width: 992px) {
  .header__cta {
    display: inline-flex;
  }
}

@media (max-width: 991px) {
  .feature-grid,
  .steps-row {
    grid-template-columns: 1fr;
  }

  .plant-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-footer__grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding-top: 7rem;
  }

  .landing-hero::before {
    display: none;
  }

  .landing-hero__gallery {
    min-height: 16rem;
    margin-top: 2.5rem;
  }
}

@media (max-width: 575px) {
  .landing-section {
    padding: 3.5rem 0;
  }

  .plant-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}
