/* CV Builder - Professional Design System */
/* Powered by Darallax */

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

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --primary-bg: #eef2ff;
    --secondary: #64748b;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --darallax: #6366f1;
    --darallax-dark: #4f46e5;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 6px 10px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--gray-50);
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

/* ============================================
   DARALLAX BANNER
   ============================================ */
.darallax-banner {
    background: linear-gradient(135deg, var(--darallax) 0%, var(--primary) 100%);
    padding: 6px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.3px;
}

.darallax-banner a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
}

.darallax-banner a:hover {
    text-decoration-color: #fff;
    color: #fff;
}

/* ============================================
   FEEDBACK STAR RATING
   ============================================ */
.star-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.1s;
}
.star-btn:hover { transform: scale(1.15); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    padding: 12px 0;
    transition: all 0.3s ease;
    background: #fff !important;
    border-bottom: 1px solid var(--gray-200);
}

.navbar.navbar-landing {
    background: #fff !important;
    border-bottom: 1px solid var(--gray-200);
}

.navbar.navbar-landing .navbar-brand,
.navbar.navbar-landing .nav-link {
    color: var(--gray-700) !important;
}

.navbar.navbar-landing .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.navbar.navbar-landing .brand-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600) !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-size: 0.95rem;
}

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

.navbar .btn-primary {
    border-radius: var(--radius-sm);
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Toggler for mobile */
.navbar-toggler {
    border: 1.5px solid var(--gray-300);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23475569' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.navbar-landing .navbar-toggler {
    border-color: var(--gray-300);
}

.navbar.navbar-landing .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23475569' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 6px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.25s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    font-weight: 600;
    padding: 16px 20px;
}

.card-body { padding: 20px; }

.card-title { font-weight: 700; color: var(--gray-900); }

/* ============================================
   FORM CONTROLS
   ============================================ */
.form-control,
.form-select {
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: all 0.2s;
    color: var(--gray-800);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.form-text {
    color: var(--gray-400);
    font-size: 0.8rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

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

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

.btn-light {
    background: #fff;
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
}

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

.btn-outline-secondary {
    border: 1.5px solid var(--gray-300);
    color: var(--gray-600);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--gray-100);
    color: var(--gray-800);
    border-color: var(--gray-400);
}

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

.btn-outline-danger:hover {
    background: var(--danger);
    color: #fff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    padding: 14px 18px;
}

.alert-success { background: #dcfce7; color: #166534; }
.alert-danger { background: #fef2f2; color: #991b1b; }
.alert-warning { background: #fffbeb; color: #92400e; }
.alert-info { background: var(--primary-bg); color: var(--primary-dark); }

/* ============================================
   DROPDOWNS
   ============================================ */
.dropdown-menu {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 6px;
}

.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.dropdown-item:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 50px;
}

.badge.bg-secondary {
    background: var(--gray-100) !important;
    color: var(--gray-600);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.border-dashed {
    border-style: dashed !important;
    border-color: var(--gray-300) !important;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.spinner-border-sm { width: 1rem; height: 1rem; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: #f8f9ff;
    color: var(--gray-900);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-200);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.min-vh-75 { min-height: 65vh; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    border: 1px solid rgba(99,102,241,0.2);
}

/* Language switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    padding: 5px 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.lang-switcher-label {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-right: 2px;
}

.lang-btn {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: all 0.15s ease;
}

.lang-btn:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.lang-btn-active {
    background: var(--primary);
    color: #fff !important;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: var(--gray-900);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-btn-primary {
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: all 0.2s;
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79,70,229,0.4);
    background: var(--primary-dark);
    color: #fff;
}

.hero-btn-secondary {
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-300);
    color: var(--gray-700);
    background: #fff;
}

.hero-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.hero-stat .text-success { color: var(--success) !important; }

/* Hero CV Mockup */
.hero-preview { position: relative; z-index: 1; }

.hero-cv-mockup {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px var(--gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cv-mockup:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.15), 0 0 0 1px var(--gray-200);
}

.mockup-browser-bar {
    background: var(--gray-900);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-url {
    margin-left: 10px;
    font-size: 0.75rem;
    color: var(--gray-400);
    background: var(--gray-800);
    padding: 4px 12px;
    border-radius: 6px;
    flex: 1;
    font-family: 'Inter', monospace;
}

.mockup-content {
    background: #fff;
    min-height: 300px;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading .section-label {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    margin: 12px auto 0;
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS - STEPS
   ============================================ */
.step-card {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 12px;
    right: 24px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(79, 70, 229, 0.06);
    line-height: 1;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-bg), #c7d2fe);
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: var(--primary);
}

.step-card h5 {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-bg), #c7d2fe);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.3rem;
    color: var(--primary);
}

.feature-card h5 {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.65;
}

/* ============================================
   TEMPLATE SHOWCASE
   ============================================ */
.template-showcase {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.template-showcase:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.template-showcase-header {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-100);
}

.template-showcase-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.template-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--gray-100);
    color: var(--gray-500);
}

.template-tag.tag-popular {
    background: var(--primary-bg);
    color: var(--primary);
}

.template-showcase-body {
    padding: 16px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
}

.template-mini-preview {
    background: #fff;
    width: 100%;
    aspect-ratio: 8.5 / 11;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border-radius: 4px;
}

.template-showcase-footer {
    padding: 12px 18px;
    border-top: 1px solid var(--gray-100);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--gray-900);
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stat-item {
    padding: 8px 12px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 500;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-accordion {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.faq-item {
    border: none;
    border-bottom: 1px solid var(--gray-100);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-btn {
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--gray-900);
    background: #fff;
    padding: 18px 22px;
    box-shadow: none;
}

.faq-btn:not(.collapsed) {
    color: var(--primary);
    background: var(--primary-bg);
    box-shadow: none;
}

.faq-btn:focus {
    box-shadow: none;
}

.faq-btn::after {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f46e5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-btn.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-body {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
    padding: 4px 22px 18px;
    background: #fff;
}

.faq-item .accordion-collapse.show .faq-body {
    background: var(--primary-bg);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1e1b4b 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* ============================================
   DARALLAX PROMO SECTION
   ============================================ */
.darallax-promo {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    border: 1px solid #c7d2fe;
}

.darallax-promo::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.darallax-promo .darallax-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--darallax);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.darallax-promo h3 {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.darallax-promo p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
}

.darallax-promo .btn-darallax {
    background: var(--darallax);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.darallax-promo .btn-darallax:hover {
    background: var(--darallax-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    color: #fff;
}

/* ============================================
   SEO CONTENT SECTION
   ============================================ */
.seo-section {
    background: #fff;
    padding: 80px 0;
}

.seo-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.seo-section p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1rem;
}

.seo-section .seo-keyword {
    font-weight: 600;
    color: var(--gray-800);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 64px 0 0;
}

.site-footer .footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.site-footer .footer-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
}

.site-footer .footer-desc {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.site-footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links li { margin-bottom: 10px; }

.site-footer .footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-footer .footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-darallax {
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(79,70,229,0.05));
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--radius);
    padding: 20px;
}

.footer-darallax .darallax-title {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.footer-darallax p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-darallax a {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.85rem;
}

.footer-darallax a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 48px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer-bottom a {
    color: var(--primary-light);
}

.footer-bottom a:hover {
    color: #fff;
}

/* ============================================
   DASHBOARD
   ============================================ */
.page-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.page-title i {
    color: var(--primary);
}

.cv-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    overflow: hidden;
}

.cv-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.cv-card .card-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    padding: 12px 16px;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

/* Template Cards (create page) */
.template-card {
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: var(--radius);
}

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

.template-card.selected,
.btn-check:checked + .template-card {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    background: var(--primary-bg);
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-bg) 100%);
    padding: 40px 20px;
}

.auth-card {
    max-width: 440px;
    width: 100%;
}

.auth-card .card {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
}

.auth-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.auth-darallax-badge {
    text-align: center;
    padding: 12px;
    color: var(--gray-400);
    font-size: 0.8rem;
}

.auth-darallax-badge a {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   MODALS
   ============================================ */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 18px 24px;
}

.modal-body { padding: 24px; }

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: 16px 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .hero-title { font-size: 2.6rem; }
    .hero-section { padding: 100px 0 70px; }
    .hero-cv-mockup { transform: none; }
    .hero-cv-mockup:hover { transform: none; }
    .darallax-promo { padding: 32px 24px; }

    /* Stack navbar items better */
    .navbar .navbar-collapse {
        padding: 16px 0;
    }

    .navbar .navbar-nav {
        gap: 4px;
    }

    .navbar .btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-section { padding: 80px 0 50px; }
    .hero-title { font-size: 2rem; }
    .min-vh-75 { min-height: auto; }
    .hero-stats { gap: 10px; }
    .hero-stat { font-size: 0.8rem; }
    .section-title { font-size: 1.7rem; }
    .section-subtitle { font-size: 0.95rem; }
    .darallax-banner { font-size: 0.72rem; padding: 5px 10px; }
    .site-footer { padding: 40px 0 0; }
    .template-mini-preview { aspect-ratio: auto; min-height: 280px; }
    .page-title { font-size: 1.5rem; }

    /* Better touch targets on mobile */
    .btn { min-height: 44px; }
    .btn-sm { min-height: 38px; padding: 8px 14px; }
    .nav-link { padding: 12px 16px !important; }

    /* Stack hero buttons vertically */
    .hero-section .d-flex.gap-3 {
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Stack dashboard header */
    .page-title { width: 100%; }

    /* Feature cards tighter on mobile */
    .feature-card { padding: 22px 18px; }
    .step-card { padding: 24px 16px; }

    /* Darallax promo mobile */
    .darallax-promo { padding: 24px 18px; }
    .darallax-promo .darallax-logo { font-size: 1.4rem; }
    .darallax-promo h3 { font-size: 1.2rem; }

    /* Footer mobile - single column */
    .site-footer .row > div { margin-bottom: 8px; }
    .footer-bottom { text-align: center; }
    .footer-bottom .d-flex { justify-content: center !important; }

    /* CTA mobile */
    .cta-section { padding: 50px 0; }
    .cta-section h2 { font-size: 1.6rem !important; }
    .cta-section .d-flex { flex-direction: column; }
    .cta-section .btn { width: 100%; }

    /* SEO section mobile */
    .seo-section { padding: 50px 0; }
    .seo-section h2 { font-size: 1.4rem; }

    /* Auth mobile */
    .auth-card .card-body { padding: 24px !important; }

    /* Modal mobile */
    .modal-dialog { margin: 16px; }
}

/* Small phones */
@media (max-width: 576px) {
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    .btn-lg { padding: 12px 22px; font-size: 0.95rem; }
    .section-heading { margin-bottom: 32px; }
    .section-heading .section-label { font-size: 0.7rem; }

    /* Dashboard card buttons stack better */
    .cv-card .card-footer .d-flex {
        flex-wrap: wrap;
    }
    .cv-card .card-footer .flex-fill {
        flex: 1 0 100% !important;
        margin-bottom: 6px;
    }
}
