/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:      #2A7C6F;
  --teal-light:#3AA390;
  --teal-pale: #E8F5F3;
  --ink:       #1A2730;
  --ink-mid:   #3D5260;
  --ink-soft:  #6B8494;
  --cream:     #F9F6F1;
  --white:     #FFFFFF;
  --accent:    #E8734A;
  --radius:    16px;
  --shadow:    0 8px 40px rgba(26,39,48,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

em { font-style: italic; color: var(--teal); }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(249,246,241,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42,124,111,.10);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.1rem; color: var(--ink);
}
.logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}
.btn-login {
  background: var(--teal);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: .9rem; font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-login:hover { background: var(--teal-light); transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 32px 60px;
  max-width: 1200px; margin: 0 auto;
  gap: 60px;
  position: relative;
}
.hero-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(42,124,111,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(232,115,74,.08) 0%, transparent 60%),
    var(--cream);
}
.hero-content { flex: 1; max-width: 580px; }

.hero-badge {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeUp .6s ease both;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15; font-weight: 900;
  color: var(--ink);
  margin-bottom: 20px;
  animation: fadeUp .6s .1s ease both;
}
.hero-desc {
  font-size: 1.05rem; line-height: 1.7;
  color: var(--ink-mid);
  margin-bottom: 36px;
  animation: fadeUp .6s .2s ease both;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp .6s .3s ease both;
}
.btn-primary {
  background: var(--teal); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(42,124,111,.3);
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,124,111,.35);
}
.btn-secondary {
  border: 2px solid var(--teal);
  color: var(--teal);
  padding: 14px 32px; border-radius: 50px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-secondary:hover { background: var(--teal); color: var(--white); }

.hero-stores {
  margin-top: 28px;
  animation: fadeUp .6s .4s ease both;
}
.store-badge img { height: 44px; border-radius: 8px; }
.store-badge:hover { opacity: .85; }

/* Phone mockup */
.hero-visual {
  flex: 0 0 auto;
  display: flex; justify-content: center;
  animation: fadeUp .7s .2s ease both;
}
.phone-mockup {
  width: 260px; height: 520px;
  background: var(--ink);
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(26,39,48,.3), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}
.phone-mockup::before {
  content: '';
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--teal-pale);
  border-radius: 28px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.phone-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--teal); opacity: .4;
}
.phone-placeholder svg { width: 48px; height: 48px; }
.phone-placeholder span { font-size: .75rem; }

/* ── Features ────────────────────────────────────────── */
.features {
  max-width: 1200px; margin: 0 auto;
  padding: 100px 32px;
}
.section-header { text-align: center; margin-bottom: 80px; }
.section-tag {
  display: inline-block;
  background: var(--teal-pale); color: var(--teal);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.2;
}

/* Feature rows */
.features-list { display: flex; flex-direction: column; gap: 80px; }

.feature-row {
  display: flex; align-items: center; gap: 64px;
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease;
}
.feature-row.visible { opacity: 1; transform: none; }
.feature-row.reverse { flex-direction: row-reverse; }

.feature-text { flex: 1; }
.feature-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 900;
  color: var(--teal); opacity: .12;
  line-height: 1; margin-bottom: -8px;
}
.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  margin-bottom: 14px; color: var(--ink);
}
.feature-desc {
  font-size: 1rem; line-height: 1.75;
  color: var(--ink-mid);
}

.feature-visual { flex: 0 0 auto; }
.feature-phone {
  width: 200px; height: 400px;
  background: var(--ink);
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(26,39,48,.25);
}
.feature-phone-screen {
  width: 100%; height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
}
.feature-phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-phone-empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--teal); opacity: .3;
  font-size: .7rem; text-align: center; padding: 16px;
}
.feature-phone-empty svg { width: 36px; height: 36px; }

/* Loading */
.features-loading {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 60px; color: var(--ink-soft);
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--teal-pale);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(42,124,111,.12);
  padding: 32px;
  background: var(--white);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1rem;
}
.footer-copy { font-size: .82rem; color: var(--ink-soft); }

/* ── Animations ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding-top: 120px; }
  .hero-cta { justify-content: center; }
  .hero-visual { display: none; }
  .feature-row, .feature-row.reverse { flex-direction: column; gap: 32px; }
  .footer-inner { justify-content: center; text-align: center; }
}
