/* ============================================================
   KANDI BAGS — DARK MAXIMALIST
   Design System: Dark ink + Gold
   Fonts: Cormorant Garamond (serif), Space Grotesk (sans)
   Archetype: OPPOSITE of kandi-simple (Editorial Luxury)
   ============================================================ */

:root {
  --black: #060606;
  --ink: #0d0d0d;
  --surface: #111111;
  --border: rgba(255,255,255,0.06);
  --border-gold: rgba(201,168,76,0.4);
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --white: #f8f8f8;
  --muted: rgba(248,248,248,0.45);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  overflow-x: hidden;
}

body.page-loaded {
  opacity: 1;
}

body.page-exiting {
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

/* ---- Image Loading ---- */
.img-loading {
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.img-loaded {
  opacity: 1;
}

/* ---- Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   1. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6,6,6,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.nav.scrolled {
  border-bottom-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 20px rgba(201,168,76,0.06);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: var(--gold);
}

.nav-tagline {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--white);
}

.nav-icon {
  display: flex;
  align-items: center;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav-cart:hover {
  color: var(--white);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s var(--ease);
}

.cart-badge.active {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  background: var(--black);
  min-height: 100vh;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  min-height: calc(100vh - 72px);
  position: relative;
}

.hero-text {
  padding: clamp(40px, 8vh, 100px) clamp(20px, 4vw, 60px);
  padding-left: clamp(60px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-vertical-label {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 32px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  aspect-ratio: 3/4;
}

.hero-image-gradient {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(to right, var(--black) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.btn-gold-outline {
  padding: 14px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-ghost {
  color: var(--muted);
  padding: 14px 0;
  border: none;
  background: transparent;
}

.btn-ghost:hover {
  color: var(--white);
}

.btn-ghost .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

/* ============================================================
   3. STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gold);
  opacity: 0.3;
  flex-shrink: 0;
}

/* ============================================================
   4. PRODUCTS GRID
   ============================================================ */
.products-section {
  background: var(--ink);
  padding: clamp(60px, 10vh, 120px) clamp(20px, 4vw, 60px);
}

.products-header {
  max-width: 1400px;
  margin: 0 auto 48px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 8px;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

.products-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.product-card {
  background: var(--black);
  border: 1px solid rgba(201,168,76,0.25);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
  transition-delay: calc(var(--index, 0) * 60ms);
}

.product-card.visible {
  opacity: 1;
  transform: none;
}

.product-card:hover {
  border-color: rgba(201,168,76,0.7);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.08);
}

.product-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a1a1a;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(6,6,6,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s var(--ease);
  z-index: 2;
}

.product-card:hover .wishlist-btn {
  opacity: 1;
  transform: scale(1);
}

.wishlist-btn:hover {
  color: var(--gold);
}

.wishlist-btn.active {
  color: var(--gold);
}

.wishlist-btn.active svg {
  fill: var(--gold);
}

.product-info {
  padding: 16px 18px 20px;
}

.product-brand {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
}

.product-price-was {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: line-through;
}

.product-inquire {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.3s ease;
}

.product-inquire:hover {
  color: var(--gold);
}

/* ============================================================
   5. FEATURED DROP
   ============================================================ */
.featured-drop {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: clamp(60px, 10vh, 120px) clamp(20px, 4vw, 60px);
}

.featured-drop-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.featured-drop-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 40px;
}

.featured-drop-content {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured-drop-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.featured-drop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-drop-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-drop-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}

.featured-drop-detail {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.featured-drop-price {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--gold);
}

.featured-drop-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 6px 16px;
}

/* ============================================================
   6. ABOUT
   ============================================================ */
.about-section {
  background: var(--ink);
  overflow: hidden;
}

.about-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  min-height: 600px;
}

.about-text {
  padding: clamp(60px, 10vh, 120px) clamp(20px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
}

.about-quote {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-bottom: 24px;
}

.about-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gold-light);
}

.about-body {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-body:last-of-type {
  margin-bottom: 32px;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

/* ============================================================
   7. INSTAGRAM CTA
   ============================================================ */
.instagram-cta {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 14vh, 160px) clamp(20px, 4vw, 60px);
}

.instagram-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.instagram-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.instagram-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.instagram-headline em {
  font-style: italic;
  color: var(--gold);
}

.instagram-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 60px clamp(20px, 4vw, 60px) 0;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s ease;
}

.footer-logo:hover {
  color: var(--gold);
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  color: var(--muted);
  transition: color 0.3s ease;
  display: flex;
}

.footer-socials a:hover {
  color: var(--gold);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
}

.cyberient-credit {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(248,248,248,0.5);
}

.credit-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
}

.cyberient-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(248,248,248,0.5);
  transition: color 0.3s ease;
}

.cyberient-link:hover {
  color: var(--gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    opacity: 0.3;
  }

  .hero-image-gradient {
    width: 60%;
  }

  .hero-vertical-label {
    display: none;
  }

  .hero-text {
    padding-left: clamp(20px, 4vw, 60px);
  }

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

  .featured-drop-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-drop-image {
    max-width: 400px;
  }

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

  .about-image {
    height: 400px;
    order: -1;
  }

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

/* Mobile */
@media (max-width: 640px) {
  .nav-inner {
    height: 60px;
  }

  .nav-tagline {
    display: none;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-link:not(.nav-icon) {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-headline {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .hero-image {
    width: 100%;
    opacity: 0.15;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-inner {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 0 0 calc(50% - 10px);
  }

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

  .featured-drop-headline {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
