:root {
  --bg: #03040b;
  --panel: rgba(17, 18, 34, 0.74);
  --panel-strong: rgba(23, 23, 43, 0.9);
  --line: rgba(205, 173, 255, 0.22);
  --text: #f8f2ff;
  --muted: #b7afc5;
  --violet: #b96cff;
  --pink: #ff8cdc;
  --blue: #8ba5ff;
  --shadow: 0 24px 80px rgba(84, 36, 150, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(157, 85, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 13% 41%, rgba(255, 104, 209, 0.12), transparent 24rem),
    linear-gradient(180deg, #02030a 0%, #070814 46%, #03040b 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 18px 3.8vw auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(4, 5, 13, 0.62);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.social-proof,
.logos-wrapper,
.final-cta {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--violet) 58%, var(--blue));
  box-shadow: 0 0 22px rgba(190, 101, 255, 0.7);
}

.nav-links {
  gap: clamp(18px, 3vw, 42px);
  color: #dfd8e9;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.header-cta,
.primary-btn,
.ghost-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  justify-self: end;
  padding: 0 20px;
  color: #140e21;
  background: linear-gradient(135deg, #ff9be7, #a781ff);
  box-shadow: 0 0 24px rgba(203, 120, 255, 0.52);
}

.hero {
  position: relative;
  width: 100%;
  padding-top: 86px;
  background: #03040b;
  overflow: hidden;
}

.static-hero-btn {
  position: absolute;
  bottom: 8%;
  left: 8%;
  z-index: 10;
  box-shadow: 0 16px 40px rgba(214, 172, 255, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.static-hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(214, 172, 255, 0.5);
}

.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
}

.hero-showcase {
  position: relative;
  z-index: 2;
  align-self: center;
}

.hero-slideshow-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 568;
  overflow: hidden;
  background: #03040b;
}

.hero-carousel {
  display: flex;
  width: 400%;
  height: 100%;
  animation: slideCarousel 21s infinite cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-group {
  position: relative;
  width: 25%;
  height: 100%;
}

.step-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  will-change: opacity;
}

.step-img.step-1 { animation: flashStep1 7s infinite; }
.step-img.step-2 { animation: flashStep2 7s infinite; }
.step-img.step-3 { animation: flashStep3 7s infinite; }

.hero-shade {
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 4, 11, 0.86) 0%, rgba(3, 4, 11, 0.42) 38%, transparent 70%),
    linear-gradient(180deg, rgba(3, 4, 11, 0.08), rgba(3, 4, 11, 0.64));
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(520px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: #c795ff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.95;
}

h1 {
  max-width: 460px;
  font-size: clamp(3.75rem, 7vw, 5.8rem);
}

h1 span,
.platform-copy h2,
.stats span {
  background: linear-gradient(135deg, #fff 10%, #d9b7ff 44%, #ff7fda 72%, #a992ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes slideCarousel {
  0%, 28.57% { transform: translateX(0%); }
  33.33%, 61.90% { transform: translateX(-25%); }
  66.66%, 95.23% { transform: translateX(-50%); }
  100% { transform: translateX(-75%); }
}

@keyframes flashStep1 {
  0%, 28.56% { opacity: 1; }
  28.57%, 100% { opacity: 0; }
}

@keyframes flashStep2 {
  0%, 28.56% { opacity: 0; }
  28.57%, 57.13% { opacity: 1; }
  57.14%, 100% { opacity: 0; }
}

@keyframes flashStep3 {
  0%, 57.13% { opacity: 0; }
  57.14%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel, .step-img {
    animation: none;
  }

  .step-img.step-1 {
    opacity: 1;
  }
}

.hero-text,
.platform-copy > p,
.feature-card p,
.final-cta p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  width: min(430px, 100%);
  margin: 24px 0 30px;
  font-size: 1.02rem;
}

.hero-actions {
  gap: 16px;
  flex-wrap: wrap;
}

.primary-btn {
  padding: 0 26px;
  color: #120b1f;
  background: linear-gradient(135deg, #ff8fe4, #b58bff 58%, #8da9ff);
  box-shadow: 0 12px 38px rgba(173, 88, 255, 0.42);
}

.ghost-btn {
  padding: 0 22px;
  border: 1px solid rgba(205, 173, 255, 0.18);
  background: rgba(16, 17, 31, 0.58);
}

.social-proof {
  gap: 14px;
  margin-top: 30px;
  font-size: 0.88rem;
  color: #ede8f8;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border: 2px solid #171123;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe0ca, #d486ff 55%, #4a3d74);
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.feature-grid,
.platform,
.stats,
.trusted,
.final-cta {
  width: min(1380px, calc(100% - 8vw));
  margin-inline: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 60px;
  scroll-margin-top: 120px;
  position: relative;
  z-index: 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 6, 15, 0.94);
  box-shadow: 0 26px 90px rgba(90, 33, 150, 0.34);
  backdrop-filter: blur(18px);
}

.feature-card {
  min-height: clamp(420px, 40vw, 560px);
  position: relative;
  overflow: hidden;
  border-right: 4px solid rgba(255, 255, 255, 0.9);
  background-image: var(--feature-image);
  background-size: cover;
  background-position: center top;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.feature-card:last-child {
  border-right: 0;
}

.clone-mobile {
  display: none;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 4, 11, 0.08), rgba(3, 4, 11, 0.22) 58%, rgba(3, 4, 11, 0.5)),
    radial-gradient(circle at 50% 12%, rgba(222, 127, 255, 0.16), transparent 10rem);
  transition: opacity 180ms ease;
}

.feature-card:hover::before {
  opacity: 0.72;
}

.feature-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 28px 28px;
}

.feature-btn {
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 172, 255, 0.28);
  border-radius: 30px;
  color: #f1c2ff;
  background: rgba(8, 8, 18, 0.76);
  box-shadow: 0 0 26px rgba(185, 108, 255, 0.22), inset 0 0 20px rgba(185, 108, 255, 0.14);
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-link:hover .feature-btn,
.feature-link:focus-visible .feature-btn {
  transform: translateY(-2px);
  border-color: rgba(241, 194, 255, 0.62);
  background: rgba(48, 26, 77, 0.9);
}

.feature-beauty {
  --feature-image: url("new_photo/middle_card/beauty_card.png");
}

.feature-jewellery {
  --feature-image: url("new_photo/middle_card/jewellry_card.png");
}

.feature-scan {
  --feature-image: url("new_photo/middle_card/Scan_card.png");
}

.feature-closet {
  --feature-image: url("new_photo/middle_card/closet_card.png");
}

.platform {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
  padding: 82px 0 58px;
}

.platform-copy h2 {
  max-width: 440px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

.platform-copy > p {
  max-width: 520px;
  margin: 24px 0 30px;
}

.benefits {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefits li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 16px;
  align-items: center;
}

.benefits span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #f1b4ff;
  background: rgba(168, 86, 255, 0.14);
  border: 1px solid rgba(205, 173, 255, 0.16);
}

.benefits strong {
  color: #e9c6ff;
}

.benefits small {
  color: var(--muted);
  line-height: 1.55;
}

.showcase-single {
  display: block;
}

.showcase-single img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0a13;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 21, 39, 0.92), rgba(30, 20, 45, 0.78));
  box-shadow: var(--shadow);
}

.stats div {
  padding: 34px 28px;
  text-align: center;
  border-right: 1px solid rgba(205, 173, 255, 0.12);
}

.stats div:last-child {
  border-right: 0;
}

.stats span {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 700;
}

.stats p,
.trusted p {
  margin: 8px 0 0;
  color: var(--muted);
}

.trusted {
  padding: 54px 0 34px;
  text-align: center;
}

.trusted p {
  margin: 0 0 24px;
  color: #928aa1;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.logos-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  flex-shrink: 0;
  width: max-content;
}

.logos span {
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.final-cta {
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(105deg, rgba(22, 19, 38, 0.95), rgba(83, 26, 87, 0.58), rgba(61, 45, 111, 0.75));
  box-shadow: var(--shadow);
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.final-cta p {
  margin: 10px 0 0;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 18, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 16px;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-top: none;
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }



  .feature-grid,
  .platform,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform {
    align-items: start;
  }

  .showcase-single {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    inset: 12px 14px auto;
    padding: 12px;
  }

  .brand span.brand-text {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero-slideshow-viewport {
    height: auto;
    aspect-ratio: 1024 / 568;
  }

  .static-hero-btn {
    bottom: 12px;
    left: 12px;
    padding: 8px 16px;
    font-size: 0.8rem;
    min-height: auto;
    border-radius: 6px;
  }


  .platform,
  .stats,
  .showcase-single {
    grid-template-columns: 1fr;
  }

  .platform,
  .stats,
  .trusted,
  .final-cta {
    width: calc(100% - 32px);
  }

  .feature-grid {
    display: flex;
    overflow-x: auto;
    gap: 0;
    padding: 12px 0;
    margin-top: 32px;
    border-radius: 12px;
    width: 100%;
    /* Hide scrollbar for cleaner look */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .feature-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    flex: 0 0 75vw;
    margin-right: 16px;
    border-right: none;
    border-bottom: none;
    border-radius: 8px;
  }

  .clone-mobile {
    display: block !important;
  }

  .feature-card:last-child {
    border-bottom: none;
  }

  .platform {
    padding-top: 56px;
  }

  .showcase-single img {
    aspect-ratio: auto;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(205, 173, 255, 0.12);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .final-cta {
    flex-wrap: wrap;
    justify-content: center;
  }

  .final-cta {
    text-align: center;
  }
}
