/* ================== RESET & BASE ================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0c0c0c;
  --bg-alt: #111111;
  --cream: #f5f0e8;
  --cream-dim: rgba(245, 240, 232, 0.6);
  --neon: #39ff14;
  --neon-dim: rgba(57, 255, 20, 0.15);
  --gray: #2a2a2a;
  --gray-light: #444444;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

@media (hover: hover) and (pointer: fine) {
  body, a, button, .showcase-visual, .hero-image-wrap, .quick-view-btn, .modal-add, .hero-cta {
    cursor: none;
  }
}

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

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

ul {
  list-style: none;
}

/* ================== NOISE OVERLAY ================== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ================== PRELOADER ================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: all;
}

.loader-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--bg);
  z-index: 1;
}

.loader-half.top-half {
  top: 0;
}

.loader-half.bottom-half {
  bottom: 0;
}

.loader-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.loader-rabbit {
  width: 72px;
  height: 72px;
  animation: loader-breathe 1.2s ease-in-out infinite alternate;
}

@keyframes loader-breathe {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

.loader-count {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1;
}

.percent-sign {
  color: var(--cream-dim);
}

/* ================== NAVIGATION ================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5000;
  padding: 20px 0;
  transition: background var(--transition);
}

#navbar.scrolled {
  background: rgba(12, 12, 12, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cream);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--neon);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
}

/* ================== HERO ================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cream);
  will-change: transform;
}

.hero-title .char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--neon);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--cream-dim);
  max-width: 420px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 14px 32px;
  border: 1.5px solid var(--gray-light);
  border-radius: 50px;
  transition: all var(--transition);
  width: fit-content;
}

.hero-cta:hover {
  border-color: var(--neon);
  background: var(--neon-dim);
  color: var(--neon);
}

.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero-cap {
  width: 85%;
  max-width: 520px;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 0px rgba(57, 255, 20, 0));
  transform-style: preserve-3d;
  will-change: transform, filter;
  position: relative;
  z-index: 2;
  transition: filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image-wrap:hover .hero-cap {
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(57, 255, 20, 0.6));
}

.hero-image-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 240, 232, 0.08) 0%, rgba(57, 255, 20, 0.04) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0.5;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cream-dim), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ================== SHOWCASE ================== */
#showcase {
  padding: 120px 40px 160px;
  max-width: 1440px;
  margin: 0 auto;
}

.showcase-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--cream-dim);
  font-weight: 300;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.showcase-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  cursor: pointer;
}

.showcase-visual {
  position: relative;
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition);
  will-change: transform, opacity;
}

.showcase-visual:hover {
  border-color: rgba(57, 255, 20, 0.15);
}

.showcase-cap {
  width: 80%;
  max-width: 380px;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 0px rgba(57, 255, 20, 0));
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, filter;
}

.showcase-item:hover .showcase-cap {
  transform: scale(1.06);
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 25px rgba(57, 255, 20, 0.6));
}

.quick-view-btn {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 10px 24px;
  background: rgba(12, 12, 12, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 50px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.showcase-item:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.showcase-visual:hover .quick-view-btn {
  pointer-events: auto;
}

.showcase-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.showcase-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.showcase-price {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream-dim);
}

/* ================== FEATURES ================== */
#features {
  padding: 120px 40px 100px;
  max-width: 1440px;
  margin: 0 auto;
}

.features-sticky {
  position: relative;
}

.features-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
}

.features-label-wrap {
  position: sticky;
  top: 120px;
  align-self: start;
}

.features-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  opacity: 0.4;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 32px;
  will-change: transform, opacity;
}

.feature-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-light);
  line-height: 1.3;
}

.feature-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 10px;
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 500px;
  font-weight: 300;
}

/* ================== FOOTER ================== */
#footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.footer-marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-marquee {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.footer-marquee span {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  opacity: 0.08;
  margin-right: 28px;
  flex-shrink: 0;
}

.footer-body {
  padding: 60px 40px 40px;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--cream-dim);
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
  padding: 8px 16px;
  border: 1px solid var(--gray);
  border-radius: 50px;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--neon);
  color: var(--neon);
  background: var(--neon-dim);
}

.footer-legal p {
  font-size: 0.75rem;
  color: var(--gray-light);
  font-weight: 300;
}

/* ================== MODAL ================== */
#modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

#modal-overlay.active {
  display: flex;
}

#modal {
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: background var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}

.modal-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: var(--bg-alt);
  border-radius: 24px 0 0 0;
}

.modal-image {
  width: 90%;
  max-width: 320px;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

.modal-details {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-collection {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  font-weight: 500;
}

.modal-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.modal-price {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 4px;
}

.modal-size {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.size-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  font-weight: 500;
}

.size-value {
  font-size: 0.95rem;
  color: var(--cream);
}

.modal-add {
  margin-top: 20px;
  padding: 18px 32px;
  border: none;
  border-radius: 50px;
  background: var(--cream);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}

.modal-add:hover {
  background: var(--neon);
}

.modal-add.added {
  background: #1a8a1a;
  color: white;
  pointer-events: none;
}

/* ================== SCROLLBAR ================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gray);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-light);
}

/* ================== CUSTOM CURSOR ================== */
#cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

#cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(57, 255, 20, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.15), inset 0 0 12px rgba(57, 255, 20, 0.05);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform, width, height;
}

#cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(57, 255, 20, 0.8);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.3), inset 0 0 20px rgba(57, 255, 20, 0.1);
}

/* ================== TILT SHINE ================== */
.tilt-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.showcase-visual:hover .tilt-shine,
.hero-image-wrap:hover .tilt-shine {
  opacity: 1;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    align-items: center;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-cta {
    margin: 12px auto 0;
  }

  .hero-cap {
    width: 60%;
  }

  .features-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-label {
    writing-mode: horizontal-tb;
    text-orientation: initial;
  }

  .features-label-wrap {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    padding: 0 24px;
  }

  #hero {
    padding: 100px 24px 60px;
  }

  .hero-cap {
    width: 70%;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  #showcase {
    padding: 80px 24px 100px;
  }

  .showcase-header {
    margin-bottom: 48px;
  }

  .showcase-cap {
    width: 65%;
  }

  #features {
    padding: 80px 24px;
  }

  .features-list {
    gap: 48px;
  }

  .feature-item {
    grid-template-columns: 32px 1fr;
    gap: 20px;
  }

  .feature-content h3 {
    font-size: 1.3rem;
  }

  .footer-body {
    padding: 40px 24px 32px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-marquee span {
    font-size: 2rem;
  }

  .modal-inner {
    grid-template-columns: 1fr;
  }

  .modal-image-wrap {
    border-radius: 24px 24px 0 0;
    padding: 40px 24px;
  }

  .modal-image {
    width: 60%;
  }

  .modal-details {
    padding: 32px 24px;
  }

  .loader-count {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-cap {
    width: 80%;
  }

  .section-label {
    font-size: 1.6rem;
  }

  .showcase-cap {
    width: 75%;
  }

  .showcase-name {
    font-size: 1rem;
  }

  .quick-view-btn {
    font-size: 0.7rem;
    padding: 8px 18px;
  }

  .modal-name {
    font-size: 1.5rem;
  }
}
