:root {
  --bg: #F5F7F5;
  --green: #1A7A4A;
  --green-light: #25A062;
  --green-accent: #00C97A;
  --green-soft: #E8F5EE;
  --on-bg: #0D1C12;
  --muted: #5C6B62;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(13, 28, 18, 0.08);
  --shadow-lg: 0 20px 60px rgba(13, 28, 18, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--on-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 247, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 122, 74, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.brand img {
  border-radius: 12px;
}

.nav-cta {
  background: var(--green);
  color: var(--white);
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37, 160, 98, 0.2), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 201, 122, 0.1), transparent),
    var(--bg);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
}

.eyebrow {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
}

.web-continue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--green);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(26, 122, 74, 0.35);
}

.web-continue-btn--full {
  width: 100%;
}

.store-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.store-actions .store-badge {
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.web-continue-btn svg {
  width: 20px;
  height: 20px;
}

.web-continue-btn:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 122, 74, 0.4);
}

.web-continue-btn--light {
  margin-top: 0.5rem;
  background: var(--white);
  color: var(--green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.web-continue-btn--light:hover {
  background: var(--bg);
  color: var(--on-bg);
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--on-bg);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, opacity 0.2s;
}

.store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.store-badge--disabled {
  cursor: default;
  opacity: 0.85;
}

.store-badge--disabled:hover {
  transform: none;
  opacity: 0.85;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.phone-mock {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-light) 100%);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  width: min(320px, 100%);
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.phone-logo {
  border-radius: 24px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.phone-tagline {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.features {
  padding: 6rem 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-logo {
  border-radius: 18px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta p {
  opacity: 0.9;
  font-size: 1.05rem;
}

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(26, 122, 74, 0.15);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-credit a {
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .nav {
    height: 64px;
  }

  .hero {
    padding-top: 64px;
  }

  .brand {
    font-size: 1.05rem;
    gap: 0.5rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-cta {
    font-size: 0.72rem;
    padding: 0.4rem 0.7rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 3rem 2rem;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions {
    margin-inline: auto;
    width: 100%;
    max-width: 22rem;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mock {
    aspect-ratio: auto;
    padding: 2.5rem 2rem;
    width: min(260px, 80%);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
