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

:root {
  --green: #2D6A4F;
  --green-hover: #3A7D5E;
  --cream: #FAF6F1;
  --cream-dark: #F0EBE4;
  --charcoal: #2C2C2C;
  --text: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-muted: #7A7A7A;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--cream) url('/images/asetena-pa.svg') repeat;
  background-size: 56px 112px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.logo-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--charcoal);
}

/* ── Buttons ── */
.btn-primary {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

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

.btn-primary:active {
  transform: translateY(0);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 40px;
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-content {
  flex: 1;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 420px;
  line-height: 1.55;
}

.hero-visual {
  flex: 0 0 auto;
}

.hero-image {
  width: 300px;
  border-radius: 20px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(0, 0, 0, 0.1);
  transform: rotate(1.5deg);
}

/* ── Feature sections ── */
.feature-section {
  padding: 72px 0;
}

.feature-section.alt {
  background: var(--cream-dark) url('/images/asetena-pa.svg') repeat;
  background-size: 56px 112px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 56px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-visual {
  flex: 0 0 340px;
}

.feature-text {
  flex: 1;
}

.feature-text h2 {
  font-size: 32px;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.feature-text p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 400px;
}

/* Phone frame */
.phone-frame {
  width: 260px;
  background: var(--charcoal);
  border-radius: 32px;
  padding: 10px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(0, 0, 0, 0.1);
}

.phone-screen {
  width: 100%;
  background: var(--cream);
  border-radius: 24px;
  overflow: hidden;
}

.phone-screenshot {
  width: 100%;
  display: block;
}

/* Food tags */
.food-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 320px;
}

.food-tag {
  background: #fff;
  border: 1.5px solid var(--cream-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: border-color 0.2s, color 0.2s;
}

.food-tag:nth-child(1),
.food-tag:nth-child(4),
.food-tag:nth-child(7) {
  border-color: var(--green);
  color: var(--green);
}

/* Stat cards */
.stat-cards {
  display: flex;
  gap: 12px;
}

.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 18px;
  min-width: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.stat-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--charcoal);
}

.stat-value small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ── CTA section ── */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-inner h2 {
  font-size: 32px;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 28px;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--cream-dark);
  padding: 24px 0;
}

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

.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--charcoal);
}

.footer-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Floating install bar ── */
.install-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

.install-bar-inner {
  max-width: 420px;
  margin: 0 auto;
  background: var(--charcoal);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 12px 32px rgba(0, 0, 0, 0.08);
}

.install-bar-text {
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.install-bar-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.btn-install {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 9px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-install:hover {
  background: var(--green-hover);
}

/* ── iOS modal ── */
.ios-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.ios-modal-overlay[hidden] {
  display: none;
}

.ios-modal {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  max-width: 380px;
  width: 100%;
  position: relative;
  margin-bottom: env(safe-area-inset-bottom, 0);
}

.ios-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
}

.ios-modal h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.ios-modal p {
  color: var(--text-mid);
  margin-bottom: 14px;
  font-size: 15px;
}

.ios-modal ol {
  padding-left: 20px;
  color: var(--text);
  font-size: 15px;
}

.ios-modal li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.share-icon {
  display: inline-block;
  font-size: 15px;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .hero {
    padding: 48px 0 24px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 36px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image {
    width: 240px;
    transform: rotate(0deg);
  }

  .hero h1 {
    font-size: 32px;
    text-align: center;
  }

  .hero-eyebrow {
    text-align: center;
  }

  .hero-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feature-section {
    padding: 48px 0;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .feature-visual {
    flex: 0 0 auto;
  }

  .feature-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .phone-frame {
    width: 220px;
  }

  .food-grid {
    justify-content: center;
    margin: 0 auto;
  }

  .stat-cards {
    justify-content: center;
  }

  .stat-card {
    min-width: 85px;
    padding: 16px 14px;
  }

  .stat-value {
    font-size: 22px;
  }

  .cta-section {
    padding: 56px 0;
  }

  .cta-inner h2 {
    font-size: 26px;
  }
}
