/* ═══════════════════════════════════════════════════════════════
   Amani — Landing Page Stylesheet
   Version : 1.0.0
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --sand:      #F5F0E8;
  --sand-deep: #E8E0D0;
  --sand-mid:  #EDE6D8;
  --cream:     #FFFDF8;
  --green:     #5C8A5A;
  --green-dk:  #486E47;
  --green-sf:  #EAF2EA;
  --gold:      #C4924A;
  --gold-sf:   #FDF5EB;
  --brown:     #8B6F47;
  --brown-mid: #A07F59;
  --text:      #2E2118;
  --text2:     #5A4636;
  --text3:     #7A6553;
  --sos:       #B84B42;
  --serif:     "Cormorant Garamond", "Times New Roman", serif;
  --sans:      "Outfit", -apple-system, system-ui, sans-serif;
  --mono:      "JetBrains Mono", ui-monospace, monospace;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--sand);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Grain overlay ──────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Nav ────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,240,232,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46,33,24,0.06);
  transition: all .3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-text {
  font-family: var(--serif); font-weight: 600; font-style: italic;
  font-size: 22px; color: var(--text); letter-spacing: 0.5px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--sans); font-size: 13px;
  color: var(--text2); font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green); color: var(--cream);
  padding: 10px 20px; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--green-dk); transform: translateY(-1px); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; padding: 140px 32px 80px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  position: relative; overflow: hidden;
}
.hero-glow-1 {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,146,74,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; top: 100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92,138,90,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(255,253,248,0.7); border: 1px solid var(--sand-deep);
  font-family: var(--mono); font-size: 11px; color: var(--text3);
  letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600;
  margin-bottom: 40px; position: relative;
  animation: fadeUp .7s ease-out both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 3px; background: var(--green);
}
.hero-logo-wrap {
  position: relative; margin-bottom: 32px;
  animation: fadeUp .7s .1s ease-out both;
}
.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 1; letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 20px;
  animation: fadeUp .7s .2s ease-out both;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--text2); max-width: 600px; line-height: 1.5;
  margin-bottom: 14px;
  animation: fadeUp .7s .3s ease-out both;
}
.hero-desc {
  font-family: var(--sans); font-size: 15px; color: var(--text3);
  max-width: 480px; line-height: 1.65; margin-bottom: 48px;
  animation: fadeUp .7s .35s ease-out both;
}
.hero-desc strong { color: var(--text2); font-weight: 600; }

/* ─── Download buttons ───────────────────────────────────────── */
.download-group {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 28px;
  animation: fadeUp .7s .45s ease-out both;
}
.dl-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 16px;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer; min-width: 180px;
}
.dl-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(46,33,24,0.14); }
.dl-btn.ios {
  background: var(--text); color: var(--cream);
  box-shadow: 0 6px 20px rgba(46,33,24,0.20);
}
.dl-btn.android {
  background: var(--cream); color: var(--text);
  border: 1.5px solid var(--sand-deep);
  box-shadow: 0 4px 14px rgba(46,33,24,0.08);
}
.dl-btn-icon svg { flex-shrink: 0; }
.dl-btn-text { text-align: left; }
.dl-btn-sup {
  display: block; font-family: var(--mono); font-size: 9px;
  letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.65; margin-bottom: 1px;
}
.dl-btn-main { display: block; font-family: var(--sans); font-size: 16px; font-weight: 700; }

.hero-trust {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  justify-content: center;
  font-family: var(--sans); font-size: 12px; color: var(--text3);
  animation: fadeUp .7s .5s ease-out both;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .sep { width: 3px; height: 3px; border-radius: 2px; background: var(--sand-deep); }

.hero-countries {
  display: flex; gap: 10px; margin-top: 18px;
  flex-wrap: wrap; justify-content: center;
  animation: fadeUp .7s .55s ease-out both;
}
.country-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,253,248,0.7); border: 1px solid var(--sand-deep);
  font-family: var(--sans); font-size: 12px; color: var(--text2); font-weight: 500;
}

/* ─── Phone mockup ───────────────────────────────────────────── */
.hero-phone-wrap {
  margin-top: 80px; position: relative; display: flex; justify-content: center;
  animation: fadeUp .7s .6s ease-out both;
}
.hero-phone {
  width: 280px; aspect-ratio: 402 / 874;
  border-radius: 44px; overflow: hidden; position: relative;
  background: var(--sand);
  box-shadow: 0 60px 100px rgba(46,33,24,0.20), 0 0 0 1px rgba(46,33,24,0.08);
}
.hero-phone-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 28px; border-radius: 18px; background: #000; z-index: 60;
}
.hero-phone-home {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 4px; border-radius: 2px; background: rgba(0,0,0,0.2); z-index: 70;
}
.hero-phone-screen { position: absolute; inset: 0; }
.hero-phone-shadow {
  position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 60px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(46,33,24,0.20), transparent 70%);
}

/* ─── Section wrapper ────────────────────────────────────────── */
.section { padding: 96px 32px; position: relative; }
.section-center { max-width: 1140px; margin: 0 auto; }
.section-kicker {
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--text); letter-spacing: -0.01em; line-height: 1.1;
  margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub {
  font-family: var(--serif); font-style: italic; font-size: 20px;
  color: var(--text2); max-width: 520px; line-height: 1.5; margin-bottom: 56px;
}

/* ─── Features grid ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feat-card {
  background: var(--cream); border: 1px solid var(--sand-deep);
  border-radius: 22px; padding: 28px;
  transition: transform .2s, box-shadow .2s;
  cursor: default;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(46,33,24,0.10); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 24px;
}
.feat-title {
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  color: var(--text); margin-bottom: 10px;
}
.feat-body { font-family: var(--sans); font-size: 14px; color: var(--text2); line-height: 1.65; }
.feat-tag {
  display: inline-block; margin-top: 14px;
  padding: 4px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
}

/* ─── SOS band ───────────────────────────────────────────────── */
.sos-band {
  background: var(--sos);
  padding: 48px 32px; text-align: center; color: var(--cream);
}
.sos-band p {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.2; max-width: 720px; margin: 0 auto 10px;
}
.sos-band p em { font-style: italic; color: rgba(255,253,248,0.7); }
.sos-band small {
  font-family: var(--sans); font-size: 13px; color: rgba(255,253,248,0.7);
  display: block; margin-top: 8px;
}

/* ─── Breathing section ──────────────────────────────────────── */
.breath-section { background: var(--green); color: var(--cream); }
.breath-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.breath-text .section-kicker { color: rgba(255,253,248,0.6); }
.breath-text .section-title { color: var(--cream); margin-bottom: 14px; }
.breath-text p {
  font-family: var(--sans); font-size: 15px;
  color: rgba(255,253,248,0.75); line-height: 1.7; max-width: 420px;
}
.breath-exercises { display: flex; flex-direction: column; gap: 12px; }
.ex-row {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,253,248,0.08); border-radius: 16px; padding: 14px 18px;
  border: 1px solid rgba(255,253,248,0.12);
  transition: background .2s;
}
.ex-row:hover { background: rgba(255,253,248,0.14); }
.ex-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,253,248,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px;
}
.ex-name { font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--cream); }
.ex-sub { font-family: var(--sans); font-size: 12px; color: rgba(255,253,248,0.65); margin-top: 2px; }
.ex-badge {
  margin-left: auto; font-family: var(--mono); font-size: 10px;
  color: var(--gold); font-weight: 700; letter-spacing: 0.8px; flex-shrink: 0;
}
.breath-sounds {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,0.2);
}
.breath-sounds-label {
  font-family: var(--mono); font-size: 10px;
  color: rgba(255,253,248,0.5); letter-spacing: 1.2px; text-transform: uppercase;
}
.breath-sounds-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-left: 8px; }
.breath-sounds-icons span { font-size: 15px; }

/* ─── Pricing ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; max-width: 860px; margin: 0 auto;
}
.price-card {
  background: var(--cream); border: 1px solid var(--sand-deep);
  border-radius: 22px; padding: 28px; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(46,33,24,0.10); }
.price-card.rec { border-color: var(--gold); border-width: 1.5px; }
.price-rec-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--text); padding: 4px 14px;
  border-radius: 999px; font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap;
}
.price-plan {
  font-family: var(--mono); font-size: 11px; color: var(--text3);
  letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700; margin-bottom: 14px;
}
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-number {
  font-family: var(--serif); font-weight: 600; font-size: 48px;
  color: var(--text); letter-spacing: -0.02em; line-height: 1;
}
.price-currency { font-family: var(--mono); font-size: 13px; color: var(--text3); }
.price-per { font-family: var(--sans); font-size: 12px; color: var(--text3); margin-bottom: 18px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--sans); font-size: 13px; color: var(--text2); line-height: 1.5;
}
.price-features li::before {
  content: '·'; color: var(--gold); font-weight: 700; font-size: 16px;
  line-height: 1.2; flex-shrink: 0;
}
.price-payment {
  margin-top: 20px; font-family: var(--sans); font-size: 11px; color: var(--text3);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.price-payment span {
  background: var(--gold-sf); border-radius: 6px; padding: 3px 8px;
  font-weight: 600; color: var(--brown);
}

/* ─── Quote band ─────────────────────────────────────────────── */
.quote-band {
  background: var(--text); padding: 80px 32px;
  text-align: center; position: relative; overflow: hidden;
}
.quote-band-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,146,74,0.18), transparent 60%);
  pointer-events: none;
}
.quote-text {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 4.5vw, 52px);
  color: var(--cream); line-height: 1.1; max-width: 820px; margin: 0 auto 16px;
  letter-spacing: -0.01em; position: relative;
}
.quote-text em { font-style: italic; color: var(--gold); }
.quote-small {
  font-family: var(--serif); font-style: italic; font-size: 17px;
  color: rgba(255,253,248,0.55); position: relative;
}

/* ─── CTA bottom ─────────────────────────────────────────────── */
.cta-bottom {
  padding: 120px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.cta-bottom .section-title { margin-bottom: 6px; }
.cta-bottom .section-sub { margin-bottom: 0; text-align: center; }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--cream); border-top: 1px solid var(--sand-deep);
  padding: 48px 32px 32px;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .footer-logo-text {
  font-family: var(--serif); font-weight: 600; font-style: italic;
  font-size: 22px; color: var(--text);
}
.footer-brand p { font-family: var(--sans); font-size: 13px; color: var(--text3); line-height: 1.65; max-width: 280px; }
.footer-col-title {
  font-family: var(--mono); font-size: 10px; color: var(--gold);
  letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700; margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-family: var(--sans); font-size: 13px; color: var(--text2); transition: color .2s; }
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  max-width: 1140px; margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid var(--sand-deep);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: 0.8px;
}
.footer-sos-note {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(184,75,66,0.08); border: 1px solid rgba(184,75,66,0.2);
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--sos); letter-spacing: 1px; text-transform: uppercase;
}

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes breathe {
  0%, 100% { transform: scale(0.88); }
  50%       { transform: scale(1.12); }
}

/* ─── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .section { padding: 72px 20px; }
  .breath-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 120px 20px 60px; }
  .hero-phone { width: 230px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .dl-btn { min-width: unset; flex: 1; }
}
