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

:root {
  color-scheme: dark;
  font-family: "Vazirmatn", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #05070c;
  color: #f7f9ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rating svg,
.eyebrow svg:first-child {
  fill: currentColor;
  stroke-width: 0;
}

.hero-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  padding: 28px clamp(18px, 4vw, 72px);
  background:
    radial-gradient(circle at 71% 44%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 30%),
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--accent-2) 13%, transparent), transparent 28%),
    linear-gradient(135deg, var(--bg-a), var(--bg-b) 48%, var(--bg-c));
  transition: background 780ms ease;
}

.animated-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
}

.animated-bg::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 55% 48%, black, transparent 74%);
  opacity: .75;
}

.mesh-one,
.mesh-two {
  position: absolute;
  width: 54vw;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(75px);
  opacity: .45;
  animation: meshMove 7s ease-in-out infinite;
}

.mesh-one {
  right: -14vw;
  top: -18vh;
  background: color-mix(in srgb, var(--accent) 44%, transparent);
}

.mesh-two {
  left: -22vw;
  bottom: -25vh;
  background: color-mix(in srgb, var(--accent-2) 35%, transparent);
  animation-delay: -3s;
}

.grid-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22%;
  height: 52%;
  background:
    linear-gradient(to top, rgba(0,0,0,.82), transparent),
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 100% 100%, 78px 78px, 78px 78px;
  transform: perspective(700px) rotateX(64deg);
  transform-origin: bottom;
  opacity: .62;
}

.particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  opacity: .62;
  animation: particleFloat 4s ease-in-out infinite;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: .18em;
  font-family: "Inter", sans-serif;
  direction: ltr;
}

.brand span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  transition: background 550ms ease, box-shadow 550ms ease;
}

.brand strong {
  font-weight: 900;
  font-size: 1.05rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 13px 20px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(24px);
  color: rgba(246,248,255,.72);
}

.desktop-nav a {
  transition: color .25s ease;
}

.desktop-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions button,
.slider-controls button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.header-actions button:hover,
.slider-controls button:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 58%, white 12%);
  background: rgba(255,255,255,.11);
}

.mobile-menu {
  display: none !important;
}

.hero-shell {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(420px, 1.28fr);
  align-items: center;
  min-height: calc(100vh - 172px);
  gap: clamp(22px, 4vw, 74px);
  direction: ltr;
}

.left-panel {
  direction: rtl;
}

.copy {
  max-width: 590px;
}

.copy-in {
  animation: copyEnter .62s cubic-bezier(.16,.84,.3,1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: rtl;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 16px;
  transition: color 550ms ease;
}

.copy h1 {
  margin: 0;
  direction: ltr;
  font-family: "Inter", sans-serif;
  font-size: clamp(3.6rem, 8vw, 8.8rem);
  line-height: .78;
  letter-spacing: -.085em;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 18px 70px rgba(0,0,0,.42);
}

.copy h2 {
  margin: 18px 0 0;
  font-size: clamp(1.55rem, 3vw, 3.35rem);
  line-height: 1.08;
  color: rgba(245,248,255,.86);
  font-weight: 900;
}

.copy p {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(239,244,255,.70);
  line-height: 2;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.primary-cta,
.secondary-cta {
  min-width: 158px;
  min-height: 54px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  font-weight: 800;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.primary-cta {
  background: #fff;
  color: #0a0d14;
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 24%, transparent);
}

.secondary-cta {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.055);
  color: #fff;
  backdrop-filter: blur(20px);
}

.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-3px);
}

.meta-row {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.price,
.rating {
  min-width: 122px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  transition: background 500ms ease, border-color 500ms ease;
}

.price span,
.rating span {
  display: block;
  color: rgba(255,255,255,.57);
  font-size: .78rem;
}

.price strong,
.rating strong {
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
  font-size: 1.25rem;
  margin-top: 3px;
}

.right-panel {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.stage-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.shoe-stage {
  position: relative;
  width: min(58vw, 900px);
  max-width: 100%;
  aspect-ratio: 1.32 / 1;
  transform-style: preserve-3d;
}

.stage-in {
  animation: stageEnter .72s cubic-bezier(.16,.84,.3,1);
}

.volume-glow {
  position: absolute;
  inset: 2% -4% 10%;
  filter: blur(54px);
  opacity: .94;
  animation: glowPulse 4.2s ease-in-out infinite;
  transition: background 650ms ease;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid;
  border-radius: 999px;
  transform-style: preserve-3d;
  pointer-events: none;
  transition: border-color 550ms ease, box-shadow 550ms ease;
}

.orbit-one {
  width: 88%;
  height: 73%;
  transform: translate(-50%, -51%) rotateX(64deg) rotateZ(-14deg);
  animation: orbitA 8s linear infinite;
}

.orbit-two {
  width: 72%;
  height: 88%;
  transform: translate(-50%, -52%) rotateX(70deg) rotateZ(28deg);
  animation: orbitB 10s linear infinite reverse;
}

.orbit-three {
  width: 98%;
  height: 48%;
  transform: translate(-50%, -47%) rotateX(73deg) rotateZ(0deg);
}

.light-beam {
  position: absolute;
  inset: 42% -14% auto -14%;
  height: 2px;
  filter: blur(2px);
  transform: rotate(-10deg) translateZ(-100px);
  transition: background 550ms ease;
}

.hero-shoe {
  position: absolute;
  inset: 4% -4% 8%;
  width: 108%;
  height: 88%;
  object-fit: contain;
  user-select: none;
  transform-style: preserve-3d;
  z-index: 5;
  animation: shoeFloat 4.2s ease-in-out infinite;
}

.shoe-reflection {
  position: absolute;
  left: 0;
  right: 0;
  top: 70%;
  width: 102%;
  height: 50%;
  object-fit: contain;
  transform: scaleY(-1);
  filter: blur(5px) saturate(1.1);
  opacity: .18;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.64), transparent 62%);
  pointer-events: none;
  animation: reflectionPulse 4.2s ease-in-out infinite;
}

.ground-shadow {
  position: absolute;
  left: 18%;
  bottom: 12%;
  width: 66%;
  height: 46px;
  border-radius: 999px;
  filter: blur(12px);
  z-index: 0;
  animation: shadowPulse 4.2s ease-in-out infinite;
  transition: background 550ms ease;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
  margin-top: 38px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid;
  border-radius: 22px;
  backdrop-filter: blur(22px);
  transition: background 500ms ease, border-color 500ms ease;
}

.benefit > span {
  color: var(--accent);
  transition: color 500ms ease;
}

.benefit strong {
  display: block;
  font-size: .92rem;
}

.benefit small {
  display: block;
  color: rgba(255,255,255,.58);
  margin-top: 3px;
}

.slider-footer {
  position: relative;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
}

.theme-tabs {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  position: relative;
}

.theme-tabs button {
  width: 94px;
  height: 62px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 52%, color-mix(in srgb, var(--tab-color) 18%, transparent), transparent 64%),
    rgba(255,255,255,.055);
  cursor: pointer;
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition: transform .28s ease, border-color .28s ease, opacity .28s ease, box-shadow .28s ease;
  opacity: .62;
}

.theme-tabs button:hover,
.theme-tabs button.active {
  opacity: 1;
  transform: translateY(-5px) scale(1.04);
}

.theme-tabs img {
  width: 128%;
  height: 126%;
  object-fit: contain;
  transform: translate(-12%, -12%);
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.46));
}

.timer-line {
  margin-top: 16px;
  height: 2px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
  border-radius: 999px;
  transform-origin: right;
}

.timer-line span {
  display: block;
  height: 100%;
  transform-origin: right;
  border-radius: inherit;
}

.timer-animate {
  animation: timerProgress 2s linear forwards;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  direction: ltr;
  color: rgba(255,255,255,.78);
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

@keyframes timerProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes copyEnter {
  from {
    opacity: 0;
    transform: translateX(-28px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes stageEnter {
  from {
    opacity: 0;
    transform: translateY(32px) rotateY(-14deg) scale(.92);
    filter: blur(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes meshMove {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(4vw, 3vh, 0) scale(1.12);
  }
}

@keyframes particleFloat {
  0%,
  100% {
    translate: 0 0;
    opacity: .22;
  }
  50% {
    translate: 0 -26px;
    opacity: .8;
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: .62;
    transform: scale(.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes orbitA {
  from {
    transform: translate(-50%, -51%) rotateX(64deg) rotateZ(-14deg);
  }
  to {
    transform: translate(-50%, -51%) rotateX(64deg) rotateZ(346deg);
  }
}

@keyframes orbitB {
  from {
    transform: translate(-50%, -52%) rotateX(70deg) rotateZ(28deg);
  }
  to {
    transform: translate(-50%, -52%) rotateX(70deg) rotateZ(388deg);
  }
}

@keyframes shoeFloat {
  0%,
  100% {
    transform: translateY(0) rotateZ(-1.4deg) rotateY(-7deg);
  }
  50% {
    transform: translateY(-16px) rotateZ(1.2deg) rotateY(7deg);
  }
}

@keyframes reflectionPulse {
  0%,
  100% {
    opacity: .16;
  }
  50% {
    opacity: .24;
  }
}

@keyframes shadowPulse {
  0%,
  100% {
    transform: scaleX(1);
    opacity: .78;
  }
  50% {
    transform: scaleX(.88);
    opacity: .52;
  }
}

@media (max-width: 1100px) {
  .hero-page {
    padding: 22px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: inline-grid !important;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .right-panel {
    min-height: 48vh;
    order: -1;
  }

  .shoe-stage {
    width: min(94vw, 760px);
  }

  .copy h1,
  .copy h2,
  .copy p {
    text-align: right;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .slider-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-tabs {
    overflow-x: auto;
    padding-top: 8px;
    padding-inline: 2px;
  }
}

@media (max-width: 640px) {
  .hero-page {
    padding: 18px;
  }

  .copy h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .copy h2 {
    font-size: 1.8rem;
  }

  .right-panel {
    min-height: 38vh;
  }

  .header-actions button:not(.cart-btn):not(.mobile-menu) {
    display: none;
  }

  .theme-tabs button {
    min-width: 82px;
    width: 82px;
    height: 58px;
  }

  .cta-row,
  .meta-row {
    width: 100%;
  }

  .primary-cta,
  .secondary-cta,
  .price,
  .rating {
    flex: 1;
  }
}
