:root {
  --brand: #370065;
  --brand-deep: #28004a;
  --brand-mid: #4b0082;
  --brand-border: #845ca5;
  --brand-soft: #f7f5f9;
  --brand-text: #300057;
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #667085;
  --line: #d0d5dd;
  --line-soft: #eaecf0;
  --surface: #ffffff;
  --surface-2: #f2f4f7;
  --values: #475467;
  --radius: 4px;
  --wrap: 1280px;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-motion: var(--ease-out);
  --ease-motion-inout: var(--ease-in-out);
  --motion-value: 480ms;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
}
body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
}
img, video, svg { display: block; max-width: 100%; }
section, header, footer, main { width: 100%; }
button, input { font: inherit; }
a { color: inherit; }
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

.wrap {
  width: min(100%, var(--wrap));
  margin: 0 auto;
  padding-inline: 32px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid transparent;
}
.nav-row {
  width: min(100%, var(--wrap));
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img {
  width: 202px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-2);
}
.nav-link.is-active {
  background: var(--brand-soft);
  color: var(--brand-text);
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
  max-width: 28vw;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  background: #fff;
}
.search input {
  border: 0;
  outline: 0;
  width: 100%;
  color: var(--ink);
  background: transparent;
}
.search input::placeholder { color: var(--ink-3); }
.icon-btn {
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
}
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 16px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a {
  padding: 12px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 6px;
}
.mobile-menu:not([hidden]) { display: flex; }

/* Promo */
.promo {
  background: var(--brand);
  color: #fff;
}
.promo-inner {
  width: min(100%, var(--wrap));
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.promo-sale {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.02em;
  background: linear-gradient(145deg, #fff6b7 0%, #fb758a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.promo-copy { margin: 0; font-size: 16px; }
.promo-code {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
}
.promo-code button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: var(--brand-mid);
  color: #cecfd2;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: clamp(480px, 70vw, 640px);
  background: #0c111d;
  overflow: hidden;
  color: #fff;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.85) 100%);
}
.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(499px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  z-index: 1;
  text-align: center;
}
.hero-title {
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero-moving {
  background: linear-gradient(145deg, #fff6b7 0%, #fb758a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity .22s ease, transform .22s ease;
}
.hero-moving.is-swap {
  opacity: 0;
  transform: translateY(12px);
}
.title-mobile { display: none; }
.wave {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.wave-hero { bottom: 0; }
.wave-cats {
  top: 0;
  transform: rotate(180deg);
}
.wave-video { bottom: 0; }
.wave-footer {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.btn.sm { font-size: 14px; line-height: 20px; padding: 8px 12px; }
.btn-ghost {
  background: transparent;
  border-color: #f2f4f7;
  color: #fff;
}
.btn-outline {
  background: #fff;
  border-color: var(--brand-border);
  color: var(--brand-text);
}
.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn-white {
  background: #fff;
  border-color: var(--line);
  color: #344054;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  color: #f5f5f6;
}
.text-link.brand { color: var(--brand-text); }

/* Values */
.values {
  position: relative;
  background: var(--values);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
  width: 100%;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.value {
  --value-fill: linear-gradient(145deg, #fff6b7 0%, #fb758a 100%);
  position: relative;
  padding: 40px 16px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  transition:
    color var(--motion-value) var(--ease-in-out),
    box-shadow var(--motion-value) var(--ease-out),
    transform var(--motion-value) var(--ease-out);
  will-change: transform;
}
.value-a { --value-fill: linear-gradient(145deg, #fff6b7 0%, #fb758a 100%); }
.value-b { --value-fill: linear-gradient(145deg, #d9fff0 0%, #7fe0e8 100%); }
.value-c { --value-fill: linear-gradient(180deg, #e6dee9 0%, #bdc2e8 100%); }
.value::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--value-fill);
  opacity: 0;
  transform: scaleY(0.028);
  transform-origin: top center;
  transition:
    transform var(--motion-value) var(--ease-out),
    opacity calc(var(--motion-value) * 0.7) var(--ease-out);
  pointer-events: none;
  will-change: transform, opacity;
}
.value-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: 8px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--value-fill);
  transition:
    opacity calc(var(--motion-value) * 0.55) var(--ease-in-out),
    transform var(--motion-value) var(--ease-in-out);
}
.value > * {
  position: relative;
  z-index: 1;
}
.value h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  transition: color var(--motion-value) var(--ease-in-out);
}
.value p {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 24px;
  transition: color var(--motion-value) var(--ease-in-out);
}
.value .text-link {
  color: #f5f5f6;
  transition:
    color var(--motion-value) var(--ease-in-out),
    transform var(--motion-value) var(--ease-out);
}
.value .text-link img {
  filter: brightness(0) invert(1);
  transition:
    filter var(--motion-value) var(--ease-in-out),
    transform var(--motion-value) var(--ease-out);
}
.value:hover,
.value:focus-within {
  color: var(--ink);
  box-shadow: 0 22px 18px rgba(16, 24, 40, 0.1), 0 8px 6px rgba(16, 24, 40, 0.04);
  transform: translateY(-4px);
}
.value:hover::before,
.value:focus-within::before {
  opacity: 1;
  transform: scaleY(1);
}
.value:hover .value-bar,
.value:focus-within .value-bar {
  opacity: 0;
  transform: scaleX(0.9);
}
.value:hover .text-link,
.value:focus-within .text-link {
  color: #475467;
}
.value:hover .text-link img,
.value:focus-within .text-link img {
  filter: none;
  transform: translateX(2px);
}
/* Easy-in collapse: soft start, settle back into the accent bar */
.value:not(:hover):not(:focus-within) {
  transition:
    color var(--motion-value) var(--ease-in-out),
    box-shadow calc(var(--motion-value) * 0.85) var(--ease-in),
    transform calc(var(--motion-value) * 0.85) var(--ease-in);
}
.value:not(:hover):not(:focus-within)::before {
  transition:
    transform var(--motion-value) var(--ease-in),
    opacity calc(var(--motion-value) * 0.65) var(--ease-in);
}
.value:not(:hover):not(:focus-within) .value-bar,
.value:not(:hover):not(:focus-within) .text-link,
.value:not(:hover):not(:focus-within) .text-link img {
  transition-timing-function: var(--ease-in);
}
@media (hover: none) {
  .value:hover {
    transform: none;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .value,
  .value::before,
  .value-bar,
  .value h2,
  .value p,
  .value .text-link,
  .value .text-link img {
    transition-duration: 0.01ms !important;
  }
}

/* Categories */
.categories {
  position: relative;
  background: var(--surface-2);
  padding: 96px 0;
  overflow: hidden;
}
.categories .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.section-title {
  margin: 0;
  font-size: 30px;
  line-height: 38px;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
}
.trending .section-title,
.blog .section-title {
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
.cat-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(16,24,40,.1), 0 1px 2px rgba(16,24,40,.06);
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .15s ease;
}
.cat-card:hover { transform: translateY(-2px); }
.cat-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  padding: 12px;
}
.cat-card span {
  padding: 8px 12px 16px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  text-align: center;
}

/* Video — Dive into the wild */
.video {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 480px;
  height: clamp(420px, 56vw, 640px);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0c111d;
}
.video-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.video-clip {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.video-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 17, 29, 0.22);
}
.video-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px 16px;
  width: min(100%, 900px);
}
.video-content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.video-pause {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(12, 17, 29, 0.3);
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 24px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition:
    background 180ms var(--ease-motion),
    color 180ms var(--ease-motion),
    border-color 180ms var(--ease-motion),
    transform 160ms var(--ease-motion);
}
.video-pause:hover {
  background: rgba(12, 17, 29, 0.45);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.video-pause:active {
  transform: scale(0.97);
}
.video-pause[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-color: transparent;
}

/* Trending */
.trending {
  padding: 96px 0;
  background: #fff;
}
.trending .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.trending-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.carousel-nav { display: flex; gap: 8px; }
.icon-square {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16,24,40,.05);
}
.product-rail {
  display: flex;
  gap: 32px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.product-rail::-webkit-scrollbar { display: none; }
.product {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.product-thumb {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product h3 {
  margin: 16px 0 2px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--brand-mid);
}
.price {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.scroll-track {
  width: 100%;
  height: 4px;
  background: var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}
.scroll-track span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
}

/* Signup */
.signup {
  padding: 64px 0;
  background: #fff;
}
.signup-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 546px;
}
.signup-card > img {
  width: 100%;
  height: 546px;
  object-fit: cover;
}
.signup-copy {
  position: absolute;
  left: 56px;
  bottom: 56px;
  width: min(575px, calc(100% - 64px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  color: #fff;
}
.signup-copy h2 {
  margin: 0;
  font-size: 72px;
  line-height: 90px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* Features */
.features {
  padding: 40px 0;
  background: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.features article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  min-width: 0;
}
.feat-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(16,24,40,.05);
}
.features h3 {
  margin: 0;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}
.features p {
  margin: 0;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 24px;
}
.features a { color: inherit; }

/* Blog */
.blog {
  padding: 64px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}
.blog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.blog-card > img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
}
.blog-date {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-3);
}
.blog-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--brand-deep);
  color: #f5f5f6;
  padding: 64px 0 48px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 64px;
}
.footer-logo {
  width: 101px;
  height: 32px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.footer-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(234, 236, 240, 0.2);
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}
.footer-bottom p { margin: 0; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--brand);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(16,24,40,.2);
}

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .search { display: none; }
  .menu-btn { display: inline-flex; }
  .logo img { width: 140px; height: 44px; }
}

@media (max-width: 900px) {
  .values-grid,
  .features-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .values,
  .categories,
  .trending { padding: 64px 0; }
  .hero { height: 640px; }
  .hero-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 56px;
    line-height: 64px;
    text-align: left;
  }
  .hero-content {
    align-items: flex-start;
    text-align: left;
    left: 24px;
    transform: translate(0, -50%);
    width: calc(100% - 48px);
  }
  .video-content h2,
  .signup-copy h2 {
    font-size: 42px;
    line-height: 50px;
  }
  .promo-sale { display: none; }
  .promo-inner {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }
  .title-desktop { display: none; }
  .title-mobile { display: inline; }
  .signup-card > img { height: 420px; }
  .signup-card { min-height: 420px; }
  .signup-copy { left: 24px; bottom: 24px; gap: 20px; }
  .wrap { padding-inline: 16px; }
  .nav-row { padding: 12px 16px; }
}

@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { flex-basis: min(240px, 82vw); }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero { height: 560px; }
  .signup-copy h2 {
    font-size: clamp(32px, 10vw, 42px);
  }
}
