body[data-page="home"] #main {
  max-width: 1236px;
  margin-inline: auto;
  padding: 28px 24px 24px;
  background: #121016;
  color: #fff;
  font: 500 16px/normal Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body[data-page="home"] #main > .shell,
body[data-page="home"] .storefront-catalog > .shell {
  width: 100%;
}

body .storefront-hero {
  display: block;
  height: auto;
  margin-block: 0 18px;
  padding: 0;
  border-radius: 16px;
  background: #101020;
}

.storefront-slide {
  position: relative;
  display: flex;
  height: 216px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  padding: 20px 72px 32px;
  background:
    var(--slide-scrim, linear-gradient(90deg, #03061cbd, #03061c70 45%, transparent 68%)),
    var(--slide-art) var(--slide-position, center) / var(--slide-size, cover) no-repeat,
    var(--slide-color, #201d25);
  color: #fff;
}

.storefront-slide[data-slide="catalog"] { --slide-art: url("assets/storefront/hero-ai-services.webp"); }
.storefront-service-slide,
.storefront-slide[data-slide="chatgpt"] {
  --slide-art: url("assets/storefront/chatgpt.webp");
  --slide-color: #126a58;
  --slide-size: auto 84%;
  --slide-position: 86% center;
}
.storefront-slide[data-slide="claude"] {
  --slide-art: url("assets/storefront/claude.svg");
  --slide-color: #974027;
  --slide-size: auto 79%;
  --slide-position: 86% center;
}
.storefront-slide[data-slide="suno"] {
  --slide-art: url("assets/storefront/suno.webp");
  --slide-color: #982759;
  --slide-size: auto 84%;
  --slide-position: 86% center;
}

.storefront-slide-tag {
  padding: 3px 9px;
  border-radius: 6px;
  background: #ffffff2e;
  font-size: 10px;
  font-weight: 800;
  line-height: inherit;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.storefront-slide .storefront-hero-copy { width: 100%; max-width: none; }
body .storefront-slide h2, body .storefront-slide p { text-shadow: 0 2px 16px #0008; }
body .storefront-slide h2 {
  max-width: 58%;
  margin: 0;
  font: 800 clamp(24px, 3vw, 40px)/1.05 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -.015em;
  color: #fff;
  text-wrap: wrap;
}
body .storefront-slide p { max-width: 52%; margin: 7px 0 0; line-height: inherit; }
.storefront-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 15px;
  border: 1px solid #ffffff40;
  border-radius: 9px;
  background: #ffffff2e;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: inherit;
}
.storefront-slide-link svg { width: 1.25em; height: 1em; }
.storefront-slide-link:hover { background: #ffffff47; }

.storefront-slide-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #ffffff2e;
  border-radius: 50%;
  background: #0008;
  color: #fff;
  font-size: 13px;
}
.storefront-slide-arrow svg { width: 13px; height: 13px; }
.storefront-slide-arrow:hover { background: #7c3aedb3; }
.storefront-slide-arrow[data-slide-step="-1"] { left: 12px; }
.storefront-slide-arrow[data-slide-step="1"] { right: 12px; }

.storefront-slide-dots {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 50%;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}
.storefront-slide-dots button {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff66;
}
.storefront-slide-dots button::after { position: absolute; inset: -3px; content: ""; }
.storefront-slide-dots button[aria-current="true"] {
  transform: scale(1.3);
  background: #fff;
}

body .storefront-catalog { padding-bottom: 0; }
.storefront-filterbar { margin-bottom: 12px; padding-block: 8px; }
body .storefront-search {
  height: 46px;
  gap: 9px;
  margin-bottom: 12px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #1c1a23;
}
body .storefront-search svg { position: static; width: 15.625px; height: 14px; flex: none; stroke: #8e87a1; }
body .storefront-search input[type="search"] {
  height: auto;
  flex: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f3f1f7;
  font-weight: 500;
  box-shadow: none;
}
body .storefront-search input::placeholder { color: #ffffff99; }

body .storefront-filters { margin: 0; }
.storefront-filter-row { display: contents; }
@media (min-width: 1000px) {
  .storefront-filter-row { display: flex; flex-basis: 100%; flex-wrap: wrap; gap: 8px; }
}
body .storefront-filter-button {
  display: inline-flex;
  height: 38px;
  min-height: 0;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  background: #1c1a23;
  color: #b0a9c0;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}
body .storefront-filter-button:hover { background: #25222e; color: #f3f1f7; }
.storefront-filter-icon {
  display: inline-flex;
  width: 17.5px;
  align-items: center;
  justify-content: center;
  color: #8e87a1;
  font-size: 14px;
  line-height: 1;
}
.storefront-filter-count { border-radius: 7px; color: #8e87a1; font-size: 13px; font-weight: 500; }
.storefront-filter-button[aria-pressed="true"] .storefront-filter-icon { color: #fff; }
.storefront-filter-button[aria-pressed="true"] .storefront-filter-count { color: #ffffffb8; }

body .storefront-grid { gap: 18px 14px; margin-bottom: 30px; }
body .storefront-grid > .storefront-card {
  gap: 8px;
  color: #f3f1f7;
  font-weight: 600;
}
body[data-page="home"] .storefront-grid .storefront-card-image {
  border: 0;
  background: linear-gradient(135deg, var(--card-glow, #686479), var(--card-end, #24232c));
  box-shadow: inset 0 0 0 1px #ffffff24, inset 0 0 46px #ffffff1f, inset 0 -60px 80px -50px var(--card-glow, #7c3aed);
  filter: saturate(1.3) brightness(1.06);
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
body .storefront-card-image::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(90% 70% at 25% 0%, #ffffff4d 0%, transparent 60%),
    radial-gradient(55% 55% at 50% 52%, #ffffff38 0%, transparent 70%),
    linear-gradient(180deg, transparent 55%, #00000047 100%);
  pointer-events: none;
  content: "";
}
body .storefront-card-image::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  transform: translateX(-130%);
  background: linear-gradient(115deg, transparent 35%, #ffffff47 50%, transparent 65%);
  pointer-events: none;
  content: "";
  transition: transform .7s ease;
}
body .storefront-card-logo {
  width: 58%;
  height: 58%;
  border: 0;
  border-radius: 22.5%;
  background: #080a1859;
  box-shadow: 0 0 0 3px #fffffff2, 0 18px 34px #0008, 0 0 40px #ffffff2e;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
body .storefront-card-badge {
  z-index: 4;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #121016b8;
  color: #fff;
  box-shadow: inset 0 0 0 1px #ffffff24;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1px;
  line-height: 1;
}
body .storefront-card-title { min-height: 0; margin: 0 0 -4px; padding-inline: 4px; }
@media (hover: hover) {
  body .storefront-grid > .storefront-card:hover { transform: translateY(-2px); color: #f3f1f7; }
  body[data-page="home"] .storefront-grid .storefront-card:hover .storefront-card-image {
    transform: translateY(-3px) scale(1.02);
    box-shadow: inset 0 0 0 1px #ffffff3d, inset 0 0 64px #ffffff38, inset 0 -60px 80px -50px var(--card-glow, #7c3aed);
  }
  body .storefront-card:hover .storefront-card-logo { transform: scale(1.07); }
  body .storefront-card:hover .storefront-card-image::after { transform: translateX(130%); }
}

body .storefront-empty {
  margin: 0;
  padding: 44px 16px;
  border: 1px dashed #3c3150;
  border-radius: 16px;
  text-align: center;
}

.storefront-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.storefront-trust a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #1c1a23;
}
.storefront-trust-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: #7c3aed26;
  color: #b98cff;
}
.storefront-trust a > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.storefront-trust strong { color: #f3f1f7; font-size: 13px; font-weight: 700; }
.storefront-trust small { color: #ffffff99; font-size: 11.5px; font-weight: 700; }
.storefront-popular { margin: 8px 24px 0; }
.storefront-popular h2, .storefront-about h2 { margin: 0 0 12px; font: 700 16px/normal Inter, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: normal; }
.storefront-popular div { display: flex; flex-wrap: wrap; gap: 8px; }
.storefront-popular a { padding: 7px 14px; border: 1px solid transparent; border-radius: 20px; background: #1c1a23; color: #b0a9c0; font-size: 13px; }
.storefront-popular a:hover, .storefront-trust a:hover { background: #25222e; }
.storefront-about { margin: 20px 24px 14px; color: #b0a9c0; font-size: 14px; }
.storefront-about summary { padding: 6px 0; color: #ffffff61; cursor: pointer; text-align: center; font-size: 12.5px; }
.storefront-about h2 { margin-top: 18px; }
.storefront-about p { margin-bottom: 0; }

@media (max-width: 1100px) { body .storefront-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1024px) { body .storefront-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { body .storefront-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 800px) {
  .storefront-filterbar { padding-bottom: 14px; }
}
@media (max-width: 767px) {
  body[data-page="home"] #main { padding: 28px 12px 22px; font-size: 14px; line-height: 1.5; }
  body .storefront-hero { margin-bottom: 12px; }
  .storefront-slide {
    width: 100%;
    height: auto;
    min-height: 214px;
    max-height: 320px;
    aspect-ratio: 16 / 10;
    padding: 16px 16px 42px;
  }
  .storefront-slide::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #03061c6b, #03061c2e 55%, #03061c61);
    pointer-events: none;
    content: "";
  }
  .storefront-slide > * { z-index: 1; }
  .storefront-slide[data-slide]:not([data-slide="catalog"]) {
    --slide-size: 43% auto;
    --slide-position: 94% center;
  }
  .storefront-slide-tag { padding: 3px 8px; font-size: 11.5px; }
  body .storefront-slide h2 { max-width: 92%; font-size: clamp(19px, 5.6vw, 26px); }
  body .storefront-slide p { max-width: 90%; margin-top: 4px; font-size: 12px; line-height: 1.4; }
  .storefront-slide-link { padding-inline: 12px; font-size: 12.5px; }
  .storefront-slide-arrow { display: none; }
  .storefront-slide-dots { bottom: 10px; gap: 8px; }
  .storefront-slide-dots button { width: 12px; height: 12px; }
  .storefront-filterbar { margin-bottom: 14px; }
  body .storefront-search { margin-bottom: 10px; padding-inline: 14px; }
  body .storefront-search svg { width: 17.5px; }
  body .storefront-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -12px;
    padding: 0 12px 2px;
    scrollbar-width: none;
  }
  body .storefront-filter-button { height: 36px; flex: none; padding: 0 12px; font-size: 13.5px; }
  body .storefront-filter-button:focus-visible { outline-offset: -3px; }
  body .storefront-grid > .storefront-card { gap: 6px; }
  body .storefront-card-image { border-radius: 16px; }
  body .storefront-card-badge { top: 6px; right: 6px; bottom: auto; left: auto; padding: 3px 6px; border-radius: 7px; font-size: 11px; }
  body .storefront-card-title { padding: 6px 2px 0; }
  .storefront-trust { grid-template-columns: 1fr; gap: 10px; margin: 22px 0; }
  .storefront-trust strong { font-size: 14px; }
  .storefront-trust small { font-size: 13px; }
  .storefront-popular h2 { line-height: 1.5; }
}

@media (max-width: 640px) { body[data-page="home"] #main { padding-top: 18px; } }
@media (max-width: 600px) {
  body .storefront-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  body .storefront-card-title { margin-bottom: -2px; }
}
@media (prefers-reduced-motion: reduce) {
  body .storefront-card-logo, body .storefront-card-image::after { transition: none; }
  body .storefront-card-image::after { display: none; }
}
