/* LAVIRA — Natural Remedies Landing Page */

:root {
  --brand:  #2D7A3E;
  --bg:     #F5EFE0;
  --text:   #0A1F11;
  --muted:  #4A5D4F;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; }
a   { text-decoration: none; color: inherit; }

html, body {
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Libre Baskerville', Georgia, serif;
  -webkit-font-smoothing: antialiased;
}



/* Botanical accents */
.botanical {
  position: fixed;
  color: var(--brand);
  pointer-events: none;
  z-index: 0;
}
.botanical--tl {
  width: clamp(140px, 32vw, 220px);
  top: -30px; left: -30px;
  transform: rotate(-15deg);
  opacity: 0.22;
}
.botanical--br {
  width: clamp(120px, 28vw, 190px);
  bottom: -20px; right: -20px;
  transform: rotate(160deg);
  opacity: 0.16;
}

/* ── Layout ──────────────────────────── */
.page {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: max(52px, 6vh) 28px max(28px, env(safe-area-inset-bottom));
  text-align: center;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

/* ── Icon + name ─────────────────────── */
.app-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .app-header {
    flex-direction: column;
  }
}

.icon-frame { flex-shrink: 0; }

.app-icon {
  width: 78px;
  height: 78px;
  border-radius: 17px;
  object-fit: cover;
  filter: none;
}

.app-name {
  font-size: clamp(60px, 16vw, 80px);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -1.5px;
}

/* ── Tagline ─────────────────────────── */
.tagline {
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.75;
  margin-top: -2px;
}

/* ── Ornament ────────────────────────── */
.ornament {
  width: 100px;
  color: var(--brand);
  margin: 2px 0;
}

/* ── App Store badge ─────────────────── */
.badge-link {
  display: inline-flex;
  position: relative;
  margin: 10px 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, opacity .18s ease;
}

.badge-link::before {
  content: '';
  position: absolute;
  inset: -14px -22px;
  background: radial-gradient(ellipse at center, rgba(45,122,62,.28) 0%, transparent 65%);
  border-radius: 28px;
  animation: badge-pulse 3.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%,100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

.badge-link:active { transform: scale(.96); opacity: .82; }

.badge {
  height: 74px;
  width: auto;
  position: relative;
  z-index: 1;
}

/* ── Categories ──────────────────────── */
.categories {
  font-size: clamp(12px, 3.2vw, 14px);
  color: var(--muted);
  line-height: 1.9;
  letter-spacing: .2px;
  margin-top: 2px;
}

/* ── Footer ──────────────────────────── */
.footer {
  display: flex;
  gap: 44px;
  font-size: 12.5px;
  color: var(--muted);
  opacity: .6;
  transition: opacity .2s;
  padding-top: 16px;
}
.footer:hover { opacity: 1; }
.footer a:hover { color: var(--text); }

/* ── Entrance animations ─────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.a1 { animation: fade-up .65s cubic-bezier(.22,.68,0,1.1) .08s both; }
.a2 { animation: fade-up .65s cubic-bezier(.22,.68,0,1.1) .22s both; }
.a3 { animation: fade-up .65s cubic-bezier(.22,.68,0,1.1) .36s both; }
.a4 { animation: fade-up .65s cubic-bezier(.22,.68,0,1.1) .50s both; }
.a5 { animation: fade-up .65s cubic-bezier(.22,.68,0,1.1) .64s both; }

