/* ==========================================================================
   Bluret.com — Landing Page Stylesheet
   Theme: Obsidian Black (#080a0d) + Electric Alpine Mint (#00f59b)
   ========================================================================== */

body {
  background-color: #080a0d;
  color: #f8fafc;
  overflow-x: hidden;
}

/* Ambient Background Glow */
.hero-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 245, 155, 0.18) 0%, rgba(0, 245, 155, 0.02) 60%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Glass Panels */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.glass-card:hover {
  border-color: rgba(0, 245, 155, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 245, 155, 0.15);
}

/* Primary Mint Button */
.btn-mint {
  background: linear-gradient(180deg, #00f59b 0%, #05c276 100%);
  color: #01170e;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 245, 155, 0.32);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-mint:hover {
  background: linear-gradient(180deg, #38ffb4 0%, #00f59b 100%);
  box-shadow: 0 6px 26px rgba(0, 245, 155, 0.5);
  transform: translateY(-1px);
}

/* Redaction Shaders (CSS Preview) */
.shader-blur {
  filter: blur(8px);
  user-select: none;
}
.shader-blackout {
  background-color: #000000;
  color: transparent !important;
  border-radius: 4px;
  user-select: none;
}
.shader-dots {
  background-color: #0f172a;
  background-image: radial-gradient(#64748b 1.5px, transparent 1.5px);
  background-size: 5px 5px;
  color: transparent !important;
  border-radius: 4px;
  user-select: none;
}
.shader-transparent {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  caret-color: transparent !important;
  user-select: none !important;
  text-shadow: none !important;
  filter: none !important;
}

.shader-transparent * {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  visibility: hidden !important;
}

/* Floating Toolbar Exact Extension Design */
.mock-toolbar {
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.98) 0%, rgba(8, 10, 13, 0.98) 100%);
  border: 1px solid rgba(0, 245, 155, 0.3);
  backdrop-filter: blur(24px);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 245, 155, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mock-toolbar-btn {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #94a3b8;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mock-toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.mock-toolbar-btn.active {
  background: linear-gradient(180deg, #00f59b 0%, #05c276 100%);
  color: #01170e;
  font-weight: 700;
  border-color: rgba(0, 245, 155, 0.5);
  box-shadow: 0 0 14px rgba(0, 245, 155, 0.45);
}

.mock-toolbar-horizontal {
  flex-direction: row !important;
  align-items: center !important;
  padding: 6px 8px !important;
  border-radius: 18px !important;
}

/* Automated Motion Simulation Styles */
#motion-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 50;
  transition: top 0.95s cubic-bezier(0.25, 1, 0.35, 1), left 0.95s cubic-bezier(0.25, 1, 0.35, 1), transform 0.2s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.85));
}

#motion-ripple {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #00f59b;
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
  transition: transform 0.35s ease-out, opacity 0.35s ease-out;
}
#motion-ripple.rippling {
  opacity: 1;
  transform: scale(1.6);
}

.demo-area-selection {
  position: absolute;
  border: 2px dashed #00f59b;
  background: rgba(0, 245, 155, 0.12);
  pointer-events: none;
  z-index: 30;
  box-sizing: border-box;
  transition: all 0.4s ease-out;
}

/* 6-Tool Navigation Bar Switcher */
.tool-scene-btn {
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.tool-scene-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}
.tool-scene-btn.active {
  background: rgba(0, 245, 155, 0.12);
  border-color: rgba(0, 245, 155, 0.4);
  color: #00f59b;
  box-shadow: 0 0 16px rgba(0, 245, 155, 0.2);
}

/* Horizontal Bottom Dock (Mobile-Safe & Scrollable) */
.mock-dock-bottom {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 20px;
  z-index: 25;
  max-width: calc(100% - 24px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.mock-dock-bottom::-webkit-scrollbar {
  display: none; /* Chrome, Edge, Safari */
}

.mock-dock-bottom .mock-toolbar-btn {
  flex-shrink: 0;
}
/* ==========================================================================
   Infinite Logo Marquee (Seamless Twin-Group Architecture)
   ========================================================================== */
.marquee-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 3.5rem;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 3.5rem;
  min-width: 100%;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-wrapper:hover .marquee-group {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 3.5rem));
  }
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  opacity: 0.55;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  cursor: pointer;
}

.brand-logo-item:hover {
  color: #00f59b;
  opacity: 1;
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px rgba(0, 245, 155, 0.45));
}

.brand-logo-item svg {
  height: 24px;
  width: auto;
  fill: currentColor;
}

    /* Element Inspector Hover Outline for Demo */
.demo-inspect-hover {
  outline: 2px solid #00f59b !important;
  outline-offset: 2px;
  background: rgba(0, 245, 155, 0.08) !important;
}
/* ==========================================================================
   Segmented Capsule Track (Suggestion 2)
   ========================================================================== */
.segmented-track {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(11, 14, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  overflow-x: auto;
  max-width: 100%;
}

.segmented-track .tool-scene-btn {
  padding: 7px 14px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: none;
  white-space: nowrap;
}

.segmented-track .tool-scene-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.segmented-track .tool-scene-btn.active {
  background: rgba(0, 245, 155, 0.12);
  border-color: rgba(0, 245, 155, 0.35);
  color: #00f59b;
  box-shadow: 0 0 16px rgba(0, 245, 155, 0.22);
}

.segmented-track .tool-scene-btn kbd {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9px;
  font-family: monospace;
  color: #64748b;
  transition: all 0.2s ease;
}

.segmented-track .tool-scene-btn.active kbd {
  border-color: rgba(0, 245, 155, 0.3);
  color: #00f59b;
}
/* ==========================================================================
   Phase 2: Micro-Shaders & Visual Polish
   ========================================================================== */
.demo-shutter-flash {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
  z-index: 45;
  transition: opacity 0.15s ease-out;
}

.demo-scanner-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f59b 20%, #38ffb4 50%, #00f59b 80%, transparent);
  box-shadow: 0 0 16px #00f59b, 0 0 32px rgba(0, 245, 155, 0.7);
  z-index: 35;
  transition: top 0.75s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease;
}

.demo-inspect-tag {
  position: absolute;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(8, 10, 13, 0.95);
  border: 1px solid rgba(0, 245, 155, 0.6);
  color: #00f59b;
  font-family: monospace;
  font-size: 9.5px;
  font-weight: 600;
  z-index: 35;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 245, 155, 0.3);
  white-space: nowrap;
}
/* ==========================================================================
   Phase 3: Cursor Physics & Selection Handles
   ========================================================================== */

/* Tactile mouse press */
#motion-cursor.clicking {
  transform: scale(0.86) translate(-2px, -2px);
  filter: drop-shadow(0 2px 6px rgba(0, 245, 155, 0.6));
}

/* Figma-Style Area Selection Box with Corner Handles */
.demo-area-selection {
  position: absolute;
  border: 1.5px dashed #00f59b;
  background: rgba(0, 245, 155, 0.12);
  pointer-events: none;
  z-index: 30;
  box-sizing: border-box;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), height 0.5s cubic-bezier(0.16, 1, 0.3, 1), top 0.5s cubic-bezier(0.16, 1, 0.3, 1), left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(0, 245, 155, 0.2);
}

/* 4 Glowing Corner Anchor Handles */
.demo-area-selection::before,
.demo-area-selection::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00f59b;
  border: 1px solid #080a0d;
  border-radius: 1px;
}
.demo-area-selection::before {
  top: -3px;
  left: -3px;
  box-shadow: calc(100% + 1px) 0 0 -1px #080a0d, 0 calc(100% + 1px) 0 -1px #080a0d;
}
.demo-area-selection::after {
  bottom: -3px;
  right: -3px;
}
/* ==========================================================================
   Smooth Scroll Reveal Engine (Linear / Apple Ease)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger support for inner cards */
.reveal-on-scroll .stagger-1 { transition-delay: 80ms; }
.reveal-on-scroll .stagger-2 { transition-delay: 160ms; }
.reveal-on-scroll .stagger-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* ==========================================================================
   Stream Deck Hardware Keypress Easter Egg
   ========================================================================== */
.deck-key {
  user-select: none;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.12s ease, border-color 0.12s ease;
}

.deck-key:active,
.deck-key.is-pressed {
  transform: scale(0.92) translateY(2px) !important;
  box-shadow: 0 0 18px rgba(0, 245, 155, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.7) !important;
  border-color: #00f59b !important;
}

.deck-key.is-pressed-red {
  transform: scale(0.92) translateY(2px) !important;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.7) !important;
  border-color: #f43f5e !important;
}
