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

:root {
    /* Color Palette */
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #eef2ff;
    --secondary: #06d6a0;
    --accent: #ff6b6b;
    --dark: #2b2d42;
    --gray-1: #8d99ae;
    --gray-2: #edf2f4;
    --gray-3: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06d6a0 0%, #05c593 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --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: 2rem;
    --font-size-4xl: 2.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--gray-3);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BACKGROUND SHAPES ===== */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-light), transparent);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    background: linear-gradient(45deg, #e0f7fa, transparent);
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    background: linear-gradient(45deg, #f3e5f5, transparent);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--dark);
}

.brand i {
    color: var(--primary);
    font-size: 1.5em;
}

.brand-highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.typing-text {
    color: var(--primary);
    border-right: 3px solid var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--primary); }
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-1);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat i {
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--primary-light);
    padding: 12px;
    border-radius: var(--radius-md);
}

.stat h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 4px;
}

.stat p {
    font-size: var(--font-size-sm);
    color: var(--gray-1);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

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

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

.secondary-btn {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-2);
}

.secondary-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.large-btn {
    padding: 1.25rem 2.5rem;
    font-size: var(--font-size-lg);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-1);
    font-size: var(--font-size-sm);
}

.hero-preview {
    position: relative;
}

.resume-preview-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform var(--transition-normal);
    max-width: 400px;
    margin-left: auto;
}

.resume-preview-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-2);
}

.preview-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.preview-info h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 4px;
}

.preview-info p {
    color: var(--primary);
    font-weight: 600;
}

.preview-section {
    margin-bottom: 1rem;
}

.preview-section h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--gray-1);
    margin-bottom: 6px;
}

.preview-section p {
    font-size: var(--font-size-sm);
    color: var(--dark);
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header p {
    color: var(--gray-1);
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURES ===== */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-3) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

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

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-1);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
    font-size: var(--font-size-sm);
}

.feature-list i {
    color: var(--secondary);
}

/* ===== FORM STYLES ===== */
.form-header {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.header-content {
    text-align: center;
    margin-bottom: 2rem;
}

.header-content h1 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.header-content p {
    color: var(--gray-1);
    font-size: var(--font-size-lg);
}

.form-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--gray-2);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gray-2);
    color: var(--gray-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all var(--transition-normal);
}

.step.active .step-number {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.step span {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-1);
}

.step.active span {
    color: var(--primary);
}

/* Form Cards */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.card-header {
    background: var(--primary-light);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-2);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

.card-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 4px;
}

.card-header p {
    color: var(--gray-1);
    font-size: var(--font-size-sm);
}

.card-body {
    padding: 2rem;
}

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

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.form-group label i {
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-2);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-sm);
    color: var(--gray-1);
    margin-top: 0.5rem;
}

.form-hint i {
    font-size: var(--font-size-xs);
}

.char-counter {
    text-align: right;
    font-size: var(--font-size-sm);
    color: var(--gray-1);
    margin-top: 0.5rem;
}

/* File Upload */
.file-upload-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.file-upload-area {
    flex: 1;
    border: 2px dashed var(--gray-2);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.file-upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.file-upload-area i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.file-upload-area p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.file-info {
    font-size: var(--font-size-sm);
    color: var(--gray-1);
}

.file-input {
    display: none;
}

.image-preview-container {
    position: relative;
    display: none;
    align-items: center;
}

.image-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.remove-image:hover {
    transform: scale(1.1);
}

/* Skills Input */
.skills-input-container {
    position: relative;
}

.skills-hint-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.25rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.skill-tag button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-2);
    margin-top: 2rem;
}

.action-group {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
}

.outline-btn {
    background: var(--white);
    color: var(--dark);
    border-color: var(--gray-2);
}

.outline-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn .loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

.submit-btn.loading .loading-spinner {
    display: block;
}

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

/* AI Tips Sidebar */
.ai-tips-sidebar {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 300px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 100;
}

.tips-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips-header i {
    font-size: 1.5rem;
}

.tips-header h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.tips-content {
    padding: 1.5rem;
}

.tip {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-2);
    opacity: 0.5;
    transition: opacity var(--transition-normal);
}

.tip:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.tip.active {
    opacity: 1;
}

.tip h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

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

.tip p {
    font-size: var(--font-size-sm);
    color: var(--gray-1);
    line-height: 1.6;
}

/* ===== TABLE STYLES ===== */
.page-header {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.header-content p {
    color: var(--gray-1);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-1);
}

.search-box input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--gray-2);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    width: 250px;
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-2);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-content p {
    color: var(--gray-1);
    font-size: var(--font-size-sm);
}

/* Table Container */
.table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 4rem;
}

.table-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.table-actions {
    display: flex;
    gap: 1rem;
}

/* DataTable Styles */
.dataTables_wrapper {
    padding: 0 2rem;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1.5rem;
}

.dataTables_wrapper .dataTables_length select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 2px solid var(--gray-2);
    border-radius: var(--radius-md);
    background: var(--white);
}

.dataTables_wrapper .dataTables_filter input {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-2);
    border-radius: var(--radius-md);
    margin-left: 0.5rem;
}

table.dataTable {
    border-collapse: collapse !important;
    margin: 1rem 0 !important;
}

table.dataTable thead th {
    background: var(--gray-3);
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 2px solid var(--gray-2);
}

table.dataTable tbody td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-2);
    vertical-align: middle;
}

/* Custom Table Styles */
.resume-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.resume-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

.resume-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.resume-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resume-details strong {
    font-weight: 600;
}

.resume-details small {
    color: var(--gray-1);
    font-size: var(--font-size-sm);
}

.headline-badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-chip {
    background: var(--gray-2);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.skill-chip-more {
    background: var(--gray-2);
    color: var(--gray-1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
}

.date-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-1);
}

.date-cell i {
    font-size: var(--font-size-sm);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.status-active {
    background: rgba(6, 214, 160, 0.1);
    color: var(--secondary);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--white);
}

.btn-view {
    background: var(--primary);
}

.btn-edit {
    background: var(--secondary);
}

.btn-download {
    background: var(--accent);
}

.btn-delete {
    background: #ff4757;
}

.action-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.empty-icon {
    font-size: 4rem;
    color: var(--gray-2);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--gray-1);
    max-width: 400px;
    margin: 0 auto 2rem;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    padding: 2rem;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .brand {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: var(--font-size-sm);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .resume-preview-card {
        margin: 0 auto;
    }
    
    .ai-tips-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .file-upload-container {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .table-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-steps {
        flex-wrap: wrap;
    }
    
    .form-steps::before {
        display: none;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .form-actions,
    .ai-tips-sidebar,
    .footer,
    .table-actions,
    .action-buttons {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .resume-sheet {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .feature-card,
    .stat-card,
    .form-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ===== UTILITY CLASSES ===== */
.highlight {
    border-color: var(--primary) !important;
    background: var(--primary-light) !important;
}

.loading {
    opacity: 0.7;
    cursor: wait !important;
}

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

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }