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

:root {
  --amber:       #D97706;
  --amber-dark:  #B45309;
  --amber-light: #FEF3C7;
  --amber-50:    #FFFBEB;
  --dark:        #111827;
  --dark-2:      #1F2937;
  --mid:         #6B7280;
  --light:       #F9FAFB;
  --white:       #FFFFFF;
  --radius:      16px;
  --shadow:      0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.15);
  --font:        'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ── Utilities ────────────────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
}
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,.7); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: none;
  text-decoration: none;
}
.btn--primary {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(217,119,6,.35);
}
.btn--primary:hover { background: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,119,6,.4); }
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: var(--dark-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--large { padding: 16px 28px; font-size: 1rem; }
.btn--small { padding: 8px 18px; font-size: .875rem; background: var(--amber); color: var(--white); }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
}
.nav__logo img { border-radius: 8px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--mid);
}
.nav__links a:not(.btn):hover { color: var(--dark); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, #1F1009 0%, #78350F 45%, #D97706 100%);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 620px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero__headline {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Phone frame */
.hero__mockup {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.phone-frame {
  position: relative;
  width: 280px;
  height: 570px;
  background: var(--dark);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1);
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--dark);
  border-radius: 100px;
  z-index: 2;
}
.phone-frame__screen {
  width: 100%;
  height: 100%;
  background: var(--amber-50);
  border-radius: 34px;
  overflow: hidden;
}
.phone-frame__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-frame__screen.placeholder {
  background: linear-gradient(160deg, var(--amber-light) 0%, var(--amber) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-frame__screen.placeholder::after {
  content: '📱';
  font-size: 48px;
}

.phone-frame--small {
  width: 180px;
  height: 370px;
  border-radius: 32px;
}
.phone-frame--small::before { width: 70px; height: 20px; top: 10px; }
.phone-frame--small .phone-frame__screen { border-radius: 24px; }

.hero__wave { line-height: 0; margin-top: 40px; }
.hero__wave svg { width: 100%; height: 80px; }

/* ── Social proof ─────────────────────────────────────────────────────────── */
.social-proof {
  background: var(--light);
  padding: 24px 0;
  text-align: center;
}
.social-proof__text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--mid);
  letter-spacing: -.01em;
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--white); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card__icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: .9375rem; color: var(--mid); line-height: 1.65; }

/* ── Screenshots ──────────────────────────────────────────────────────────── */
.screenshots {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--dark) 0%, #78350F 100%);
  overflow: hidden;
}
.screenshots__track {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.screenshots__slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.screenshots__slide p {
  color: rgba(255,255,255,.75);
  font-size: .9375rem;
  font-weight: 500;
}

/* ── How it works ─────────────────────────────────────────────────────────── */
.how-it-works { padding: 100px 0; background: var(--light); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 840px;
  margin: 0 auto;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(217,119,6,.35);
}
.step__content h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.step__content p  { font-size: .9375rem; color: var(--mid); }
.step__connector {
  flex: 0 0 48px;
  height: 2px;
  background: var(--amber);
  opacity: .3;
  margin-top: 26px;
}

/* ── Download CTA ─────────────────────────────────────────────────────────── */
.download { padding: 100px 0; background: var(--white); }
.download__inner {
  background: linear-gradient(145deg, var(--amber-50), var(--amber-light));
  border: 1px solid rgba(217,119,6,.2);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.download__icon { margin: 0 auto 24px; border-radius: 20px; box-shadow: var(--shadow); }
.download__inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.download__inner p { font-size: 1.125rem; color: var(--mid); margin-bottom: 36px; }
.download__badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-badge { transition: transform .15s, opacity .15s; }
.store-badge:hover { transform: translateY(-3px); opacity: .9; }
.store-badge img { height: 52px; width: auto; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 40px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
}
.footer__brand img { border-radius: 6px; opacity: .8; }
.footer__links { display: flex; gap: 24px; font-size: .875rem; }
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: .8125rem; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { max-width: 100%; }
  .hero__ctas { justify-content: center; }
  .hero__mockup { display: none; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; align-items: center; gap: 24px; }
  .step__connector { width: 2px; height: 32px; flex: none; margin: 0; }
}
@media (max-width: 600px) {
  .features__grid { grid-template-columns: 1fr; }
  .nav__links a:not(.btn) { display: none; }
  .screenshots__track { gap: 20px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .download__inner { padding: 40px 24px; }
}
