:root {
  --green-500: #2d9a5a;
  --green-600: #1f7a45;
  --text-dark: #143028;
  --text-light: rgba(255, 255, 255, 0.92);
  --shadow-strong: 0 12px 32px rgba(10, 38, 27, 0.35);
  --header-height: clamp(80px, 11vw, 120px);
  --stacked-header-offset: -12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background-color: #f4f9f5;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  min-height: var(--header-height);
  padding: clamp(12px, 2vw, 20px) clamp(16px, 4vw, 36px);
  background: linear-gradient(110deg, rgba(31, 122, 69, 0.95), rgba(45, 154, 90, 0.92));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 56, 33, 0.22);
  backdrop-filter: blur(6px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  height: clamp(62px, 10vw, 110px);
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.nav-toggle:focus-visible,
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.nav-toggle-box {
  display: grid;
  gap: 0.25rem;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle-label {
  font-size: 0.95rem;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  justify-content: space-between;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.8vw, 1.8rem);
  width: 100%;
  flex: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-dropdown-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  background: #f6fffa;
  color: var(--green-600);
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 12px 28px rgba(16, 58, 32, 0.22);
  min-width: 220px;
  display: grid;
  gap: 0.5rem;
  text-align: center;
  border: 1px solid rgba(45, 154, 90, 0.25);
  z-index: 15;
}

.nav-dropdown-link {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  background: rgba(45, 154, 90, 0.08);
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  background: rgba(45, 154, 90, 0.14);
}

.mobile-only {
  display: none;
}

.nav-link {
  color: #edffef;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.85);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:focus::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  background-color: #ffffff;
  color: var(--green-600);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(14, 59, 31, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-download {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 16px rgba(11, 56, 33, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-download:hover,
.nav-download:focus-visible {
  transform: translateY(-1px);
  background-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 20px rgba(11, 56, 33, 0.3);
}

.nav-cta:hover,
.nav-cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(14, 59, 31, 0.3);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: calc(var(--header-height) + var(--stacked-header-offset));
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - var(--stacked-header-offset));
  background-image: url("images/downloadandroid.png");
  background-color: #0d2d1d;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: clamp(4rem, 10vh, 6rem) clamp(2.5rem, 8vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  text-align: center;
}

@media (min-width: 960px) {
  .hero {
    background-position: center -32vh;
    background-size: 104%;
  }
}

@media (min-width: 1280px) {
  .hero {
    background-position: center -42vh;
    background-size: 96%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 34, 17, 0.5) 0%, rgba(0, 34, 17, 0.7) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-message {
  position: relative;
  margin: 0;
  color: var(--text-light);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.8vw, 2.7rem);
  line-height: 1.35;
  max-width: min(780px, 88%);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-button {
  position: relative;
  z-index: 1;
  transform: translateY(0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 3.8rem;
  border-radius: 999px;
  background: #f6fffa;
  color: var(--green-600);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: var(--shadow-strong);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(12, 48, 28, 0.35);
}

.hero-button:focus {
  outline: none;
}

.info-section {
  background-color: #ffffff;
  padding: 5rem 4vw;
  display: flex;
  justify-content: center;
}

.capture-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf6 100%);
}

.capture-wrapper {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.capture-text h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  color: var(--green-600);
  line-height: 1.15;
  font-weight: 700;
  text-align: left;
}

.capture-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.capture-media img {
  width: auto;
  max-width: min(100%, 520px);
  max-height: clamp(260px, 50vw, 420px);
  height: auto;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(20, 72, 44, 0.22);
}

.reviews-wrapper {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.reviews-text h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 3.1rem);
  color: var(--green-600);
  line-height: 1.18;
  font-weight: 700;
  text-align: left;
}

.reviews-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-media picture {
  display: flex;
  justify-content: center;
}

.reviews-media img {
  width: clamp(200px, 28vw, 360px);
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(20, 72, 44, 0.22);
}

.stats-section {
  background: linear-gradient(135deg, rgba(25, 66, 51, 0.92), rgba(34, 117, 79, 0.88));
  color: var(--text-light);
}

.stats-wrapper {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.stats-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-media img {
  width: clamp(200px, 32vw, 340px);
  max-width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 20px 42px rgba(4, 19, 12, 0.35);
}

.stats-text h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-light);
  text-align: left;
}

.info-section.alt {
  background: linear-gradient(180deg, #f3fbf6 0%, #ffffff 100%);
}

.section-content {
  max-width: 760px;
  text-align: center;
}

.section-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--green-600);
}

.section-content p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: #2d5244;
}

.pricing-section {
  background: radial-gradient(circle at top right, rgba(45, 154, 90, 0.15), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f3fbf6 100%);
}

.pricing-subtitle {
  margin: 0 auto;
  max-width: 46rem;
  color: rgba(20, 48, 40, 0.85);
}

.pricing-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card {
  position: relative;
  padding: 2.75rem 2.25rem 3rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 45px rgba(16, 58, 32, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover,
.pricing-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(16, 58, 32, 0.25);
}

.pricing-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  color: var(--green-600);
}

.plan-price {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 4.2vw, 2.8rem);
  font-weight: 700;
  color: #143028;
}

.plan-price span {
  font-size: 0.6em;
  font-weight: 500;
  color: rgba(20, 48, 40, 0.7);
  margin-left: 0.2em;
}

.plan-features {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  color: rgba(20, 48, 40, 0.82);
}

.plan-features li {
  position: relative;
  padding-left: 1.75rem;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  box-shadow: 0 0 0 3px rgba(45, 154, 90, 0.2);
}

.plan-note {
  margin: 0;
  color: rgba(20, 48, 40, 0.7);
  font-size: 0.95rem;
}

.plan-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2d9a5a, #1f7a45);
  color: #f4fff6;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2d9a5a, #1f7a45);
  color: #f6fffa;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(21, 72, 40, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-cta:hover,
.plan-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(21, 72, 40, 0.35);
}

.premium-plan {
  background: rgba(242, 255, 248, 0.92);
  border: 1px solid rgba(45, 154, 90, 0.35);
}

.landing-footer {
  position: relative;
  padding: 2rem 4vw 3rem;
  text-align: center;
  font-size: 0.95rem;
  color: #5b776a;
  background: #f3fbf6;
}

.footer-legal-link {
  color: #2f5d4a;
  font-weight: 600;
  text-decoration: none;
}

.footer-legal-link:hover,
.footer-legal-link:focus {
  text-decoration: underline;
  color: #204434;
}

.footer-ig-link {
  position: absolute;
  left: 4vw;
  bottom: 1.75rem;
  display: inline-flex;
  align-items: flex-end;
}

.footer-ig-link img {
  display: block;
  width: clamp(48px, 6vw, 72px);
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 6px 16px rgba(20, 48, 40, 0.2);
}

@media (max-width: 768px) {
  :root {
    --stacked-header-offset: 3.25rem;
  }

  .landing-header {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .logo img {
    height: clamp(52px, 12vw, 78px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-wrapper {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 38px rgba(6, 38, 22, 0.35);
  }

  .landing-header[data-menu-open="true"] .nav-wrapper,
  .nav-wrapper[data-open="true"] {
    display: flex;
  }

  .landing-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
  }

  .nav-link::after {
    display: none;
  }

  .nav-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
  }

  .nav-download {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .mobile-only {
    display: block;
  }

  .nav-dropdown {
    width: 100%;
    align-items: stretch;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: 0 12px 26px rgba(16, 58, 32, 0.26);
    margin-top: 0.4rem;
    width: 100%;
  }

  .nav-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .nav-dropdown-link {
    text-align: left;
  }

  .hero {
    padding-top: calc(var(--stacked-header-offset) + clamp(3.5rem, 14vh, 5rem));
    padding-right: 1.45rem;
    padding-bottom: clamp(3rem, 12vh, 5rem);
    padding-left: 1.45rem;
  }

  .capture-wrapper {
    grid-template-columns: 1fr;
  }

  .capture-text h2 {
    text-align: center;
  }

  .reviews-wrapper {
    grid-template-columns: 1fr;
  }

  .reviews-text h2 {
    text-align: center;
  }

  .stats-wrapper {
    grid-template-columns: 1fr;
  }

  .stats-text h2 {
    text-align: center;
  }

  .pricing-grid {
    margin-top: 2.5rem;
  }

  .pricing-card {
    padding: 2.25rem 1.8rem 2.5rem;
  }

  .plan-badge {
    right: 1rem;
  }
}

@media (max-width: 600px) {
  :root {
    --stacked-header-offset: 3.75rem;
  }

  .hero {
    background-image: url("images/downloadandroid.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: calc(100vh - var(--header-height) - var(--stacked-header-offset));
    height: auto;
    padding: calc(var(--header-height) + var(--stacked-header-offset) + 1.5rem) 1.45rem
      clamp(3.25rem, 16vh, 4.75rem);
  }

  .capture-media img {
    width: auto;
    max-width: min(100%, 420px);
    max-height: clamp(220px, 70vw, 340px);
  }

  .stats-media img {
    max-width: min(100%, 420px);
    max-height: clamp(220px, 70vw, 340px);
  }

  .landing-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 2.5rem;
  }

  .landing-footer p {
    order: 1;
    margin: 0;
  }

  .footer-ig-link {
    position: static;
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
