/* CVMaker Premium Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Premium Vibrant Palette */
    --primary-color: #6366f1; /* Indigo */
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); /* Indigo to Purple */
    
    --secondary-color: #f8fafc;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Premium Neutral Backgrounds */
    --bg-main: #fcfcfd;
    --bg-surface: #ffffff;
    --bg-subtle: #f1f5f9;
    
    --border-color: #e2e8f0;
    --border-light: rgba(226, 232, 240, 0.5);
    
    /* Text Colors */
    --text-dark: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */
    --text-light: #94a3b8; /* Slate 400 */
    
    /* 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-glow: 0 0 20px rgba(99, 102, 241, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Global Styles */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-main);
    padding-top: 80px; /* Navbar padding */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .display-4, .display-5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.text-primary { color: var(--primary-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.bg-light { background-color: var(--bg-subtle) !important; }

/* Buttons */
.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.6rem 1.5rem;
    transition: var(--transition-smooth);
    letter-spacing: 0.01em;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: white;
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(99, 102, 241, 0.05);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0;
    background: var(--bg-main);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

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

.hero-image img {
    max-height: 550px;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
    border-radius: 1.5rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-bounce);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.display-4 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

/* Feature Cards */
.feature-card {
    background: var(--bg-surface);
    border-radius: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 1rem;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-surface);
    border-radius: 1.5rem;
    border: 1px solid var(--border-light);
    padding: 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    color: rgba(99, 102, 241, 0.05);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stars i { color: var(--warning-color); font-size: 0.9rem; }

/* Company Logos */
.company-logo {
    max-height: 45px;
    opacity: 0.4;
    transition: var(--transition-smooth);
    filter: grayscale(100%);
}

.company-logo:hover {
    opacity: 1;
    filter: grayscale(0%) drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    position: relative;
    background: var(--primary-gradient);
    color: white;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIvPjwvc3ZnPg==') repeat;
    opacity: 0.5;
}

.cta-section h2, .cta-section p { position: relative; z-index: 1; }
.cta-section .btn {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.cta-section .btn:hover {
    background: var(--bg-main);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: #020617 !important; /* Extremely dark slate */
    border-top: 1px solid rgba(255,255,255,0.05);
}

.text-light-75 { color: rgba(255, 255, 255, 0.75) !important; }
.text-light-50 { color: rgba(255, 255, 255, 0.5) !important; }

.footer h5, .footer h6 {
    font-family: 'Outfit', sans-serif;
    color: white;
    letter-spacing: 0.05em;
}

.footer-links a {
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light) !important;
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-3px);
}

/* Form Styles - Builder */
.form-control, .form-select {
    border-radius: 0.75rem;
    border: 1.5px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: var(--transition-smooth);
    background-color: var(--bg-subtle);
}

.form-control:focus, .form-select:focus {
    background-color: white;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

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

/* Progress Bar */
.progress-container {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1020;
}

.progress {
    background-color: var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
}

.progress-bar {
    background: var(--primary-gradient) !important;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Utilities & Animations */
.shadow-custom { box-shadow: var(--shadow-lg); }

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

.fade-in-up { animation: fadeInUp 0.7s ease-out forwards; }

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* Responsive */
@media (max-width: 768px) {
    .hero-section { padding: 4rem 0; text-align: center; }
    .hero-image img { margin-top: 2rem; transform: none; }
    .display-4 { font-size: 2.5rem; }
    .btn-lg { width: 100%; margin-bottom: 0.5rem; }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }