:root {
    --accent-orange: #FF9F1C;
    --accent-red: #E71D36;
    --accent-green: #2EC4B6;
    --accent-yellow: #FFD93D;
    
    /* Neutral colors */
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #E2E8F0;
    --bg-white: #FFFFFF;
    --bg-off-white: #F8F9FA;
    --bg-light-gray: #F1F3F5;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-off-white);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
  }
  
  /* Landing Page */
  .landing-container {
    height: auto;
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-off-white));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 20px;
  }
  
  .landing-content {
    max-width: 800px;
  }
  
  .landing-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
  }
  
  .landing-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .landing-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .landing-feature {
    flex: 0 0 250px;
    text-align: center;
  }
  
  .feature-icon {
    margin-bottom: 1rem;
    color: var(--accent-orange);
  }
  
  .landing-cta {
    margin-top: 2rem;
  }
  
  /* Smooth Transitions */
  .fade-in {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
  }

  #resume-preview {
    margin: 0 !important;
    padding: 0 !important;
}
  
  /* Animation Keyframes */
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Card Styles */
  .card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
  }
  
  /* Section Headers */
  .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .section-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
  }
  
  /* Input Fields */
  .input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
  }
  
  .input-field:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.1);
  }
  
  /* Buttons */
  .btn {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
  }
  
  .btn-primary {
    background: var(--accent-orange);
    color: white;
  }
  
  .btn-primary:hover {
    background: #F59000;
  }
  
  .btn-secondary {
    background: var(--bg-light-gray);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
  }
  
  .btn-secondary:hover {
    background: #E9ECEF;
  }
  
  /* Template Cards */
  .template-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .template-card {
    position: relative;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .template-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
  
  .template-card.active {
    border-color: var(--accent-orange);
  }
  
  .template-info {
    padding: 12px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
  }
  
  /* Resume Preview */
  .preview-container {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  
  /* Resume Templates downloading */
  @media print {
    body * {
        visibility: hidden;
    }
    #resume-preview, #resume-preview * {
        visibility: visible;
    }
    #resume-preview {
        position: absolute;
        left: 0;
        top: 0;
    }
}

  /* Standard Template */
  .preview-standard {
    padding: 40px;
    background: white;
    font-family: 'Inter', sans-serif;
  }
  
  .preview-standard h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
  }
  
  .preview-standard hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin-bottom: 1rem;
  }
  
  .preview-wrapper {
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 2rem;
    background-color: #f8f9fa; /* light bg */
    overflow: auto;
    height: 100%;
  }
  
  .preview-professional {
    width: 794px; /* A4 width in px */
    min-height: 1123px; /* A4 height in px */
    background: white;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    padding: 40px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
  }
  
  
  /* Modern Template */
  .preview-modern {
    padding: 40px;
    background: white;
    font-family: 'Inter', sans-serif;
  }
  
  .preview-modern h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-orange);
  }
  
  .preview-modern hr {
    border: none;
    border-top: 2px solid var(--accent-orange);
    margin-bottom: 1rem;
  }
  
  .preview-modern .skills span {
    background-color: rgba(255, 159, 28, 0.1);
    border: 1px solid rgba(255, 159, 28, 0.3);
    color: var(--text-primary);
  }
  
  /* Suggestion Pills */
  .suggestion-pill {
    display: inline-flex;
    padding: 8px 12px;
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .suggestion-pill:hover {
    background: #E9ECEF;
    border-color: var(--accent-orange);
  }
  
  /* Experience and Education Items */
  .item-card {
    background: var(--bg-light-gray);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 12px;
  }
  
  .remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #DC3545;
    background: none;
    border: none;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }
  
  .remove-btn:hover {
    background-color: rgba(220, 53, 69, 0.1);
  }
  
  /* Dark Mode */
  .dark-mode {
    --text-primary: #E4E6EB;
    --text-secondary: #B0B3B8;
    --border-color: #3E4042;
    --bg-white: #242526;
    --bg-off-white: #18191A;
    --bg-light-gray: #3A3B3C;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .builder-container {
      grid-template-columns: 1fr;
    }
    .landing-container{
      display: flex;
      flex-direction: column;
      
    }
    
    .preview-container {
      position: relative;
      max-height: none;
      margin-top: 24px;
    }
    
    .preview-professional {
      grid-template-columns: 1fr;
    }
    
    .preview-professional .left-column {
      border-right: none;
      border-bottom: 1px solid var(--border-color);
      padding-right: 0;
      padding-bottom: 20px;
      margin-bottom: 20px;
    }
  }
  
  /* Smooth Scrolling */
  html {
    scroll-behavior: smooth;
  }
  
  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--bg-off-white);
  }
  
  ::-webkit-scrollbar-thumb {
    background: #CBD5E0;
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #A0AEC0;
  }