:root {
  /* Backgrounds */
  --bg-void:       #FAF9F6;   /* Warm alabaster cream */
  --bg-surface:    #FFFFFF;   /* Pure white */
  --bg-card:       #F5F3EF;   /* Soft cream/beige for cards */
  --bg-glass:      rgba(250, 249, 246, 0.82); /* Light glass */

  /* Brand Accents */
  --teal-primary:  #079490;   /* Deep electric teal — high contrast for text */
  --teal-bright:   #0BCEC8;   /* Electric teal-cyan — for glows, highlights, borders */
  --teal-dim:      #05706d;   /* Dimmed teal for secondary elements */
  --teal-glow:     rgba(11, 206, 200, 0.08); /* Soft teal ambient glow */
  --teal-glow-strong: rgba(11, 206, 200, 0.24);

  /* Wood warmth — from the product */
  --wood-light:    #D4B896;   /* Natural maple highlight */
  --wood-mid:      #A07850;   /* Mid-tone wood */

  /* Typography */
  --text-dark:     #1E1E1E;   /* Dark charcoal for high contrast */
  --text-muted:    #5A6161;   /* Muted grey/brown */
  --text-subtle:   #8C9292;

  /* Borders */
  --border-subtle: rgba(7, 148, 144, 0.08);
  --border-mid:    rgba(7, 148, 144, 0.22);

  /* Typography scale */
  --font-display: 'Bebas Neue', sans-serif;  /* All oversized headings */
  --font-body:    'DM Sans', sans-serif;     /* Body, nav, labels */

  /* Spacing */
  --section-pad: clamp(80px, 12vw, 160px);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* Managed by Lenis */
  background-color: var(--bg-void);
  color: var(--text-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-void);
  overflow-x: hidden;
  position: relative;
}

/* Prevent FOUC and layout jumps on initial load */
#navbar, .hero-content, .product-img, .hero-bg-logo-wrap, .scroll-indicator {
  visibility: visible;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
  background: var(--border-mid);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--teal-primary);
}

/* Hide Default Cursor on hover devices */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, .gallery-card, .btn-primary, .btn-outline, .btn-back-to-top {
    cursor: none;
  }
}

/* Custom Cursor Elements */
#cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--teal-primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  /* Removed transition: transform to avoid conflicts with real-time JS mousemove updates */
}

/* Cursor ring removed */

/* Loader Screen */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.loader-logo-wrapper {
  width: 40%;
  max-width: 400px;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-logo {
  width: 100%;
  height: auto;
  filter: invert(0.9) hue-rotate(180deg) drop-shadow(0 0 30px rgba(11, 206, 200, 0.35));
}

/* Buttons */
.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 40px; /* Rounded pill style from reference UI */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--teal-primary);
  color: var(--bg-surface);
  border: 1px solid var(--teal-primary);
}

.btn-primary:hover {
  transform: scale(1.04);
  background: var(--teal-dim);
  box-shadow: 0 8px 20px rgba(7, 148, 144, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(7, 148, 144, 0.4); /* Premium high-contrast teal-border */
}

.btn-outline:hover {
  background: var(--teal-primary);
  color: var(--bg-surface);
  border-color: var(--teal-primary);
  box-shadow: 0 8px 20px rgba(7, 148, 144, 0.15);
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 999;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}

#navbar.nav-scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}

.nav-logo {
  height: 32px;
  width: auto;
  filter: brightness(0.1); /* Changes teal/black logo icon to stand out cleanly on light nav */
}

.nav-scrolled .nav-logo {
  filter: none; /* Shows brand teal icon on scroll glass */
}

.nav-wordmark {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.3em;
  font-size: 16px;
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--teal-primary);
  transition: width 0.3s ease;
}

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

.nav-cta .btn-outline {
  padding: 10px 24px;
  font-size: 12px;
}

/* Sections */
section {
  position: relative;
  width: 100%;
}

/* §A: Hero Section (Split Layout) */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px 140px;
  overflow: hidden;
  background-color: var(--bg-void);
  position: relative;
}

/* Ambient glow orbs */
.hero-glow-orb-1,
.hero-glow-orb-2 {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

.hero-glow-orb-1 {
  width: 50vw;
  height: 50vw;
  top: -10%;
  left: -10%;
  opacity: 0.5;
}

.hero-glow-orb-2 {
  width: 40vw;
  height: 40vw;
  bottom: 10%;
  right: -5%;
  opacity: 0.3;
}


/* Massive background logo watermark */
.hero-bg-logo-wrap {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  width: clamp(420px, 60vw, 900px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.045;
  filter: saturate(0) brightness(0.1);
  user-select: none;
  -webkit-user-drag: none;
}

/* Prominent hero brand logo in content column */
.hero-brand-logo {
  width: clamp(140px, 16vw, 220px);
  height: auto;
  object-fit: contain;
  margin-bottom: 8px;
  /* White bg on Logo.png blends away on cream hero background */
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 12px rgba(7, 148, 144, 0.15));
  will-change: transform, opacity;
}

/* Hero Grid Layout */
.hero-grid-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* Left Visual Column */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.product-glow-backdrop {
  position: absolute;
  width: clamp(320px, 42vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 206, 200, 0.15) 0%, rgba(250, 249, 246, 0) 70%);
  z-index: 1;
  pointer-events: none;
  animation: backdrop-pulse 8s ease-in-out infinite alternate;
}

@keyframes backdrop-pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes scroll-dot {
  0% { transform: translateY(-100%); }
  80% { transform: translateY(330%); }
  100% { transform: translateY(330%); }
}

@keyframes bounce-chevron {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 820px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scaleX(-1); /* Horizontally flips the product image */
  will-change: transform, opacity;
}

.product-img-float {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform;
}

.product-img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply; /* Blends white background of product.png natively on cream bg */
  filter: drop-shadow(0 0 40px rgba(11, 206, 200, 0.25))
          drop-shadow(0 0 100px rgba(11, 206, 200, 0.10));
  will-change: transform;
}

/* Right Content Column */
.hero-content-col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero-content {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--teal-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-title br {
  display: block;
}

.highlight-text {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--teal-primary); /* Highlighted brand teal word */
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-muted);
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-interactive-row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.price-badge {
  background: var(--bg-surface);
  border: 2px solid var(--text-dark);
  border-radius: 0px; /* brutalist square edge */
  padding: 10px 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  box-shadow: 4px 4px 0px var(--teal-primary); /* Electric teal offset shadow */
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.price-badge:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--teal-primary);
}

.price-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-subtle);
}

.price-amount {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 32px;
  color: var(--teal-primary);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

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

/* Curved Wave Divider */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-path {
  fill: var(--bg-surface); /* Flowing transition to white about section */
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-subtle);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.scroll-indicator:hover {
  color: var(--teal-primary);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border-subtle), var(--teal-primary));
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--teal-primary);
  animation: scroll-dot 2s ease-in-out infinite;
}

.scroll-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  animation: bounce-chevron 2s ease-in-out infinite;
}

.scroll-chevron-svg {
  width: 12px;
  height: 12px;
  stroke: var(--text-subtle);
  transition: stroke 0.3s;
}

.scroll-indicator:hover .scroll-chevron-svg {
  stroke: var(--teal-primary);
}

/* §B: Story / About Section */
#story {
  padding: var(--section-pad) 0 160px;
  background-color: var(--bg-surface); /* White section */
  position: relative;
}

.story-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10vw;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

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

.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--teal-primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.story-p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.story-divider {
  display: flex;
  align-items: center;
  margin: 40px 0;
  position: relative;
}

.story-divider::before, .story-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-subtle);
}

.divider-diamond {
  color: var(--teal-primary);
  padding: 0 16px;
  font-size: 12px;
}

.stats-row {
  display: flex;
  gap: 48px;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 32px;
  color: var(--teal-primary);
  letter-spacing: -0.01em;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.story-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.story-img-wrapper {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.story-img {
  width: 95%;
  height: auto;
  opacity: 1;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 30px rgba(7, 148, 144, 0.15))
          drop-shadow(0 0 60px rgba(7, 148, 144, 0.08));
  will-change: transform;
}

/* Wave Divider Bottom of Story */
.wave-divider-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.wave-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-path-2 {
  fill: var(--bg-void); /* Flowing back into cream gallery section */
}

/* §C: Product Gallery */
#gallery {
  padding: var(--section-pad) 0;
  background-color: var(--bg-void); /* Cream background */
  position: relative;
  overflow: hidden;
}

.gallery-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10vw;
  position: relative;
}

.gallery-header-bg {
  position: absolute;
  top: -20px;
  right: 10vw;
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 200px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(7, 148, 144, 0.05);
  letter-spacing: -0.02em;
  z-index: 0;
  pointer-events: none;
}

.gallery-header {
  position: relative;
  z-index: 1;
  margin-bottom: 60px;
}

.gallery-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* Gallery Carousel Styles */
.gallery-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 80px 0; /* Expanded padding to allow cards to go up and down without truncation */
  z-index: 1;
  cursor: grab;
  /* Fade out cards at the left and right edges */
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.gallery-carousel-wrapper:active {
  cursor: grabbing;
}

.gallery-carousel {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-slide {
  flex: 0 0 400px;
  height: 300px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

/* Alternate vertical offsets to make cards look like they come from up and down */
.gallery-slide:nth-child(odd) {
  transform: translateY(-25px);
}

.gallery-slide:nth-child(even) {
  transform: translateY(25px);
}

.gallery-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%) brightness(0.96);
  transition: filter 0.4s ease, transform 0.4s ease;
  will-change: transform, filter;
  pointer-events: none;
}

/* Overlay caption on hover */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(250, 249, 246, 0.95) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.card-caption {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-primary);
  font-weight: 600;
}

/* Hover Effects with individual offsets to maintain dynamic layout */
.gallery-slide:nth-child(odd):hover {
  transform: translateY(-35px) scale(1.02);
  border-color: var(--teal-primary);
  box-shadow: 0 12px 30px rgba(7, 148, 144, 0.15);
  z-index: 2;
}

.gallery-slide:nth-child(even):hover {
  transform: translateY(15px) scale(1.02);
  border-color: var(--teal-primary);
  box-shadow: 0 12px 30px rgba(7, 148, 144, 0.15);
  z-index: 2;
}

.gallery-slide:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.gallery-slide:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* §D: In Motion (Video Section) */
#motion-video {
  padding: var(--section-pad) 0;
  background-color: var(--bg-surface); /* White section */
  border-top: 1px solid var(--border-subtle);
}

.video-section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.video-header {
  max-width: 700px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.video-subtext {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Video container, shadow, light borders */
.video-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  border-radius: 12px;
  border: 1px solid var(--border-mid);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(7, 148, 144, 0.08);
  aspect-ratio: 16/9;
  background: var(--bg-card);
}

.motion-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badges overlay */
.video-badge-top {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--bg-surface);
  border: 2px solid var(--text-dark);
  border-radius: 0px; /* brutalist square edge */
  padding: 8px 16px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  box-shadow: 4px 4px 0px var(--teal-primary); /* Electric teal offset shadow */
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.video-badge-top:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--teal-primary);
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--teal-primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s ease-out infinite;
}

.video-badge-bottom {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--bg-surface);
  border: 2px solid var(--text-dark);
  border-radius: 0px; /* brutalist square edge */
  padding: 8px 16px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  font-weight: 700;
  z-index: 2;
  box-shadow: 4px 4px 0px var(--teal-primary); /* Electric teal offset shadow */
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.video-badge-bottom:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--teal-primary);
}

/* §E: Craftsmanship Features */
#features {
  padding: var(--section-pad) 0;
  background-color: var(--bg-void); /* Cream background */
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.features-watermark-wrapper {
  position: absolute;
  top: 15%;
  right: -50px;
  width: 500px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1); /* Horizontally flipped! */
}

.features-watermark {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  /* Removed drop-shadow filter to eliminate expensive GPU alpha compositing on scroll */
}

.features-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10vw;
}

.features-header {
  margin-bottom: 60px;
}

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

.features-section-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.features-section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

/* Top border transition */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--teal-primary);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-icon {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 36px;
}

.custom-emoji-icon {
  width: 32px;
  height: 32px;
  stroke: var(--teal-primary);
  stroke-width: 1.8;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s;
}

/* Micro-animations on hover of the feature card */
.feature-card:hover .icon-wood {
  transform: scale(1.1) rotate(5deg);
}

.feature-card:hover .icon-gear {
  transform: rotate(90deg);
}

.feature-card:hover .icon-battery {
  transform: scale(1.05) rotate(-10deg);
}

.feature-card:hover .icon-sparkle {
  transform: scale(1.15) rotate(15deg);
}

.feature-card .feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-card .feature-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Feature card hover */
.feature-card:hover {
  border-color: var(--teal-primary);
  box-shadow: 0 12px 30px rgba(7, 148, 144, 0.1);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  width: 100%;
}

/* §F: Buy / CTA Section */
#buy {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-pad) 10vw;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(11, 206, 200, 0.05) 0%, transparent 70%), var(--bg-surface);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.buy-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,206,200,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.buy-watermark-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.3);
  width: 500px;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
}

.buy-watermark {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  /* Removed drop-shadow filter to eliminate expensive GPU alpha compositing on scroll */
}

.buy-container {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.availability-badge {
  display: inline-block;
  border: 2px solid var(--text-dark);
  border-radius: 0px; /* Stark brutalist square edge */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 10px 24px;
  margin-bottom: 36px;
  background: var(--bg-surface); /* Pure white block */
  box-shadow: 4px 4px 0px var(--teal-primary); /* Electric teal offset shadow */
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.availability-badge:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--teal-primary);
}

.buy-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(56px, 10vw, 120px);
  color: var(--text-dark);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* Price block */
.price-block {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.currency-sym {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--teal-dim);
}

.price-main {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(72px, 14vw, 150px);
  color: var(--teal-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.buy-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 48px;
}

.buy-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  width: 100%;
}

.buy-cta-group .btn-primary {
  padding: 18px 60px;
  font-size: 16px;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.shipping-info {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
}

.custom-orders-link {
  font-size: 14px;
  text-decoration: none;
  color: var(--teal-primary);
  letter-spacing: 0.05em;
  transition: color 0.3s, transform 0.3s;
}

.custom-orders-link:hover {
  color: var(--text-dark);
  transform: translateX(4px);
}

/* Footer styling */
#footer {
  background-color: var(--bg-void);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

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

.footer-brand {
  align-items: flex-start;
  gap: 12px;
}

.footer-logo {
  height: auto;
  width: clamp(120px, 14vw, 180px);
  object-fit: contain;
  /* mix-blend-mode so Logo.png white bg disappears on footer bg */
  mix-blend-mode: multiply;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 32px;
}

.footer-nav a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--teal-primary);
}

.footer-meta {
  align-items: flex-end;
  gap: 16px;
}

.copyright {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-back-to-top {
  background: transparent;
  border: none;
  color: var(--teal-primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s, transform 0.3s;
  padding: 4px;
}

.btn-back-to-top:hover {
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* Floating Back to Top Button */
.floating-back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-mid);
  color: var(--teal-primary);
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.floating-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-back-to-top:hover {
  background: var(--teal-primary);
  color: var(--bg-surface);
  border-color: var(--teal-primary);
  box-shadow: 0 8px 24px rgba(7, 148, 144, 0.2);
}

.floating-back-to-top .arrow-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  display: block;
}

@media (max-width: 768px) {
  .floating-back-to-top {
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .floating-back-to-top .arrow-icon {
    width: 18px;
    height: 18px;
  }
}

/* Responsive Behaviour (< 1024px and < 768px) */
@media (max-width: 1024px) {
  .hero-grid-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-content-col {
    order: -1;
  }

  .product-img-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .hero-title br {
    display: block;
  }

  .hero-interactive-row {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-cta-group {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline {
    width: auto;
    max-width: 150px;
    flex: 1;
  }

  .story-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .story-img-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .stats-row {
    justify-content: center;
  }

  .gallery-slide {
    flex: 0 0 320px;
    height: 240px;
  }
  .gallery-slide:nth-child(odd) {
    transform: translateY(-16px);
  }
  .gallery-slide:nth-child(even) {
    transform: translateY(16px);
  }
  .gallery-slide:nth-child(odd):hover {
    transform: translateY(-24px) scale(1.02);
  }
  .gallery-slide:nth-child(even):hover {
    transform: translateY(8px) scale(1.02);
  }

  .features-grid {
    grid-template-columns: repeat(2, 2fr);
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand, .footer-meta {
    align-items: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #cursor-dot, #cursor-ring {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }
  
  a, button, .gallery-slide, .btn-primary, .btn-outline, .btn-back-to-top {
    cursor: auto !important;
  }

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

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none !important;
  }

  /* Override the 1024px gap for small screens */
  .hero-grid-container {
    gap: 12px;
  }

  #hero {
    min-height: auto;
    max-height: none;
    padding-top: 100px;
    padding-bottom: 80px; /* space for floating bottom nav */
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }

  .scroll-indicator {
    display: none !important;
  }

  /* Compact logo in hero content on mobile */
  .hero-brand-logo {
    width: 100px;
    margin-bottom: 6px;
  }

  /* Smaller watermark on mobile */
  .hero-bg-logo-wrap {
    width: clamp(260px, 80vw, 340px);
  }


  .product-img-wrapper {
    max-width: clamp(240px, 85vw, 360px);
    margin: 0 auto 12px;
  }

  .product-glow-backdrop {
    width: clamp(280px, 95vw, 420px);
  }

  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 0.2em;
    margin-bottom: 4px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .hero-sub {
    font-size: 12px;
    margin-bottom: 4px;
    letter-spacing: 0.15em;
  }

  .hero-desc {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .hero-interactive-row {
    flex-direction: column;
    gap: 6px;
    align-items: center;
    width: 100%;
  }

  .price-badge {
    padding: 6px 14px;
    margin-bottom: 0px;
  }

  .price-amount {
    font-size: 22px;
  }

  .price-label {
    font-size: 8px;
  }

  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    width: 100%;
    flex-wrap: nowrap;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline {
    flex: 1;
    max-width: 140px;
    padding: 10px 8px;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-align: center;
    white-space: nowrap;
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .section-title {
    font-size: 28px;
    line-height: 1.25;
  }

  .story-p {
    font-size: 13px;
    line-height: 1.5;
  }

  .stats-row {
    gap: 20px;
    margin-top: 20px;
  }

  .stat-num {
    font-size: 26px;
  }

  .stat-label {
    font-size: 10px;
  }

  .gallery-slide {
    flex: 0 0 280px;
    height: 210px;
  }

  .gallery-slide:nth-child(odd) {
    transform: translateY(-12px);
  }

  .gallery-slide:nth-child(even) {
    transform: translateY(12px);
  }

  .gallery-slide:nth-child(odd):hover {
    transform: translateY(-18px) scale(1.02);
  }

  .gallery-slide:nth-child(even):hover {
    transform: translateY(6px) scale(1.02);
  }

  .video-badge-top {
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 8px;
    box-shadow: 2px 2px 0px var(--teal-primary);
  }

  .video-badge-bottom {
    bottom: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 8px;
    box-shadow: 2px 2px 0px var(--teal-primary);
  }

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

  .feature-card {
    padding: 24px 20px;
  }

  .feature-card .feature-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .feature-card .feature-desc {
    font-size: 13px;
  }

  .availability-badge {
    font-size: 9px;
    letter-spacing: 0.1em;
    padding: 8px 16px;
    margin-bottom: 20px;
    white-space: normal;
    max-width: 90%;
    line-height: 1.4;
  }

  .price-main {
    font-size: clamp(56px, 18vw, 80px);
  }

  .buy-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .price-block {
    margin-bottom: 12px;
  }

  .buy-sub {
    font-size: 13px;
    margin-bottom: 32px;
    padding: 0 10px;
  }

  .buy-cta-group .btn-primary {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .shipping-info {
    font-size: 10px;
    padding: 0 10px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .video-badge-bottom {
    display: none !important;
  }
}

/* Purchase Options Popup Modal */
.popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000; /* Over everything */
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-modal.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.popup-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  will-change: opacity;
}

.popup-card {
  position: relative;
  background: var(--bg-surface); /* Pure white background */
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 32px;
  max-width: 460px;
  width: 90%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  z-index: 2;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  will-change: transform, opacity;
}

.popup-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  color: var(--text-dark);
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 15;
}

.popup-close-btn:hover {
  background: var(--teal-primary);
  color: var(--bg-surface);
  border-color: var(--teal-primary);
  transform: scale(1.05);
}

.popup-close-btn:active {
  transform: scale(0.95);
}

.popup-header {
  text-align: center;
  margin-bottom: 28px;
}

.popup-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.popup-subtitle {
  font-size: 13px;
  color: var(--text-subtle);
  line-height: 1.4;
}

.popup-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popup-option-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  text-decoration: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.popup-option-row:hover {
  background: rgba(7, 148, 144, 0.04);
  border-color: rgba(7, 148, 144, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(7, 148, 144, 0.06);
}

.popup-option-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(7, 148, 144, 0.08);
  color: var(--teal-primary);
  flex-shrink: 0;
}

.popup-option-icon svg {
  width: 20px;
  height: 20px;
}

.popup-option-content {
  flex: 1;
}

.popup-option-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.popup-option-desc {
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: 3px;
  line-height: 1.35;
}

.popup-option-meta {
  font-size: 10px;
  color: var(--teal-primary);
  font-weight: 500;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.popup-option-chevron {
  color: var(--text-subtle);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.popup-option-row:hover .popup-option-chevron {
  transform: translateX(3px);
  color: var(--teal-primary);
}

.popup-option-chevron svg {
  width: 18px;
  height: 18px;
}

/* Gallery Lightbox Card & Nav */
.lightbox-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
  max-width: 960px;
  width: 90%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.16);
  z-index: 2;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-close-btn {
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  z-index: 12;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.lightbox-caption {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  text-align: center;
  font-family: var(--font-body);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--teal-primary);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--teal-primary);
  color: var(--bg-surface);
  box-shadow: 0 8px 24px rgba(7, 148, 144, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: 24px;
}

.next-btn {
  right: 24px;
}

/* Lightbox Responsive Styles */
@media (max-width: 768px) {
  .lightbox-card {
    padding: 24px 16px;
    width: 95%;
  }

  .lightbox-content img {
    max-height: 60vh;
  }

  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }

  .prev-btn {
    left: 12px;
  }

  .next-btn {
    right: 12px;
  }

  .lightbox-caption {
    font-size: 13px;
    margin-top: 16px;
  }
}

/* Floating Bottom Navigation Bar for Mobile */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 400px;
    height: 64px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 100px;
    border: 1.5px solid rgba(7, 148, 144, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 
                0 4px 12px rgba(7, 148, 144, 0.04);
    z-index: 1999;
    align-items: center;
    justify-content: space-around;
    padding: 0 12px;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.2s ease;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    position: relative;
  }

  .mobile-nav-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .mobile-nav-label {
    font-size: 9px;
    font-weight: 500;
    margin-top: 3px;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.3s;
  }

  /* Active states scroll triggered or clicked */
  .mobile-nav-item.active {
    color: var(--teal-primary);
  }

  .mobile-nav-item.active svg {
    transform: scale(1.1) translateY(-2px);
    stroke-width: 2.2;
  }

  .mobile-nav-item:active {
    transform: scale(0.92);
  }

  /* Center Highlighted Circle Button */
  .mobile-nav-center-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--teal-primary);
    border: none;
    color: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -24px; /* Floating look */
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(7, 148, 144, 0.35), 
                0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    outline: none;
  }

  .mobile-nav-center-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    transition: transform 0.3s;
  }

  .mobile-nav-center-btn:hover {
    background: var(--teal-dim);
  }

  .mobile-nav-center-btn:active {
    transform: scale(0.9) translateY(-18px);
    box-shadow: 0 4px 10px rgba(7, 148, 144, 0.2);
  }

  /* Orange Notification Badge on Bell */
  .mobile-nav-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .notification-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF8A00;
    border: 1.5px solid rgba(255, 255, 255, 0.94);
  }
}

