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

:root {
  --primary:       #F15A24;
  --primary-dark:  #C2461A;
  --primary-light: #FDEDE4;
  --brand-black:   #111318;
  --text:          #111318;
  --text-muted:    #6B7280;
  --border:        #E5E7EB;
  --surface:       #F9FAFB;
  --white:         #FFFFFF;
  --danger:        #C0392B;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

html { font-size: 16px; scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { display: block; max-width: 100%; }

/* ─── Layout ────────────────────────────────────────────────────── */
.container        { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 720px;  margin: 0 auto; padding: 0 24px; }

/* ─── Nav ───────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-weight: 700 !important;
  font-size: 0.875rem;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; color: var(--white) !important; }

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.975rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(241,90,36,0.3); }
.btn:active { transform: translateY(0); }

.btn-primary  { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-outline  { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-white    { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--primary-light); color: var(--primary-dark); box-shadow: none; }
.btn-lg       { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-xl); }
.btn-sm       { padding: 10px 20px; font-size: 0.875rem; border-radius: var(--radius-md); }

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 0;
  overflow: hidden;
  background: var(--white);
}

/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(241,90,36,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(241,90,36,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--primary); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-note::before { content: '✓'; color: var(--primary); font-weight: 700; }

/* ─── Phone Mockup ──────────────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0;
}

.phone-wrap {
  position: relative;
  width: 280px;
}

.phone-shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 32px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.phone {
  width: 280px;
  background: var(--brand-black);
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28), 0 8px 24px rgba(0,0,0,0.12);
  position: relative;
}

.phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: #2a2d36;
  border-radius: 3px;
}

.phone-screen {
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  min-height: 480px;
}

.phone-status {
  background: var(--white);
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.phone-status-dot {
  width: 60px;
  height: 5px;
  background: var(--brand-black);
  border-radius: 3px;
  opacity: 0.12;
}

.app-header {
  padding: 8px 16px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.app-logo-sm {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.app-title { font-size: 0.75rem; font-weight: 800; color: var(--text); }

.app-search {
  margin: 10px 12px;
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.6rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-icon { font-size: 0.65rem; }

.app-cats {
  display: flex;
  gap: 6px;
  padding: 0 12px 10px;
  overflow: hidden;
}

.cat-chip {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.5rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.cat-chip.active { background: var(--primary); color: var(--white); }

.listing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
}

.listing-card-mini {
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}

.listing-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--surface);
}

.listing-body { padding: 6px 7px 7px; }
.listing-name { font-size: 0.52rem; font-weight: 700; color: var(--text); }
.listing-price { font-size: 0.58rem; font-weight: 800; color: var(--primary); margin-top: 1px; }
.listing-meta  { font-size: 0.47rem; color: var(--text-muted); margin-top: 1px; }

/* ─── Stats Bar ─────────────────────────────────────────────────── */
.stats-bar {
  background: var(--brand-black);
  padding: 48px 0;
  margin-top: 72px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-number span { color: var(--primary); }
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.45); margin-top: 6px; }

/* ─── Section ───────────────────────────────────────────────────── */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ─── Features ──────────────────────────────────────────────────── */
.features { padding: 96px 0; }

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 8px 32px rgba(241,90,36,0.08);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ─── How it works ──────────────────────────────────────────────── */
.how-it-works {
  padding: 96px 0;
  background: var(--surface);
}

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

/* connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(to right, var(--primary-light), var(--primary-light));
  border-radius: 1px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(241,90,36,0.35);
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ─── CTA Banner ────────────────────────────────────────────────── */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #111318 0%, #1e2028 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(241,90,36,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.cta-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  position: relative;
}

.cta p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  margin-bottom: 40px;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── Legal pages ───────────────────────────────────────────────── */
.legal-page { padding: 64px 0 96px; }

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-section { margin-bottom: 32px; }

.legal-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ─── Confirm / Reset pages ─────────────────────────────────────── */
.confirm-page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--surface);
}

.confirm-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  text-align: center;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.confirm-icon { font-size: 3.2rem; margin-bottom: 20px; }

.confirm-card h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.confirm-card p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
  font-size: 0.975rem;
}

.confirm-card .btn { width: 100%; margin-bottom: 10px; }
.confirm-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 16px; }

/* ─── Footer ────────────────────────────────────────────────────── */
footer {
  background: var(--brand-black);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

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

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
}

.footer-brand-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  max-width: 240px;
  line-height: 1.6;
}

.footer-links-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-links-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.25); }

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 40px; }
  .hero-visual { display: none; }
  .hero-sub    { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-note   { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 28px; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .confirm-card { padding: 36px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.2s ease both; }
