/* ==========================================================================
   FUTURISTIC CYBER-GARAGE SALES PAGE STYLES
   High-Conversion Sales Architecture
   ========================================================================== */

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121d;
  --bg-card: rgba(16, 22, 35, 0.75);
  --bg-card-hover: rgba(22, 30, 48, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(255, 85, 0, 0.4);
  --border-cyan: rgba(0, 240, 255, 0.35);
  
  --color-primary: #ff5500;       /* High-energy Neon Orange (Action / Mechanics) */
  --color-primary-glow: rgba(255, 85, 0, 0.5);
  --color-secondary: #00f0ff;     /* Cyber Cyan (Futuristic tech / Highlights) */
  --color-secondary-glow: rgba(0, 240, 255, 0.4);
  --color-accent: #10b981;        /* High-Conversion Green (Buy / Success) */
  --color-accent-glow: rgba(16, 185, 129, 0.5);
  --color-warning: #fbbf24;       /* Urgency Gold */
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 85, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 100% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 0% 70%, rgba(255, 85, 0, 0.08) 0%, transparent 50%),
    linear-gradient(to bottom, #07090e 0%, #0a0d14 50%, #07090e 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background Cyber Grid */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Noise Texture Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Neon & Glow Classes */
.text-glow-orange {
  text-shadow: 0 0 20px rgba(255, 85, 0, 0.6), 0 0 40px rgba(255, 85, 0, 0.2);
}

.text-glow-cyan {
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.6), 0 0 40px rgba(0, 240, 255, 0.2);
}

.box-glow-orange {
  box-shadow: 0 0 35px -5px rgba(255, 85, 0, 0.35), inset 0 0 15px rgba(255, 85, 0, 0.1);
}

.box-glow-cyan {
  box-shadow: 0 0 35px -5px rgba(0, 240, 255, 0.35), inset 0 0 15px rgba(0, 240, 255, 0.1);
}

.box-glow-green {
  box-shadow: 0 0 35px -5px rgba(16, 185, 129, 0.4), inset 0 0 15px rgba(16, 185, 129, 0.1);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--bg-card-hover);
}

.glass-panel-highlight {
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.08) 0%, rgba(13, 18, 29, 0.85) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-neon);
}

/* Futuristic Tech Badges */
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.3);
  color: #ff8c42;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseAnimation 1.5s infinite;
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseAnimation 1.5s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; filter: drop-shadow(0 0 8px currentColor); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Mega CTA Button */
.btn-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.25rem 2rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(52, 211, 153, 0.6);
  border-radius: 0.875rem;
  box-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: ctaBreathe 3s infinite ease-in-out;
}

.btn-cta-primary:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 18px 45px -5px rgba(16, 185, 129, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.btn-cta-primary:active {
  transform: translateY(1px);
}

/* Shimmer Light Ray Effect */
.btn-cta-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: rotate(25deg);
  animation: shimmerEffect 4s infinite ease-in-out;
}

@keyframes shimmerEffect {
  0% { left: -100%; }
  35%, 100% { left: 200%; }
}

@keyframes ctaBreathe {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.5); }
  50% { transform: scale(1.02); box-shadow: 0 15px 40px -2px rgba(16, 185, 129, 0.75); }
}

/* CTA Secondary (Orange Neon) */
.btn-cta-orange {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.15rem 1.85rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #ff5500 0%, #e04b00 100%);
  border: 1px solid rgba(255, 138, 77, 0.5);
  border-radius: 0.875rem;
  box-shadow: 0 10px 30px -5px rgba(255, 85, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cta-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -5px rgba(255, 85, 0, 0.7);
}

/* Interactive 3D Mockup Book & Bundle Showcase */
.mockup-container {
  perspective: 1200px;
  position: relative;
  width: 100%;
}

.tangible-mockup-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tangible-mockup-wrapper:hover {
  transform: translateY(-6px) scale(1.015);
}

.tangible-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 85, 0, 0.35);
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 45px -10px rgba(255, 85, 0, 0.35),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
}

.tangible-mockup-wrapper:hover .tangible-mockup-img {
  border-color: rgba(255, 85, 0, 0.6);
  box-shadow: 
    0 35px 80px -15px rgba(0, 0, 0, 0.95),
    0 0 60px -5px rgba(255, 85, 0, 0.55);
}

/* Radiant Backlight Aura */
.tangible-mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 85%;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.22) 0%, rgba(0, 240, 255, 0.12) 40%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* Floating Badges on Mockup */
.floating-badge-1 {
  position: absolute;
  top: -12px;
  right: -10px;
  animation: floatSlow 4s infinite ease-in-out;
  z-index: 10;
}

.floating-badge-2 {
  position: absolute;
  bottom: -12px;
  left: -10px;
  animation: floatSlow 4s infinite ease-in-out 2s;
  z-index: 10;
}

.floating-badge-center {
  position: absolute;
  bottom: 24px;
  right: 18px;
  animation: floatSlow 5s infinite ease-in-out 1s;
  z-index: 10;
}

/* Micro Pain & Desire Chips */
.pain-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.01em;
}

.desire-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.01em;
}

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

/* Custom Order Bump Checkbox Card */
.order-bump-card {
  position: relative;
  background: rgba(15, 23, 42, 0.65);
  border: 2px dashed rgba(255, 85, 0, 0.35);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.order-bump-card:hover {
  background: rgba(26, 35, 60, 0.85);
  border-color: rgba(255, 85, 0, 0.7);
  transform: translateY(-2px);
}

.order-bump-card.selected {
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.15) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid #ff5500;
  box-shadow: 0 0 25px rgba(255, 85, 0, 0.25);
}

.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 85, 0, 0.5);
  cursor: pointer;
  position: relative;
  outline: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.custom-checkbox:checked {
  background: #ff5500;
  border-color: #ff5500;
  box-shadow: 0 0 12px rgba(255, 85, 0, 0.8);
}

.custom-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-weight: 900;
  font-size: 14px;
}

/* Real-Time Live Sales Notification Toasts */
#live-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.sales-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(13, 18, 29, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-left: 4px solid #00f0ff;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.15);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  max-width: 360px;
}

.sales-toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* Sticky Mobile Bottom CTA Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 9, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 85, 0, 0.3);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
  padding: 10px 16px;
  z-index: 100;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

/* Accordion FAQs */
.faq-header {
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #ff5500;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 500px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* Module Grid Cards */
.module-card {
  position: relative;
  background: rgba(13, 18, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 85, 0, 0.4);
  background: rgba(20, 28, 45, 0.85);
  box-shadow: 0 15px 30px -10px rgba(255, 85, 0, 0.2);
}

.module-card:hover::before {
  opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07090e;
}
::-webkit-scrollbar-thumb {
  background: #1f293d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff5500;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .tangible-mockup-wrapper {
    max-width: 100%;
  }

  .floating-badge-1 {
    top: -8px;
    right: 0px;
    transform: scale(0.85);
  }

  .floating-badge-2 {
    bottom: -8px;
    left: 0px;
    transform: scale(0.85);
  }

  .floating-badge-center {
    display: none;
  }
  
  #live-toast-container {
    left: 12px;
    bottom: 80px;
    right: 12px;
    max-width: calc(100vw - 24px);
  }
}
