@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Syne:wght@600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #101114;
  --muted: #5d6370;
  --line: #d9dee7;
  --panel: #ffffff;
  --soft: #f5f7fb;
  --sky: #0ea5e9;
  --orange: #f97316;
  --charcoal: #17191f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(16, 17, 20, 0.16);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-stats,
.seller-actions,
.store-buttons,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--charcoal);
  color: #fff;
  border-radius: 8px;
  font-family: "Syne", sans-serif;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.nav-cta,
.seller-actions a,
.store-buttons a {
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta,
.hero-search a,
.seller-actions a:first-child,
.store-buttons a:first-child {
  background: var(--ink);
  color: #fff;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px 24px 56px;
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 9, 12, 0.92), rgba(8, 9, 12, 0.58), rgba(8, 9, 12, 0.08)),
    linear-gradient(0deg, rgba(8, 9, 12, 0.76), rgba(8, 9, 12, 0.05));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Syne", "Manrope", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.hero-search {
  width: min(640px, 100%);
  margin: 32px 0 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  color: var(--ink);
}

.hero-search label {
  display: block;
  margin: 0 0 8px 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.search-row a {
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 800;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats span,
.listing-card span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.section,
.showcase,
.download {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p,
.seller-band p,
.showcase-copy p,
.download p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.category-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-grid article,
.trust-grid article {
  min-height: 220px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-grid span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--sky);
  font-weight: 800;
}

.category-grid p,
.trust-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
}

.phone-frame {
  padding: 14px;
  background: var(--charcoal);
  border-radius: 8px;
  box-shadow: 0 36px 80px rgba(16, 17, 20, 0.22);
}

.phone-top {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 16px;
}

.phone-top span {
  width: 46px;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.phone-top span:last-child {
  width: 8px;
}

.phone-feed {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: #f7f8fb;
  border-radius: 8px;
}

.listing-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.listing-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.listing-card.large img {
  height: 330px;
}

.listing-card div,
.listing-card h3,
.listing-card span {
  margin-left: 12px;
  margin-right: 12px;
}

.listing-card p {
  margin: 12px 12px 4px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.listing-card span {
  width: fit-content;
  margin-bottom: 12px;
  background: var(--charcoal);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.seller-band {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 42px;
  background: var(--charcoal);
  border-radius: 8px;
  color: #fff;
}

.seller-band p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.74);
}

.seller-actions,
.store-buttons {
  flex-wrap: wrap;
  gap: 12px;
}

.seller-actions a,
.store-buttons a {
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.seller-actions a:first-child {
  background: #fff;
  color: var(--ink);
}

.seller-actions a:last-child,
.store-buttons a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
}

.trust-grid {
  grid-template-columns: repeat(3, 1fr);
}

.download {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
  padding: 48px;
  background: var(--sky);
  border-radius: 8px;
  color: #fff;
}

.download p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.store-buttons a {
  min-width: 138px;
  text-align: center;
}

.store-buttons a:last-child {
  color: #fff;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 26px 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.not-found-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(249, 115, 22, 0.12), transparent 36%),
    var(--soft);
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 34px;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0;
}

.not-found-brand {
  width: fit-content;
}

.not-found-panel {
  padding: 42px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(16, 17, 20, 0.12);
}

.not-found-panel h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  color: var(--ink);
}

.not-found-panel p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.not-found-actions a {
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.not-found-actions a:first-child {
  background: var(--ink);
  color: #fff;
}

.not-found-actions a:last-child {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.checkout-result-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.14), transparent 42%),
    linear-gradient(315deg, rgba(249, 115, 22, 0.12), transparent 38%),
    var(--soft);
}

.checkout-success-page {
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(14, 165, 233, 0.12), transparent 38%),
    var(--soft);
}

.checkout-canceled-page {
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(16, 17, 20, 0.08), transparent 38%),
    var(--soft);
}

.checkout-result {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 34px;
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0;
}

.checkout-result-brand {
  width: fit-content;
}

.checkout-result-panel {
  padding: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(16, 17, 20, 0.12);
}

.checkout-result-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.checkout-success-panel .checkout-result-icon {
  background: #16a34a;
}

.checkout-canceled-panel .checkout-result-icon {
  background: var(--orange);
}

.checkout-result-panel h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6.5vw, 72px);
  color: var(--ink);
}

.checkout-result-panel p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.checkout-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.checkout-result-actions a {
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.checkout-result-actions a:first-child {
  background: var(--ink);
  color: #fff;
}

.checkout-result-actions a:last-child {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .category-grid,
  .trust-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .seller-band,
  .download {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 94vh;
    padding: 112px 18px 40px;
  }

  .search-row,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .showcase,
  .download {
    width: min(100% - 24px, 1160px);
  }

  .section {
    padding: 58px 0;
  }

  .seller-band,
  .download {
    padding: 26px;
  }

  .not-found-panel {
    padding: 28px;
  }

  .checkout-result-panel {
    padding: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  html {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }
}
