/**
 * Blade Boss Playbooke Base CSS
 * Main Playbook CSS not including mobile CSS
 */


:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --secondary: #3b82f6;
  --accent: #8b5cf6;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --dark: #0f172a;
  --gray-900: #1e293b;
  --gray-800: #334155;
  --gray-700: #475569;
  --gray-600: #64748b;
  --gray-500: #94a3b8;
  --gray-400: #cbd5e1;
  --gray-300: #e2e8f0;
  --gray-200: #f1f5f9;
  --gray-100: #f8fafc;
  --white: #ffffff;
  
  --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-hero: linear-gradient(135deg, #065f46 0%, #10b981 50%, #34d399 100%);
  --gradient-premium: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-2xl: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
  
  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
  --safe-left: env(safe-area-inset-left);
  --safe-right: env(safe-area-inset-right);
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Allow text selection only in specific areas */
textarea, input {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-900);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  padding-top: 160px;
  background-color: var(--gray-50);
}

/* Add this viewport constraint */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  touch-action: pan-y;
}

/* Viewport width constraint */
@supports (-webkit-touch-callout: none) {
  /* iOS specific fixes */
  body {
    position: relative;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

/* Prevent horizontal scroll on mobile but allow table scrolling */
@media (max-width: 768px) {
  /* Main wrapper to prevent horizontal scroll */
  .bb-playbook-wrapper {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw !important;
  }
  
  /* Also apply to body and html for complete prevention */
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  
  /* Ensure all containers respect viewport */
  .container {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* But ensure tables can still scroll */
  .timing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .timing-table {
    min-width: 600px; /* Maintain table width */
  }
}

/* Prevent right-click */
body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Watermark */
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

/* Screenshot Protection Overlay */
.screenshot-protection {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  backdrop-filter: blur(20px);
}

.screenshot-protection.active {
  display: flex;
}

.protection-message {
  text-align: center;
  padding: 40px;
  max-width: 400px;
}

.protection-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: pulse 1s ease-in-out infinite;
}

.protection-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.protection-text {
  font-size: 1rem;
  opacity: 0.8;
}

/* Screenshot warning overlay - NEW */
.screenshot-warning {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(239, 68, 68, 0.95);
  color: white;
  padding: 30px 60px;
  font-size: 24px;
  font-weight: bold;
  border-radius: var(--radius-lg);
  z-index: 99999;
  animation: warningPulse 0.5s ease-in-out;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@keyframes warningPulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.05); }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Dev tools detected state - NEW */
.step-card.devtools-detected::before {
  color: rgba(220, 38, 38, 0.08) !important;
  animation: devtoolsPulse 2s ease-in-out infinite !important;
}

@keyframes devtoolsPulse {
  0%, 100% { color: rgba(220, 38, 38, 0.08); }
  50% { color: rgba(220, 38, 38, 0.15); }
}



/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #f0fdf4 25%, transparent 25%, transparent 75%, #f0fdf4 75%, #f0fdf4),
              linear-gradient(45deg, #f0fdf4 25%, transparent 25%, transparent 75%, #f0fdf4 75%, #f0fdf4);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.3;
  z-index: -1;
  animation: bgMove 60s linear infinite;
}

@keyframes bgMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, 30px); }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero-header {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 160px 0 100px;  /* More top and bottom space */
  margin: -160px -9999px -40px -9999px;  /* Adjust margin to match */
  padding-left: 9999px;
  padding-right: 9999px;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 32px;  /* Was 20px */
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 24px;  /* Was 16px */
  text-shadow: 0 4px 16px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
  color: white !important;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);  /* Smaller minimum size */
  font-weight: 300;
  opacity: 1;
  margin-bottom: 20px;  /* Was 12px */
  color: white !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  overflow-wrap: break-word;  /* Add this */
  word-wrap: break-word;  /* Add this */
}

.hero-tagline {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* User zone badge */
.user-zone-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 36px;  /* Was 16px */
  border: 2px solid rgba(255,255,255,0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.zone-icon {
  font-size: 1.25rem;
  animation: pulse 2s ease-in-out infinite;
}

/* Stats Bar */
.stats-bar {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 30px;
  margin: 0 20px;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 10;
  transform: translateY(-20px);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

.stat-item:last-child::after {
  display: none;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Progress Section */
.progress-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  margin: 40px 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.progress-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.progress-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.progress-stats {
  display: flex;
  gap: 24px;
  font-weight: 600;
}

.progress-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.progress-stat-value {
  font-size: 1.5rem;
  color: var(--primary);
}

.progress-stat-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.progress-bar-wrapper {
  background: var(--gray-200);
  height: 12px;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  to { left: 100%; }
}

.reset-btn {
  background: var(--danger);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.reset-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #dc2626;
}

/* Navigation Card */
.nav-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}

.nav-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.jump-select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  background: white;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
}

.jump-select:hover {
  border-color: var(--primary);
}

.jump-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.expand-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.expand-btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.expand-all {
  background: var(--primary);
  color: white;
}

.expand-all:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.expand-all:focus {
  outline: none;
  background: var(--primary);
}

.collapse-all {
  background: var(--gray-200);
  color: var(--gray-700);
}

.collapse-all:hover {
  background: var(--gray-300);
  transform: translateY(-2px);
}

.collapse-all:focus {
  outline: none;
  background: var(--gray-200);
}

/* Steps Container */
.steps-container {
  margin-bottom: 100px;
}

/* Step Card */
.step-card {
  background: white;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  animation: fadeIn 0.5s ease-out both;
}

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

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.15s; }
.step-card:nth-child(3) { animation-delay: 0.2s; }
.step-card:nth-child(4) { animation-delay: 0.25s; }
.step-card:nth-child(5) { animation-delay: 0.3s; }

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.step-card.open {
  box-shadow: var(--shadow-xl);
}

.step-header {
  padding: 28px 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: white;
  z-index: 10;
  will-change: transform;
}

/* Sticky header states */
.step-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Smaller elements when sticky */
.step-header.sticky .step-icon-wrapper {
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
}

.step-header.sticky .step-title {
  font-size: 1.125rem;
}

.step-header.sticky .step-status-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.step-header.sticky .step-number-badge {
  width: 20px;
  height: 20px;
  font-size: 0.625rem;
  top: -6px;
  right: -6px;
}

/* Premium Sticky Clone Styles */
.sticky-clone {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 10px 40px -10px rgba(0, 0, 0, 0.1),
    0 20px 25px -20px rgba(16, 185, 129, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
            top 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: translateY(-10px);
  opacity: 0;
  will-change: transform, opacity;
  top: 0;
}

/* When under nav bar */
.sticky-clone.under-nav {
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 6px 20px -6px rgba(0, 0, 0, 0.08);
}

.sticky-clone.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Hover effect on sticky clone */
.sticky-clone:hover {
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 15px 45px -15px rgba(0, 0, 0, 0.15),
    0 25px 30px -25px rgba(16, 185, 129, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

/* Smooth morphing transitions */
.sticky-clone * {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-clone .step-icon-wrapper {
  width: 40px !important;
  height: 40px !important;
  font-size: 1.25rem !important;
  transform: scale(0.9);
  filter: brightness(1.05) contrast(1.1);
}

.sticky-clone.visible .step-icon-wrapper {
  transform: scale(1);
}

.sticky-clone .step-title {
  font-size: 1.125rem !important;
  letter-spacing: -0.01em;
  opacity: 0.95;
}

.sticky-clone .step-status-btn {
  padding: 8px 16px !important;
  font-size: 0.8rem !important;
  transform: scale(0.95);
}

.sticky-clone.visible .step-status-btn {
  transform: scale(1);
}

.sticky-clone .step-number-badge {
  transform: scale(0.8);
  opacity: 0.9;
}

/* Progress bar morphing */
.sticky-clone .step-progress {
  height: 2px;
  opacity: 0.8;
}

/* Mobile premium enhancements */
@media (max-width: 768px) {
  .sticky-clone {
    border-radius: 0 0 16px 16px;
    padding: 8px 12px !important;  /* Reduced padding */
  }
  
  .sticky-clone.with-mobile-header {
    top: 60px !important;
    box-shadow: 
      0 1px 3px rgba(0, 0, 0, 0.05),
      0 10px 30px -10px rgba(0, 0, 0, 0.08);
  }
}

/* Click ripple effect */
.click-ripple {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.3);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

/* Fade animations */
.step-header.fade-out {
  animation: fadeOut 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.step-header.fade-in {
  animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Placeholder to maintain layout */
.step-header-placeholder {
  display: none;
  height: 112px; /* Default header height with padding */
}

.step-header-placeholder.active {
  display: block;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .step-header.sticky {
    padding: 8px 12px;  /* Reduced padding */
  }
  
  .step-header.sticky .step-icon-wrapper {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }
  
  .step-header.sticky .step-title {
    font-size: 1rem;
  }
  
  .step-header.sticky .step-arrow {
    display: block !important;
    font-size: 1rem;
  }
  
  .step-header-placeholder {
    height: 96px;
  }
}

.step-header:hover {
  background: var(--gray-50);
}

.step-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gray-200);
}

.step-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0;
  transition: width 0.3s ease;
}

.step-card.complete .step-progress-bar {
  width: 100%;
}

.step-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.step-arrow {
  font-size: 1.25rem;
  color: var(--gray-500);
  transition: var(--transition);
  width: 24px;
}

.step-card.open .step-arrow {
  transform: rotate(90deg);
  color: var(--primary);
}

.step-icon-wrapper {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  position: relative;
}

.step-card.complete .step-icon-wrapper {
  background: var(--gradient-primary);
}

.step-number-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--dark);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1 !important;  /* Force this */
  display: flex;
  align-items: center !important;
  min-height: 56px;
  padding-top: 2px;
  margin: 0 !important;  /* Kill all margins */
}

.step-status-btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  z-index: 1;
}

/* Ripple effect base */
.step-status-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.step-status-btn.incomplete {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}

.step-status-btn.incomplete::before {
  background: rgba(16, 185, 129, 0.1);
}

.step-status-btn.incomplete:hover {
  background: var(--gray-100);
  transform: translateY(-3px) scale(1.02);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.2);
}

.step-status-btn.incomplete:hover::before {
  width: 300px;
  height: 300px;
}

.step-status-btn.complete {
  background: var(--gradient-primary);
  color: white;
  border: 2px solid transparent;
}

.step-status-btn.complete:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.5);
}

.step-status-btn.complete:hover::before {
  width: 300px;
  height: 300px;
}

/* Active/Click state */
.step-status-btn:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.1s;
}

/* Pulse animation for completion */
@keyframes pulse-success {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.step-status-btn.pulse-success {
  animation: pulse-success 0.8s ease-out;
}

/* Ensure animation works on sticky clone too */
.sticky-clone .step-status-btn.pulse-success {
  animation: pulse-success 0.8s ease-out;
}

/* Celebrating state for sticky */
.sticky-clone .step-status-btn.celebrating {
  animation: celebrate 0.5s ease;
}

/* Step Content */
.step-content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  will-change: height, opacity;
  transition: none;
}

.step-content-inner {
  padding: 0 32px 32px;
}

/* Fix mobile padding */
@media (max-width: 768px) {
  .step-content-inner {
    padding: 0 0 20px !important;  /* NO side padding */
  }
  
  .content-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Products grid gets special treatment - full bleed */
  .content-section:has(.products-grid) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;  /* Allow negative margins to work */
  }
  
  /* Special case for products grid - full width within its section */
  .content-section:has(.products-grid) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .products-grid {
    padding: 0 12px !important;  /* Grid handles its own padding */
    margin: 24px 0;
  }
  
  .step-card {
    margin-left: 8px;
    margin-right: 8px;
  }
}

.step-card.animating .step-content {
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card.open .step-content {
  opacity: 1;
}

/* Smooth arrow rotation */
.step-arrow {
  font-size: 1.25rem;
  color: var(--gray-500);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  width: 24px;
  display: inline-block;
}

.step-card.open .step-arrow {
  transform: rotate(90deg);
  color: var(--primary);
}

/* Content Sections */
.content-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}

.content-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Add a subtle fade effect to the separator */
.content-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-200) 20%, var(--gray-200) 80%, transparent);
}

.content-section:last-child::after {
  display: none;
}

/* Safe scroll animations - only animate if JavaScript adds the class */
.content-section.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-section.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle stagger for list items */
.content-section.in-view .content-list li {
  animation: subtleFadeIn 0.5s ease-out both;
}

.content-section.in-view .content-list li:nth-child(1) { animation-delay: 0.1s; }
.content-section.in-view .content-list li:nth-child(2) { animation-delay: 0.15s; }
.content-section.in-view .content-list li:nth-child(3) { animation-delay: 0.2s; }
.content-section.in-view .content-list li:nth-child(4) { animation-delay: 0.25s; }
.content-section.in-view .content-list li:nth-child(n+5) { animation-delay: 0.3s; }

/* Elite content cascade animation */
.elite-content .content-list li {
  opacity: 0;
  transform: translateY(10px);
}

.elite-content .content-list li.elite-reveal {
  animation: eliteReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes eliteReveal {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* ELITE CONTENT LOCKING - PREMIUM TIER LOCK SYSTEM (OPTIMIZED) */

/* Main wrapper with sick gradient border */
.elite-content-locked-wrapper {
  position: relative;
  overflow: visible;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 2px;
  margin: 32px 0;
  transform: translateZ(0); /* Force GPU layer */
}

/* Static gradient border - no animation by default */
.elite-content-locked-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #8b5cf6, #3b82f6, #10b981, #f59e0b, #ef4444, #8b5cf6);
  background-size: 300% 300%;
  background-position: 0% 50%;
  border-radius: 24px;
  opacity: 0.7;
  z-index: -1;
  transition: background-position 2s ease;
}

/* Animate gradient only on hover */
.elite-content-locked-wrapper:hover::before {
  background-position: 100% 50%;
}

/* Container for locked content */
.elite-content-locked {
  position: relative;
  background: #0f172a;
  border-radius: 22px;
  overflow: visible;
  min-height: 400px;
}

/* OPTIMIZED TEASER BLUR - Performant but still unreadable */
.elite-content-blur {
  filter: blur(5px) brightness(0.6);
  opacity: 0.6;
  transform: scale(1.01) translateZ(0);
  user-select: none;
  pointer-events: none;
  padding: 32px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  will-change: filter; /* Only when needed */
}

/* Reduce blur on mobile for better performance */
@media (max-width: 768px) {
  .elite-content-blur {
    filter: blur(4px) brightness(0.6);
  }
}

/* Simple overlay instead of complex gradient */
.elite-content-blur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(139, 92, 246, 0.15);
  pointer-events: none;
}

/* Make text visible but unreadable */
.elite-content-blur .content-list li {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* FLOATING LOCK OVERLAY */
.elite-lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
}

/* Lock content - optimized shadows and effects */
.elite-lock-content {
  position: relative;
  text-align: center;
  padding: 48px;
  max-width: 500px;
  width: 90%;
  margin: 60px auto;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(139, 92, 246, 0.15);
  pointer-events: all;
  transform: translateY(-50%) translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Subtle hover effect */
.elite-lock-content:hover {
  transform: translateY(-50%) translateY(-5px) translateZ(0);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(139, 92, 246, 0.2);
}

/* LEGENDARY LOCK ICON - Static by default */
.lock-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
}

.lock-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  font-size: 50px;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Animate only on hover */
.elite-lock-content:hover .lock-icon {
  transform: translate(-50%, -50%) translateY(-5px) scale(1.1) translateZ(0);
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8));
}

/* Static glowing ring */
.lock-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  width: 90px;
  height: 90px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Spinning accent - only on hover */
.lock-ring::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid transparent;
  border-top-color: #8b5cf6;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.elite-lock-content:hover .lock-ring {
  transform: translate(-50%, -50%) scale(1.1) translateZ(0);
}

.elite-lock-content:hover .lock-ring::before {
  opacity: 1;
  animation: lockRingSpin 2s linear infinite;
}

@keyframes lockRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* SIMPLIFIED PARTICLES - Fewer, static by default */
.lock-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.lock-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #8b5cf6;
  border-radius: 50%;
  opacity: 0.3;
  transition: all 0.5s ease;
}

/* Position particles */
.lock-particles span:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.lock-particles span:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); }
.lock-particles span:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.lock-particles span:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); }

/* Animate particles on hover only */
.elite-lock-content:hover .lock-particles span {
  opacity: 1;
}

.elite-lock-content:hover .lock-particles span:nth-child(1) { 
  transform: translateX(-50%) translateY(-15px);
}
.elite-lock-content:hover .lock-particles span:nth-child(2) { 
  transform: translateY(-50%) translateX(15px);
}
.elite-lock-content:hover .lock-particles span:nth-child(3) { 
  transform: translateX(-50%) translateY(15px);
}
.elite-lock-content:hover .lock-particles span:nth-child(4) { 
  transform: translateY(-50%) translateX(-15px);
}

/* CONTENT STYLING */
.lock-title {
  font-size: 2.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lock-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 500;
}

/* OPTIMIZED UPGRADE BUTTON */
.elite-upgrade-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(139, 92, 246, 0.3),
    0 10px 30px rgba(139, 92, 246, 0.2);
  transform: translateZ(0);
}

/* Shimmer effect - only on hover */
.elite-upgrade-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.elite-upgrade-btn:hover {
  transform: translateY(-2px) scale(1.02) translateZ(0);
  box-shadow: 
    0 8px 25px rgba(139, 92, 246, 0.4),
    0 20px 50px rgba(139, 92, 246, 0.3);
}

.elite-upgrade-btn:hover::before {
  left: 100%;
}

.btn-text {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
}

.btn-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.elite-upgrade-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Money back guarantee */
.lock-guarantee {
  margin-top: 20px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
}

.lock-guarantee::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
  font-size: 1.125rem;
}

/* MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
  .elite-lock-content {
    padding: 32px 24px;
    max-width: 90%;
    margin: 0 auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  
  .lock-title {
    font-size: 1.75rem;
  }
  
  .lock-subtitle {
    font-size: 1rem;
  }
  
  .elite-upgrade-btn {
    padding: 18px 32px;
    font-size: 1rem;
  }
  
  .lock-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .lock-icon {
    font-size: 40px;
  }
  
  .lock-particles {
    display: none; /* Hide particles on mobile */
  }
}

/* PERFORMANCE OPTIMIZATIONS */
/* Disable all animations when step is transitioning */
.step-card.animating .elite-content-locked-wrapper,
.step-card.animating .elite-content-locked-wrapper *,
.step-card.animating .elite-lock-content,
.step-card.animating .elite-lock-content * {
  animation: none !important;
  transition: none !important;
}

/* Reduce blur during transitions */
.step-card.animating .elite-content-blur {
  filter: blur(1px) brightness(0.7) !important;
}

/* Pause backdrop filters during animation */
.step-card.animating .elite-lock-content {
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

/* Use GPU acceleration wisely */
.elite-content-locked-wrapper,
.elite-lock-content,
.lock-icon,
.elite-upgrade-btn {
  will-change: auto; /* Let browser decide */
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Skip animation for content when resuming */
body.resuming .content-section.scroll-animate {
  transition: none !important;
}

body.resuming .content-section.scroll-animate.in-view {
  transition: none !important;
}

/* Instant visibility for content above resume position */
.content-section.scroll-animate.instant-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: none !important;
}

.content-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-icon {
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.content-list {
  list-style: none;
  padding: 0;
}

.content-list li {
  padding: 8px 0;
  padding-left: 36px;
  position: relative;
  line-height: 1.5;
  color: var(--gray-700);
  transition: var(--transition);
}

.content-list li:hover {
  color: var(--dark);
  transform: translateX(4px);
}

.content-list li::before {
  content: '→';
  position: absolute;
  left: 12px;
  color: var(--primary);
  font-weight: bold;
}

.media-container {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 20px 0;
  position: relative;
  padding-bottom: 44px; /* Extra padding for the divider */
}

/* Add gradient divider after media container */
.media-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-200) 20%, var(--gray-200) 80%, transparent);
}

.media-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

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

.image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.image-wrapper img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.media-caption {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 12px;
  font-style: italic;
  text-align: center;
}

/* Pro Tips */
.pro-tip {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.pro-tip::before {
  content: '💡';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.1;
}

.pro-tip-title {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Warning Box */
.warning-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-left: 4px solid var(--warning);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin: 20px 0;
  position: relative;
}

.warning-box::before {
  content: '⚠️';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.2;
}

.warning-box strong {
  color: #92400e;
}

/* Service CTA */
.service-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  margin: 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.service-cta h4 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-cta p {
  font-size: 1.125rem;
  margin-bottom: 24px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.service-cta-btn {
  display: inline-block;
  background: white;
  color: var(--primary-dark);
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.service-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* FAQ Section */
.faq-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--gray-200);
}

.faq-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  color: var(--dark);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-arrow {
  transition: transform 0.3s ease;
  color: var(--gray-500);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  color: var(--gray-700);
  overflow: hidden;
  height: 0;
  opacity: 0;
  will-change: height, opacity;
  transition: none;
}

.faq-answer-inner {
  padding: 0 20px 16px;
}

.faq-item.animating .faq-answer {
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  opacity: 1;
}

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

.image-modal.show {
  display: flex;
}

.image-modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.close-modal:hover {
  transform: scale(1.2);
}

/* Timing Charts */
.timing-chart {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
}

.timing-chart h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.timing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.timing-table th {
  background: var(--primary);
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  border-radius: var(--radius) var(--radius) 0 0;
}

.timing-table td {
  padding: 10px;
  border-bottom: 1px solid var(--gray-200);
}

.timing-table tr:hover {
  background: rgba(16, 185, 129, 0.05);
}

/* User's zone highlighting */
.timing-table tr.user-zone {
  background: rgba(16, 185, 129, 0.15);
  font-weight: 600;
  position: relative;
}

.timing-table tr.user-zone:hover {
  background: rgba(16, 185, 129, 0.25);
}

/* Zone tab highlighting */
.zone-tab.user-zone {
  border: 2px solid var(--primary);
  background: rgba(16, 185, 129, 0.1);
}

.zone-tab.user-zone.active {
  background: var(--primary);
  border-color: var(--primary-dark);
}

/* User zone mentions highlighting */
.user-zone-mention {
  background: rgba(16, 185, 129, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--primary-dark);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Calculator Tools */
.calculator-tool {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 20px 0;
}

.calculator-tool h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.calc-input-group {
  margin-bottom: 12px;
}

.calc-input-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.calc-input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.calc-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.calc-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 16px;
}

.calc-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.calc-result {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
  border: 2px solid var(--primary);
  display: none;
}

.calc-result.show {
  display: block;
}

.calc-result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 20px 0;
  position: relative;
  padding-bottom: 44px; /* Extra padding for the divider */
}

/* Add gradient divider after gallery */
.photo-gallery::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-200) 20%, var(--gray-200) 80%, transparent);
}

/* Remove divider if it's the last element in step content */
.step-content-inner > .media-container:last-child::after,
.step-content-inner > .photo-gallery:last-child::after {
  display: none;
}

/* Also remove if last in a content section */
.content-section > .media-container:last-child::after,
.content-section > .photo-gallery:last-child::after {
  display: none;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 20px 16px 16px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Monthly Checklist */
.monthly-checklist {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 20px 0;
}

/* Desktop: Display checklists side by side */
@media (min-width: 769px) {
  .monthly-checklists-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .monthly-checklist {
    margin: 0;
  }
}

.checklist-month {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-items {
  list-style: none;
  padding: 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-400);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  background: white;
}

.checklist-checkbox:hover {
  border-color: var(--primary);
  transform: scale(1.1);
}

.checklist-checkbox.checked {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1);
}

.checklist-checkbox::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0) rotate(-180deg);
  color: white;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checklist-checkbox.checked::after {
  transform: translate(-50%, -50%) scale(1) rotate(0);
  opacity: 1;
}

/* Ripple effect */
@keyframes ripple-check {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

.checklist-checkbox.animating::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  animation: ripple-check 0.6s ease-out;
  pointer-events: none;
}

.checklist-text {
  flex: 1;
  color: var(--gray-700);
  line-height: 1.4;
}

.checklist-item.checked .checklist-text {
  text-decoration: line-through;
  opacity: 0.6;
}

/* Zone-Specific Variations */
.zone-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}

.zone-info h4 {
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 10px;
}

/* Remove the container pseudo element approach */
.zone-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  position: relative;
}

/* Zone grid layout - 5 columns x 2 rows */
.zone-tabs.zone-grid {
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column;
  gap: 8px;
}

/* Zone tab number/letter styling */
.zone-tab .zone-number {
  font-weight: 700;
  font-size: 1.1em;
}

.zone-tab .zone-letter {
  font-weight: 600;
  text-transform: uppercase;
  margin-left: 1px;
}

/* Mobile - Keep 5x2 grid but smaller */
@media (max-width: 768px) {
  .zone-tabs.zone-grid {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    font-size: 0.85rem;
  }
  
  /* Hide "Zone" text on mobile - handled by spans */
  .zone-tab .zone-number {
    font-size: 1.2em;
  }
  
  .zone-tab {
    padding: 6px 8px;
    min-width: 0;
  }
}

/* Small mobile - Allow text wrap if needed */
@media (max-width: 480px) {
  .zone-tabs.zone-grid {
    gap: 4px;
    font-size: 0.8rem;
  }
  
  .zone-tab {
    padding: 5px 6px;
  }
}

/* Tablet - Still maintain 5x2 */
@media (min-width: 769px) and (max-width: 1024px) {
  .zone-tabs.zone-grid {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}

/* Add indicator to individual tabs instead */
.zone-tab::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary) 20%, 
    var(--primary) 80%, 
    transparent 100%);
  border-radius: 3px;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Show indicator on active tab */
.zone-tab.active::after {
  opacity: 1;
  transform: scaleX(1);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

/* Add morphing effect on hover */
.zone-tab:hover:not(.active)::after {
  opacity: 0.3;
  transform: scaleX(0.8);
}

.zone-tab {
  padding: 8px 16px;
  background: var(--gray-200);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

/* Hover lift effect */
.zone-tab:hover:not(.active) {
  transform: translateY(-2px);
  background: var(--gray-300);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Active state with scale */
.zone-tab.active {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

/* Subtle glow on active */
.zone-tab.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.zone-content {
  display: none;
}

.zone-content.active {
  display: block;
}

/* Premium Product Cards - 2035 Style */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0;
  padding: 8px;
}

/* Desktop - 3 columns */
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Mobile - Single column with proper constraints */
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 0 !important;  /* NO padding on grid itself */
    margin: 16px -12px !important;  /* Negative margin to compensate parent padding */
    max-width: calc(100% + 24px);  /* Account for negative margins */
    overflow: hidden;
    contain: layout;
  }
  
  .product-card {
    width: calc(100% - 24px) !important;  /* Account for grid padding */
    max-width: none !important;  /* Remove max-width constraint */
    margin: 0 12px !important;  /* Equal left/right margins */
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-sizing: border-box !important;
  }
  
  /* Ensure images and content don't overflow */
  .product-card-image {
    max-width: 100%;
    width: 100%;
    height: 180px;
  }
  
  .product-card-content {
    max-width: 100%;
    overflow: hidden;
  }
  
  .product-card-title,
  .product-card-price,
  .product-card-cta {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Tablet - 2 columns */
@media (min-width: 768px) and (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Add vertical divider between columns */
  .product-card:nth-child(odd) {
    position: relative;
  }
  
  .product-card:nth-child(odd)::after {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    right: -12px;
    width: 1px;
    background: var(--gray-200);
  }
  
  /* Horizontal dividers between rows */
  .product-card:nth-child(n+3) {
    position: relative;
  }
  
  .product-card:nth-child(n+3)::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--gray-200);
  }
}

.product-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200) !important;  /* More visible border */
  box-sizing: border-box !important;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  padding: 0;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  transform: translateY(0);
}

/* Force product cards to behave on mobile */
@media (max-width: 767px) {
  .product-card * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure step containers don't clip */
  .step-card {
    overflow-x: visible !important;
  }
  
  .step-content {
    overflow-x: visible !important;
  }
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05),
    0 30px 40px -10px rgba(16, 185, 129, 0.15),
    0 15px 20px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.product-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image img {
  transform: scale(1.1);
}

.product-card-content {
  padding: 20px;
}

.product-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-card-price .original-price {
  font-size: 1rem;
  color: var(--gray-500);
  text-decoration: line-through;
  font-weight: 400;
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap 0.3s ease;
}

.product-card:hover .product-card-cta {
  gap: 12px;
}

.product-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: badgeBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s both;
  
  /* Default style - neutral */
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Badge animation */
@keyframes badgeBounce {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* TOP RATED - Gold/Premium */
.product-card-badge.badge-top-rated {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: 2px solid rgba(251, 191, 36, 0.4);
  font-weight: 800;
}

/* Discount badges (% OFF) - Red Alert */
.product-card-badge.badge-discount {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: 2px solid rgba(254, 202, 202, 0.3);
  animation-delay: 0.1s;
}

/* ECO-Friendly - Blue/Teal */
.product-card-badge.badge-eco {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
  border: 2px solid rgba(165, 243, 252, 0.3);
}

/* NEW - Purple */
.product-card-badge.badge-new {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  border: 2px solid rgba(196, 181, 253, 0.3);
}

/* BEST VALUE - Green (but different from lawn green) */
.product-card-badge.badge-best {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  border: 2px solid rgba(167, 243, 208, 0.3);
}

/* Add hover effect */
.product-card:hover .product-card-badge {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Floating Notepad */
.notepad {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 380px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  transition: var(--transition);
  z-index: 1000;
  border: 1px solid var(--gray-200);
}

.notepad.minimized {
  width: auto;
  height: auto;
}

.notepad.minimized .notepad-content {
  display: none;
}

/* Force spacing in minimized state */
.notepad.minimized .notepad-header {
  gap: 16px !important;
  padding: 12px 16px !important;
  border-radius: var(--radius-xl) !important;
}

.notepad.minimized .notepad-title {
  margin-right: 8px !important;
}

.notepad-header {
  background: var(--gradient-primary);
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.notepad-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.notepad-controls {
  display: flex;
  gap: 8px;
}

.notepad-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  width: 38px !important;
  height: 28px !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  padding: 0 !important;
}

.notepad-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.notepad-content {
  padding: 20px;
}

.notepad textarea {
  width: 100%;
  height: 200px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 16px !important;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  transition: var(--transition);
}

.notepad textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.notepad-save-btn {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 700;
  margin-top: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.notepad-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Multi-stage save button animations */
.notepad-save-btn.saving {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.notepad-save-btn.saving .spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

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

.notepad-save-btn.saved {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  animation: saveSuccess 0.5s ease;
}

@keyframes saveSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Notepad glow effect */
.notepad.save-glow {
  animation: noteSaveGlow 1s ease;
}

@keyframes noteSaveGlow {
  0% {
    box-shadow: var(--shadow-2xl);
  }
  50% {
    box-shadow: 
      var(--shadow-2xl),
      0 0 30px rgba(16, 185, 129, 0.4),
      0 0 60px rgba(16, 185, 129, 0.2);
  }
  100% {
    box-shadow: var(--shadow-2xl);
  }
}

/* Floating Action Button */
.fab-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
}

.fab {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  background: var(--gradient-primary) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-size: 28px !important;
  box-shadow: var(--shadow-xl) !important;
  cursor: pointer !important;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  border: none !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  font-family: inherit !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  aspect-ratio: 1 / 1 !important;
}

/* Force the emoji to show properly */
.fab-icon {
  display: inline-block !important;
  font-size: 28px !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform-origin: center !important;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl);
}

/* FAB rotation when menu opens */
.fab-container.menu-open .fab {
  transform: rotate(135deg) scale(0.95);
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  box-shadow: 
    0 8px 32px rgba(239, 68, 68, 0.3),
    0 12px 48px -8px rgba(220, 38, 38, 0.4) !important;
}

.fab-container.menu-open .fab:hover {
  transform: rotate(135deg) scale(1.05);
}

/* Smooth icon transition with spring physics */
.fab-icon {
  display: inline-block !important;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
  line-height: 1 !important;
  will-change: transform;
}

/* Add a subtle bounce when opening */
@keyframes fabOpen {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(145deg) scale(0.9);
  }
  100% {
    transform: rotate(135deg) scale(0.95);
  }
}

.fab-container.menu-open .fab {
  animation: fabOpen 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Remove pulse when menu is open */
.fab-container.menu-open .fab {
  animation: fabOpen 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* Pulse animation for FAB */
@keyframes fabPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.fab:not(.menu-open) {
  animation: fabPulse 3s infinite;
}

/* Mobile FAB adjustments */
@media (max-width: 768px) {
  .fab-container {
    bottom: calc(80px + var(--safe-bottom));  /* Match progress ring */
    left: 20px;
  }
  
  .fab {
    width: 56px;
    height: 56px;
  }
}

/* Premium glow effects */
.fab-menu-item {
  position: relative;
  z-index: 1;
}

.fab-menu-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0) 0%, 
    rgba(16, 185, 129, 0.1) 50%, 
    rgba(16, 185, 129, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 12px;
}

.fab-menu-item:hover::after {
  opacity: 1;
}

/* Active state */
.fab-menu-item:active {
  transform: scale(0.98);
}

/* Desktop-only enhancements */
@media (min-width: 769px) {
  .fab-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
  }
  
  .fab-menu {
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.08),
      0 24px 60px -12px rgba(16, 185, 129, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

.fab-menu {
  position: absolute;
  bottom: 70px;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.1),
    0 20px 60px -10px rgba(16, 185, 129, 0.2);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95) rotateX(-10deg);
  transform-origin: bottom left;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 220px;
  overflow: hidden;
  will-change: transform, opacity;
}

.fab-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) rotateX(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ultra smooth menu item animations */
@keyframes slideInFab {
  0% {
    opacity: 0;
    transform: translateY(10px) translateX(-10px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0);
    filter: blur(0);
  }
}

.fab-menu.open .fab-menu-item {
  animation: slideInFab 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fab-menu.open .fab-menu-item:nth-child(1) { animation-delay: 0.05s; }
.fab-menu.open .fab-menu-item:nth-child(2) { animation-delay: 0.1s; }
.fab-menu.open .fab-menu-item:nth-child(3) { animation-delay: 0.15s; }
.fab-menu.open .fab-menu-item:nth-child(4) { animation-delay: 0.2s; }
.fab-menu.open .fab-menu-item:nth-child(5) { animation-delay: 0.25s; }
.fab-menu.open .fab-menu-item:nth-child(6) { animation-delay: 0.3s; }

/* FAB menu items with stagger animation */
.fab-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-20px);
  position: relative;
  overflow: hidden;
}

.fab-menu.open .fab-menu-item {
  animation: slideInFab 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideInFab {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Ripple effect on hover - FIXED */
.fab-menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px !important;
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0) 0%, 
    rgba(16, 185, 129, 0.08) 100%);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.fab-menu-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

.fab-menu-item:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
  color: var(--primary);
  transform: translateX(4px);
}

/* Icon animations */
.fab-menu-item span:first-child {
  font-size: 1.2rem;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.fab-menu-item:hover span:first-child {
  transform: scale(1.2) rotate(10deg);
}

/* Label styling */
.fab-menu-label {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* Progress Section */
.progress-ring {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  z-index: 1000;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Progress ring background styles for scroll effect */
.progress-ring::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.progress-ring.hero-bg::before {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  width: 110%;
  height: 110%;
}

.progress-ring.white-bg::before {
  background: rgba(16, 185, 129, 0.08);
  width: 105%;
  height: 105%;
}

.progress-ring.dark-bg::before {
  background: rgba(255, 255, 255, 0.1);
  width: 108%;
  height: 108%;
}

/* Adjust ring colors based on background */
.progress-ring.hero-bg .progress-ring-bg {
  stroke: rgba(255, 255, 255, 0.2);
}

.progress-ring.hero-bg .progress-ring-text {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-ring.dark-bg .progress-ring-bg {
  stroke: rgba(255, 255, 255, 0.15);
}

.progress-ring.dark-bg .progress-ring-text {
  color: white;
}

.progress-ring.dark-bg .progress-ring-progress {
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
}

/* Bounce attention animation */
@keyframes bounce-attention {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.15);
  }
  50% {
    transform: scale(0.95);
  }
  75% {
    transform: scale(1.05);
  }
}

.progress-ring.bounce-attention {
  animation: bounce-attention 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.progress-ring:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.5));
}

.progress-ring-bg {
  fill: none;
  stroke: var(--gray-200);
  stroke-width: 8;
  opacity: 0.3;
}

.progress-ring-progress {
  fill: none;
  stroke: url(#gradient);
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.4));
}

/* Pulse animation when progress updates */
@keyframes progress-pulse {
  0% {
    stroke-width: 8;
    opacity: 1;
  }
  50% {
    stroke-width: 12;
    opacity: 0.8;
  }
  100% {
    stroke-width: 8;
    opacity: 1;
  }
}

.progress-ring-progress.updating {
  animation: progress-pulse 0.6s ease-out;
}

/* Glow effect for completion */
.progress-ring.complete {
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.8));
  }
}

.progress-ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Resume Progress Prompt */
.resume-prompt {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 24px;
  max-width: 380px;
  z-index: 1001;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 2px solid var(--primary);
}

.resume-prompt.show {
  transform: translateY(0);
}

.resume-prompt-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.resume-prompt-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: bounce-attention 2s ease-in-out infinite;
}

.resume-prompt-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
}

.resume-prompt-text {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.resume-prompt-step {
  background: var(--gray-100);
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--primary);
}

.resume-prompt-actions {
  display: flex;
  gap: 12px;
}

.resume-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.resume-btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.resume-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.resume-btn-secondary {
  background: var(--gray-200);
  color: var(--gray-700);
}

.resume-btn-secondary:hover {
  background: var(--gray-300);
}

.resume-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.resume-close:hover {
  color: var(--gray-700);
}

/* Resume highlight effect */
.step-card.highlight-resume {
  animation: resume-highlight 2s ease-in-out;
}

/* Performance optimizations during resume */
body.resuming * {
  animation-duration: 0s !important;
  transition-duration: 0s !important;
}

.step-card.no-animation .step-content {
  animation: none !important;
  display: block !important;
  height: auto !important;
}

.step-card.no-animation .step-arrow {
  transition: none !important;
  transform: rotate(90deg) !important;
}

@keyframes resume-highlight {
  0%, 100% {
    box-shadow: var(--shadow);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3),
                0 10px 40px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
  }
}

/* Mobile Sticky Header - Hidden by default */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  padding-top: var(--safe-top);
  display: none !important;
}

@media (max-width: 768px) {
  .sticky-header.show {
    display: block !important;
  }
}

/* Bottom Navigation - Mobile Only */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding-bottom: var(--safe-bottom);
  display: none;
}

.bottom-nav-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--gray-600);
  min-height: 56px;
}

.nav-item.active {
  color: var(--primary);
}

.nav-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 2000;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, -30px) rotate(180deg); }
}

@keyframes celebrate {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.celebrating {
  animation: celebrate 0.5s ease;
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-300) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Enhanced print protection - UPDATES existing @media print */
@media print {
  /* Hide everything except warning */
  body * {
    visibility: hidden !important;
    display: none !important;
  }
  
  /* Show CONFIDENTIAL warning */
  body::after {
    content: 'BLADE BOSS CONFIDENTIAL \A DO NOT DISTRIBUTE\A\AThis content is protected by copyright.\APrinting is disabled.';
    visibility: visible !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 36px !important;
    font-weight: bold !important;
    color: #dc2626 !important;
    text-align: center !important;
    white-space: pre !important;
    z-index: 999999 !important;
  }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  body {
    padding-top: 0;
    padding-bottom: calc(70px + var(--safe-bottom));
  }
  
  .watermark {
    font-size: 4rem;
  }
  
  .container {
    padding: 0 8px;
  }
  
  .hero-header {
    padding: 100px 0px 30px;  /* Add horizontal padding */
    margin: 0 !important;  /* Override the insane margins */
    padding-left: 0px !important;  /* Override the 9999px padding */
    padding-right: 0px !important;  /* Override the 9999px padding */
    margin-bottom: -20px;
  }
  
  .hero-title {
    padding-top: 20px;  /* Extra padding for navbar clearance */
  }
  
  .hero-subtitle {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;  /* Nuclear option */
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    hyphens: auto;
    -webkit-hyphens: auto;
    display: block !important;  /* Force block display */
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
  }
  
  .hero-tagline {
    display: none;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 8px;
    padding: 20px 16px;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .stat-value {
    font-size: 1.75rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .progress-card {
    padding: 20px 16px;
    margin: 20px 0;
  }
  
  .progress-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .progress-title {
    font-size: 1.25rem;
  }
  
  .nav-card {
    padding: 20px 16px;
  }
  
  .step-card {
    margin-bottom: 12px;
    border-radius: var(--radius-lg);
  }
  
  .step-header {
    padding: 16px;
    flex-wrap: wrap;
  }
  
  .step-left {
    width: 100%;
    gap: 12px;
  }
  
  .step-icon-wrapper {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  
  .step-title {
    font-size: 1.125rem;
    flex: 1;
  }
  
  .step-status-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    margin-top: 8px;
    width: 100%;
  }
  
  .step-arrow {
    display: none;
  }
  
  .step-content {
    padding: 0 16px 16px;
  }
  
  .content-title {
    font-size: 1rem;
  }
  
  /* NUCLEAR BULLET FIX - Override everything */
  .content-list li,
  .elite-content .content-list li,
  .content-section .content-list li,
  .faq-answer .content-list li {
    padding: 8px 0 8px 16px !important;  /* Left padding reduced */
    margin-left: 0 !important;
    text-indent: 0 !important;
  }
  
  .content-list li::before,
  .elite-content .content-list li::before,
  .content-section .content-list li::before,
  .faq-answer .content-list li::before {
    left: 0 !important;  /* Absolute left edge */
    margin-left: 0 !important;
  }
  
  /* Ensure list has no padding */
  .content-list {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  
  .media-container {
    padding: 16px;
  }
  
  .pro-tip {
    padding: 16px;
  }
  
  .service-cta {
    padding: 24px 16px;
  }
  
  .service-cta h4 {
    font-size: 1.25rem;
  }
  
  .service-cta p {
    font-size: 0.9375rem;
  }
  
  .faq-question {
    padding: 14px 16px;
    font-size: 0.9375rem;
  }
  
  /* Hide desktop elements */
  .notepad {
    display: none;
  }
  
  .progress-ring {
    top: auto;
    bottom: calc(80px + var(--safe-bottom));
    right: 16px;
    width: 60px;
    height: 60px;
  }
  
  .progress-ring svg {
    width: 60px;
    height: 60px;
    display: block;
  }
  
  .progress-ring-text {
    font-size: 0.875rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Show mobile elements */
  .bottom-nav {
    display: block;
  }
  
  /* Touch feedback */
  button, .nav-item, .step-header, .faq-question {
    -webkit-tap-highlight-color: rgba(16, 185, 129, 0.1);
  }
  
  button:active, .nav-item:active {
    transform: scale(0.98);
  }
  
  /* Toast positioning for mobile */
  .toast {
    bottom: calc(80px + var(--safe-bottom));
    font-size: 0.875rem;
    padding: 12px 20px;
  }
  
  .photo-gallery {
    grid-template-columns: 1fr;
  }
  
  .timing-table {
    font-size: 0.875rem;
  }
  
  .timing-table th,
  .timing-table td {
    padding: 8px;
  }
}