/* ==========================================================================
   NEXORA-INSPIRED LUXURY EDITORIAL HERO & INTERACTIVE SHOWCASE
   Framed Hero Container, Floating Glass Widgets, Social Proof Stack
   ========================================================================== */

.hero-editorial-wrapper {
  padding: 1.5rem var(--fluid-gutter) 2.5rem;
}

.hero-editorial-frame {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 70%, #6366f1 100%);
  border-radius: 28px;
  overflow: hidden;
  padding: 3.5rem 3.5rem 2.5rem;
  color: #ffffff;
  box-shadow: 0 20px 60px rgba(49, 46, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: center;
  min-height: 580px;
}

[data-theme="light"] .hero-editorial-frame {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 35%, #c4b5fd 70%, #a78bfa 100%);
  color: #1e1b4b;
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Background Soft Graphic Elements */
.hero-editorial-frame::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

/* Big Display Headers Inside Frame */
.hero-big-text-top {
  position: absolute;
  top: 1.5rem;
  left: 3.5rem;
  right: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  pointer-events: none;
  z-index: 1;
}

.hero-big-title-left {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.hero-big-title-left span {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

[data-theme="light"] .hero-big-title-left {
  color: #1e1b4b;
}

.hero-big-title-right {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-star-icon {
  width: 28px;
  height: 28px;
  fill: #a78bfa;
}

[data-theme="light"] .hero-big-title-right {
  color: #1e1b4b;
}

/* Left Hero Content Widget */
.hero-col-left {
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 340px;
  margin-top: 4rem;
}

.hero-collection-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0e7ff;
}

[data-theme="light"] .hero-collection-tag {
  color: #4338ca;
}

.hero-col-left h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-col-left p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.88;
}

.hero-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #090d16;
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all var(--transition-normal);
  width: fit-content;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.hero-explore-btn:hover {
  background: #ffffff;
  color: #090d16;
  transform: translateX(4px);
}

[data-theme="light"] .hero-explore-btn {
  background: #1e1b4b;
  color: #ffffff;
}

[data-theme="light"] .hero-explore-btn:hover {
  background: #090d16;
  color: #ffffff;
}

/* Social Proof Stack Pill */
.hero-social-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

[data-theme="light"] .hero-social-proof-pill {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-item {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -8px;
}

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

.social-proof-text {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
}

/* Center Hero Model */
.hero-col-center {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: safe center;
  height: 100%;
}

.hero-model-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-model-img {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}

.hero-model-container:hover .hero-model-img {
  transform: scale(1.03);
}

/* Lookbook Model Switcher Pills */
.hero-lookbook-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  z-index: 10;
}

.lookbook-dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lookbook-dot-btn.active {
  width: 22px;
  border-radius: var(--radius-full);
  background: #ffffff;
}

/* Right Hero Content & Featured Card Widget */
.hero-col-right {
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.75rem;
  margin-top: 4rem;
}

.hero-features-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.hero-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

[data-theme="light"] .hero-feature-icon {
  background: rgba(255, 255, 255, 0.85);
  color: #4338ca;
}

.hero-feature-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* Floating Featured Look Card */
.hero-featured-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 1.15rem;
  width: 210px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.hero-featured-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .hero-featured-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(139, 92, 246, 0.15);
}

.featured-card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.featured-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.featured-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card-title {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
}

.featured-card-sub {
  font-size: 0.72rem;
  opacity: 0.75;
}

.featured-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #a855f7;
  color: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  transition: all var(--transition-fast);
}

.featured-card-btn:hover {
  background: #9333ea;
}

/* ==========================================================================
   CIRCULAR STORY CATEGORY AVATARS (Inspired by Reference 2 & 3)
   ========================================================================== */
.story-categories-section {
  padding: 0.5rem var(--fluid-gutter) 0.5rem;
}

.story-categories-scroll {
  display: flex;
  align-items: center;
  justify-content: safe center;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.5rem 2.5rem;
}
@media (max-width: 768px) {
  .story-categories-scroll {
    justify-content: flex-start;
    padding: 0.5rem 1rem;
  }
}

.story-categories-scroll::-webkit-scrollbar {
  display: none;
}

.story-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.story-avatar-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
}

.story-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-card);
}

.story-category-item:hover .story-avatar-circle {
  transform: translateY(-2px);
  background: var(--accent-blue);
}

.story-category-item.active .story-avatar-circle {
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
  transform: scale(1.06);
}

.story-category-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.story-category-item.active .story-category-name {
  color: var(--text-primary);
  font-weight: 800;
}

/* ==========================================================================
   MOBILE FLOATING DOCK (Inspired by Reference 2 & 3)
   ========================================================================== */
/* ==========================================================================
   MOBILE FLOATING DOCK (High-Contrast Theme Inverting Dock)
   ========================================================================== */
.mobile-floating-dock {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  will-change: transform;
  z-index: 9999;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  
  /* DARK THEME: Solid White floating dock bar for maximum contrast against dark background */
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  padding: 0.3rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  
  /* 4 Equal Grid Columns for identical spacing */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
  align-items: center;
  width: calc(100% - 1.5rem);
  max-width: 380px;
}

/* Inactive button style (Dark Theme / White Bar) */
.dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.55rem 0.25rem;
  border-radius: var(--radius-full);
  color: #64748b;
  font-family: var(--font-pill);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.dock-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
}

.dock-btn:hover {
  color: #0f172a;
}

/* Active Selected Item (Dark Theme: Pure Black Pill with White text) */
.dock-btn.active {
  background: #090d16;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-weight: 800;
}

.dock-btn.active svg {
  stroke: #ffffff;
}

/* LIGHT THEME: Solid Pure Black floating dock bar for maximum contrast against white page */
[data-theme="light"] .mobile-floating-dock {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
}

[data-theme="light"] .dock-btn {
  color: #94a3b8;
}

[data-theme="light"] .dock-btn:hover {
  color: #f8fafc;
}

/* Active Selected Item (Light Theme: Pure White Pill with Black text) */
[data-theme="light"] .dock-btn.active {
  background: #ffffff;
  color: #090d16;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: 800;
}

[data-theme="light"] .dock-btn.active svg {
  stroke: #090d16;
}

.dock-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dock-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 900;
  padding: 0.05rem 0.24rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  line-height: 1;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR HERO
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-editorial-frame {
    grid-template-columns: 1fr;
    padding: 2.5rem 2rem 2rem;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-big-text-top {
    position: static;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .hero-col-left {
    max-width: 100%;
    margin-top: 0;
    align-items: center;
  }
  .hero-col-center {
    order: 2;
  }
  .hero-model-container {
    height: 420px;
  }
  .hero-col-right {
    order: 3;
    margin-top: 0;
    align-items: center;
  }
  .hero-featured-card {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .mobile-floating-dock {
    display: flex;
  }
  .hero-editorial-wrapper {
    padding: 1rem 1rem 1.5rem;
  }
  .hero-editorial-frame {
    border-radius: 20px;
    padding: 2rem 1.25rem 1.75rem;
  }
  .hero-model-container {
    height: 340px;
  }
  .story-avatar-circle {
    width: 56px;
    height: 56px;
  }
  .story-category-name {
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  .story-avatar-circle {
    width: 48px;
    height: 48px;
    padding: 2px;
  }
  .story-category-name {
    font-size: 0.7rem;
  }
  .story-categories-section {
    padding: 0.5rem 0 0.25rem;
  }
}
