@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

/* Remove borders and outlines from most elements, but preserve for FontAwesome icons */
*:not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not([class*="fa-"]):not(i[class*="fa"]) {
  border: none !important;
  outline: none !important;
}

/* Ensure FontAwesome icons display properly */
.fas, .far, .fab, .fal, .fad, [class*="fa-"], i[class*="fa"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  display: inline-block !important;
  font-weight: 900 !important;
}

/* Specific FontAwesome icon fixes */
.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.far {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

:root {
  /* Grayscale Theme */
  --primary: #424242;
  --primary-light: #525252;
  --primary-dark: #212121;
  --secondary: #525252;
  --accent: #424242;
  --accent-light: #525252;
  
  /* Very Dark Background Theme */
  --bg-primary: #000000;
  --bg-secondary: #181818;
  --bg-tertiary: #121212;
  --bg-card: #181818;
  --bg-elevated: #121212;
  
  /* Very Dark Gradients */
  --gradient-primary: #212121;
  --gradient-secondary: #212121;
  --gradient-accent: #212121;
  --gradient-hero: #212121;
  --gradient-card: #121212;
  --gradient-galaxy: #212121;
  
  /* Modern Colors */
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  
  /* Status Colors */
  --success: #424242;
  --warning: #525252;
  --error: #212121;
  --info: #424242;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Modern Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-size-7xl: 4.5rem;
  --font-size-8xl: 6rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  

  /* Animations */
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
}

body {
  font-family: var(--font-family);
  background: #181818;
  color: #ffffff;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  font-optical-sizing: auto;
}

/* Simple background - no animations */
body::before {
  display: none;
}

/* Simple background overlay */
body::after {
  display: none;
}

/* Removed all galaxy animations and effects */

/* Step Progress Animations */
@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes progressGlow {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  50% { transform: translateX(0); opacity: 1; }
}

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

@keyframes activePulse {
  0%, 100% { 
    box-shadow: 
      0 0 0 3px rgba(139, 92, 246, 0.3),
      0 0 20px rgba(139, 92, 246, 0.5),
      0 4px 15px rgba(139, 92, 246, 0.3);
  }
  50% { 
    box-shadow: 
      0 0 0 5px rgba(139, 92, 246, 0.4),
      0 0 30px rgba(139, 92, 246, 0.7),
      0 6px 20px rgba(139, 92, 246, 0.4);
  }
}

@keyframes checkmarkPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes stepProgressSlide {
  from { transform: translateX(100px) scale(0.8); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

/* Galaxy Animation Keyframes */
/* Removed galaxy twinkle animation */

@keyframes stepPulse {
  0%, 100% { 
    transform: scale(1.1);
    box-shadow: none;
  }
  50% { 
    transform: scale(1.2);
    box-shadow: none;
  }
}

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

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

@keyframes checkmarkGlow {
  0% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes exitPulse {
  0%, 100% { 
    box-shadow: 
      0 0 0 3px rgba(239, 68, 68, 0.3),
      0 0 20px rgba(239, 68, 68, 0.5);
  }
  50% { 
    box-shadow: 
      0 0 0 5px rgba(239, 68, 68, 0.4),
      0 0 30px rgba(239, 68, 68, 0.7);
  }
}

/* Progress Bar Update Animation */
.progress-updating {
  animation: progressPulse 0.8s ease-out;
}

@keyframes progressPulse {
  0% { 
    box-shadow: 
      0 0 12px rgba(139, 92, 246, 0.6),
      0 2px 8px rgba(139, 92, 246, 0.3);
  }
  50% { 
    box-shadow: 
      0 0 20px rgba(139, 92, 246, 0.8),
      0 4px 15px rgba(139, 92, 246, 0.5);
  }
  100% { 
    box-shadow: 
      0 0 12px rgba(139, 92, 246, 0.6),
      0 2px 8px rgba(139, 92, 246, 0.3);
  }
}

/* Step Content Transitions */
.step-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content.active {
  opacity: 1;
  transform: translateY(0);
}

.step-content.step-enter {
  animation: stepContentEnter 0.6s ease-out;
}

@keyframes stepContentEnter {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Step Transition Animations */
.step-progress.transition-forward {
  animation: progressSlideForward 0.6s ease-out;
}

.step-progress.transition-backward {
  animation: progressSlideBackward 0.6s ease-out;
}

@keyframes progressSlideForward {
  0% { transform: translateX(0) scale(1); }
  30% { transform: translateX(10px) scale(1.02); }
  100% { transform: translateX(0) scale(1); }
}

@keyframes progressSlideBackward {
  0% { transform: translateX(0) scale(1); }
  30% { transform: translateX(-10px) scale(1.02); }
  100% { transform: translateX(0) scale(1); }
}

/* Enhanced hover effects for step dots */
.step-dot:hover {
  border-color: rgba(99, 102, 241, 0.6);
  background: rgba(99, 102, 241, 0.1);
  transform: scale(1.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-dot:hover span {
  color: #424242;
  text-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* Progress bar enhanced glow effect */
.progress-fill:hover {
  filter: brightness(1.1) saturate(1.2);
  box-shadow: 
    0 0 20px rgba(139, 92, 246, 0.8),
    0 4px 15px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-600);
}

/* Landing Page Styles */
.landing-page {
  min-height: 100vh;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Navigation */
.navbar {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 1000;
  backdrop-filter: none;
  background: #181818;
  border: 1px solid #424242;
  border-radius: 28px;
  transition: opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  box-shadow: none;
  opacity: 0;
  max-width: 1000px;
  width: calc(100% - 40px);
}

.navbar.motion-loaded {
  opacity: 1;
}

.navbar.navbar-hidden {
  transform: translateX(-50%) translateY(-120px) !important;
  opacity: 0 !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
}

.navbar.navbar-landing {
  top: 20px !important;
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
}

/* Ensure normal state also has smooth transitions */
.navbar:not(.navbar-hidden):not(.navbar-landing) {
  transform: translateX(-50%) !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
}

.nav-container {
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-radius: 30px;
  box-shadow: inset 0 0 0 .3px #363636, 0 4px 8px rgba(0, 0, 0, 0.2);

}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 12px;
}

.nav-brand:hover {
  /* background: rgba(66, 66, 66, 0.3); */
  /* transform: translateY(-2px); */
  box-shadow: none;
}

.nav-brand img {
  height: 32px;
  width: 32px;
  filter: brightness(1.2) saturate(1.3);
  transition: all var(--transition-normal);
}

.nav-brand:hover img {
  filter: brightness(1.2);
  transform: scale(1.1);
}

.nav-brand .brand-text {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-brand .brand-text:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  position: relative; /* Fix for user menu positioning */
}

/* Support button styling */
.btn-support {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: rgba(139, 92, 246, 0.9);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-support:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  color: white;
  /* transform: translateY(-2px); */
  box-shadow: none;
}

/* Support Panel */
.support-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.support-panel.support-panel-open {
  opacity: 1;
}

.support-content {
  background: #181818;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.support-panel.support-panel-open .support-content {
  transform: scale(1) translateY(0);
}

.support-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-header h3 {
  color: white;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.support-header h3 i {
  color: rgba(139, 92, 246, 0.8);
}

.support-close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  color: rgba(139, 92, 246, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.support-close:hover {
  background: rgba(139, 92, 246, 0.2);
  color: white;
  transform: scale(1.1);
}

.support-body {
  padding: 20px 24px;
}

.support-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.support-option:last-child {
  margin-bottom: 0;
}

.support-option:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.4);
  /* transform: translateY(-2px); */
  box-shadow: none;
}

.support-option i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(139, 92, 246, 0.9);
  font-size: 18px;
  flex-shrink: 0;
}

.support-option div h4 {
  color: white;
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
}

.support-option div p {
  color: rgba(156, 163, 175, 0.8);
  margin: 0;
  font-size: 14px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-normal);
  box-shadow: none;
}

.nav-link:hover {
  color: #ffffff;
  /* transform: translateY(-2px); */
  text-shadow: none;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-nav {
  background: #181818;
  color: var(--white);
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  /* box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24); */
}

.btn-nav::before {
  display: none;
}

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

.btn-nav:hover {
  background: #454545;
  /* transform: translateY(-1px); */
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20) var(--space-6);
  position: relative;
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  /* background: #212121; */
  border: 2px solid #3d3d3d;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
  backdrop-filter: none;
  box-shadow: none;
  transition: all var(--transition-normal);
  box-shadow: none;

}


.hero-badge i {
  color: #ffffff;
  text-shadow: none;
}

.hero-title {
  font-size: var(--font-size-7xl);
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}

.glow-text {
  text-shadow: none;
  filter: none;
  color: #ffffff;
}

.gradient-text {
  background: #e2e2e2;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
  max-width: 600px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.btn-primary, .btn-secondary {
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: var(--font-size-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
}

.btn-primary.large {
  padding: var(--space-5) var(--space-10);
}

.btn-secondary.large {
  padding: var(--space-5) var(--space-10);
}

.btn-primary {
  background: #ffffff;
  color: black;
  border: 1px solid #212121;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  display: none;
}

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

.btn-primary:hover {
  background: #e9e9e9;
  /* transform: translateY(-1px); */
}

.btn-secondary {
  background: #212121;
  color: #ffffff;
  border: 1px solid #424242;
  backdrop-filter: none;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  display: none;
}

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

.btn-secondary:hover {
  background: #424242;
  border-color: #424242;
  /* transform: translateY(-2px); */
  box-shadow: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 500px;
}

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

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  /* background: #212121; */
  background: white;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  text-shadow: none;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-1);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resume-preview-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  background: rgba(0, 0, 0, 0.584);
  border: 1px solid #424242;
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  animation: none;
  box-shadow: none;
  backdrop-filter: none;
}

.floating-card.card-1 {
  top: 50px;
  left: 50px;
  width: 300px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  top: 200px;
  right: 100px;
  width: 250px;
  animation-delay: 2s;
}

.floating-card.card-3 {
  bottom: 100px;
  left: 100px;
  width: 200px;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

.card-header {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: #424242;
}

.card-content {
  flex: 1;
}

.name-line, .email-line, .section-title, .content-line {
  height: 12px;
  /* background: #424242; */
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
}

.name-line {
  width: 150px;
}

.email-line {
  width: 120px;
}

.section-title {
  font-size: 20pt;
  /* color: #ffffff !important; */
  /* padding-left: 10px; */
  /* width: 200px; */
  margin-bottom: var(--space-3);
}

.content-line {
  width: 100%;
}

.content-line.short {
  width: 60%;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.skill-tag {
  background: #424242;
  color: #ffffff;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
}

.chart-container {
  display: flex;
  align-items: end;
  gap: var(--space-2);
  height: 80px;
}

.chart-bar {
  width: 20px;
  background: #424242;
  border-radius: var(--radius-sm);
  animation: none;
}

@keyframes grow {
  from { height: 0; }
  to { height: var(--height); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: #ffffff;
  font-size: var(--font-size-sm);
  animation: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: none;
}

@keyframes scroll {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* Features Section */
.features-section {
  padding: var(--space-32) var(--space-6);
  background: transparent;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-20);
}

.section-header h2 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.feature-card {
  background: #181818;
  border: 1px solid #424242;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: none;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #212121;
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  /* transform: translateY(-4px); */
  box-shadow: none;
  border-color: #424242;
  background: #121212;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: #424242;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
  background: #212121;
}

.feature-icon i {
  font-size: var(--font-size-3xl);
  color: #ffffff;
}

.feature-card h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: var(--font-size-lg);
}



/* Animation classes */
.animate-in {
  animation: slideUp 0.6s ease-out forwards;
}

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

/* App Mode Styles */
body.app-mode {
  overflow-y: auto;
}

.app-container {
  display: none;
  min-height: 100vh;
  background: transparent;
  transition: all var(--transition-normal);
  opacity: 0;
  transform: scale(0.95);
  overflow-y: auto;
}

.app-container.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* App Header */
.app-header {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-2xl);
  margin: var(--space-4);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(99, 102, 241, 0.1);
  position: sticky;
  top: var(--space-4);
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.header-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--gray-900);
}

.brand i {
  font-size: var(--font-size-2xl);
  color: var(--primary);
}

/* Removed old step progress styles - now using galaxy theme */

/* Galaxy Step Progress */
.galaxy-step-progress {
  position: relative;
  width: 100%;
  height: 120px;
  margin-bottom: 30px;
  background: #181818;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #424242;
  backdrop-filter: none;
  box-shadow: none;
}

.galaxy-backdrop {
  display: none;
}

.constellation-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 30px;
  max-width: 500px;
  margin: 0 auto;
}

.constellation-line {
  display: none;
}

.star-system {
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.star-system:hover {
  transform: scale(1.05);
  opacity: 1;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #121212;
  border: 2px solid #424242;
  transition: all 0.3s ease;
  box-shadow: none;
}

.step-number {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  z-index: 1;
}

.step-connector {
  display: none;
}

.step-title {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}


/* Active Step */
.star-system.active {
  opacity: 1;
  /* transform: translateY(-2px); */
}

.star-system.active .step-circle {
  background: #424242;
  border-color: #ffffff;
  box-shadow: none;
  transform: scale(1.1);
}

.star-system.active .step-number {
  color: white;
  font-weight: 700;
}

.star-system.active .step-title {
  color: #ffffff;
  font-weight: 600;
}

/* Completed Step */
.star-system.completed {
  opacity: 1;
}

.star-system.completed .step-circle {
  background: #212121;
  border-color: #ffffff;
  box-shadow: none;
}

.star-system.completed .step-number {
  display: none;
}

.star-system.completed .step-circle::after {
  content: '✓';
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.star-system.completed .step-title {
  color: #ffffff;
  font-weight: 600;
}

/* Cosmic Exit Button */
.cosmic-exit-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-core {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(239, 68, 68, 0.8) 0%, 
    rgba(220, 38, 38, 0.9) 70%, 
    rgba(185, 28, 28, 1) 100%);
  border: 2px solid rgba(239, 68, 68, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.6s ease;
  backdrop-filter: blur(10px);
}

.btn-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(239, 68, 68, 0.2) 0%, 
    transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.cosmic-exit-btn:hover {
  transform: scale(1.1);
}

.cosmic-exit-btn:hover .btn-core {
  box-shadow: 
    0 0 0 3px rgba(239, 68, 68, 0.3),
    0 0 20px rgba(239, 68, 68, 0.5);
  animation: exitPulse 1s ease-in-out infinite;
}

.cosmic-exit-btn:hover .btn-glow {
  opacity: 1;
}

.galaxy-container {
  position: relative;
  width: 160px;
  height: 320px;
  border-radius: 50px;
  background: radial-gradient(ellipse at center, 
    #181818 0%,
    rgba(30, 41, 59, 0.9) 40%,
    rgba(15, 23, 42, 0.98) 100%);
  border: 2px solid rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(20px);
  box-shadow: 
    0 0 60px rgba(99, 102, 241, 0.2),
    inset 0 0 40px rgba(139, 92, 246, 0.1),
    0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: visible;
}

.progress-bar {
  height: 6px;
  background: rgba(71, 85, 105, 0.3);
  border-radius: 6px;
  margin-bottom: var(--space-4);
  overflow: hidden;
  position: relative;
  box-shadow: none;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(139, 92, 246, 0.1) 50%, 
    transparent 100%);
  animation: progressShimmer 2s ease-in-out infinite;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, 
    #424242 0%,
    #424242 50%,
    #424242 100%);
  border-radius: 6px;
  width: 33.33%;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 0 12px rgba(139, 92, 246, 0.6),
    0 2px 8px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 100%);
  animation: progressGlow 2s ease-in-out infinite;
}

.step-dots {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(71, 85, 105, 0.4);
  border: 2px solid rgba(148, 163, 184, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.step-dot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, 
    rgba(139, 92, 246, 0.2) 0deg, 
    transparent 90deg, 
    transparent 270deg, 
    rgba(139, 92, 246, 0.2) 360deg);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: stepRotate 3s linear infinite;
}

.step-dot:hover::before {
  opacity: 1;
}

.step-dot span {
  color: rgba(148, 163, 184, 0.8);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.step-dot:hover {
  border-color: rgba(99, 102, 241, 0.6);
  background: rgba(99, 102, 241, 0.1);
}

.step-dot:hover span {
  color: #424242;
}

.step-dot.active {
  background: linear-gradient(135deg, 
    #424242,
    #424242);
  border-color: #424242;
  box-shadow: 
    0 0 0 3px rgba(139, 92, 246, 0.3),
    0 0 20px rgba(139, 92, 246, 0.5),
    0 4px 15px rgba(139, 92, 246, 0.3);
  transform: scale(1.1);
  animation: activePulse 2s ease-in-out infinite;
}

.step-dot.active span {
  color: white;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.step-dot.completed {
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 1),
    rgba(5, 150, 105, 1));
  border-color: rgba(16, 185, 129, 1);
  box-shadow: 
    0 0 0 2px rgba(16, 185, 129, 0.3),
    0 0 15px rgba(16, 185, 129, 0.4),
    0 2px 10px rgba(16, 185, 129, 0.2);
  transform: scale(1.05);
}

.step-dot.completed::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  animation: checkmarkPop 0.5s ease-out;
}

.step-dot.completed span {
  color: white;
}

.exit-btn {
  width: 100%;
  height: 36px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-lg);
  color: rgba(239, 68, 68, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.exit-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: white;
}

.galaxy-step {
  position: relative;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin: var(--space-2) 0;
}

.planet-core {
  width: 60px;
  height: 60px;
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.planet-surface {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(71, 85, 105, 0.9),
    rgba(30, 41, 59, 0.95),
    rgba(15, 23, 42, 0.98));
  border: 2px solid rgba(148, 163, 184, 0.3);
  transition: all 0.6s ease;
}

.planet-atmosphere {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, 
    transparent,
    rgba(99, 102, 241, 0.2),
    transparent,
    rgba(139, 92, 246, 0.2),
    transparent);
  opacity: 0;
  transition: all 0.6s ease;
  animation: rotate 8s linear infinite;
}

.step-icon {
  position: relative;
  z-index: 3;
  color: rgba(148, 163, 184, 0.8);
  font-size: 18px;
  transition: all 0.6s ease;
  filter: none;
}

.orbit-ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.2);
  opacity: 0;
  transition: all 0.6s ease;
  animation: orbit-pulse 4s ease-in-out infinite;
}

/* Hover Effects */
.star-system:hover {
  transform: scale(1.05);
  opacity: 1;
}

.galaxy-step:hover .planet-surface {
  background: radial-gradient(circle at 30% 30%, 
    rgba(99, 102, 241, 0.8),
    rgba(79, 70, 229, 0.9),
    rgba(67, 56, 202, 0.95));
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 
    0 0 30px rgba(99, 102, 241, 0.4),
    inset 0 0 20px rgba(139, 92, 246, 0.3);
}

.galaxy-step:hover .planet-atmosphere {
  opacity: 1;
  inset: -12px;
}

.galaxy-step:hover .step-icon {
  color: white;
  text-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
  transform: scale(1.1);
}

.galaxy-step:hover .orbit-ring {
  opacity: 1;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: none;
}

/* Active State */
.galaxy-step.active .planet-surface {
  background: radial-gradient(circle at 30% 30%, 
    rgba(139, 92, 246, 0.95),
    rgba(109, 40, 217, 0.9),
    rgba(91, 33, 182, 0.95));
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 
    0 0 40px rgba(139, 92, 246, 0.6),
    inset 0 0 25px rgba(168, 85, 247, 0.4);
  animation: active-planet-pulse 2s ease-in-out infinite;
}

.galaxy-step.active .planet-atmosphere {
  opacity: 1;
  inset: -10px;
  background: conic-gradient(from 0deg, 
    rgba(139, 92, 246, 0.4),
    rgba(168, 85, 247, 0.6),
    rgba(139, 92, 246, 0.4),
    rgba(99, 102, 241, 0.5),
    rgba(139, 92, 246, 0.4));
}

.galaxy-step.active .step-icon {
  color: white;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
  animation: active-icon-glow 2s ease-in-out infinite;
}

.galaxy-step.active .orbit-ring {
  opacity: 1;
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: none;
  animation: active-orbit 3s ease-in-out infinite;
}

/* Completed State */
.galaxy-step.completed .planet-surface {
  background: radial-gradient(circle at 30% 30%, 
    rgba(16, 185, 129, 0.9),
    rgba(5, 150, 105, 0.9),
    rgba(4, 120, 87, 0.95));
  border-color: rgba(16, 185, 129, 0.8);
  box-shadow: 
    0 0 30px rgba(16, 185, 129, 0.5),
    inset 0 0 20px rgba(52, 211, 153, 0.3);
}

.galaxy-step.completed .planet-atmosphere {
  opacity: 0.7;
  background: conic-gradient(from 0deg, 
    rgba(16, 185, 129, 0.3),
    rgba(52, 211, 153, 0.4),
    rgba(16, 185, 129, 0.3));
}

.galaxy-step.completed .step-icon {
  color: white;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.galaxy-step.completed .orbit-ring {
  opacity: 0.6;
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: none;
}

/* Galaxy Home Button */
.galaxy-home-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.6s ease;
  z-index: 3;
}

.home-star {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(239, 68, 68, 0.9),
    rgba(220, 38, 38, 0.8),
    rgba(185, 28, 28, 0.9));
  border: 2px solid rgba(239, 68, 68, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.6s ease;
  box-shadow: 
    0 0 20px rgba(239, 68, 68, 0.3),
    inset 0 0 15px rgba(248, 113, 113, 0.2);
}

.home-star::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent,
    rgba(239, 68, 68, 0.3),
    transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: rotate 6s linear infinite;
}

.home-star i {
  color: white;
  font-size: 16px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  z-index: 1;
  position: relative;
}

.galaxy-home-btn:hover .home-star {
  transform: scale(1.2);
  box-shadow: 
    0 0 40px rgba(239, 68, 68, 0.6),
    inset 0 0 20px rgba(248, 113, 113, 0.4);
}

.galaxy-home-btn:hover .home-star::before {
  opacity: 1;
}

.galaxy-home-btn:hover .home-star i {
  text-shadow: 0 0 20px rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Animations */
@keyframes rotate {
  to { transform: rotate(360deg); }
}

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

@keyframes active-planet-pulse {
  0%, 100% {
    box-shadow: 
      0 0 40px rgba(139, 92, 246, 0.6),
      inset 0 0 25px rgba(168, 85, 247, 0.4);
  }
  50% {
    box-shadow: 
      0 0 60px rgba(139, 92, 246, 0.8),
      inset 0 0 35px rgba(168, 85, 247, 0.6);
  }
}

@keyframes active-icon-glow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 255, 255, 1);
    transform: scale(1.1);
  }
}

@keyframes active-orbit {
  0%, 100% {
    box-shadow: none;
    transform: scale(1);
  }
  50% {
    box-shadow: none;
    transform: scale(1.03);
  }
}

@keyframes galaxy-float {
  0%, 100% {
    transform: translateY(-50%) translateZ(0) translateX(0px);
  }
  25% {
    transform: translateY(-50%) translateZ(0) translateX(-3px);
  }
  50% {
    transform: translateY(-50%) translateZ(0) translateX(0px);
  }
  75% {
    transform: translateY(-50%) translateZ(0) translateX(3px);
  }
}

/* Scroll-responsive positioning */
.galaxy-step-indicator.scroll-up {
  transform: translateY(-50%) translateZ(0) scale(0.95);
  opacity: 0.9;
}

.galaxy-step-indicator.scroll-down {
  transform: translateY(-50%) translateZ(0) scale(1.05);
  opacity: 1;
}

/* Force galaxy indicator to always be visible in app mode */
.app-mode .galaxy-step-indicator,
.app-mode .galaxy-step-indicator[style] {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: fixed !important;
  top: 50vh !important;
  right: 20px !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

/* App Main */
.app-main {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-8);
  padding-top: calc(var(--space-20) + 80px); /* Account for fixed navbar */
  min-height: calc(100vh - 80px);
  padding-right: calc(var(--space-8) + 120px); /* Account for floating step indicator */
}

.step-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

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

.step-content.step-enter {
  animation: slideInRight 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.step-container {
  /* max-width: 1200px; */
  /* margin: 0 auto; */
  backdrop-filter: none;
  background: #181818;
  border: 1px solid #424242;
  /* border-radius: var(--radius-3xl); */
  padding: var(--space-10);
  box-shadow: none;
  position: relative;
  transition: all 0.3s ease;
}

/* Removed step container hover animation */

.step-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.step-header h2 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  text-shadow: none;
}

.step-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  /* background: #212121; */
  background: white;
  border-radius: 2px;
  box-shadow: none;
}

.step-header p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: none;
}

/* Template Selection Styles */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.template-card {
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(99, 102, 241, 0.1);
  cursor: pointer;
  border: 1px solid rgba(99, 102, 241, 0.2);
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.template-card:hover {
  /* transform: translateY(-8px); */
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.4);
}

.template-card.selected {
  border-color: var(--primary);
  box-shadow: 
    0 0 0 6px rgba(99, 102, 241, 0.3),
    0 8px 30px rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.1);
  /* transform: translateY(-5px); */
}

/* Modal Classes */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-content {
  max-width: 500px;
  width: 90%;
  margin: 0;
  background: var(--bg-secondary, #181818);
  border: 1px solid var(--gray-600, #525252);
  border-radius: var(--radius-2xl, 1rem);
  box-shadow: var(--shadow-2xl, 0 25px 50px -12px rgb(0 0 0 / 0.25));
  font-family: var(--font-family, 'Inter', sans-serif);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6, 1.5rem) var(--space-8, 2rem);
  border-bottom: 1px solid var(--gray-600, #525252);
  background: var(--bg-tertiary, #121212);
  border-radius: var(--radius-2xl, 1rem) var(--radius-2xl, 1rem) 0 0;
}

.modal-header h2,
.modal-header h3 {
  color: var(--white, #ffffff);
  margin: 0;
  font-size: var(--font-size-xl, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 40px;
  height: 40px;
  background: var(--primary-dark, #212121);
  color: var(--white, #ffffff);
  border: 1px solid var(--gray-600, #525252);
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl, 1.25rem);
  transition: var(--transition-normal, 0.3s ease-out);
  font-weight: 600;
}

.modal-close:hover {
  background: var(--primary, #424242);
  /* transform: translateY(-1px); */
}

.modal-body {
  color: var(--white, #ffffff);
  padding: var(--space-8, 2rem);
  font-size: var(--font-size-base, 1rem);
  line-height: 1.7;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-8);
  border-top: 1px solid var(--gray-600);
  background: var(--bg-tertiary);
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}


.template-card.template-selected {
  animation: pulse 0.6s ease-out;
}

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

.template-preview {
  height: 350px;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.preview-content {
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.4);
  height: calc(100% - 24px);
  margin: var(--space-3);
  border-radius: var(--radius-xl);
  box-shadow: none;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.template-preview.executive-style .preview-content {
  background: var(--gray-50);
  border-left: 3px solid var(--gray-400);
}

.template-preview.creative-style .preview-content {
  background: var(--gray-50);
  border-left: 3px solid var(--gray-600);
}

.template-preview.technical-style .preview-content {
  background: var(--gray-100);
  border-left: 3px solid var(--gray-700);
}

.preview-header {
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
}

.preview-name {
  height: 14px;
  background: var(--gray-800);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
  width: 60%;
}

.preview-contact {
  height: 10px;
  background: var(--gray-400);
  border-radius: var(--radius-sm);
  width: 70%;
}

.preview-section {
  margin-bottom: var(--space-4);
}

.preview-title {
  height: 12px;
  background: #212121;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  width: 40%;
}

.preview-text {
  height: 8px;
  background: var(--gray-300);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-1);
  width: 100%;
}

.preview-text:last-child {
  width: 80%;
}

.preview-skills {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.preview-skills .skill-tag {
  background: #424242;
  color: #ffffff;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
}

.template-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 3;
}

.template-card:hover .template-overlay {
  opacity: 1;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--white);
  font-weight: 600;
}

.overlay-content i {
  font-size: var(--font-size-3xl);
}

.template-info {
  padding: var(--space-8);
}

.template-info h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.template-info p {
  color: var(--gray-600);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.template-features {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.feature-tag {
  background: var(--gray-800);
  color: var(--white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
}

/* Step Actions */
.step-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-16);
}

.btn-continue, .btn-back, .btn-generate {
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-2xl);
  font-weight: 600;
  font-size: var(--font-size-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  text-align: center;
}

.btn-continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-continue {
  background: #242424;
  color: #ffffff;
  box-shadow: none;
  border: 1px solid #212121;
  min-width: 280px;
  font-weight: 600;
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.btn-continue > * {
  position: relative;
  z-index: 20;
}

.btn-continue::before {
  display: none;
}

.btn-continue::after {
  display: none;
}

/* Removed liquid flow animation */

/* Removed liquid flow 2 animation */

.btn-continue:not(:disabled):hover {
  background: #ffffff;
  color:black;
  box-shadow: none;
  /* transform: translateY(-2px); */
}

.btn-continue:not(:disabled):hover::before {
  left: 100%;
}

.btn-back {
  background: #212121;
  color: #ffffff;
  border: 1px solid #424242;
  backdrop-filter: none;
}

.btn-back:hover {
  background: #424242;
  color: #ffffff;
  border-color: #424242;
  /* transform: translateY(-2px); */
  box-shadow: none;
}

.btn-generate {
  background: #424242;
  color: #ffffff;
  box-shadow: none;
  border: 1px solid #212121;
  min-width: 300px;
  position: relative;
  border-radius: var(--radius-2xl);
  font-weight: 600;
  backdrop-filter: none;
  overflow: hidden;
}

.btn-generate::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #212121;
  transition: left 0.6s ease;
}

.btn-generate:hover:not(:disabled) {
  background: #212121;
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 
    0 8px 30px rgba(139, 92, 246, 0.4),
    0 0 0 1px rgba(139, 92, 246, 0.3);
  /* transform: translateY(-2px); */
}

.btn-generate:hover:not(:disabled)::before {
  left: 100%;
}

.btn-content, .btn-loading {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--transition-normal);
}

.btn-loading {
  display: none;
  position: relative;
}

/* Advanced AI-themed loading animation */
.loading-spinner {
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse-ring 2s infinite ease-out;
}

.loading-spinner::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #212121;
  border-radius: 50%;
  animation: ai-core 1.5s infinite ease-in-out;
  box-shadow: 
    0 0 8px rgba(255, 255, 255, 0.4),
    0 0 16px rgba(255, 255, 255, 0.2),
    inset 0 0 6px rgba(255, 255, 255, 0.3);
}

/* AI Brain-like animation keyframes */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
    border-width: 3px;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
    border-width: 1px;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
    border-width: 0px;
  }
}

@keyframes ai-core {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) hue-rotate(0deg);
  }
  25% {
    transform: scale(0.9) rotate(90deg);
    filter: brightness(1.2) hue-rotate(60deg);
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    filter: brightness(0.9) hue-rotate(120deg);
  }
  75% {
    transform: scale(0.95) rotate(270deg);
    filter: brightness(1.1) hue-rotate(180deg);
  }
}

/* Enhanced button loading state */
.btn-generate.loading {
  background: #212121;
  background-size: 200% 200%;
  animation: gradient-shift 2s ease infinite;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.btn-generate.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #212121;
  animation: shimmer 2s infinite;
}

/* AI Generation Background Effect */
.step-content.generating {
  position: relative;
  overflow: hidden;
}

.step-content.generating::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #212121;
  animation: ai-pulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.step-content.generating .step-container {
  position: relative;
  z-index: 2;
}

/* Space Particles Animation */
.ai-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.space-particles {
  background: #212121;
  animation: cosmic-glow 8s ease-in-out infinite;
}

@keyframes cosmic-glow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.ai-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(109, 40, 217, 0.8);
  border-radius: 50%;
  animation: float-particle 6s infinite linear;
  box-shadow: none;
}

.ai-particle:nth-child(odd) {
  background: rgba(168, 85, 247, 0.9);
  animation-duration: 8s;
  animation-delay: -2s;
  box-shadow: none;
}

.ai-particle:nth-child(3n) {
  background: rgba(192, 132, 252, 0.8);
  animation-duration: 10s;
  animation-delay: -4s;
  width: 3px;
  height: 3px;
  box-shadow: none;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0px) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) translateX(10px) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateY(50vh) translateX(-20px) scale(1.2);
  }
  90% {
    opacity: 0.3;
    transform: translateY(10vh) translateX(30px) scale(0.8);
  }
  100% {
    transform: translateY(-10vh) translateX(0px) scale(0);
    opacity: 0;
  }
}

@keyframes ai-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.05;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.1;
  }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}



@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Loading text animation */
.btn-loading span {
  animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
  from {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    opacity: 0.9;
  }
  to {
    text-shadow: 
      0 0 10px rgba(255, 255, 255, 0.8),
      0 0 20px rgba(255, 255, 255, 0.4),
      0 0 30px rgba(255, 255, 255, 0.2);
    opacity: 1;
  }
}

/* Form Styles */
.form-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.form-section {
  backdrop-filter: none;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: var(--space-12);
}


.form-section.full-width {
  width: 100%;
}

/* Removed form section hover animation */

.form-section h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  letter-spacing: -0.01em;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid #424242;
}

.form-section h3 i {
  color: #ffffff;
  font-size: var(--font-size-lg);
  background: none;
  background-clip: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  text-shadow: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.input-group label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.input-group input,
.input-group textarea,
.input-group select,
.edit-section input,
.edit-section textarea,
.edit-section select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #888888 !important; /* More visible gray border */
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #2a2a2a !important; /* Force background color */
  background-color: #2a2a2a !important; /* Additional specificity */
  color: #ffffff !important;
  font-family: inherit;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus,
.edit-section input:focus,
.edit-section textarea:focus,
.edit-section select:focus {
  outline: none;
  border-color: #0169cc !important; /* Blue border on focus */
  box-shadow: 0 0 0 3px rgba(1, 105, 204, 0.2) !important; /* Blue glow effect */
  background: #353535 !important; /* Lighter when focused */
  background-color: #353535 !important; /* Additional specificity */
  transform: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Only show red border if user has interacted with the field and left it empty */
.input-group input.touched:required:not(:focus):placeholder-shown,
.input-group textarea.touched:required:not(:focus):placeholder-shown {
  /* border-color: #ef4444; */
  color: var(--white) !important;
  background: #121212 !important;
  box-shadow: inset 0 0 0 2px red;
}

.input-group textarea {
  resize: vertical;
  min-height: 120px;
}

.input-hint {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-1);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.input-hint strong {
  color: var(--secondary);
  font-weight: 600;
}

.input-hint .fa-robot {
  color: var(--primary);
  animation: pulse 2s infinite;
}

/* Upload Section Styles */
.upload-section {
  margin-bottom: var(--space-12);
  backdrop-filter: none;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: var(--space-6) 0;
  box-shadow: none;
  transition: all var(--transition-normal);
  position: relative;
}

/* Removed hover animation for windows */

.upload-section h3 {
  color: #ffffff !important;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid #424242;
}

.upload-section h3 i {
  color: #ffffff;
  margin-right: var(--space-2);
}

.upload-container {
  position: relative;
}

.upload-area {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #121212;
  border: 1px dashed #424242;
  border-radius: 8px;
  padding: var(--space-10);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: none;
  margin-top: var(--space-4);
}

/* Removed hover animation for upload area */

.upload-area.dragover {
  background: #181818;
  border-color: #ffffff;
  transform: none;
  box-shadow: none;
}

.upload-icon {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: var(--space-4);
  transition: all var(--transition-normal);
}

/* Removed upload icon hover animation */

.upload-text h4 {
  color: var(--white);
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.upload-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-2);
}

.upload-text small {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

.upload-status {
  background: var(--gray-800);
  border-radius: var(--radius-2xl);
  padding: var(--space-4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideIn 0.3s ease-out;
  box-shadow: none;
}

.status-content {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.status-content i {
  font-size: var(--font-size-lg);
}

.btn-fill-from-pdf {
  background: #212121;
  border: none;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-right: 8px;
}

.btn-fill-from-pdf:hover {
  background: #212121;
  /* transform: translateY(-1px); */
  box-shadow: none;
}

.btn-fill-from-pdf:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-clear-upload {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.btn-clear-upload:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

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

/* Experience Builder Styles */
.experience-builder {
  width: 100%;
}

.experience-list {
  margin-bottom: var(--space-4);
}

/* FORCE EXPERIENCE ITEM STYLING */
.app-main .step-container .experience-builder .experience-list .experience-item,
.experience-builder .experience-item,
div.experience-item,
.experience-item {
  background: #242424 !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid #424242 !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  min-height: auto !important;
  word-wrap: break-word !important;
  cursor: pointer !important;
  overflow-wrap: break-word !important;
  color: rgba(226, 232, 240, 0.95) !important;
}

.app-main .step-container .experience-builder .experience-list .experience-item:hover,
.experience-builder .experience-item:hover,
div.experience-item:hover,
.experience-item:hover {
  border-color: #424242 !important;
  box-shadow: none;
  background: #272727 !important;
}

/* Removed drag indicators - replaced with reorder buttons */

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
  gap: var(--space-4);
}

.experience-title h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: var(--space-1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.experience-title .company-name {
  font-size: var(--font-size-base);
  color: rgba(203, 213, 225, 0.95);
  margin: 0;
  word-break: break-word;
}

.experience-dates {
  font-size: var(--font-size-sm);
  color: rgba(139, 92, 246, 0.8);
  font-weight: 500;
  white-space: nowrap;
}

.experience-actions {
  display: flex;
  gap: var(--space-2);
}

.btn-edit, .btn-delete {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  font-size: var(--font-size-sm);
}

.btn-edit i, .btn-delete i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global Font Awesome icon fix */
.fas, .far, .fab, .fal, .fad, .fa {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Apple-style reorder buttons */
.reorder-buttons {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: 8px;
}

.btn-reorder {
  width: 24px;
  height: 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

/* Ensure FontAwesome icons in reorder buttons display properly */
.btn-reorder i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn-reorder:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

.btn-reorder:active:not(:disabled) {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.3);
}

.btn-reorder:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-reorder.up:hover:not(:disabled) {
  background: rgba(52, 199, 89, 0.2);
  color: #34c759;
}

.btn-reorder.down:hover:not(:disabled) {
  background: rgba(52, 199, 89, 0.2);
  color: #34c759;
}

.item-actions {
  display: flex;
  gap: var(--space-2);
}

/* Update action group layouts */
.experience-actions,
.education-actions,  
.project-actions,
.link-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-edit {
  background: #3B82F6;
  color: white;
}

.btn-edit:hover {
  background: #2563EB;
  /* transform: translateY(-1px); */
}

.btn-delete {
  background: #EF4444;
  color: white;
}

.btn-delete:hover {
  background: #DC2626;
  /* transform: translateY(-1px); */
}

.experience-summary p {
  color: rgba(226, 232, 240, 0.95);
  line-height: 1.6;
  margin-bottom: var(--space-2);
  word-break: break-word;
  hyphens: auto;
}

.experience-additional {
  font-size: var(--font-size-sm);
  color: rgba(156, 163, 175, 0.9);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(66, 66, 66, 0.2);
}

.btn-add-experience {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-experience:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 1);
}

/* Education Builder Styles */
.education-builder {
  margin-top: var(--space-4);
}

.education-list {
  margin-bottom: var(--space-4);
}

/* FORCE EDUCATION ITEM STYLING */
.app-main .step-container .education-builder .education-list .education-item,
.education-builder .education-item,
div.education-item,
.education-item {
  background: #242424 !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid #424242 !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  min-height: auto !important;
  word-wrap: break-word !important;
  cursor: pointer !important;
  overflow-wrap: break-word !important;
  color: rgba(226, 232, 240, 0.95) !important;
}

.app-main .step-container .education-builder .education-list .education-item:hover,
.education-builder .education-item:hover,
div.education-item:hover,
.education-item:hover {
  border-color: #424242 !important;
  box-shadow: none;
  background: #272727 !important;
}

/* Removed drag indicators - replaced with reorder buttons */

.education-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-3);
  gap: var(--space-4);
}

.education-title h4 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.education-title .institution-name {
  font-size: var(--font-size-sm);
  color: rgba(203, 213, 225, 0.95);
  margin-top: var(--space-1);
  word-break: break-word;
}

.education-dates {
  font-size: var(--font-size-sm);
  color:white;
  font-weight: 500;
  white-space: nowrap;
}

.education-details {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(66, 66, 66, 0.2);
}

.education-details p {
  font-size: var(--font-size-sm);
  color: rgba(209, 213, 219, 0.9);
  line-height: 1.5;
  margin: 0;
}

.btn-add-education {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-education:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 1);
}

/* Projects Builder Styles */
.projects-builder {
  margin-top: var(--space-4);
}

.projects-list {
  margin-bottom: var(--space-4);
}

/* FORCE PROJECT ITEM STYLING */
.app-main .step-container .projects-builder .projects-list .project-item,
.projects-builder .project-item,
div.project-item,
.project-item {
  background: #242424 !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid #424242 !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  min-height: auto !important;
  word-wrap: break-word !important;
  cursor: pointer !important;
  overflow-wrap: break-word !important;
  color: rgba(226, 232, 240, 0.95) !important;
}

.app-main .step-container .projects-builder .projects-list .project-item:hover,
.projects-builder .project-item:hover,
div.project-item:hover,
.project-item:hover {
  border-color: #424242 !important;
  box-shadow: none;
  background: #272727 !important;
}

/* Removed drag indicators - replaced with reorder buttons */

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-3);
  gap: var(--space-4);
}

.project-title {
  flex: 1;
}

.project-title h4 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.project-link {
  font-size: var(--font-size-sm);
  color: #424242;
  text-decoration: none;
  margin-top: var(--space-1);
  display: inline-block;
}

.project-link:hover {
  text-decoration: underline;
}

.project-dates {
  font-size: var(--font-size-sm);
  color: rgba(139, 92, 246, 0.8);
  font-weight: 500;
  white-space: nowrap;
}

.project-description {
  margin-bottom: var(--space-3);
}

.project-description p {
  font-size: var(--font-size-sm);
  color: rgba(226, 232, 240, 0.95);
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
  hyphens: auto;
}

.project-tech {
  font-size: var(--font-size-xs);
  color: rgba(139, 92, 246, 0.9);
  background: rgba(139, 92, 246, 0.1);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
  display: inline-block;
}

.btn-add-project {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-project:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 1);
}

/* Links Builder Styles */
.links-builder {
  margin-top: var(--space-4);
}

.links-list {
  margin-bottom: var(--space-4);
}

/* FORCE LINK ITEM STYLING */
.app-main .step-container .links-builder .links-list .link-item,
.links-builder .link-item,
div.link-item,
.link-item {
  background: #242424 !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid #424242 !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  min-height: auto !important;
  word-wrap: break-word !important;
  cursor: pointer !important;
  overflow-wrap: break-word !important;
  color: rgba(226, 232, 240, 0.95) !important;
}

.app-main .step-container .links-builder .links-list .link-item:hover,
.links-builder .link-item:hover,
div.link-item:hover,
.link-item:hover {
  border-color: #424242 !important;
  box-shadow: none;
  background: #272727 !important;
}

/* Removed drag indicators - replaced with reorder buttons */

.link-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-3);
  gap: var(--space-4);
}

.link-title {
  flex: 1;
}

.link-title h4 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.link-url {
  font-size: var(--font-size-sm);
  color: #ffffff;
  text-decoration: none;
  margin-top: var(--space-1);
  display: inline-block;
  word-break: break-all;
}

.link-url:hover {
  text-decoration: underline;
}

.link-description {
  margin-top: var(--space-3);
}

.link-description p {
  font-size: var(--font-size-sm);
  color: rgba(209, 213, 219, 0.9);
  line-height: 1.5;
  margin: 0;
}

/* FORCE ALL TEXT STYLING WITHIN BUILDER ITEMS */
.experience-item *, .education-item *, .project-item *, .link-item * {
  background: transparent !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Force title styling for all items */
.experience-item h4, .education-item h4, .project-item h4, .link-item h4,
.experience-title h4, .education-title h4, .project-title h4, .link-title h4 {
  color: #f8fafc !important;
  font-size: var(--font-size-lg) !important;
  font-weight: 600 !important;
  margin-bottom: var(--space-1) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
  background: transparent !important;
}

/* Force description/paragraph styling */
.experience-item p, .education-item p, .project-item p, .link-item p,
.experience-summary p, .education-details p, .project-description p, .link-description p {
  color: rgba(226, 232, 240, 0.95) !important;
  line-height: 1.6 !important;
  margin-bottom: var(--space-2) !important;
  word-break: break-word !important;
  hyphens: auto !important;
  background: transparent !important;
}

/* Force company/institution names */
.experience-item .company-name, .education-item .institution-name,
.experience-title .company-name, .education-title .institution-name {
  color: rgba(203, 213, 225, 0.95) !important;
  font-size: var(--font-size-base) !important;
  margin: 0 !important;
  word-break: break-word !important;
  background: transparent !important;
}

/* Force dates styling */
.experience-dates, .education-dates, .project-dates {
  color:white;
  font-size: var(--font-size-sm) !important;
  font-weight: 500 !important;
  background: transparent !important;
}

/* Force link styling */
.project-link, .link-url {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: var(--font-size-sm) !important;
  background: transparent !important;
}

.project-link:hover, .link-url:hover {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

/* Force tech/additional content styling */
.project-tech, .experience-additional {
  color: rgba(156, 163, 175, 0.9) !important;
  font-size: var(--font-size-sm) !important;
  background: transparent !important;
}

.btn-add-link {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 1);
}

/* Common action buttons for all builders */
.education-actions,
.project-actions,
.link-actions {
  display: flex;
  gap: var(--space-2);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-content {
  backdrop-filter: blur(20px);
  background: #181818;
  border: 1px solid #424242;
  border-radius: 28px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(66, 66, 66, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: modalSlideIn 0.3s ease-out;
  position: relative;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: var(--space-6);
  border-bottom: 1px solid rgba(109, 40, 217, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--white);
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(42, 45, 95, 0.8);
  border: 1px solid rgba(109, 40, 217, 0.3);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(109, 40, 217, 0.8);
  border-color: var(--secondary);
  color: var(--white);
  box-shadow: none;
}

.modal-body {
  padding: var(--space-6);
}

.modal-footer {
  padding: var(--space-6);
  border-top: 1px solid rgba(109, 40, 217, 0.3);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
}

.checkbox-group {
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

/* Review Section */
.review-layout {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.review-section {
  background: #181818;
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid #424242;
}

.review-section h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.review-section h3 i {
  color: var(--primary-blue);
}

.selected-template-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  border: 2px solid var(--primary-blue);
}

.template-preview-small {
  width: 60px;
  height: 80px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.preview-mini {
  width: 100%;
  height: 100%;
  background: #212121;
  position: relative;
}

.preview-mini::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 1px;
}

.preview-mini::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 8px;
  width: 60%;
  height: 2px;
  background: var(--gray-400);
  border-radius: 1px;
}

.template-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.template-name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: var(--font-size-lg);
}

.template-description {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
}

.review-grid {
  display: grid;
  gap: var(--space-4);
}

.review-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.review-label {
  font-weight: 600;
  color: rgba(156, 163, 175, 0.9);
  font-size: var(--font-size-sm);
}

.review-value {
  color: white;
  font-size: var(--font-size-base);
}

/* Review Subsections */
.review-subsection {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(66, 66, 66, 0.2);
}

.review-subsection h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--space-4);
}

.review-experience-item, 
.review-education-item, 
.review-project-item {
  background: rgba(66, 66, 66, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  border-left: 3px solid var(--primary-blue);
}

.review-experience-item:last-child,
.review-education-item:last-child,
.review-project-item:last-child {
  margin-bottom: 0;
}

.review-experience-item strong,
.review-education-item strong,
.review-project-item strong {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.review-dates {
  display: block;
  color: rgba(156, 163, 175, 0.8);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
}

.review-description {
  color: rgba(229, 231, 235, 0.9);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin-top: var(--space-2);
}

.review-technologies {
  color: var(--primary-light);
  font-size: var(--font-size-xs);
  margin-top: var(--space-2);
  font-weight: 500;
}

/* Results Section */
.results-container {
  max-width: 1400px;
  margin: 0 auto;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-12);
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.results-header:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(99, 102, 241, 0.4);
  /* transform: translateY(-2px); */
}

.results-title h2 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.results-title h2 i {
  color: #10b981;
}

.results-title p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-lg);
}

.results-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.btn-action {
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
}

.btn-action.primary {
  background: #212121;
  color: var(--white);
  box-shadow: none;
}

.btn-action.primary:hover {
  /* transform: translateY(-2px); */
  box-shadow: none;
}

.btn-action.secondary {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-action.secondary:hover {
  background: var(--gray-200);
  /* transform: translateY(-1px); */
}

.btn-action:not(.primary):not(.secondary) {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  box-shadow: none;
}

.btn-action:not(.primary):not(.secondary):hover {
  background: var(--gray-50);
  /* transform: translateY(-1px); */
  box-shadow: none;
}

/* Resume Preview */
.resume-preview {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-3xl);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.resume-preview:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(99, 102, 241, 0.4);
  /* transform: translateY(-2px); */
}

.resume-text-content {
  padding: var(--space-8);
  background: rgba(0, 0, 0, 0.3);
  min-height: 600px;
  max-height: 800px;
  overflow-y: auto;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--white);
  backdrop-filter: blur(10px);
}

.resume-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.resume-placeholder i {
  font-size: 4rem;
  margin-bottom: var(--space-4);
  opacity: 0.5;
  color: rgba(99, 102, 241, 0.7);
}

.resume-placeholder p {
  font-size: var(--font-size-lg);
  font-weight: 500;
}

/* Resume Text Formatting */
.resume-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-6);
  text-align: center;
  border-bottom: 3px solid rgba(139, 92, 246, 0.5);
  padding-bottom: var(--space-4);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.resume-section {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: rgba(139, 92, 246, 0.9);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  border-left: 4px solid rgba(139, 92, 246, 0.6);
  padding-left: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.resume-subsection {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-800);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.resume-paragraph {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: var(--space-4);
  text-align: justify;
}

.resume-list {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.resume-item {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: var(--space-2);
  position: relative;
}

.resume-item::marker {
  color: var(--primary);
  font-weight: bold;
}

/* Template-specific styles for resume content */
.a4-page.template-modern .resume-content {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.a4-page.template-executive .resume-content {
  font-family: 'Inter', serif;
  background: #212121;
}

.a4-page.template-creative .resume-content {
  background: #212121;
  font-family: 'Inter', sans-serif;
}

.a4-page.template-technical .resume-content {
  background: #212121;
  font-family: 'Inter', monospace;
}

/* Resume Content Styling */
.resume-content h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-6);
  text-align: center;
  border-bottom: 3px solid var(--primary);
  padding-bottom: var(--space-4);
}

.resume-content h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  border-left: 4px solid var(--primary);
  padding-left: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resume-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-800);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.resume-content p {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: var(--space-4);
  text-align: justify;
}

.resume-content ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.resume-content li {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: var(--space-2);
  position: relative;
}

.resume-content li::marker {
  color: var(--primary);
  font-weight: bold;
}

.resume-content strong {
  color: var(--gray-900);
  font-weight: 600;
}

/* Contact Section Styling */
.contact-section {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.contact-info {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  background: var(--gray-100);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
}

.contact-info strong {
  color: var(--primary);
}

/* Skills Section Styling */
.skills-section .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.skills-section .skill-item {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-2xl);
  text-align: center;
  font-weight: 500;
  font-size: var(--font-size-sm);
  box-shadow: none;
  transition: all var(--transition-normal);
}

.skills-section .skill-item:hover {
  background: var(--white);
  color: var(--primary);
  /* transform: translateY(-2px); */
  box-shadow: none;
}

/* Experience Section Styling */
.experience-item {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  border-left: 4px solid var(--accent-blue);
  box-shadow: none;
}

.experience-item .job-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.experience-item .company-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--space-1);
}

.experience-item .job-duration {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: var(--space-4);
}

/* Education Section Styling */
.education-item {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  border-left: 4px solid var(--light-blue);
  box-shadow: none;
}

.education-item .degree {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.education-item .institution {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--space-1);
}

.education-item .graduation-year {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  font-style: italic;
}

/* Projects Section Styling */
.project-item {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  border-left: 4px solid var(--secondary-blue);
  box-shadow: none;
}

.project-item .project-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

/* Summary Section Styling */
.summary-section {
  background: #212121;
  color: var(--white);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  box-shadow: none;
}

.summary-section p {
  color: var(--white);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

/* Template-specific content styling */
.a4-page.template-creative .resume-content h1 {
  color: var(--gray-800);
  border-bottom-color: var(--gray-800);
}

.a4-page.template-creative .resume-content h2 {
  color: var(--gray-800);
  border-left-color: var(--gray-800);
}

.a4-page.template-creative .contact-info strong {
  color: var(--gray-800);
}

.a4-page.template-technical .resume-content h1 {
  color: var(--gray-900);
  border-bottom-color: var(--gray-900);
  font-family: 'Inter', monospace;
}

.a4-page.template-technical .resume-content h2 {
  color: var(--gray-900);
  border-left-color: var(--gray-900);
  font-family: 'Inter', monospace;
}

.a4-page.template-technical .contact-info strong {
  color: var(--gray-900);
}

.a4-page.template-executive .resume-content h1 {
  color: var(--gray-700);
  border-bottom-color: var(--gray-500);
}

.a4-page.template-executive .resume-content h2 {
  color: var(--gray-700);
  border-left-color: var(--gray-500);
}

/* Notifications */
.notification {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  box-shadow: none;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 9999;
  transform: translateX(400px);
  opacity: 0;
  transition: all var(--transition-normal);
  max-width: 400px;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.notification-success {
  border-left: 4px solid var(--gray-800);
}

.notification.notification-error {
  border-left: 4px solid var(--gray-600);
}

.notification.notification-info {
  border-left: 4px solid var(--gray-700);
}

.notification i {
  font-size: var(--font-size-lg);
}

.notification.notification-success i {
  color: var(--gray-800);
}

.notification.notification-error i {
  color: var(--gray-600);
}

.notification.notification-info i {
  color: var(--gray-700);
}

.notification span {
  font-weight: 500;
  color: var(--gray-900);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .navbar {
    top: 10px;
    border-radius: 22px;
    width: calc(100% - 20px);
    max-width: 90%;
  }

  .btn-support {
    padding: 8px 12px;
    font-size: 14px;
  }

  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: var(--space-6);
    transform: translateY(-100%);
    transition: transform var(--transition-normal);
    opacity: 0;
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    max-width: 400px;
    margin: 0 auto;
  }
  
  .templates-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  

  
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .step-actions {
    flex-direction: column;
  }
  
  .results-header {
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
  }
  
  .results-actions {
    justify-content: center;
  }
  
  .a4-page {
    width: 100%;
    min-height: auto;
  }
  
  .step-progress {
    gap: var(--space-2);
  }
  
  .step-circle {
    width: 50px;
    height: 50px;
  }
  
  .step-line {
    width: 40px;
  }
  
  .step-item span {
    font-size: var(--font-size-xs);
  }
  
  /* Experience Builder Mobile Styles */
  .modal-content {
    width: 95%;
    margin: var(--space-4);
  }
  
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .experience-actions {
    align-self: flex-end;
  }

  /* Step Progress Mobile Styles */
  .step-progress {
    top: var(--space-3) !important;
    right: var(--space-3) !important;
  }
  
  .progress-container {
    min-width: 240px;
    padding: var(--space-3);
  }
  
  .step-dot {
    width: 28px;
    height: 28px;
  }
  
  .step-dot span {
    font-size: 12px;
  }

  .app-main {
    padding-right: var(--space-8);
    padding-bottom: calc(var(--space-20) + 80px);
  }

  /* Mobile adjustments for builder items */
  .experience-item, .education-item, .project-item, .link-item {
    padding: 12px 12px 12px 28px;
    margin-bottom: 8px;
  }

  .experience-header, .education-header, .project-header, .link-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .experience-actions, .education-actions, .project-actions, .link-actions {
    align-self: flex-end;
    margin-top: var(--space-2);
  }

  .experience-dates, .education-dates, .project-dates {
    font-size: var(--font-size-xs);
    margin-top: var(--space-1);
  }

}

/* Authentication Styles */
.btn-login {
  background: #3f3f3f;
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}



.btn-login:focus {
  outline: none;
  background: #242424;
  /* box-shadow: 
    0 0 0 3px rgba(99, 102, 241, 0.4),
    0 4px 20px rgba(99, 102, 241, 0.4); */
}

.btn-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #181818;
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative; /* Fix for user menu dropdown positioning */
  border: none;
}

.btn-user:hover {
  background: #454545;
}

/* Authentication Modal */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.auth-modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  width: 90%;
  max-width: 420px;
  box-shadow: inset 0 0 0 .5px #3d3d3d;


  border: 1px solid var(--gray-700);
  backdrop-filter: blur(20px);
  animation: modalSlideIn 0.3s ease-out;
}

.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.auth-modal-header h2 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
}

.auth-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  font-size: var(--font-size-xl);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.auth-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.auth-close:active {
  transform: scale(0.95);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  color: var(--white);
  font-weight: 600;
  font-size: var(--font-size-sm);
  letter-spacing: 0.025em;
}

.form-group input {
  background: #3d3d3d;
  border: 1px solid var(--gray-600);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  color: var(--white);
  font-size: var(--font-size-base);
  transition: all var(--transition-normal);
  box-shadow: none;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: #3d3d3d;
}

.form-group input:hover:not(:focus) {
  border-color: var(--gray-500);
}

.form-group input::placeholder {
  color: var(--gray-400);
}

/* Password Input Wrapper Styles */
.password-input-wrapper {
  position: relative;
  width: 100%;
}

.password-input-wrapper input {
  width: 100%;
  padding-right: 45px; /* Make room for the toggle button */
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #000000; /* Black color for the eye icon */
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  z-index: 1;
  width: 20px;
  height: 20px;
}

.password-toggle:hover {
  opacity: 0.7;
}

.password-toggle i {
  font-size: 16px;
  color: #000000; /* Ensure icon is black */
}

.auth-btn {
  margin-top: 30px;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.auth-btn-primary {
  background: #212121;
  color: var(--white);
}

.auth-btn-primary:hover {
  background: #3d3d3d;
}

.auth-btn-primary:focus {
  outline: none;
  background-color: #ffffff;
  color:#000000;
}

/* Loading state for auth buttons */
.auth-btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-btn-primary:disabled:hover {
  transform: none;
  box-shadow: 
    0 4px 20px rgba(99, 102, 241, 0.4),
    0 0 0 1px rgba(167, 139, 250, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.auth-switch {
  text-align: center;
  color: var(--gray-400);
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
}

.auth-switch a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.auth-switch a:hover {
  color: #ffffff;
  /* text-shadow: 0 0 8px rgba(99, 102, 241, 0.4); */
}

.auth-switch a:hover {
  color: #ffffff;
}

/* OAuth Divider */
.auth-divider {
  position: relative;
  text-align: center;
  margin: var(--space-6) 0 var(--space-4) 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-700);
}

.auth-divider span {
  background: var(--bg-card);
  padding: 0 var(--space-4);
  color: var(--gray-400);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

/* Google Authentication Button */
.auth-btn-google {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  transition: all var(--transition-normal);
  margin-bottom: var(--space-4);
}

.auth-btn-google:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.auth-btn-google:focus {
  outline: 2px solid #4285f4;
  outline-offset: 2px;
}

.auth-btn-google:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.google-icon {
  flex-shrink: 0;
}

/* User Menu */
.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--gray-700);
  border-radius: 0.5rem;
  padding: 1rem;
  min-width: 200px;
  box-shadow: none;
  z-index: 1000;
}

.user-menu-content {
  display: flex;
  flex-direction: column;
}

.user-menu-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-700);
  margin-bottom: 0.75rem;
}

.user-menu-header i {
  color: var(--primary);
  font-size: 1.5rem;
}

.user-menu-header span {
  color: var(--white);
  font-weight: 600;
}

.user-menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-menu-items li {
  margin-bottom: 0.5rem;
}

.user-menu-items a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-300);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.user-menu-items a:hover {
  background: var(--bg-elevated);
  color: var(--white);
}

.user-menu-items i {
  width: 16px;
  text-align: center;
}

/* Notification Animations */
@keyframes notificationSlideIn {
  0% {
    transform: translateX(calc(100% + 2rem)) scale(0.8) rotateY(20deg);
    opacity: 0;
  }
  60% {
    transform: translateX(-10px) scale(1.02) rotateY(-2deg);
    opacity: 0.9;
  }
  100% {
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
  }
}

@keyframes notificationSlideOut {
  0% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100% + 2rem)) scale(0.8);
    opacity: 0;
  }
}

@keyframes notificationPulse {
  0%, 100% {
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(66, 66, 66, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 12px 40px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(66, 66, 66, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

/* Notifications */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  backdrop-filter: blur(20px);
  background: #181818;
  border: 1px solid #424242;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 320px;
  max-width: 480px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(66, 66, 66, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 10001;
  transform: translateX(calc(100% + 2rem)) scale(0.8);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: notificationPulse 2s ease-in-out infinite;
}

.notification.show {
  animation: notificationSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
             notificationPulse 2s ease-in-out infinite 0.6s;
}

.notification.hide {
  animation: notificationSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.notification-success {
  border-left: 4px solid #22c55e;
}

.notification-error {
  border-left: 4px solid #ef4444;
}

.notification-info {
  border-left: 4px solid var(--primary);
}

.notification i {
  color: var(--primary);
}

.notification-success i {
  color: #22c55e;
}

.notification-error i {
  color: #ef4444;
}

.notification span {
  color: var(--white);
  font-weight: 500;
}

/* Confirm Modal Styles */
.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.confirm-modal.show {
  opacity: 1;
  visibility: visible;
}

.confirm-modal.hide {
  opacity: 0;
  visibility: hidden;
}

.confirm-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.confirm-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #181818;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: none;
  animation: modalSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.confirm-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.confirm-header i {
  color: var(--primary);
  font-size: 1.5rem;
}

.confirm-header h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.confirm-body {
  margin-bottom: 2rem;
}

.confirm-body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.confirm-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.confirm-actions button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.confirm-actions .btn-secondary {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.confirm-actions .btn-secondary:hover {
  background: white;
  color: black;
}

.confirm-actions .btn-primary {
  background: var(--primary);
  color: var(--white);
}

.confirm-actions .btn-primary:hover {
  background: white;
  color: black;
}

@media (max-width: 480px) {
  .confirm-content {
    margin: 1rem;
    padding: 1.5rem;
    max-width: none;
    width: calc(100% - 2rem);
  }
  
  .confirm-actions {
    flex-direction: column-reverse;
  }
  
  .confirm-actions button {
    width: 100%;
  }
}

/* Modal Animation */
@keyframes modalSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Authentication */
@media (max-width: 768px) {
  .auth-modal-content {
    margin: var(--space-4);
    padding: var(--space-6);
    max-width: calc(100vw - 2rem);
  }
  
  .btn-user span {
    display: none;
  }
  
  .user-menu {
    right: -50px;
  }
  
  .notification {
    right: 1rem;
    left: 1rem;
    min-width: auto;
  }
}

/* ChatGPT-like Resume Menu Styles */
.new-resume-section {
  padding: 16px;
  margin-bottom: 16px;
}

.new-resume-btn {
  width: 100%;
  background: transparent;
  border: 1px solid #404040;
  border-radius: 12px;
  padding: 12px 16px;
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.new-resume-btn:hover {
  background: #2a2a2a;
  border-color: #555;
}

.new-resume-btn i {
  font-size: 16px;
}

.saved-resumes-section {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.resumes-header {
  color: #888;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 16px 8px 16px;
  margin: 0;
}

.saved-resumes-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 8px;
}

.saved-resumes-list::-webkit-scrollbar {
  width: 4px;
}

.saved-resumes-list::-webkit-scrollbar-track {
  background: transparent;
}

.saved-resumes-list::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 4px;
}

.saved-resumes-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.resume-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin: 4px 0;
  border-radius: 8px;
  cursor: pointer;
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.5;
  transition: background-color 0.15s ease;
  word-wrap: break-word;
  overflow: hidden;
  min-height: 20px;
}

.resume-item:hover {
  background: #474747;
}

.resume-item:focus {
  background: #474747;
  outline: none;
}

.resume-item.active {
  background: #474747;
  color: white;
}

.resume-item.active:hover {
  background: #474747;
}

.resume-item.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.resume-item.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid #666;
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translateY(-50%);
}

@keyframes spin {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

.resume-item-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.resume-item-title.editing {
  background: #2a2a2a;
  border: 1px solid #555;
  outline: none;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.resume-item-title:hover {
  background: rgba(255, 255, 255, 0.05);
}

.resume-menu-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transition: all 0.15s ease;
  margin-left: 8px;
  flex-shrink: 0;
}

.resume-item:hover .resume-menu-btn {
  opacity: 1;
}

.resume-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Loading state for resumes */
.loading-resumes {
  text-align: center;
  color: #888;
  font-style: italic;
  padding: 20px;
  font-size: 14px;
}

/* Custom Dialog Styles */
.custom-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  backdrop-filter: blur(4px);
}

.custom-dialog {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  min-width: 400px;
  max-width: 500px;
  animation: dialogSlideIn 0.2s ease-out;
}

@keyframes dialogSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.custom-dialog-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #333;
}

.custom-dialog-header h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.custom-dialog-content {
  padding: 20px 24px;
}

.custom-dialog-content p {
  margin: 0 0 16px 0;
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.5;
}

.custom-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #2a2a2a;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.custom-input:focus {
  border-color: #666;
}

.custom-dialog-actions {
  padding: 16px 24px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #333;
}

.dialog-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
}

.cancel-btn {
  background: #333;
  color: #fff;
}

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

.confirm-btn {
  background: #dc3545;
  color: #fff;
}

.confirm-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Context Menu Styles */
.context-menu {
  position: fixed;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  padding: 4px 0;
  min-width: 120px;
  backdrop-filter: blur(10px);
}

.context-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #e0e0e0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.context-menu-item:hover {
  background: #3a3a3a;
}

.context-menu-item.context-menu-delete:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.context-menu-item i {
  width: 14px;
  text-align: center;
  font-size: 12px;
}

.loading-resumes {
  color: #888;
  font-size: 13px;
  text-align: center;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loading-resumes .fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.no-resumes {
  color: #888;
  font-size: 13px;
  text-align: center;
  padding: 20px;
  line-height: 1.5;
}

/* Glass Morphism Utility Classes */
