body.home-page {
  --home-bg: #ffffff;
  --home-surface: #f7f8fc;
  --home-surface-raised: #ffffff;
  --home-ink: #17172a;
  --home-muted: #666b7d;
  --home-line: #e8e9f1;
  --home-violet: #6d4aff;
  --home-violet-dark: #4a2bd6;
  --home-cyan: #40c9df;
  --home-orange: #ff9a54;
  background: var(--home-bg);
  color: var(--home-ink);
}

body.home-page.theme-dark {
  --home-bg: #11121b;
  --home-surface: #191b27;
  --home-surface-raised: #202231;
  --home-ink: #f5f5fb;
  --home-muted: #b3b7c8;
  --home-line: #303345;
}

body.home-page .announce {
  background: linear-gradient(90deg, #332083, #5c3de0 52%, #362080);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

body.home-page .site-header {
  background: color-mix(in srgb, var(--home-bg) 86%, transparent);
  border-color: var(--home-line);
  box-shadow: 0 8px 26px rgba(28, 27, 55, 0.045);
}

body.home-page .brand {
  color: var(--home-ink);
}

body.home-page .main-nav a,
body.home-page .header-login,
body.home-page .header-cart {
  color: var(--home-muted);
}

body.home-page .main-nav a:hover,
body.home-page .main-nav a.active,
body.home-page .header-login:hover,
body.home-page .header-cart:hover {
  color: var(--home-violet);
}

.home-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(250px, 22vw);
  min-width: 150px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: var(--home-surface);
  color: var(--home-muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search:focus-within {
  border-color: var(--home-violet);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--home-violet) 14%, transparent);
}

.home-search svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.home-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--home-ink);
  font: inherit;
  font-size: 0.76rem;
}

.home-search input::placeholder {
  color: var(--home-muted);
  opacity: 0.9;
}

body.home-page .header-cart {
  position: relative;
}

body.home-page .cart-count {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid var(--home-bg);
  border-radius: 999px;
  background: var(--home-violet);
  color: #fff;
  font-size: 0.62rem;
  line-height: 14px;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 79% 28%, rgba(114, 81, 255, 0.13), transparent 34%),
    radial-gradient(ellipse at 88% 90%, rgba(66, 206, 221, 0.12), transparent 28%),
    var(--home-bg);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(95, 78, 177, 0.12) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}

.home-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 7vw, 100px);
  min-height: 570px;
  padding-block: 74px 64px;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.home-eyebrow {
  display: inline-block;
  color: var(--home-violet);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 20px 0 18px;
  color: var(--home-ink);
  font-family: var(--font-body);
  font-size: clamp(3rem, 6vw, 5.3rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.99;
}

.home-hero h1 span {
  color: var(--home-violet);
  background: linear-gradient(95deg, var(--home-violet) 10%, #9a5cf5 58%, var(--home-orange));
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-copy > p {
  max-width: 490px;
  margin: 0;
  color: var(--home-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-button:hover {
  transform: translateY(-2px);
}

.home-button-primary {
  background: linear-gradient(110deg, var(--home-violet), #8a56e9);
  box-shadow: 0 12px 26px rgba(93, 62, 216, 0.24);
  color: #fff;
}

.home-button-primary:hover {
  box-shadow: 0 16px 30px rgba(93, 62, 216, 0.34);
  color: #fff;
}

.home-button-secondary {
  border-color: var(--home-line);
  background: var(--home-surface-raised);
  color: var(--home-ink);
}

.home-button-secondary:hover {
  border-color: var(--home-violet);
  color: var(--home-violet);
}

.home-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.home-hero-notes span {
  padding: 7px 11px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  color: var(--home-muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.home-laptop-stage {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  perspective: 900px;
}

.home-orbit {
  position: absolute;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(115, 91, 225, 0.14);
  border-radius: 50%;
}

.home-orbit-one {
  transform: scale(0.82) rotate(-18deg);
}

.home-orbit-two {
  width: min(85%, 365px);
  border-style: dashed;
  border-color: rgba(67, 197, 219, 0.25);
}

.home-laptop {
  position: relative;
  z-index: 1;
  width: min(88%, 390px);
  transform: rotateY(-12deg) rotateX(5deg);
  animation: homeLaptopFloat 6s ease-in-out infinite;
}

.home-laptop-screen {
  position: relative;
  display: flex;
  height: 242px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border: 10px solid #25283a;
  border-bottom-width: 14px;
  border-radius: 18px 18px 8px 8px;
  background:
    radial-gradient(circle at 30% 25%, rgba(73, 218, 228, 0.78), transparent 22%),
    radial-gradient(circle at 76% 75%, rgba(152, 86, 255, 0.84), transparent 35%),
    linear-gradient(135deg, #151d4a, #3a2797 54%, #172245);
  box-shadow: 0 28px 55px rgba(41, 31, 94, 0.24);
}

.home-screen-glow {
  position: absolute;
  inset: 12% 18%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  filter: blur(1px);
}

.home-screen-mark {
  color: rgba(255, 255, 255, 0.94);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.12em;
}

.home-screen-line {
  width: 48%;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.75);
}

.home-screen-line.short {
  width: 30%;
  background: rgba(255, 255, 255, 0.42);
}

.home-laptop-base {
  position: relative;
  width: 112%;
  height: 18px;
  margin-left: -6%;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #e0e3ef, #8b8da4 72%, #d2d4df);
  box-shadow: 0 24px 30px rgba(32, 32, 61, 0.18);
}

.home-laptop-base::after {
  position: absolute;
  top: 0;
  left: 42%;
  width: 16%;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: #999caf;
  content: "";
}

.home-float-card {
  position: absolute;
  z-index: 2;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  background: color-mix(in srgb, var(--home-surface-raised) 85%, transparent);
  box-shadow: 0 14px 36px rgba(36, 34, 79, 0.12);
  color: var(--home-ink);
  font-size: 0.75rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.home-float-card-top {
  top: 15%;
  right: 0;
  color: var(--home-violet);
}

.home-float-card-bottom {
  bottom: 12%;
  left: 0;
}

.home-hero-caption {
  position: absolute;
  right: max(24px, calc((100vw - var(--maxw)) / 2));
  bottom: 18px;
  color: var(--home-muted);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.home-hero-caption span {
  color: var(--home-orange);
}

@keyframes homeLaptopFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(-12deg) rotateX(5deg);
  }
  50% {
    transform: translateY(-10px) rotateY(-12deg) rotateX(5deg);
  }
}

.home-brands {
  border-block: 1px solid var(--home-line);
  background: var(--home-surface);
}

.home-brands-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 102px;
}

.home-brands p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.home-brands ul {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-brands li {
  color: var(--home-ink);
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  opacity: 1;
}

.home-brands li img {
  display: block;
  width: 84px;
  height: 38px;
  object-fit: contain;
}

.home-section {
  padding-block: clamp(62px, 8vw, 104px);
  background: var(--home-bg);
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.home-section-heading h2 {
  margin: 9px 0 7px;
  color: var(--home-ink);
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.home-section-heading p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.92rem;
}

.home-text-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 9px;
  color: var(--home-violet);
  font-size: 0.82rem;
  font-weight: 750;
}

.home-text-link:hover {
  gap: 13px;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-category-card {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 23px;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(112, 80, 255, 0.14), transparent 45%),
    var(--home-surface);
  color: var(--home-ink);
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-category-card::after {
  position: absolute;
  top: 26px;
  right: 22px;
  width: 60px;
  height: 60px;
  border: 1px solid color-mix(in srgb, var(--home-violet) 18%, transparent);
  border-radius: 50%;
  content: "";
  transition: transform 0.25s ease;
}

.home-category-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--home-violet) 42%, var(--home-line));
  box-shadow: var(--shadow);
}

.home-category-card:hover::after {
  transform: scale(1.28);
}

.home-category-card.gaming {
  background-image: radial-gradient(circle at 100% 0, rgba(255, 154, 84, 0.2), transparent 45%);
}

.home-category-card.business {
  background-image: radial-gradient(circle at 100% 0, rgba(64, 201, 223, 0.2), transparent 45%);
}

.home-category-card.creator {
  background-image: radial-gradient(circle at 100% 0, rgba(150, 91, 245, 0.2), transparent 45%);
}

.home-category-card.student {
  background-image: radial-gradient(circle at 100% 0, rgba(107, 163, 247, 0.2), transparent 45%);
}

.home-category-icon {
  position: absolute;
  top: 25px;
  right: 39px;
  z-index: 1;
  color: var(--home-violet);
  font-size: 1.5rem;
}

.home-category-card strong {
  font-size: 1.13rem;
  font-weight: 800;
}

.home-category-card > span:not(.home-category-icon):not(.home-category-arrow) {
  margin-top: 5px;
  color: var(--home-muted);
  font-size: 0.76rem;
}

.home-category-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--home-violet);
  font-size: 1.05rem;
}

.home-featured {
  background: var(--home-surface);
}

.home-featured-tools {
  margin-bottom: 22px;
}

.home-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-category-filters button {
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: var(--home-surface-raised);
  color: var(--home-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-category-filters button:hover,
.home-category-filters button.active {
  border-color: var(--home-violet);
  background: var(--home-violet);
  color: #fff;
}

.home-filter-status {
  min-height: 1.2em;
  margin: 7px 0 0;
  color: var(--home-muted);
  font-size: 0.72rem;
}

.home-featured .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home-page.theme-dark .product-card {
  border-color: var(--home-line);
  background: var(--home-surface-raised);
}

body.home-page.theme-dark .product-card .thumb {
  background: var(--home-bg);
}

body.home-page.theme-dark .product-card .name,
body.home-page.theme-dark .product-card .price,
body.home-page.theme-dark .product-card .price-final {
  color: var(--home-ink);
}

body.home-page.theme-dark .home-search input {
  border: 0;
  background: transparent;
  color: var(--home-ink);
  box-shadow: none;
}

body.home-page.theme-dark .product-card .desc,
body.home-page.theme-dark .product-card .product-category {
  color: var(--home-muted);
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.home-trust-card {
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-surface-raised);
}

.home-trust-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--home-violet) 11%, var(--home-surface));
  color: var(--home-violet);
  font-size: 1.1rem;
}

.home-trust-card h3 {
  margin: 0 0 7px;
  color: var(--home-ink);
  font-size: 0.96rem;
}

.home-trust-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.77rem;
  line-height: 1.65;
}

.home-reviews {
  background: var(--home-surface);
}

.home-reviews[hidden] {
  display: none;
}

.home-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.home-review-card {
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-surface-raised);
}

.home-review-rating {
  color: #e79536;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.home-review-card blockquote {
  margin: 13px 0 18px;
  color: var(--home-ink);
  font-size: 0.86rem;
  line-height: 1.7;
}

.home-review-card footer {
  color: var(--home-muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.home-review-product {
  display: block;
  margin-top: 4px;
  color: var(--home-violet);
}

.home-review-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--home-muted);
  font-size: 0.85rem;
}

.home-promo {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 15%, rgba(64, 201, 223, 0.25), transparent 28%),
    radial-gradient(circle at 10% 110%, rgba(255, 154, 84, 0.28), transparent 34%),
    linear-gradient(115deg, #2c216f, #5034b7 58%, #34216f);
  color: #fff;
}

.home-promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 285px;
  padding-block: 48px;
}

.home-promo .home-eyebrow {
  color: #d7ceff;
}

.home-promo h2 {
  margin: 12px 0;
  font-family: var(--font-body);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.home-promo p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.home-button-light {
  flex: none;
  background: #fff;
  color: #392481;
}

.home-button-light:hover {
  background: #f4f1ff;
  color: #392481;
}

body.home-page .site-footer {
  background: var(--home-surface);
  color: var(--home-muted);
}

body.home-page .site-footer h4,
body.home-page .site-footer .brand {
  color: var(--home-ink);
}

body.home-page .site-footer a:not(.brand) {
  color: var(--home-muted);
}

body.home-page .site-footer a:not(.brand):hover {
  color: var(--home-violet);
}

body.home-page .footer-bottom {
  border-color: var(--home-line);
}

body.home-page.theme-dark .site-header .main-nav,
body.home-page.theme-dark .site-header .account-menu {
  background: var(--home-surface-raised);
}

body.home-page.theme-dark .site-header .main-nav a,
body.home-page.theme-dark .site-header .account-menu a {
  color: var(--home-ink);
}

body.home-page.theme-dark .site-header .main-nav a:hover,
body.home-page.theme-dark .site-header .account-menu a:hover {
  color: var(--home-violet);
}

body.home-page.theme-dark .cart-drawer,
body.home-page.theme-dark .cart-head,
body.home-page.theme-dark .cart-items,
body.home-page.theme-dark .cart-foot {
  border-color: var(--home-line);
  background: var(--home-surface-raised);
  color: var(--home-ink);
}

body.home-page.theme-dark .cart-drawer h3,
body.home-page.theme-dark .cart-line .name,
body.home-page.theme-dark .cart-line strong,
body.home-page.theme-dark .cart-subtotal {
  color: var(--home-ink);
}

body.home-page.theme-dark .cart-line {
  border-color: var(--home-line);
  background: var(--home-surface);
}

body.home-page.theme-dark .cart-line .variant,
body.home-page.theme-dark .cart-line .mini-qty span {
  color: var(--home-muted);
}

body.home-page :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--home-violet) 62%, transparent);
  outline-offset: 3px;
}

@media (max-width: 950px) {
  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 25px;
    min-height: 510px;
  }

  .home-laptop-stage {
    min-height: 320px;
  }

  .home-laptop-screen {
    height: 200px;
  }

  .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-featured .product-grid,
  .home-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 54px 58px;
  }

  .home-hero-copy {
    max-width: 100%;
  }

  .home-hero h1 {
    font-size: clamp(2.9rem, 10vw, 4.5rem);
  }

  .home-laptop-stage {
    min-height: 300px;
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .home-laptop {
    width: min(76%, 340px);
  }

  .home-laptop-screen {
    height: 190px;
  }

  .home-hero-caption {
    right: 20px;
    bottom: 12px;
  }

  .home-brands-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding-block: 20px;
  }

  .home-brands ul {
    justify-content: space-between;
    width: 100%;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .home-promo-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  body.home-page .header-actions {
    gap: 7px;
  }

  body.home-page .account-control {
    display: none;
  }

  .home-search {
    width: 135px;
    min-width: 0;
    height: 38px;
    gap: 6px;
    padding-inline: 9px;
  }

  .home-search input {
    font-size: 0.68rem;
  }

  body.home-page .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .home-hero-inner {
    padding-top: 42px;
  }

  .home-hero-copy > p {
    font-size: 0.92rem;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero-actions .home-button {
    width: 100%;
  }

  .home-laptop-stage {
    min-height: 245px;
  }

  .home-laptop-screen {
    height: 160px;
    border-width: 7px;
    border-bottom-width: 10px;
  }

  .home-float-card {
    padding: 9px 11px;
    font-size: 0.64rem;
  }

  .home-category-grid,
  .home-trust-grid,
  .home-featured .product-grid,
  .home-review-grid {
    grid-template-columns: 1fr;
  }

  .home-category-card {
    min-height: 150px;
  }

  .home-brands ul {
    justify-content: flex-start;
    gap: 12px 22px;
  }

  .home-section {
    padding-block: 58px;
  }
}

@media (max-width: 390px) {
  .home-search {
    width: 104px;
    padding-inline: 7px;
  }

  .home-search input {
    font-size: 0.62rem;
  }

  body.home-page .theme-toggle {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page *,
  body.home-page *::before,
  body.home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
