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

html, body {
  width: 100%;
  min-height: 100%;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  overflow-x: hidden;
  background: #000;
}

/* Allow natural scrolling - ScrollTrigger handles pinning */

/* Top Navigation Bar */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  pointer-events: none;
}

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

.nav-logo {
  pointer-events: auto;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  width: auto;
  transition: filter 0.3s ease;
}

/* Logo color states */
.nav-logo img.logo-white {
  filter: brightness(0) invert(1);
}

.nav-logo img.logo-black {
  filter: none;
}

/* CTA Button */
.nav-cta-btn {
  pointer-events: auto;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Button color states */
.nav-cta-btn.btn-white {
  background-color: #fff;
  color: #000;
}

.nav-cta-btn.btn-black {
  background-color: #000;
  color: #fff;
}

/* =============================================================================
   SCROLLSMOOTHER WRAPPER
   ============================================================================= */

#smooth-wrapper {
  overflow: hidden;
  position: fixed;
  height: 100%;
  height: 100dvh; /* Dynamic viewport height for mobile */
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#smooth-content {
  overflow: visible;
  width: 100%;
}

/* =============================================================================
   CROSSFADE CONTAINER - Pinned by ScrollTrigger, contains stacked sections
   ============================================================================= */

.crossfade-container {
  position: relative;
  width: 100%;
  height: 100vh;  /* Fallback for older browsers */
  height: 100dvh; /* Dynamic viewport height - accounts for mobile browser UI */
  overflow: hidden;
  z-index: 2; /* Stay above sections below during slide-up transition */
}

/* All sections inside crossfade container are stacked */
.crossfade-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: opacity;
}

/* Animation container - inside hero section */
#animation-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #000;
}

/* Single canvas - fullscreen */
#animation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scroll spacer - provides scroll height for ScrollTrigger */
#scroll-spacer {
  position: relative;
  width: 100%;
  height: 0; /* Dynamically set by JS based on current scene */
  z-index: 0;
  pointer-events: none;
}

/* Loading indicator */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;  /* Fallback */
  height: 100dvh; /* Dynamic viewport height */
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Scroll indicator - chevron with label */
.scroll-indicator {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 9999;  /* High z-index to stay above ScrollSmoother content */
  opacity: 1;
  transition: opacity 0.4s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-indicator span {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Chevron icon */
.scroll-chevron {
  width: 20px;
  height: 20px;
  animation: bounce-chevron 1.5s ease-in-out infinite;
}

@keyframes bounce-chevron {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(4px);
    opacity: 0.6;
  }
}

/* White theme (for dark backgrounds) */
.scroll-indicator[data-theme="white"] span {
  color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator[data-theme="white"] .scroll-chevron {
  color: rgba(255, 255, 255, 0.8);
}

/* Black theme (for light backgrounds) */
.scroll-indicator[data-theme="black"] span {
  color: rgba(0, 0, 0, 0.7);
}

.scroll-indicator[data-theme="black"] .scroll-chevron {
  color: rgba(0, 0, 0, 0.8);
}

/* Black overlay for fade to black transition */
.black-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
  z-index: 10;
}

.black-overlay.active {
  opacity: 1;
}

/* Hero section - inside crossfade container */
#hero-section {
  z-index: 30;  /* Highest - starts visible */
  background: #000;
  opacity: 1;
}

/* Text highlight section - inside crossfade container */
.text-section {
  z-index: 20;  /* Middle layer */
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;  /* Hidden initially - ScrollTrigger controls opacity */
  overflow: hidden;  /* Clip hand/globe during slide transition */
}

.text-container {
  max-width: 1000px;
  text-align: start;
  padding: 8px;
  position: relative;
  z-index: 2;
}

/* Waves background for text section */
.waves-container {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 200px;
  pointer-events: none;
  z-index: 1;
  clip-path: inset(0 100% 0 0);
}

/* Hide the original SVG - we'll use it as a mask for the holographic canvas */
.waves-svg {
  display: none;
}

/* Three.js holographic canvas - masked by waves */
.holographic-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url('../images/waves.svg');
  mask-image: url('../images/waves.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.highlight-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 62px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.3);
}

.highlight-text .word {
  display: inline;
  transition: color 0.2s ease;
}

.highlight-text .word:last-child {
  margin-right: 0;
}

.highlight-text .word.highlighted {
  color: rgba(255, 255, 255, 1);
}

/* Apple-style glowing text for special words */
.highlight-text .word.glow-word {
  color: rgba(255, 255, 255, 0.3);
  position: relative;
  display: inline-block;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

/* Nothing (capital) - Indigo glow #6978FF */
.highlight-text .word.glow-word.glow-nothing-indigo.highlighted {
  background: linear-gradient(180deg, #6978FF 0%, #d0d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: glowPulseIndigo 1.2s ease-out forwards;
}

/* Stored - Indigo glow #6978FF */
.highlight-text .word.glow-word.glow-stored.highlighted {
  background: linear-gradient(180deg, #6978FF 0%, #d0d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: glowPulseIndigo 1.2s ease-out forwards;
}

/* nothing (lowercase) - Cyan glow */
.highlight-text .word.glow-word.glow-nothing.highlighted {
  background: linear-gradient(180deg, #7DD3FC 0%, #c0f0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: glowPulseCyan 1.2s ease-out forwards;
}

/* Shared - Cyan glow */
.highlight-text .word.glow-word.glow-shared.highlighted {
  background: linear-gradient(180deg, #7DD3FC 0%, #c0f0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: glowPulseShared 1.2s ease-out forwards;
}

/* Glow sweep animation - Indigo #6978FF */
@keyframes glowPulseIndigo {
  0% {
    background: linear-gradient(180deg, #6978FF 0%, #6978FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
      0 3px 12px rgba(105, 120, 255, 0.8),
      0 6px 24px rgba(105, 120, 255, 0.5),
      0 0 45px rgba(80, 90, 200, 0.35);
  }
  60% {
    background: linear-gradient(180deg, #6978FF 0%, #a0a8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
      0 0 12px rgba(105, 120, 255, 0.3),
      0 0 24px rgba(105, 120, 255, 0.15);
  }
  100% {
    background: linear-gradient(180deg, #6978FF 0%, #d0d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
}

/* Glow sweep animation - Cyan #7DD3FC */
@keyframes glowPulseCyan {
  0% {
    background: linear-gradient(180deg, #7DD3FC 0%, #7DD3FC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
      0 3px 12px rgba(125, 211, 252, 0.8),
      0 6px 24px rgba(125, 211, 252, 0.5),
      0 0 45px rgba(100, 180, 230, 0.35);
  }
  60% {
    background: linear-gradient(180deg, #7DD3FC 0%, #a0e8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
      0 0 12px rgba(125, 211, 252, 0.3),
      0 0 24px rgba(125, 211, 252, 0.15);
  }
  100% {
    background: linear-gradient(180deg, #7DD3FC 0%, #c0f0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
}

/* Glow sweep animation - Shared (Cyan) */
@keyframes glowPulseShared {
  0% {
    background: linear-gradient(180deg, #7DD3FC 0%, #7DD3FC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
      0 3px 12px rgba(125, 211, 252, 0.8),
      0 6px 24px rgba(125, 211, 252, 0.5),
      0 0 45px rgba(100, 180, 230, 0.35);
  }
  60% {
    background: linear-gradient(180deg, #7DD3FC 0%, #a0e8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
      0 0 12px rgba(125, 211, 252, 0.3),
      0 0 24px rgba(125, 211, 252, 0.15);
  }
  100% {
    background: linear-gradient(180deg, #7DD3FC 0%, #c0f0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
}

/* Hand container */
.hand-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 600px;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
}

.hand-container .hand-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Globe (single element, animates with hand then stays) */
.globe {
  position: fixed;
  width: 160px;
  height: 160px;
  border-radius: 100%;
  z-index: 51;
  pointer-events: none;
  opacity: 0;
}

.globe canvas,
.globe svg,
#globe-container {
  width: 100%;
  height: 100%;
}

#globe-container canvas {
  border-radius: 100%;
}

/* Responsive hand and globe size */
@media (max-width: 768px) {
  .hand-container {
    width: 290px;
    height: 480px;
  }

  .globe {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 480px) {
  .hand-container {
    width: 240px;
    height: 400px;
  }

  .globe {
    width: 110px;
    height: 110px;
  }
}

/* Responsive text size */
@media (max-width: 768px) {
  .highlight-text {
    font-size: 56px;
    line-height: 1.1;
  }

  .text-container {
    padding: 24px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .highlight-text {
    font-size: 40px;
    line-height: 1.1;
  }

  .text-container {
    padding: 20px;
  }
}

/* Mobile scroll indicator - smaller */
@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 16px;
    gap: 4px;
  }

  .scroll-indicator span {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .scroll-chevron {
    width: 16px;
    height: 16px;
  }
}

/* Debug Panel */
.debug-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 16px;
  z-index: 9999;
  min-width: 260px;
  max-width: 300px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Custom scrollbar for debug panel */
.debug-panel::-webkit-scrollbar {
  width: 6px;
}

.debug-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.debug-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.debug-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Debug tabs */
.debug-tabs {
  position: sticky;
  top: -16px;
  margin: -16px -16px 12px -16px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1;
}

.debug-tab {
  transition: background 0.2s, color 0.2s;
}

.debug-tab:hover {
  background: #555 !important;
  color: #fff !important;
}

.debug-panel.hidden {
  display: none;
}

.debug-header {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.debug-hint {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  font-size: 11px;
}

.debug-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.debug-btn-row {
  display: flex;
  gap: 8px;
}

.debug-btn {
  background: #333;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
  flex: 1;
}

.debug-btn:hover {
  background: #444;
}

.debug-btn.reset-btn {
  background: #2E7D32;
  border-color: #4CAF50;
}

.debug-btn.reset-btn:hover {
  background: #388E3C;
}

.debug-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  cursor: pointer;
}

.debug-checkbox input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.debug-slider {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.debug-slider label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.debug-slider input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #444;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.debug-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.debug-slider input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
}

.debug-select {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  min-width: 150px;
}

.debug-select:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.debug-select:focus {
  outline: none;
  border-color: #4CAF50;
}

.debug-select option {
  background: #1a1a1a;
  color: #fff;
}

.debug-state-header {
  color: #FF9800 !important;
  font-weight: 600;
}

.debug-section-speeds {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.debug-holographic {
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.debug-section-title {
  color: #4CAF50;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(76, 175, 80, 0.3);
}

.debug-subsection {
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.debug-subsection .debug-label {
  color: #64B5F6;
  font-weight: 500;
}

#debug-text-controls {
  max-height: 70vh;
  overflow-y: auto;
}

#debug-section4-controls {
  max-height: 70vh;
  overflow-y: auto;
}

/* State section styling for device debug */
.debug-state-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px !important;
  margin-top: 12px !important;
}

.debug-state-header {
  color: #FFD54F !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.debug-color-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.debug-color-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.debug-color-row input[type="color"] {
  width: 32px;
  height: 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
}

.debug-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-bottom: 8px;
}

.section-speed-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-speed-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-speed-row.scroll-section {
  opacity: 0.4;
}

.section-speed-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  min-width: 70px;
}

.section-speed-label .section-type {
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 3px;
  margin-left: 4px;
}

.section-speed-label .section-type.autoplay {
  background: rgba(76, 175, 80, 0.3);
  color: #81C784;
}

.section-speed-label .section-type.scroll {
  background: rgba(33, 150, 243, 0.3);
  color: #64B5F6;
}

.section-speed-slider {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #444;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.section-speed-slider:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.section-speed-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4CAF50;
  cursor: pointer;
}

.section-speed-slider:disabled::-webkit-slider-thumb {
  background: #666;
  cursor: not-allowed;
}

.section-speed-value {
  font-size: 11px;
  color: #4CAF50;
  min-width: 35px;
  text-align: right;
  font-family: monospace;
}

/* Debug Timeline */
.debug-timeline {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 800px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  padding: 12px 16px;
  z-index: 10000;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.debug-timeline.hidden {
  display: none;
}

.timeline-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.timeline-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.timeline-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.timeline-frame-display {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  font-family: monospace;
  min-width: 100px;
}

.timeline-frame-display #timeline-current-frame {
  color: #4CAF50;
}

.timeline-section-display {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-left: auto;
}

.timeline-section-display span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.timeline-section-display #timeline-current-speed {
  color: #4CAF50;
  font-weight: 600;
}

.timeline-track-wrapper {
  position: relative;
  cursor: pointer;
}

.timeline-track {
  position: relative;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  overflow: hidden;
}

.timeline-scrubber {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: grab;
  z-index: 2;
}

.timeline-scrubber:active {
  cursor: grabbing;
}

.timeline-scrubber.dragging {
  cursor: grabbing;
}

.timeline-section {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  transition: opacity 0.2s;
}

.timeline-section:last-child {
  border-right: none;
}

.timeline-section.autoplay {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.timeline-section.scroll {
  background: linear-gradient(135deg, #2196F3, #1565C0);
}

.timeline-section.active {
  box-shadow: inset 0 0 0 2px #fff;
}

.timeline-playhead {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 32px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 3;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.timeline-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.timeline-label-frame {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.timeline-legend {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-color.autoplay {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.legend-color.scroll {
  background: linear-gradient(135deg, #2196F3, #1565C0);
}

/* =============================================================================
   SECTION 3 - Inside crossfade container
   ============================================================================= */

/* Section 3 - Key Benefits */
.section-3 {
  background: #f0f4f8;
  color: #000;
  min-height: auto;
  padding: 80px 40px;
}

.section-3-content {
  text-align: center;
  padding: 0;
  max-width: 1200px;
  width: 100%;
}

.section-3-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  font-style: normal;
  line-height: 121.99%;
  letter-spacing: -1.44px;
  color: #000;
  margin: 0 0 12px 0;
}

.section-3-subtitle {
  font-family: 'Geologica', sans-serif;
  font-size: 28px;
  font-weight: 500;
  font-style: normal;
  line-height: normal;
  letter-spacing: -1.44px;
  text-align: center;
  margin: 0 0 48px 0;
}

/* Gradient text for subtitle */
.section-3-subtitle.gradient-text {
  background: linear-gradient(90deg, #5E8DC5 0%, #8B83BB 45.19%, #C3968C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

/* Benefit Card */
.benefit-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 52px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Benefit Card Decoration - hidden by default, shown on hover */
.benefit-decoration {
  position: absolute;
  top: -520px;
  right: -480px;
  width: 800px;
  height: 800px;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover .benefit-decoration {
  opacity: 1;
}

/* Benefit Icon */
.benefit-icon {
  color: #6b7280;
  margin-bottom: 16px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.benefit-icon.material-symbols-outlined {
  font-size: 48px !important;
  width: 48px;
  height: 48px;
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}

/* Benefit Title */
.benefit-title {
  font-family: 'Geologica', sans-serif;
  font-size: 21px;
  font-weight: 600;
  font-style: normal;
  line-height: normal;
  letter-spacing: -1.04px;
  color: #000;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 1;
}

/* Benefit Highlight (for Speed & Scale) */
.benefit-highlight {
  font-family: 'Geologica', sans-serif;
  font-size: 21px;
  font-weight: 500;
  background: linear-gradient(90deg, #5E8DC5 0%, #8B83BB 45.19%, #C3968C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 1;
}

/* Benefit Description */
.benefit-description {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 150%;
  color: #656565;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Responsive Section 3 - Tablet */
@media (max-width: 768px) {
  .section-3 {
    padding: 60px 24px;
  }

  .section-3-content {
    padding: 0;
  }

  .section-3-title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .section-3-subtitle {
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 32px;
  }

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

  .benefit-card {
    padding: 24px;
  }

  .benefit-decoration {
    top: -600px;
    right: -600px;
  }

  .benefit-title {
    font-size: 22px;
    letter-spacing: -0.8px;
  }

  .benefit-highlight {
    font-size: 20px;
  }

  .benefit-description {
    font-size: 18px;
  }
}

/* Responsive Section 3 - Mobile */
@media (max-width: 480px) {
  .section-3 {
    padding: 40px 16px;
  }

  .section-3-title {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .section-3-subtitle {
    font-size: 22px;
    letter-spacing: -0.8px;
    margin-bottom: 24px;
  }

  .benefit-card {
    padding: 20px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .benefit-icon.material-symbols-outlined {
    font-size: 40px !important;
    width: 40px;
    height: 40px;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 40;
  }

  .benefit-title {
    font-size: 20px;
    letter-spacing: -0.6px;
  }

  .benefit-highlight {
    font-size: 18px;
  }

  .benefit-description {
    font-size: 16px;
  }
}

/* =============================================================================
   SECTIONS 4-7 - Natural scroll sections
   ============================================================================= */

.content-section {
  display: flex;
  align-items: center;
  justify-content: center;
  --section-padding-y: 120px;
  --section-padding-x: 40px;
  padding: var(--section-padding-y) var(--section-padding-x);
}

.content-wrapper {
  max-width: 800px;
  text-align: center;
}

.section-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 64px;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.1;
}

.section-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  opacity: 0.8;
}

/* =============================================================================
   SECTION 4 - Features with 3D Device
   ============================================================================= */

.section-4 {
  background: #ffffff;
  color: #000;
  position: relative;
  overflow: hidden; /* Clip device when it's outside the section */
}

.section-4-content {
  text-align: center;
  padding: 0;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.section-4-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  font-style: normal;
  line-height: 121.99%;
  letter-spacing: -1.44px;
  color: #000;
  margin: 0 0 12px 0;
}

.section-4-subtitle {
  font-family: 'Geologica', sans-serif;
  font-size: 28px;
  font-weight: 500;
  font-style: normal;
  line-height: normal;
  letter-spacing: -1.44px;
  text-align: center;
  margin: 0 0 120px 0;
}

.section-4-subtitle.gradient-text {
  background: linear-gradient(90deg, #5E8DC5 0%, #8B83BB 45.19%, #C3968C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Features Layout - Two Column (40% / 60% split) */
.features-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Features List (Left Column - 40%) */
.features-list {
  flex: 0 0 40%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Feature Item */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}

/* Feature Number */
.feature-number {
  font-family: 'Geologica', sans-serif;
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  color: #c9d1d9;
  min-width: 50px;
}

/* Feature Content */
.feature-content {
  flex: 1;
}

.feature-title {
  font-family: 'Geologica', sans-serif;
  font-size: 21px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: -1.04px;
  color: #000;
  margin: 0 0 12px 0;
}

.feature-description {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 150%;
  color: #656565;
  margin: 0;
}

/* Right Column - holds the device, position: static so device-wrapper positions relative to section-4 */
.device-spacer {
  flex: 0 0 60%;
  min-height: 400px;
  position: static; /* Device-wrapper will position relative to section-4, not this */
}

/* Device Wrapper - Absolutely positioned to span FULL height of Section 4 */
/* Horizontal position is set by JavaScript to match device-spacer */
.device-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  /* left and width are set by JavaScript via positionDeviceWrapper() */
  pointer-events: none; /* Allow clicks to pass through to content below */
  z-index: 10; /* Above content so device is visible */
}

.device-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

/* Responsive Section 4 - Tablet */
@media (max-width: 900px) {
  .features-layout {
    flex-direction: column;
    gap: 40px;
  }

  .features-list {
    flex: none;
    max-width: 100%;
    order: 1; /* Text content on TOP */
  }

  .device-spacer {
    flex: none;
    min-height: 300px;
    order: 2; /* Device at BOTTOM */
  }

  /* device-wrapper position handled by JavaScript */
}

@media (max-width: 768px) {
  .section-4-content {
    padding: 0;
  }

  .section-4-title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .section-4-subtitle {
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 40px;
  }

  .features-list {
    gap: 36px;
  }

  .feature-number {
    font-size: 48px;
    min-width: 40px;
  }

  .feature-title {
    font-size: 20px;
    letter-spacing: -0.8px;
  }

  .feature-description {
    font-size: 15px;
  }

  /* Mobile: Stack layout vertically - text on top, device at bottom */
  .features-layout {
    flex-direction: column;
    gap: 30px;
  }

  .features-list {
    order: 1; /* Text on TOP */
    width: 100%;
    max-width: 100%;
  }

  .device-spacer {
    display: none;
  }

  /* Mobile Section 4: vertically center content + device in the section */
  .section-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .section-4 .section-4-content {
    order: 1;
    width: 100%;
  }

  .section-4 .device-wrapper {
    margin-top: 40px;
    order: 2;
  }

  /* Device wrapper - relative positioned, full width, no clipping */
  .device-wrapper {
    position: relative;
    top: auto;
    bottom: auto;
    left: 0 !important;
    right: 0;
    width: 100vw !important;
    height: 360px;
    overflow: visible;
  }

  .device-container {
    width: 100%;
    height: 100%;
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .section-4-title {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .section-4-subtitle {
    font-size: 22px;
    letter-spacing: -0.8px;
    margin-bottom: 32px;
  }

  .feature-item {
    gap: 16px;
  }

  .feature-number {
    font-size: 40px;
    min-width: 32px;
  }

  .feature-title {
    font-size: 18px;
    letter-spacing: -0.6px;
  }

  .feature-description {
    font-size: 14px;
  }

  /* device-wrapper position handled by JavaScript */
}

/* =============================================================================
   SECTION 5 - Use Cases with Tabbed Navigation
   ============================================================================= */

.section-5 {
  background: #f0f4f8;
  color: #000;
}

.section-5-content {
  text-align: center;
  padding: 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Section 5 Title */
.section-5-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 121.99%;
  letter-spacing: -1.44px;
  color: #000;
  margin: 0 0 12px 0;
}

/* Section 5 Subtitle */
.section-5-subtitle {
  font-family: 'Geologica', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -1.44px;
  margin: 0 0 24px 0;
}

.section-5-subtitle.gradient-text {
  background: linear-gradient(90deg, #5E8DC5 0%, #8B83BB 45.19%, #C3968C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section 5 Description */
.section-5-description {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #656565;
  max-width: 700px;
  margin: 0 auto 80px;
}

/* Use Case Tab Navigation */
.use-case-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.use-case-tab {
  padding: 10px 28px;
  border: 1px solid rgba(0, 0, 0, 0.035);
  background: #00000014;
  font-family: 'Geologica', sans-serif;
  font-size: 16px;
  font-weight: 300;
  font-style: normal;
  line-height: normal;
  letter-spacing: -0.72px;
  color: #000;
  cursor: pointer;
  border-radius: 54px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.use-case-tab:hover {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.use-case-tab.active {
  color: #000000;
  border-color: transparent;
  border-radius: 54px;
background: white;
}

/* Use Case Panels Container */
.use-case-panels {
  width: 100%;
  position: relative;
  min-height: 620px; /* Fixed height to prevent jumping */
}

/* Use Case Panel */
.use-case-panel {
  display: none;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  text-align: left;
  align-items: start;
  min-height: 600px;
}

.use-case-panel.active {
  display: grid;
}

/* Use Case Text Content */
.use-case-text {
  padding-top: 16px;
}

.use-case-title {
  color: #363636;
  font-family: Geologica;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.96px;
  margin: 0 0 8px 0;
}

.use-case-tagline {
  font-family: Geologica;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.8px;
  margin: 0 0 32px 0;
}

.use-case-tagline.gradient-text {
  background: linear-gradient(90deg, #5E8DC5 0%, #8B83BB 45.19%, #C3968C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
}

/* Use Case Section Titles (How it works, Key Benefits) */
.use-case-section-title {
  color: #363636;
  font-family: "Helvetica Neue";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0 0 12px 0;
}

.use-case-how {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #656565;
  margin: 0 0 32px 0;
}

/* Use Case Benefits List */
.use-case-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
}

.use-case-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #656565;
}

.use-case-benefits li:last-child {
  margin-bottom: 0;
}

.use-case-benefits li strong {
  color: #000;
  font-weight: 600;
}

.boop-bullet {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Use Case CTA Button */
.use-case-cta {
  display: inline-block;
  padding: 14px 28px;
  background: #000;
  color: #fff;
  border-radius: 50px;
  font-family: 'Geologica', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 32px;
  transition: opacity 0.2s ease;
}

.use-case-cta:hover {
  opacity: 0.85;
}

/* Use Case Image */
.use-case-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}

/* Use Case Decoration (top-left corner) */
.usecase-decoration {
  position: absolute;
  top: -480px;
  left: -480px;
  width: 800px;
  height: 800px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.use-case-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.use-case-image-overlay {
  position: absolute;
  bottom: 24px;
  right: 24px;
  text-align: right;
  color: #fff;
}

.use-case-logo {
  width: 64px;
  height: auto;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}

.use-case-image-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Section 5 Responsive - Tablet */
@media (max-width: 900px) {
  .section-5-content {
    padding: 60px 24px;
  }

  .use-case-panels {
    min-height: 700px; /* Taller for single column layout */
  }

  .use-case-panel.active {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .use-case-image-wrapper {
    order: -1;
    height: 400px;
  }

  .use-case-text {
    padding-top: 0;
  }
}

/* Section 5 Responsive - Mobile: Swipeable Carousel */
@media (max-width: 768px) {
  .content-section.section-5 {
    padding-left: 0;
    padding-right: 0;
  }

  .section-5-content {
    padding: 0px 0px;
  }

  .section-5-title {
    font-size: 36px;
    letter-spacing: -1px;
    padding: 0 20px;
  }

  .section-5-subtitle {
    font-size: 24px;
    letter-spacing: -1px;
    padding: 0 20px;
  }

  .section-5-description {
    font-size: 16px;
    margin-bottom: 32px;
    padding: 0 20px;
  }

  .usecase-decoration {
    top: -300px;
    left: -300px;
    width: 500px;
    height: 500px;
  }

  /* Hide tab buttons on mobile */
  .use-case-tabs {
    display: none;
  }

  /* Carousel container */
  .use-case-panels {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 0;
    scrollbar-width: none; /* Firefox */
  }

  .use-case-panels::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  /* All panels visible as carousel slides */
  .use-case-panel,
  .use-case-panel.active {
    display: flex !important;
    flex-direction: column;
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    animation: none;
    min-height: auto;
    gap: 24px;
    padding: 16px;
    box-sizing: border-box;
    opacity: 1 !important;
  }

  /* Image on top - edge-to-edge */
  .use-case-image-wrapper {
    order: -1;
    height: 280px;
    border-radius: 8px;
  }

  /* Text content needs horizontal padding */
  .use-case-text {
    padding: 0 20px;
  }

  .use-case-title {
    font-size: 24px;
  }

  .use-case-tagline {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .use-case-section-title {
    font-size: 15px;
  }

  .use-case-how {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .use-case-benefits li {
    font-size: 15px;
  }

  .use-case-cta {
    padding: 12px 24px;
    font-size: 14px;
    margin-top: 24px;
  }

  .use-case-image-overlay {
    bottom: 16px;
    right: 16px;
  }

  .use-case-logo {
    width: 48px;
  }

  .use-case-image-text {
    font-size: 12px;
  }
}

/* Carousel Pill Indicator - Fixed outside smooth-wrapper */
.use-case-dots {
  display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
  .use-case-dots {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: inline-flex;
    height: 36px;
    padding: 12px 21px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 54px;
    background: linear-gradient(172deg, rgba(3, 3, 3, 0.00) 6.42%, rgba(3, 3, 3, 0.26) 93.58%), linear-gradient(90deg, #5E8DC5 0%, #8B83BB 45.19%, #C3968C 100%);
    background-blend-mode: overlay, normal;
    box-shadow: 0 2px 4px 0 rgba(151, 152, 162, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .use-case-dots.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .pill-letter-box {
    width: 8px;
    height: 8px;
    position: relative;
    flex-shrink: 0;
    overflow: visible;
  }

  .pill-letter {
    position: absolute;
    width: 9px;
    height: 12px;
    left: 50%;
    transform: translateX(-50%);
  }

  .pill-letter-b {
    top: -39%;
  }

  .pill-letter-p {
    top: -3%;
  }

  .use-case-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.4s ease, border-radius 0.4s ease, background 0.4s ease;
  }

  .use-case-dot.active {
    width: 28px;
    height: 8px;
    border-radius: 4px;
    background: #fff;
    transform: none;
  }
}

/* Section 5 Responsive - Small Mobile */
@media (max-width: 480px) {
  .section-5-title {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .section-5-subtitle {
    font-size: 20px;
    letter-spacing: -0.8px;
  }

  .use-case-title {
    font-size: 22px;
  }

  .use-case-tagline {
    font-size: 16px;
  }

  .use-case-image-wrapper {
    height: 220px;
    width: 100%;
  }
}

/* Section 6 - One Scan. Endless Potential. */
.section-6 {
  background: #ffffff;
  color: #000;
  position: relative;
  overflow: hidden;
}

/* Circular Text Background - v2 */
.circle-text-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.circle-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.circle-word {
  position: absolute;
  font-family: 'Geologica', sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  will-change: transform;
  width: auto; /* Use actual text width so xPercent works correctly */
}

/* ========== RING MODE STYLES ========== */
/* Ring mode: words arranged in circular rings like the letter "O" */
.circle-text-wrapper.ring-mode {
  perspective: 1000px;
  perspective-origin: center center;
}

.circle-word.ring-mode {
  font-family: "Helvetica Neue", "HelveticaNeue-CondensedBold", "Arial Narrow", sans-serif;
  font-weight: bold;
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}

/* Left ring: text right-aligned to edge (word extends left/inward from ring) */
.circle-ring-left .circle-word.ring-mode {
  transform-origin: right center;
  text-align: right;
}

/* Right ring: text left-aligned to edge (word extends right/inward from ring) */
.circle-ring-right .circle-word.ring-mode {
  transform-origin: left center;
  text-align: left;
}

/* Circle Text Responsive - Tablet */
@media (max-width: 1024px) {
  .circle-word {
    font-size: 2rem;
  }
}

/* Circle Text Responsive - Mobile */
@media (max-width: 768px) {
  .circle-word {
    font-size: 1.5rem;
  }
}

/* Circle Text Responsive - Small Mobile */
@media (max-width: 480px) {
  .circle-word {
    font-size: 1.2rem;
  }
}

.section-6-content {
  text-align: center;
  padding: 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.section-6-device {
  width: 100%;
  max-width: 550px;
  height: 320px;
  margin-top: 24px;
}

.section-6-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 121.99%;
  letter-spacing: -1.44px;
  color: #000;
  margin: 0 0 12px 0;
}

.section-6-subtitle {
  font-family: 'Geologica', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -1.44px;
  margin: 0 0 24px 0;
}

.section-6-subtitle.gradient-text {
  background: linear-gradient(90deg, #5E8DC5 0%, #8B83BB 45.19%, #C3968C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-6-description {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #656565;
  max-width: 480px;
  margin: 0;
}

@media (max-width: 768px) {
  .section-6-content {
    padding: 0;
  }

  .section-6-device {
    height: 298px;
    margin-top: 16px;
  }

  .section-6-title {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .section-6-description {
    font-size: 16px;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .section-6-title {
    font-size: 28px;
    letter-spacing: -0.8px;
  }
}

/* Section 7 - White */
.section-7 {
  background: #fff;
  color: #000;
}

/* Responsive Sections 4-7 */
@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
    --section-padding-y: 120px;
    --section-padding-x: 24px;
  }

  .section-title {
    font-size: 42px;
  }

  .section-text {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .content-section {
    --section-padding-y: 120px;
    --section-padding-x: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-text {
    font-size: 16px;
  }
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.site-footer {
  background: #000000;
  color: #fff;
  padding: 80px 24px 48px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Two-Column Layout */
.footer-columns {
  display: flex;
  gap: 0;
}

/* Column 1: Tagline + Large Logo */
.footer-col-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 48px;
}

.footer-tagline {
  color: #FFF;
  font-family: "Helvetica Neue";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.96px;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #fff;
  color: #000;
  border-radius: 50px;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.footer-contact-btn:hover {
  opacity: 0.85;
}

.footer-logo-large {
  flex: 1;
  display: flex;
  padding:32px;
  align-items: flex-end;
}

.footer-logo-large img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

/* Column 2: Socials + Business Inquiries */
.footer-col-right {
  flex-shrink: 0;
  width: 480px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 52px;
}

.footer-info-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-info-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 4px 0;
}

.footer-info-link {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-info-link:hover {
  opacity: 0.7;
}

/* Copyright */
.footer-copyright {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: 48px;
}

.footer-copyright p {
  margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 48px 20px 32px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 40px;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    
  }

  .footer-col-right {
    width: auto;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 32px;
  }

  .footer-tagline {
    font-size: 18px;
  }

  .footer-info-link {
    font-size: 18px;
  }

  .footer-copyright {
    margin-top: 32px;
  }
}
