:root {
  --green: #58CC02;
  --green-dark: #46a502;
  --green-light: #f0fde4;
  --cream: #FFFDF8;
  --text: #4B4B4B;
  --text-light: #8A8A8A;
  --border: #E8E8E0;
  --white: #ffffff;
  --radius: 14px;
}

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

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

/* ── Navigation ────────────────────────────────── */

nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1rem;
}

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

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--green);
}

/* ── Hero ───────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 4.5rem 2rem 5rem;
  max-width: 680px;
  margin: 0 auto;
}

.hero-icon {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 36px rgba(88, 204, 2, 0.22);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--text);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
  line-height: 1.2;
}

.store-btn:hover {
  background: #2e2e2e;
  transform: translateY(-2px);
}

.store-btn svg {
  flex-shrink: 0;
}

.store-btn-sub {
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.75;
  display: block;
}

.store-btn-main {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
}

/* ── Features ────────────────────────────────────── */

.section {
  padding: 3.5rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.feature-emoji {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

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

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ── Green CTA band ──────────────────────────────── */

.band {
  background: var(--green);
  color: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
}

.band h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.band p {
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.band .store-btn {
  background: var(--white);
  color: var(--text);
}

.band .store-btn:hover {
  background: #f0f0f0;
}

/* ── How it works ─────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}

.step {
  text-align: center;
  counter-increment: steps;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ── Footer ──────────────────────────────────────── */

footer {
  background: #2e2e2e;
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  list-style: none;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--green);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.social-link:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Page content (privacy / terms) ─────────────── */

.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.page-header .last-updated {
  color: var(--text-light);
  font-size: 0.875rem;
}

.page-content {
  max-width: 760px;
  margin: 3rem auto 4rem;
  padding: 0 2rem;
}

.page-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.page-content p {
  margin-bottom: 0.9rem;
}

.page-content ul,
.page-content ol {
  margin-left: 1.5rem;
  margin-bottom: 0.9rem;
}

.page-content li {
  margin-bottom: 0.4rem;
}

.page-content a {
  color: var(--green);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

/* ── Contact form ────────────────────────────────── */

.form-container {
  max-width: 620px;
  margin: 3rem auto 4rem;
  padding: 0 2rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A8A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
}

.btn-primary:hover:not(:disabled) {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.alert-success {
  background: var(--green-light);
  border: 1px solid #9ee04e;
  color: #2d6a00;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}

.privacy-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  text-align: center;
}

.privacy-note a {
  color: var(--green);
  text-decoration: none;
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 640px) {
  nav {
    padding: 0.75rem 1rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .hero {
    padding: 3rem 1.25rem 3.5rem;
  }

  .section {
    padding: 2.5rem 1.25rem;
  }

  .band {
    padding: 2.5rem 1.25rem;
  }

  .page-content,
  .form-container {
    padding: 0 1.25rem;
  }
}
