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

:root {
  --green: #2D6A4F;
  --green-dark: #1A5C3A;
  --green-light: #D8EDD4;
  --cream: #F5F0E8;
  --cream-card: #FDFAF4;
  --border: #C9D9C5;
  --text: #111827;
  --muted: #52796F;
  --subtle: #8FAF9A;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
nav {
  background-color: var(--green);
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  justify-self: start;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo span {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  justify-self: end;
}

.btn-nav-download {
  background: #fff;
  color: var(--green);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

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

/* HERO */
.hero {
  text-align: center;
  padding: 80px 24px 64px;
  max-width: 640px;
  margin: 0 auto;
}

.hero img {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(45, 106, 79, 0.2);
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.2s, transform 0.15s;
}

.btn-store:hover {
  background-color: #222;
  transform: translateY(-1px);
}

.btn-store svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.btn-store-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.btn-store-label {
  display: block;
  line-height: 1.2;
}

/* HOW IT WORKS */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-align: center;
}

.section h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.3px;
}

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

.card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  box-shadow: 0 10px 36px rgba(45, 106, 79, 0.13);
  border-color: var(--green);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* DIVIDER */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 900px;
  margin: 0 auto;
}

/* FOOTER */
footer {
  background-color: var(--green);
  padding: 40px 24px;
  text-align: center;
}

footer .footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

footer p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* LEGAL PAGES */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.legal .last-updated {
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 10px;
}

.legal p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal ul li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
}

.back-link:hover {
  text-decoration: underline;
}

/* PRICING */
.pricing-free {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pricing-free-badge {
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-free p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.pricing-card {
  position: relative;
  text-align: center;
}

.pricing-popular {
  border-color: var(--green);
  border-width: 2px;
}

.pricing-badge {
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-credits {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-per {
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  display: inline-block;
}

.pricing-features li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .section h2 { font-size: 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  nav { grid-template-columns: 1fr; }
}
