/* ==============================================================================
   SCOPETOSHIP PREMIUM DESIGN SYSTEM & STYLING (VANILLA CSS)
   Theme: Immersive Cyber-Obsidian & Frosted Holographic Glassmorphism
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Ultra-Premium Palette Tokens */
  --bg-color: #03050a;
  --bg-card: rgba(10, 16, 32, 0.65);
  --bg-card-hover: rgba(15, 23, 48, 0.8);
  --border-color: rgba(139, 92, 246, 0.12);
  --border-hover: rgba(6, 182, 212, 0.35);
  
  --border-red: rgba(239, 68, 68, 0.15);
  --border-red-hover: rgba(239, 68, 68, 0.4);
  --border-green: rgba(16, 185, 129, 0.15);
  --border-green-hover: rgba(16, 185, 129, 0.4);

  /* Primary Branding Colors */
  --primary: hsl(262, 83%, 62%);       /* Cosmic Electric Violet */
  --primary-hover: hsl(262, 90%, 70%);
  --secondary: hsl(190, 95%, 48%);     /* Hyper-Glowing Ice Cyan */
  --secondary-hover: hsl(190, 100%, 60%);
  --success: hsl(150, 84%, 43%);       /* Shipping Emerald */
  --danger: hsl(358, 85%, 52%);        /* Crimson Red */
  --warning: hsl(38, 92%, 50%);        /* Warning Gold */
  
  /* Text Tokens */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Typographical Fonts */
  --font-title: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  /* Transitions & FX */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --glow-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
  --glow-shadow-green: 0 0 35px rgba(16, 185, 129, 0.25);
  --glow-shadow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(6, 182, 212, 0.03) 0%, transparent 40%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #020306;
}
::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.2);
  border: 2px solid #020306;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Dynamic Ambient Floating Background Orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  pointer-events: none;
  animation: floatOrb 25s infinite alternate ease-in-out;
}
.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(139, 92, 246, 0.1) 80%);
  top: -15%;
  left: -10%;
  opacity: 0.2;
}
.bg-orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--secondary) 0%, rgba(6, 182, 212, 0.1) 80%);
  bottom: -20%;
  right: -10%;
  animation-delay: -7s;
  opacity: 0.15;
}
.bg-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ec4899 0%, rgba(236, 72, 153, 0.05) 80%);
  top: 35%;
  left: 45%;
  opacity: 0.08;
  animation-delay: -14s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.15); }
  100% { transform: translate(-40px, 50px) scale(0.9); }
}

/* Layout Container */
.content-container {
  max-width: 1200px;
  margin: 120px auto 40px auto;
  padding: 0 28px;
}

/* Frosted Glassmorphic Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}
.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.6),
    var(--glow-shadow-cyan);
  transform: translateY(-2px);
}

/* Global Navigation Header */
.global-header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  padding: 16px 32px;
  z-index: 100;
  border-radius: 100px;
  background: rgba(4, 8, 18, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 
    0 10px 40px -10px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--secondary);
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
}
.logo span {
  background: linear-gradient(135deg, #fff 40%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 100px;
  transition: var(--transition-smooth);
}
.nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(139, 92, 246, 0.15));
}

/* Floating Pill Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(139, 92, 246, 0.08);
  color: var(--primary-hover);
  border: 1px solid rgba(139, 92, 246, 0.2);
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.widget-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.widget-badge.purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-hover);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

/* Buttons System */
.cta-btn-lg, .cta-btn-sm, .secondary-btn-lg {
  font-family: var(--font-title);
  font-weight: 700;
  cursor: pointer;
  border-radius: 100px;
  transition: var(--transition-bounce);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cta-btn-lg {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  border: none;
  padding: 18px 40px;
  font-size: 16px;
  box-shadow: 
    0 8px 30px rgba(139, 92, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.cta-btn-lg:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(139, 92, 246, 0.5),
    var(--glow-shadow-cyan);
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--secondary-hover) 100%);
}
.cta-btn-lg:active {
  transform: translateY(-1px) scale(0.99);
}

.cta-btn-sm {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 13px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}
.cta-btn-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.secondary-btn-lg {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 40px;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.secondary-btn-lg:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* View Sections (SPA Transitions) */
.view-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.view-section.active {
  display: block;
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==============================================================================
   VIEW 1: LANDING PAGE AESTHETICS
   ============================================================================== */
.hero-section {
  text-align: center;
  padding: 80px 0 100px 0;
  max-width: 900px;
  margin: 0 auto;
}
.hero-section h1 {
  font-size: 64px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.hero-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Comparison Section */
.comparison-section {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  font-size: 38px;
  margin-bottom: 50px;
  font-weight: 800;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.comp-card {
  border-radius: 24px;
}
.comp-card.bad {
  border-color: var(--border-red);
  background: rgba(18, 10, 15, 0.4);
}
.comp-card.bad:hover {
  border-color: var(--border-red-hover);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.05);
}
.comp-card.good {
  border-color: var(--border-green);
  background: rgba(10, 24, 20, 0.45);
}
.comp-card.good:hover {
  border-color: var(--border-green-hover);
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.08), var(--glow-shadow-green);
}
.comp-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.comp-icon {
  width: 32px;
  height: 32px;
}
.comp-icon.red { color: var(--danger); filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.4)); }
.comp-icon.green { color: var(--success); filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4)); }

.comp-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.comp-card li {
  display: flex;
  flex-direction: column;
}
.comp-card li strong {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-weight: 600;
}
.comp-card li span {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Feature Pillars Grid */
.pillars-section {
  padding: 80px 0;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.pillar-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 20px;
  height: 100%;
}
.pillar-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon-wrap svg {
  width: 26px;
  height: 26px;
}
.pillar-icon-wrap.violet { color: var(--primary); background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.2); }
.pillar-icon-wrap.cyan { color: var(--secondary); background: rgba(6, 182, 212, 0.12); border: 1px solid rgba(6, 182, 212, 0.2); }
.pillar-icon-wrap.emerald { color: var(--success); background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.2); }
.pillar-icon-wrap.orange { color: var(--warning); background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.2); }
.pillar-icon-wrap.pink { color: #ec4899; background: rgba(236, 72, 153, 0.12); border: 1px solid rgba(236, 72, 153, 0.2); }

.pillar-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}
.pillar-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Steps Workflow Timeline */
.steps-section {
  padding: 80px 0;
}
.steps-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.step-item {
  flex: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}
.step-item:hover {
  border-color: rgba(139, 92, 246, 0.25);
  background: rgba(255, 255, 255, 0.03);
}
.step-number {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.03) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.step-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
.step-item p {
  font-size: 13px;
  color: var(--text-secondary);
}
.step-arrow {
  color: var(--text-muted);
  display: flex;
  align-items: center;
}
.step-arrow svg {
  width: 28px;
  height: 28px;
}

/* Call to Action Banner */
.cta-banner {
  text-align: center;
  background: linear-gradient(135deg, rgba(10, 16, 32, 0.95) 0%, rgba(139, 92, 246, 0.06) 100%);
  border-color: rgba(139, 92, 246, 0.25);
  padding: 64px 32px;
  border-radius: 28px;
  margin: 80px 0;
  box-shadow: 
    0 30px 60px -20px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.06);
}
.cta-banner h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
}
.cta-banner p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==============================================================================
   VIEW 2: ONBOARDING WIZARD
   ============================================================================== */
.wizard-container {
  max-width: 720px;
  margin: 40px auto;
  background: rgba(6, 10, 22, 0.75);
}
.wizard-header {
  text-align: center;
  margin-bottom: 40px;
}
.wizard-badge {
  font-size: 11px;
  font-weight: 800;
  background: var(--secondary);
  color: #03050a;
  padding: 6px 14px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 14px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}
.wizard-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.wizard-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

.form-group {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-group input[type="text"],
.form-group textarea {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.5px;
  color: #fff;
  font-family: var(--font-body);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
  transition: var(--transition-smooth);
}
.form-group input[type="text"]:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 
    0 0 20px rgba(6, 182, 212, 0.15),
    inset 0 2px 4px rgba(0,0,0,0.5);
  outline: none;
}
.form-group textarea {
  height: 120px;
  resize: vertical;
}
.input-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}
.required {
  color: var(--danger);
}

/* Tool Grid Selector */
.tool-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tool-option-card {
  cursor: pointer;
}
.tool-option-card input[type="radio"] {
  display: none;
}
.tool-inner {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tool-inner:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}
.tool-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.lovable-logo { background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); color: #fff; }
.cursor-logo { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); color: #fff; }
.bolt-logo { background: linear-gradient(135deg, #be123c 0%, #f43f5e 100%); color: #fff; }
.replit-logo { background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%); color: #fff; }

.tool-option-card input[type="radio"]:checked + .tool-inner {
  border-color: var(--secondary);
  background: rgba(6, 182, 212, 0.08);
  box-shadow: 
    0 10px 25px -5px rgba(6, 182, 212, 0.2),
    var(--glow-shadow-cyan);
  transform: translateY(-3px) scale(1.03);
}
.tool-option-card span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}
.tool-option-card input[type="radio"]:checked + .tool-inner span {
  color: var(--text-primary);
}

/* Skill Chip Option Selector */
.skill-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skill-chip {
  cursor: pointer;
}
.skill-chip input[type="radio"] {
  display: none;
}
.skill-chip span {
  display: block;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  transition: var(--transition-bounce);
  color: var(--text-secondary);
}
.skill-chip span:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}
.skill-chip input[type="radio"]:checked + span {
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.08);
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: 
    0 8px 20px -5px rgba(139, 92, 246, 0.2),
    var(--glow-shadow);
  transform: translateX(6px) scale(1.01);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
}

/* Dynamic Loading Overlay and Agent Workflow steps */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 3, 6, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-card {
  max-width: 500px;
  width: 100%;
  text-align: center;
  padding: 48px;
  border-radius: 28px;
  background: rgba(10, 16, 32, 0.8);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.9),
    var(--glow-shadow);
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.loading-pulse {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 32px auto;
}
.pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border: 4px solid var(--secondary);
  border-radius: 50%;
  animation: pulseOuter 1.6s infinite ease-out;
}
.loading-icon {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  color: var(--primary);
  animation: rotateIcon 5s infinite linear;
}

@keyframes pulseOuter {
  0% { transform: scale(0.6); opacity: 1; border-color: var(--primary); }
  50% { border-color: var(--secondary); }
  100% { transform: scale(1.3); opacity: 0; border-color: var(--secondary-hover); }
}
@keyframes rotateIcon {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-steps {
  margin-top: 36px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.loading-step {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-smooth);
}
.loading-step::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: var(--transition-bounce);
}
.loading-step.active {
  color: var(--text-primary);
  font-weight: 700;
}
.loading-step.active::before {
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
  transform: scale(1.4);
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s infinite linear;
}
.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ==============================================================================
   VIEW 3: PLAN DASHBOARD & ACTION CENTER
   ============================================================================== */
.dashboard-header-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  border-radius: 24px;
  background: rgba(10, 16, 32, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.db-header-left h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
}
.db-header-left p {
  color: var(--text-secondary);
  font-size: 15px;
}
.db-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.db-badge.glow-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

/* Interactive Launch Progress Bar */
.progress-container {
  width: 300px;
}
.progress-details {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 600;
}
.progress-details span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.progress-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--success) 100%);
  border-radius: 100px;
  box-shadow: 0 0 15px var(--success);
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.progress-tasks-text {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: right;
  font-weight: 600;
}

/* Dashboard Columns Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr;
  gap: 28px;
}
.dashboard-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.db-widget {
  border-radius: 20px;
  padding: 24px;
}
.db-widget.border-red {
  border-color: var(--border-red);
}
.db-widget.border-red:hover {
  border-color: var(--border-red-hover);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(239, 68, 68, 0.05);
}

.widget-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-title.text-red {
  color: #fca5a5;
}
.widget-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Context Metadata Cards */
.meta-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.meta-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 12px;
}
.meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.meta-item span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.meta-item strong {
  font-size: 14.5px;
  color: var(--text-primary);
}
.meta-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Core MVP Features List */
.scope-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scope-list li {
  position: relative;
  padding-left: 40px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}
.scope-list li::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  background: rgba(6, 182, 212, 0.15);
  color: var(--secondary-hover);
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}
.scope-list li:nth-child(1)::before { content: '1'; }
.scope-list li:nth-child(2)::before { content: '2'; }
.scope-list li:nth-child(3)::before { content: '3'; }

/* Creep / Do-not-build features list */
.creep-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.creep-list li {
  position: relative;
  padding-left: 28px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  line-height: 1.5;
}
.creep-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 800;
  font-size: 14px;
}

/* Prompt Box mockup design (VS-Code style Editor shell) */
.widget-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 8px 16px;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-bounce);
}
.copy-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}
.copy-btn svg {
  width: 14px;
  height: 14px;
}

.prompt-code-box {
  background: #010204;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 18px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: inset 0 3px 10px rgba(0,0,0,0.9);
  position: relative;
}
/* Left colored editor vertical sidebar edge */
.prompt-code-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 12px 0 0 12px;
}
.prompt-code-box code {
  font-family: 'Fira Code', Consolas, Monaco, monospace;
  font-size: 12.5px;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.6;
}

/* Satisfying Springy Checkboxes & Done Card Fade */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.03);
  background: rgba(255, 255, 255, 0.015);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: var(--transition-bounce);
}
.checklist-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateX(4px);
}
.checklist-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.35);
}
.checklist-checkbox svg {
  width: 12px;
  height: 12px;
  color: #fff;
  display: none;
  transition: var(--transition-bounce);
}

.checklist-item:hover .checklist-checkbox {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.checklist-item.checked {
  background: rgba(16, 185, 129, 0.02);
  border-color: rgba(16, 185, 129, 0.15);
  opacity: 0.65;
}
.checklist-item.checked .checklist-checkbox {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
  transform: scale(1.1);
}
.checklist-item.checked .checklist-checkbox svg {
  display: block;
  animation: checkScale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes checkScale {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.checklist-content {
  display: flex;
  flex-direction: column;
}
.checklist-day {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.checklist-text {
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}
.checklist-item.checked .checklist-text {
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Week 1 Traffic List */
.traffic-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.traffic-item {
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
}
.traffic-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateY(-2px);
}
.traffic-item-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-hover);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.traffic-item-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Stuck? AI Troubleshooting Terminal */
.debugger-widget {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.debugger-widget:hover {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 
    0 25px 50px -10px rgba(0, 0, 0, 0.8),
    var(--glow-shadow);
}
.margin-top-sm {
  margin-top: 14px;
}
.full-width {
  width: 100%;
}
.debugger-response-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.debugger-response-box h4 {
  font-size: 14px;
  color: var(--success);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.debugger-content {
  font-size: 13px;
  color: var(--text-secondary);
  background: #010204;
  border-radius: 12px;
  padding: 18px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.6);
  line-height: 1.6;
}
.debugger-content p {
  margin-bottom: 12px;
}
.debugger-content ol, .debugger-content ul {
  padding-left: 24px;
  margin-bottom: 12px;
}
.debugger-content li {
  margin-bottom: 6px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: linear-gradient(135deg, var(--success) 0%, #10b981 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  z-index: 2000;
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.5),
    0 0 20px rgba(16, 185, 129, 0.3);
  transform: translateY(120px) scale(0.9);
  opacity: 0;
  transition: var(--transition-bounce);
}
.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Global Footer */
.global-footer {
  width: 100%;
  text-align: center;
  padding: 60px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 100px;
  color: var(--text-muted);
  font-size: 13px;
  background: rgba(2, 3, 6, 0.5);
}
.footer-tag {
  font-family: var(--font-title);
  color: var(--primary-hover);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 10px;
}

/* Responsive Grid and Breakpoints */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .content-container {
    padding: 0 20px;
    margin-top: 110px;
  }
  .global-header {
    width: calc(100% - 32px);
    padding: 12px 24px;
    top: 16px;
  }
  .hero-section h1 {
    font-size: 42px;
  }
  .hero-sub {
    font-size: 17px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }
  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps-container {
    flex-direction: column;
    gap: 28px;
  }
  .step-arrow {
    transform: rotate(90deg);
    justify-content: center;
  }
  .tool-selector-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .dashboard-header-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
  }
  .progress-container {
    width: 100%;
  }
}
