/* ============================================================
   Labelled — Landing Page Styles
   Palette: #1C3829 (deep green) | #F5F0E8 (warm cream)
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --green:        #1C3829;
  --green-mid:    #243d30;
  --green-light:  #2e5040;

  --cream:        #F5F0E8;
  --cream-dark:   #ede7d6;

  --text-on-green:      rgba(245, 240, 232, 0.82);
  --text-muted-green:   rgba(245, 240, 232, 0.48);
  --text-on-cream:      rgba(28, 56, 41, 0.72);
  --text-muted-cream:   rgba(28, 56, 41, 0.45);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;

  --shadow-sm:   0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md:   0 8px 32px rgba(0, 0, 0, 0.10);

  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--green);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-fade-up  { animation: fadeUp  0.65s ease both; }
.animate-scale-in { animation: scaleIn 0.6s  ease both; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.52s; }

/* ── Utility ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section shared ──────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted-cream);
  margin-bottom: 14px;
}

.section-eyebrow--light {
  color: var(--text-muted-green);
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--green);
}

.section-title--light {
  color: var(--cream);
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 56, 41, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(28, 56, 41, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar__logo img {
  height: 32px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.navbar__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-on-green);
  transition: color var(--transition);
}

.navbar__links a:hover {
  color: var(--cream);
}

.navbar__cta {
  background: var(--cream) !important;
  color: var(--green) !important;
  padding: 7px 18px;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: opacity var(--transition) !important;
}

.navbar__cta:hover {
  opacity: 0.88;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
}

/* ── Hero — green ─────────────────────────────────────────────── */
.hero {
  background: var(--green);
  color: var(--cream);
  padding: 96px 0 100px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 560px;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted-green);
}

.hero__headline {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.hero__headline em {
  font-style: italic;
  color: var(--cream);
  opacity: 0.75;
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--text-on-green);
  line-height: 1.72;
  max-width: 480px;
}

.hero__badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ── Store badges ─────────────────────────────────────────────── */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 240, 232, 0.10);
  border: 1.5px solid rgba(245, 240, 232, 0.22);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  color: var(--cream);
  min-width: 160px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}

.store-badge:hover {
  background: rgba(245, 240, 232, 0.16);
  border-color: rgba(245, 240, 232, 0.4);
  transform: translateY(-2px);
}

/* Dark variant — for use on cream backgrounds */
.store-badge--dark {
  background: var(--green);
  border-color: rgba(28, 56, 41, 0.2);
  color: var(--cream);
}

.store-badge--dark:hover {
  background: var(--green-mid);
  border-color: rgba(28, 56, 41, 0.35);
  transform: translateY(-2px);
}

.store-badge--soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  position: relative;
}

.store-badge__icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge__small {
  font-size: 0.6rem;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.store-badge__big {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.badge-soon-tag {
  position: absolute;
  top: 5px;
  right: 6px;
  background: rgba(245, 240, 232, 0.18);
  color: var(--cream);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 100px;
}

/* ── Hero visual ─────────────────────────────────────────────── */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__icon-wrap {
  width: 260px;
  height: 260px;
  border-radius: 72px;
  overflow: hidden;
  box-shadow:
    0 0 0 8px rgba(245, 240, 232, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero__icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Features — cream ─────────────────────────────────────────── */
.features {
  background: var(--cream);
  padding: 96px 0 100px;
}

.features__categories {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.features__category {}

.features__cat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-cream);
  margin-bottom: 20px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.features__shared {
  margin-top: 16px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid rgba(28, 56, 41, 0.07);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card--wide {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
}

.feature-card--wide .feature-card__icon {
  margin-bottom: 0;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 16px;
  opacity: 0.3;
  line-height: 1;
  color: var(--green);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-on-cream);
  line-height: 1.65;
}

/* ── Steps — green ───────────────────────────────────────────── */
.steps {
  background: var(--green);
  padding: 96px 0 100px;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted-green);
}

.step h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-on-green);
  line-height: 1.7;
}

/* ── Download — cream ─────────────────────────────────────────── */
.download {
  background: var(--cream);
  padding: 96px 0 100px;
  text-align: center;
}

.download__inner {
  max-width: 560px;
  margin: 0 auto;
}

.download__badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 28px;
}

.download__legal {
  font-size: 0.8rem;
  color: var(--text-muted-cream);
}

.download__legal a {
  color: var(--text-on-cream);
  transition: color var(--transition);
}

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

/* ── Footer — green ──────────────────────────────────────────── */
.footer {
  background: var(--green);
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  padding: 44px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo img {
  height: 26px;
  width: auto;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted-green);
  flex: 1;
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--text-muted-green);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--cream);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
    align-items: center;
  }

  .hero__sub {
    max-width: 100%;
  }

  .hero__visual {
    order: -1;
  }

  .features__grid {
    grid-template-columns: 1fr 1fr;
  }

  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 64px 0 72px;
  }

  .hero__badges {
    flex-direction: column;
    align-items: center;
  }

  .hero__icon-wrap {
    width: 200px;
    height: 200px;
    border-radius: 56px;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .download__badges {
    flex-direction: column;
    align-items: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }

  .footer__copy {
    order: 3;
  }
}
