/* Dedicated stylesheet for the marketing landing page (index.html) only.
   Deliberately separate from styles.css, which app/r/[id], terms, and
   privacy still use — this page's layout (full-width, multi-section) is
   different enough from that shared narrow "poster" layout that reusing it
   would mean fighting existing rules on every section. */

:root {
  --brand-primary: #10b981;
  --brand-primary-dark: #059669;
  --brand-gradient-start: #10b981;
  --brand-gradient-end: #2563eb;
  --brand-dark: #0f2a47;

  --accent-orange: #f97316;
  --accent-orange-soft: #ffedd5;
  --accent-yellow: #facc15;
  --accent-coral: #fb7a5d;

  --surface-card: #ffffff;
  --surface-bg: #f5f7fa;

  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;

  --border-subtle: #e5e7eb;
  --emerald-soft: #d1fae5;

  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--surface-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--brand-gradient-start) 0%, var(--brand-gradient-end) 100%);
}

/* -------- header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 5vw, 64px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.brand-mark .dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-coral);
  border: 2px solid var(--brand-gradient-start);
}

.brand-name {
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-amazon {
  background: var(--accent-orange);
  color: #1a1400;
}

.btn-noon {
  background: var(--accent-yellow);
  color: #1a1400;
}

.btn-hidden {
  display: none !important;
}

.btn-noon .noon-logo {
  width: 54px;
  height: auto;
}

/* -------- hero -------- */
.hero {
  padding: 48px 20px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-decor.one {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -160px;
}

.hero-decor.two {
  width: 420px;
  height: 420px;
  bottom: -180px;
  left: -140px;
}

.hero-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.phone-mock {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}

.phone-card {
  position: relative;
  z-index: 1;
  width: 200px;
  padding: 32px 20px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.phone-card svg {
  width: 56px;
  height: 56px;
  color: #ffffff;
  display: block;
  margin: 0 auto 14px;
}

.phone-card .scan-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-align: center;
}

.alert-pill {
  position: absolute;
  z-index: 2;
  top: -14px;
  right: -18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-coral);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.alert-pill svg {
  width: 13px;
  height: 13px;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-brand .brand-mark {
  background: rgba(255, 255, 255, 0.16);
}

.hero-brand .brand-name {
  font-size: 17px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 16px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 19px);
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-ctas .btn {
  padding: 15px 26px;
  font-size: 15px;
}

.hero-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.5;
}

/* -------- how it works -------- */
.section {
  padding: 88px 20px;
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--emerald-soft);
  color: var(--brand-primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.5px;
  margin: 0 0 44px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(15, 42, 71, 0.04), 0 4px 16px rgba(15, 42, 71, 0.05);
}

.step-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-num.n1 {
  background: var(--brand-primary);
}
.step-num.n2 {
  background: var(--brand-gradient-end);
}
.step-num.n3 {
  background: var(--accent-orange);
}

.step-top svg {
  width: 22px;
  height: 22px;
}

.step-top svg.i1 {
  color: var(--brand-primary);
}
.step-top svg.i2 {
  color: var(--brand-gradient-end);
}
.step-top svg.i3 {
  color: var(--accent-orange);
}

.step-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.step-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.vip-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--accent-orange);
  background: var(--accent-orange-soft);
}

.vip-note .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vip-note .icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-orange);
}

.vip-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
}

.vip-note strong {
  color: var(--accent-orange);
}

/* -------- privacy promise -------- */
.privacy-section {
  padding: 96px 20px;
  text-align: center;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.privacy-badge svg {
  width: 14px;
  height: 14px;
}

.privacy-section h2 {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin: 0 0 20px;
}

.privacy-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* -------- get the app -------- */
.app-section {
  padding: 96px 20px;
  text-align: center;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--emerald-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.app-icon svg {
  width: 28px;
  height: 28px;
  color: var(--brand-primary);
}

.app-section h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.app-section .lead {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.store-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-store {
  background: var(--brand-dark);
  color: #ffffff;
  padding: 14px 24px;
}

.already-note {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--surface-bg);
  color: var(--text-secondary);
  font-size: 14px;
}

/* -------- footer -------- */
.site-footer {
  background: var(--brand-dark);
  padding: 56px 20px 28px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name {
  font-size: 18px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin: 0 0 24px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.12s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.social-btn svg {
  width: 17px;
  height: 17px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-divider {
  max-width: 1040px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}

.footer-bottom {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-location svg {
  width: 14px;
  height: 14px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  text-decoration: none;
}

.lang-pill svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 560px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
