/* ResumeIQ - Modern CSS Styles */
/* Inspired by EnhancV design system */

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Background */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    
    /* Gradient */
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --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);
    
    /* Radius */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--gray-700);
}

.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    display: block;
    padding: 12px 16px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-link:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 24px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Upload Section */
.upload-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.upload-box {
    background: var(--bg-secondary);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-box:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.upload-box.drag-over {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.upload-icon svg {
    width: 32px;
    height: 32px;
}

.upload-box h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.upload-box p {
    color: var(--gray-500);
    font-size: 14px;
}

.upload-formats {
    margin-top: 12px;
    font-size: 12px !important;
    color: var(--gray-400) !important;
}

.upload-or {
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-or span {
    background: white;
    padding: 0 16px;
    color: var(--gray-400);
    font-size: 14px;
    position: relative;
}

.upload-or::before {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    height: 1px;
    background: var(--gray-200);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 14px;
}

.trust-item svg {
    color: var(--success);
    width: 18px;
    height: 18px;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    max-width: 480px;
}

.score-preview {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.score-circle-large {
    width: 200px;
    height: 200px;
    margin: 0 auto 32px;
    position: relative;
}

.score-circle-large svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: var(--gray-100);
    stroke-width: 8;
}

.score-fill {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    transition: stroke-dashoffset 1s ease;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900);
}

.score-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.score-breakdown {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.breakdown-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.breakdown-item span {
    font-size: 14px;
    color: var(--gray-600);
}

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

.breakdown-bar {
    grid-column: 1 / -1;
    height: 6px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

.breakdown-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--width);
    background: var(--gradient);
    border-radius: var(--radius-full);
}

/* Features Section */
.features {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-100);
    transition: var(--transition-slow);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 15px;
    margin-bottom: 20px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.feature-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.feature-card:hover .feature-link svg {
    transform: translateX(4px);
}

/* How It Works */
.how-it-works {
    padding: 100px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    color: var(--gray-600);
    font-size: 15px;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-200);
    margin-top: 32px;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 60px 24px 24px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
    color: white;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px;
    background: var(--gray-900);
    color: white;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    z-index: 1000;
    box-shadow: var(--shadow-xl);
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--error);
}

.toast.info {
    background: var(--primary);
}

/* Page Layouts */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header p {
    color: var(--gray-600);
    font-size: 18px;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
}

.card-header {
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-description {
    color: var(--gray-500);
    font-size: 14px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    min-height: 200px;
    resize: vertical;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Score Display */
.score-container {
    text-align: center;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.score-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    position: relative;
}

.score-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-excellent { color: var(--success); }
.score-good { color: var(--primary); }
.score-fair { color: var(--warning); }
.score-poor { color: var(--error); }

/* Issues List */
.issues-list, .suggestions-list, .strengths-list {
    margin-top: 24px;
}

.issues-list h4, .suggestions-list h4, .strengths-list h4 {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.issue-item, .suggestion-item, .strength-item {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: 8px;
    font-size: 14px;
}

.issue-item.error { border-left: 3px solid var(--error); }
.issue-item.warning { border-left: 3px solid var(--warning); }
.issue-item.info { border-left: 3px solid var(--primary); }

/* Keywords */
.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.keyword {
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
}

.keyword.missing {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* Results Section */
.results-section {
    margin-top: 32px;
}

.results-section.hidden {
    display: none;
}

/* Utility Classes */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        max-width: 100%;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .upload-section {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* API Warning Banner */
#api-warning {
    margin-top: 72px;
}

/* Loading Spinner */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Score Bars */
.score-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-bar-item {
    display: grid;
    grid-template-columns: 120px 1fr 50px;
    gap: 12px;
    align-items: center;
}

.score-bar-label {
    font-size: 14px;
    color: var(--gray-600);
}

.score-bar-track {
    height: 8px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.score-bar-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    text-align: right;
}

/* Copy Button */
.copy-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

/* Tabs for pages */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.tab {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.tab:hover {
    color: var(--gray-900);
}

.tab.active {
    background: white;
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

/* SVG Gradient Definition */
svg defs {
    position: absolute;
}

/* Template Grid for ATS Check */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.template-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.template-btn:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.template-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.template-btn.active span {
    color: white;
}

.template-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.template-btn.active .template-icon {
    background: rgba(255,255,255,0.2) !important;
}

.template-btn span {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

/* ATS Score Container */
.ats-score-container {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.ats-score-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ats-score-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.ats-template-badge {
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.ats-score-circle {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    position: relative;
}

.ats-score-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ats-score-circle .score-bg {
    fill: none;
    stroke: var(--gray-200);
    stroke-width: 10;
}

.ats-score-circle .score-fill {
    fill: none;
    stroke: url(#atsGradient);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.ats-score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ats-score-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-900);
}

.ats-score-max {
    font-size: 16px;
    color: var(--gray-500);
}

.ats-score-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
}

.ats-score-status.excellent {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.ats-score-status.good {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.ats-score-status.fair {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.ats-score-status.poor {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* ATS Breakdown */
.ats-breakdown {
    margin-bottom: 24px;
}

.ats-breakdown h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ATS Issues */
.ats-issues {
    margin-bottom: 24px;
}

.ats-issues h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--warning);
    margin-bottom: 12px;
}

#issuesList {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#issuesList .issue-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border-left: 3px solid var(--warning);
}

#issuesList .issue-item.error {
    border-left-color: var(--error);
}

#issuesList .issue-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

#issuesList .issue-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

#issuesList .issue-item p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
}

/* ATS Keywords */
.ats-keywords {
    margin-bottom: 24px;
}

.ats-keywords h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin-bottom: 12px;
}

.keywords-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

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

.keyword-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

.keyword-stat-label {
    font-size: 12px;
    color: var(--gray-500);
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ATS Suggestions */
.ats-suggestions {
    margin-bottom: 24px;
}

.ats-suggestions h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 12px;
}

#suggestionsList {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#suggestionsList .suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--radius);
    font-size: 14px;
}

#suggestionsList .suggestion-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

/* ATS Actions */
.ats-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
