/* Page-Specific Styles: Hero, Product Details, About, Quality */

/* Section Spacing */
.section {
  padding: 80px 0;
  position: relative;
}

.section-darker {
  background-color: #080A0E;
}

.section-surface {
  background-color: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-tag {
  color: var(--accent-gold);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Homepage Hero & Interactive Slider */
.hero-section {
  position: relative;
  padding: 60px 0 110px;
  background: radial-gradient(ellipse at 80% 20%, rgba(255, 184, 0, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(0, 229, 255, 0.04) 0%, transparent 50%),
              var(--bg-main);
  overflow: hidden;
  min-height: 700px;
}

.hero-slider-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  min-height: 540px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.55s;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-headline span {
  color: var(--accent-gold);
  display: block;
}

.hero-description {
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-item h3 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  font-family: var(--font-family-display);
}

.hero-stat-item h3 span {
  color: var(--accent-gold);
}

.hero-stat-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Hero Visual & Ambient Glows */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-tub-link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-normal);
}

.hero-tub-link:hover {
  transform: scale(1.03) translateY(-4px);
}

.hero-visual-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 1;
  transition: background 0.6s ease, transform 0.6s ease;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

.glow-gold {
  background: radial-gradient(circle, rgba(255, 184, 0, 0.28) 0%, transparent 70%);
}

.glow-cyan {
  background: radial-gradient(circle, rgba(0, 229, 255, 0.24) 0%, transparent 70%);
}

.glow-emerald {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.24) 0%, transparent 70%);
}

.glow-orange {
  background: radial-gradient(circle, rgba(255, 90, 31, 0.28) 0%, transparent 70%);
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 1; }
}

.hero-visual img {
  position: relative;
  z-index: 2;
  max-height: 480px;
  width: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.85));
  animation: floatTub 4.5s ease-in-out infinite;
}

@keyframes floatTub {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Floating Interactive Pills */
.hero-floating-pill {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 23, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  white-space: nowrap;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pill-top-right {
  top: 10%;
  right: -5%;
  animation: floatPillA 4.8s ease-in-out infinite;
}

.pill-bottom-left {
  bottom: 12%;
  left: -5%;
  animation: floatPillB 4.8s ease-in-out infinite 0.6s;
}

@keyframes floatPillA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes floatPillB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(8px) rotate(-1deg); }
}

/* Hero Slider Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(18, 23, 34, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.hero-slider-arrow svg {
  width: 22px;
  height: 22px;
}

.hero-slider-arrow.prev {
  left: 20px;
}

.hero-slider-arrow.next {
  right: 20px;
}

.hero-slider-arrow:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0B0E14;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.4);
}

/* Bottom Thumbnail Switcher Bar */
.hero-slider-nav {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  z-index: 10;
}

.slider-thumbnails-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.slider-nav-item {
  background: rgba(18, 23, 34, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}

.nav-item-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.nav-item-progress .progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent-gold);
  transition: width 0.1s linear;
}

.slider-nav-item.active .nav-item-progress .progress-fill {
  background: var(--accent-gold);
}

.slider-nav-item:hover {
  background: rgba(24, 32, 47, 0.95);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.slider-nav-item.active {
  background: #18202F;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.nav-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item-content img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-item-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nav-item-title {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider-nav-item.active .nav-item-title {
  color: var(--accent-gold);
}

.nav-item-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 992px) {
  .hero-section {
    padding: 40px 0 100px;
    min-height: auto;
  }

  .hero-slides-wrapper {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-height: 320px;
  }

  .hero-visual-glow {
    width: 280px;
    height: 280px;
  }

  .pill-top-right {
    top: 5%;
    right: 5%;
  }

  .pill-bottom-left {
    bottom: 5%;
    left: 5%;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-slider-arrow {
    display: none;
  }

  .slider-thumbnails-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .slider-nav-item {
    padding: 8px 10px;
  }

  .nav-item-content img {
    width: 30px;
    height: 30px;
  }

  .nav-item-title {
    font-size: 0.75rem;
  }

  .nav-item-sub {
    font-size: 0.625rem;
  }

  .hero-floating-pill {
    padding: 6px 10px;
    font-size: 0.6875rem;
  }
}

/* Category Quick Jump Strip */
.category-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

@media (max-width: 992px) {
  .category-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .category-strip {
    grid-template-columns: 1fr;
  }
}

.category-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}

.category-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.category-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Science & Quality Pillar Section */
.quality-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .quality-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

.quality-spotlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast);
}

.quality-spotlight-card:hover {
  border-color: var(--border-gold);
}

.quality-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.quality-spotlight-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.quality-spotlight-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* =========================================
   Product Detail Page Architecture
   ========================================= */
.product-detail-hero {
  padding: 40px 0 60px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

/* Product Gallery — sticky on desktop so it stays visible while right content scrolls */
.product-gallery {
  position: sticky;
  top: 100px;
}

/* On mobile the layout is single-column (gallery on top, info below).
   Sticky here causes the gallery to remain fixed while the product info
   scrolls behind/underneath it — disable it so both sections flow normally. */
@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-gallery {
    position: static;
    top: auto;
  }
}

.gallery-main-view {
  background: radial-gradient(circle at center, #1B2333 0%, #10141D 80%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.gallery-main-view img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gallery-main-view:hover img {
  transform: scale(1.04);
}

.gallery-thumbnails {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.gallery-thumb-btn {
  flex: 1;
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.gallery-thumb-btn img {
  max-height: 70%;
  width: auto;
  object-fit: contain;
}

.gallery-thumb-btn span {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gallery-thumb-btn.active, .gallery-thumb-btn:hover {
  border-color: var(--accent-gold);
  background: var(--bg-surface-elevated);
}

.gallery-thumb-btn.active span {
  color: var(--accent-gold);
}

/* Product Detail Info Column */
.product-info-col {
  display: flex;
  flex-direction: column;
}

.product-info-header {
  margin-bottom: 24px;
}

.product-detail-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 12px 0 10px;
}

.product-detail-tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Big Macro Highlights Bar */
.detail-macro-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 576px) {
  .detail-macro-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}

.detail-macro-stat h3 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-primary);
  font-family: var(--font-family-display);
}

.detail-macro-stat h3 span {
  color: var(--accent-gold);
}

.detail-macro-stat p {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Product Variant / Attribute Indicators */
.variant-spec-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.variant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.variant-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.variant-label {
  color: var(--text-muted);
  font-weight: 600;
}

.variant-value {
  color: var(--text-primary);
  font-weight: 700;
}

/* Detail Bullet Highlights */
.product-highlights-list {
  margin-bottom: 32px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.highlight-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Deep Product Tabs / Information Modules */
.product-tabs-wrapper {
  margin-top: 60px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 60px;
}

.tabs-nav {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-btn {
  padding: 14px 24px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Brand Story Page (About Us) */
.story-lead {
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 48px 0;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
}

.value-card h3 {
  color: var(--accent-gold);
  font-size: 1.25rem;
  margin-bottom: 12px;
}
