/* Souk Mach homepage (Phase 2) — page styles only; chrome in site-chrome.css */

:root {
  --black: #0a0a0a;
  --black-soft: #111111;
  --yellow: #f5c518;
  --yellow-deep: #e6b008;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --card: #161616;
  --border: rgba(245, 197, 24, 0.22);
  --radius: 16px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --grad-hero: linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(26, 22, 8, 0.88) 45%, rgba(10, 10, 10, 0.95) 100%);
  --font-sans: "Segoe UI", "Tahoma", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

main a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.home-container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(145deg, var(--yellow), var(--yellow-deep));
  color: var(--black);
  box-shadow: 0 10px 40px rgba(245, 197, 24, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 48px rgba(245, 197, 24, 0.42);
}
.btn-secondary {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  box-shadow: none;
}
.btn-secondary:hover {
  background: rgba(245, 197, 24, 0.12);
}
.btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.home-section {
  padding: 72px 0;
}
.home-section--soft {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.9), rgba(10, 10, 10, 0.4));
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}
.section-head p,
.lead {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
}
.lead { margin-bottom: 20px; }

.note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  border-inline-start: 3px solid var(--border);
  padding-inline-start: 12px;
}

.soon-cta {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0.7;
  cursor: default;
}
.soon-cta.center { display: block; text-align: center; }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: center;
  padding: 48px 0 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero), url("/assets/images/host1.jpeg") center/cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(245, 197, 24, 0.12), transparent 55%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
  }
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  line-height: 1.18;
  margin: 0 0 16px;
  font-weight: 800;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin: 0 0 24px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(22, 22, 22, 0.9);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}
.play-badge:hover { border-color: rgba(245, 197, 24, 0.5); }
.play-badge:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.play-badge-icon { width: 28px; height: 28px; object-fit: contain; }
.hero-visual {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: auto; object-fit: cover; }
.hero-deals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.hero-deals li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(245, 197, 24, 0.08);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.85rem;
}

/* What is */
.deal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.deal-pill {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 0.95rem;
}
.deal-pill span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85em;
  margin-inline-start: 6px;
}
.what-grid,
.feature-grid,
.plan-grid,
.ads-compare,
.flow-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .what-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-grid,
  .ads-compare,
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

.info-card,
.feature-card,
.plan-card,
.ads-card,
.flow-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.info-card h3,
.feature-card h3,
.plan-card h3,
.ads-card h3,
.flow-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}
.info-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Split buyers/sellers */
.split {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
  .split--reverse { direction: ltr; }
  .split--reverse > * { direction: rtl; }
}
.split-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.split-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.journey-steps,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.journey-steps {
  counter-reset: step;
  list-style: none;
}
.journey-steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 14px;
  padding-inline-start: 48px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: var(--muted);
}
.journey-steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(245, 197, 24, 0.15);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.journey-steps strong { color: var(--text); }

.check-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.callout {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(245, 197, 24, 0.07);
}
.callout h3 {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 1rem;
}
.callout p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.plan-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.12);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.8rem;
}
.plan-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.ads-card--accent {
  border-color: rgba(245, 197, 24, 0.35);
}

.flow-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: flow;
}
.flow-line li {
  counter-increment: flow;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
}
.flow-line li::before {
  content: counter(flow);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}

.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
.why-grid li {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 600;
}

/* Final CTA */
.cta-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(245, 197, 24, 0.16), transparent 55%),
    var(--black-soft);
  z-index: 0;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  padding: 40px 24px;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cta-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}
.cta-inner > p {
  color: var(--muted);
  margin: 0 0 24px;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cta-package {
  margin: 18px 0 0;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0.9;
}
