/* JobFix by Neezerchain - Modern Professional Styles */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --success-color: #10b981;
    --success-light: #d1fae5;
    --background-color: #f9fafb;
    --section-background: #f3f4f6;
    --card-background: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --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);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background-color);
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 800;
    letter-spacing: -0.025em;
}

p, .lead {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.text-lg {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--card-background) !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.navbar-logo {
    height: 3rem; /* 48px */
    width: auto;
    max-width: 280px;
    transition: opacity 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    /* Optimized for retina displays */
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.navbar-brand:hover .navbar-logo {
    opacity: 0.8;
}

/* Responsive logo scaling */
@media (max-width: 768px) {
    .navbar-logo {
        height: 2.5rem; /* 40px on mobile */
        max-width: 200px;
    }
    
    .navbar-brand {
        margin-right: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        height: 2rem; /* 32px on small mobile */
        max-width: 160px;
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    background: var(--background-color);
    color: var(--text-primary);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Cards */
.card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.2);
}

.card-header {
    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.card-body {
    padding: 2rem;
}

/* Buttons */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: white;
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-light {
    background: white;
    border-color: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background: #f9fafb;
    border-color: #f9fafb;
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
    border-radius: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: 12px;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge.bg-success {
    background-color: var(--success-color) !important;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

/* Sections */
.section {
    background-color: var(--background-color);
}

.section-alt {
    background-color: var(--section-background);
}

.section-padding {
    padding: 8rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 5rem;
    line-height: 1.6;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--card-background);
    border-radius: 1.25rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
}

.feature-card h4,
.feature-card h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--section-background);
}

.testimonial-card {
    background: var(--card-background);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.15);
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    font-style: italic;
    position: relative;
    font-weight: 500;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: -20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1;
    opacity: 0.7;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Loading */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Trust Elements */
.trust-badge {
    background: var(--success-light);
    color: var(--success-color);
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow: var(--shadow-sm);
    font-size: 1.125rem;
}

/* Steps */
.step-card {
    position: relative;
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 2rem 0;
    box-shadow: var(--shadow-lg);
}

.step-card::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: -1;
}

.step-card:last-child::after {
    display: none;
}

/* Layout Utilities */
.min-vh-75 {
    min-height: 75vh;
}

.min-vh-100 {
    min-height: 100vh;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn:last-child {
        margin-bottom: 0;
    }
    
    .feature-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-quote::before {
        font-size: 2.5rem;
        top: -8px;
        left: -12px;
    }
    
    .step-card::after {
        display: none;
    }
    
    .min-vh-75 {
        min-height: 50vh;
    }
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-logo {
    height: 4rem; /* 64px */
    width: auto;
    max-width: 350px;
    filter: brightness(0) invert(1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    /* Optimized for retina displays */
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@media (max-width: 768px) {
    .footer-logo {
        height: 3rem; /* 48px on mobile */
        max-width: 240px;
    }
}

/* Payment CTA Button Styling */
.payment-cta {
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    border-radius: 12px;
}

.payment-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

@media (max-width: 768px) {
    .payment-cta {
        width: 100% !important;
        margin-bottom: 1rem;
    }
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.footer p {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 1rem;
}

.footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer a:hover {
    color: white;
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--card-background);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
    background-color: var(--card-background);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-select {
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--card-background);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Utility Classes */
.opacity-90 {
    opacity: 0.9;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}