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

:root {
  --brand: #e11d48;
  --brand-dark: #be123c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: .88em;
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--brand);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
  border: none;
}
.btn-sm  { font-size: .85rem; padding: 7px 14px; }
.btn-lg  { font-size: 1rem;   padding: 13px 24px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(225,29,72,.35); }

.btn-dark {
  background: var(--gray-900);
  color: #fff;
}
.btn-dark:hover { background: var(--gray-700); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-50); border-color: var(--gray-400); }

.btn-white {
  background: #fff;
  color: var(--gray-900);
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--brand);
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--gray-500);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--gray-900); }

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 40% at 50% -5%, rgba(225,29,72,.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(251,146,60,.06) 0%, transparent 60%);
}

.highlight {
  background: linear-gradient(135deg, var(--brand) 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero .badge        { animation: fadeUp .5s ease both; }
.hero h1            { animation: fadeUp .55s ease .08s both; }
.hero .hero-sub     { animation: fadeUp .55s ease .18s both; }
.hero .hero-cta     { animation: fadeUp .55s ease .28s both; }
.hero .browser-wrap { animation: fadeUp .6s ease .38s both; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff0f3;
  color: var(--brand);
  border: 1px solid #fecdd3;
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 24px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  color: var(--gray-900);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* ── Browser mockup ── */
.browser-wrap {
  max-width: 680px;
  margin: 0 auto;
  filter: drop-shadow(0 24px 64px rgba(225,29,72,.13)) drop-shadow(0 6px 20px rgba(0,0,0,.08));
}
.browser {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: #fff;
}
.browser-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
}
.browser-dots span:nth-child(1) { background: #fc5f5a; }
.browser-dots span:nth-child(2) { background: #fdbc30; }
.browser-dots span:nth-child(3) { background: #33c748; }
.browser-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .78rem;
  color: var(--gray-500);
  font-family: 'SF Mono', monospace;
  text-align: center;
}
.browser-content { background: #fff; }

/* Mock menu inside browser */
.mock-menu { font-size: .8rem; }
.mock-header {
  padding: 20px 20px 16px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mock-title { font-weight: 700; font-size: 1rem; }
.mock-subtitle { opacity: .8; font-size: .75rem; }
.mock-search { padding: 12px 16px 0; }
.mock-search-bar {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--gray-400);
  font-size: .78rem;
}
.mock-cats {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
}
.mock-cat {
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid var(--gray-200);
  font-size: .75rem;
  color: var(--gray-500);
  white-space: nowrap;
}
.mock-cat.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.mock-items { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--gray-50);
  border-radius: 10px;
  padding: 10px;
}
.mock-item-img {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: #fca5a5;
  flex-shrink: 0;
}
.mock-item-info { text-align: left; }
.mock-item-name { font-weight: 600; margin-bottom: 2px; }
.mock-item-desc { color: var(--gray-400); font-size: .72rem; margin-bottom: 4px; }
.mock-item-price { color: var(--brand); font-weight: 700; font-size: .8rem; }

/* ── Social proof ── */
.proof {
  padding: 32px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
}
.proof-label {
  font-size: .8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  font-weight: 600;
}
.proof-cities {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .95rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ── Section shared ── */
.section-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-sub {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 520px;
  margin-top: 12px;
}

/* ── Stats strip ── */
.stats-strip {
  padding: 22px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-500);
}
.stat-icon {
  font-size: 1rem;
  width: 28px;
  height: 28px;
  background: #fff0f3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 480px) {
  .stats-inner { gap: 20px; }
  .stat-item { font-size: .82rem; }
}

/* ── Features ── */
.features {
  padding: 96px 0;
  background: var(--gray-50);
}
.features h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.features-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-card--wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #fff0f3 0%, #fff 60%);
  border-color: #fecdd3;
}
.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 18px;
  width: 48px;
  height: 48px;
  background: #fff0f3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.feature-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.65;
}
.template-pills {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pill {
  padding: 4px 12px;
  border-radius: 99px;
  border: 1.5px solid var(--gray-200);
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray-500);
}
.pill--active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ── How it works ── */
.how {
  padding: 96px 0;
}
.how h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 56px;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 180px;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-200);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h4 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.step p {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.step-arrow {
  font-size: 1.5rem;
  color: var(--gray-400);
  padding-top: 44px;
  flex-shrink: 0;
}

/* ── Admin preview ── */
.admin-preview {
  padding: 96px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.admin-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.admin-preview-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.admin-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--gray-700);
}
.check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Admin mockup */
.admin-mock { filter: drop-shadow(var(--shadow-lg)); }
.admin-mock-shell {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: #fff;
  display: flex;
  font-size: .78rem;
}
.admin-mock-sidebar {
  width: 120px;
  background: var(--gray-900);
  padding: 16px 12px;
  flex-shrink: 0;
}
.admin-mock-logo {
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: -.04em;
  margin-bottom: 20px;
  padding-left: 4px;
}
.admin-mock-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-mock-nav-item {
  padding: 6px 8px;
  border-radius: 7px;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  font-weight: 500;
}
.admin-mock-nav-item.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.admin-mock-main { flex: 1; min-width: 0; }
.admin-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
}
.admin-mock-breadcrumb { color: var(--gray-500); font-size: .72rem; }
.admin-mock-breadcrumb strong { color: var(--gray-900); }
.admin-mock-view { color: var(--gray-400); font-size: .72rem; }
.admin-mock-section { padding: 12px 14px; }
.admin-mock-section-title {
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.admin-mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--gray-100);
  margin-bottom: 6px;
  background: var(--gray-50);
}
.admin-mock-drag { color: var(--gray-300); cursor: grab; }
.admin-mock-row-img {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #fca5a5;
  flex-shrink: 0;
}
.admin-mock-row-text { flex: 1; min-width: 0; }
.admin-mock-row-name {
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-mock-row-price { color: var(--gray-400); font-size: .7rem; }
.admin-mock-toggle {
  width: 26px; height: 14px;
  border-radius: 99px;
  background: var(--gray-200);
  flex-shrink: 0;
  position: relative;
}
.admin-mock-toggle.on { background: #22c55e; }
.admin-mock-toggle::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: transform .15s;
}
.admin-mock-toggle.on::after { transform: translateX(12px); }

/* ── Demos ── */
.demos { padding: 96px 0; }
.demos h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.demos-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.demo-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .2s;
  display: block;
}
.demo-card:hover {
  border-color: var(--gray-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.demo-card-preview {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.demo-preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #fff;
}
.demo-preview-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
}
.demo-preview-title { font-weight: 700; font-size: .9rem; }
.demo-preview-items {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-preview-item {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: .8rem;
  color: var(--gray-700);
  font-weight: 500;
}
.demo-card-body { padding: 16px 20px 20px; }
.demo-card-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}
.demo-card-url {
  font-family: 'SF Mono', monospace;
  font-size: .78rem;
  color: var(--brand);
  margin-bottom: 8px;
}
.demo-card-tag {
  font-size: .78rem;
  color: var(--gray-400);
}

/* ── CTA ── */
.cta {
  padding: 96px 0;
  background: var(--gray-900);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 110%, rgba(225,29,72,.28) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 12px;
}
.cta-inner p {
  color: rgba(255,255,255,.55);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ── Footer ── */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--gray-100);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: .88rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--gray-700); }
.footer-copy { font-size: .82rem; color: var(--gray-400); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .admin-preview-inner { grid-template-columns: 1fr; }
  .admin-mock { display: none; }
  .demos-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .nav-links a:not(.btn) { display: none; }
}
