/* ==========================================================================
   TALENTEO PREMIUM ANIMATIONS & DARK THEME
   Design inspiré avec fond bleu très sombre, animations fluides
   ========================================================================== */

/* ==========================================================================
   VARIABLES PREMIUM
   ========================================================================== */
:root {
    /* Dark Theme Colors */
    --dark-bg: #1a263f;
    --dark-bg-light: #243554;
    --dark-bg-lighter: #2d4166;
    --dark-card: #1e2d4d;
    --dark-card-hover: #243b5e;
    --dark-border: rgba(255, 255, 255, 0.1);

    /* Primary Accent */
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --accent-gradient-alt: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);

    /* Animation Timing */
    --anim-duration: 0.4s;
    --anim-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --anim-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

/* Fade In & Slide Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In & Scale */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse Glow */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(59, 130, 246, 0.2);
    }
}

/* Shimmer Loading */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Rotate Animation */
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Bounce In */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In From Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Download Icon Animation */
@keyframes downloadBounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(5px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(3px);
    }
}

/* ==========================================================================
   PREMIUM JOB CARDS - DARK THEME
   ========================================================================== */

/* Jobs Grid Dark Container */
.jobs-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

/* Premium Job Card - Dark Theme */
.job-card-premium {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--dark-border);
    position: relative;
    overflow: hidden;
    transition: all var(--anim-duration) var(--anim-easing);
    animation: fadeInUp 0.5s var(--anim-easing) backwards;
}

/* Staggered Animation Delays */
.job-card-premium:nth-child(1) { animation-delay: 0.05s; }
.job-card-premium:nth-child(2) { animation-delay: 0.1s; }
.job-card-premium:nth-child(3) { animation-delay: 0.15s; }
.job-card-premium:nth-child(4) { animation-delay: 0.2s; }
.job-card-premium:nth-child(5) { animation-delay: 0.25s; }
.job-card-premium:nth-child(6) { animation-delay: 0.3s; }
.job-card-premium:nth-child(7) { animation-delay: 0.35s; }
.job-card-premium:nth-child(8) { animation-delay: 0.4s; }
.job-card-premium:nth-child(9) { animation-delay: 0.45s; }

/* Card Hover Effect */
.job-card-premium:hover {
    transform: scale(1.03) translateY(-5px);
    background: var(--dark-card-hover);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(59, 130, 246, 0.1);
}

/* Gradient Border on Hover */
.job-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--anim-duration) var(--anim-easing);
}

.job-card-premium:hover::before {
    transform: scaleX(1);
}

/* Card Content */
.job-card-premium .job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.job-card-premium .job-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.job-card-premium .job-company {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-card-premium .job-company i {
    font-size: 14px;
}

.job-card-premium .job-badge {
    background: var(--accent-gradient);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Job Meta Info */
.job-card-premium .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.job-card-premium .job-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.job-card-premium .job-meta-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.job-card-premium .job-meta-item i {
    color: var(--accent-primary);
    font-size: 12px;
}

/* Job Description */
.job-card-premium .job-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Job Footer */
.job-card-premium .job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--dark-border);
}

.job-card-premium .job-salary {
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-card-premium .job-salary i {
    font-size: 14px;
}

/* Apply Button Premium */
.job-card-premium .apply-btn-premium {
    background: var(--accent-gradient);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--anim-duration) var(--anim-easing);
    position: relative;
    overflow: hidden;
}

.job-card-premium .apply-btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.job-card-premium .apply-btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.job-card-premium .apply-btn-premium:hover::before {
    left: 100%;
}

.job-card-premium .apply-btn-premium:active {
    transform: translateY(0);
}

/* ==========================================================================
   JOBS PAGE DARK THEME
   ========================================================================== */

.jobs-page-dark {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0f172a 100%);
    min-height: 100vh;
    padding-bottom: 60px;
}

.jobs-page-dark .page-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.jobs-page-dark .page-header h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    animation: fadeInUp 0.6s var(--anim-easing);
}

.jobs-page-dark .page-header .subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    animation: fadeInUp 0.6s var(--anim-easing) 0.1s backwards;
}

/* ==========================================================================
   ADMIN FORM - CENTERED & SCROLLABLE
   ========================================================================== */

/* Modal Centered */
.modal-premium {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-premium.show {
    display: flex;
}

/* Form Modal Content */
.modal-premium .modal-content-form {
    background: #fff;
    border-radius: 20px;
    width: 95%;
    max-width: 650px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: bounceIn 0.5s var(--anim-easing);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

/* Form Header */
.modal-premium .form-header {
    background: var(--accent-gradient);
    color: #fff;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-premium .form-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.modal-premium .close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-premium .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Form Body Scrollable */
.modal-premium .form-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) #e2e8f0;
}

.modal-premium .form-body::-webkit-scrollbar {
    width: 8px;
}

.modal-premium .form-body::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.modal-premium .form-body::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

/* Form Grid */
.form-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

/* Form Group Premium */
.form-group-premium {
    margin-bottom: 0;
}

.form-group-premium label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-group-premium label i {
    color: var(--accent-primary);
    font-size: 14px;
}

.form-group-premium input,
.form-group-premium select,
.form-group-premium textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group-premium input:focus,
.form-group-premium select:focus,
.form-group-premium textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    outline: none;
}

.form-group-premium textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form Footer */
.modal-premium .form-footer {
    padding: 20px 30px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Submit Button Premium */
.btn-submit-premium {
    background: var(--accent-gradient);
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-submit-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-submit-premium:active {
    transform: translateY(-1px);
}

.btn-cancel-premium {
    background: #64748b;
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel-premium:hover {
    background: #475569;
    transform: translateY(-2px);
}

/* Responsive Form */
@media (max-width: 768px) {
    .modal-premium .modal-content-form {
        width: 95%;
        max-height: 90vh;
    }

    .form-grid-premium {
        grid-template-columns: 1fr;
    }

    .modal-premium .form-body {
        padding: 20px;
    }

    .modal-premium .form-footer {
        flex-direction: column;
    }

    .btn-submit-premium,
    .btn-cancel-premium {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   CANDIDATE MODAL - PREMIUM VIEW
   ========================================================================== */

.candidate-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.candidate-modal.show {
    display: flex;
}

.candidate-modal-content {
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    animation: bounceIn 0.5s var(--anim-easing);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.candidate-modal-header {
    background: var(--accent-gradient);
    color: #fff;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.candidate-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.candidate-modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.candidate-modal-body::-webkit-scrollbar {
    width: 10px;
}

.candidate-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.candidate-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3dc1d3, #2ba8b9);
    border-radius: 10px;
}

.candidate-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2ba8b9, #238a9a);
}

.candidate-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.candidate-info-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 16px;
}

.candidate-info-item .info-content {
    flex: 1;
}

.candidate-info-item .info-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.candidate-info-item .info-value {
    font-size: 16px;
    color: #1e293b;
    font-weight: 500;
}

/* CV Button in Modal */
.btn-cv-modal {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cv-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-cv-modal.disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.no-cv-message {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 20px;
}

.no-cv-message i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.no-cv-message p {
    color: #64748b;
    font-size: 15px;
}

/* ==========================================================================
   E-BOOK SECTION - GRADIENT PREMIUM
   ========================================================================== */

.ebook-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 50%, #ec4899 100%);
    position: relative;
    overflow: hidden;
}

.ebook-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: float 8s ease-in-out infinite;
}

.ebook-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ebook-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInScale 0.8s var(--anim-easing);
}

.ebook-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: float 3s ease-in-out infinite;
}

.ebook-icon i {
    font-size: 48px;
    color: #fff;
}

.ebook-card h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.ebook-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-ebook-premium {
    background: #fff;
    color: #1e3a8a;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-ebook-premium:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.btn-ebook-premium i {
    animation: downloadBounce 1.5s ease-in-out infinite;
}

/* E-book Modal */
.ebook-modal {
    display: none;
    position: fixed;
    z-index: 10002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.ebook-modal.show {
    display: flex;
}

.ebook-modal-content {
    background: #fff;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    text-align: center;
    animation: bounceIn 0.5s var(--anim-easing);
}

.ebook-modal-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.ebook-modal-icon i {
    font-size: 36px;
    color: #fff;
    animation: downloadBounce 1.5s ease-in-out infinite;
}

.ebook-modal h3 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 15px;
}

.ebook-modal p {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-download-start {
    background: var(--accent-gradient);
    color: #fff;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-download-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
   LOADING STATES
   ========================================================================== */

.skeleton-loader {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-card {
    height: 250px;
    border-radius: 16px;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 10px;
}

.skeleton-text.short {
    width: 60%;
}

/* Premium Loading Spinner */
.loading-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    animation: fadeInUp 0.5s ease;
}

.loading-premium .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: rotate360 1s linear infinite;
}

.loading-premium p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
}

/* ==========================================================================
   MICRO-INTERACTIONS
   ========================================================================== */

/* Button Click Ripple */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::after {
    width: 300px;
    height: 300px;
}

/* Link Hover Underline Animation */
.link-animated {
    position: relative;
    text-decoration: none;
}

.link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

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

/* Card Hover Glow */
.glow-hover {
    transition: box-shadow 0.3s ease;
}

.glow-hover:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Icon Bounce on Hover */
.icon-bounce:hover i {
    animation: bounceIn 0.5s ease;
}

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

@media (max-width: 768px) {
    .jobs-grid-premium {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .job-card-premium {
        padding: 22px;
    }

    .job-card-premium .job-title {
        font-size: 18px;
    }

    .jobs-page-dark .page-header h1 {
        font-size: 32px;
    }

    .ebook-card {
        padding: 30px 20px;
    }

    .ebook-card h2 {
        font-size: 28px;
    }

    .btn-ebook-premium {
        padding: 16px 35px;
        font-size: 16px;
    }
}

/* ==========================================================================
   GLOBAL MICRO-ANIMATIONS
   ========================================================================== */

/* All clickable elements */
button,
a,
.clickable {
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

button:active,
a:active,
.clickable:active {
    transform: scale(0.98);
}

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Smooth page transitions */
.page-transition {
    animation: fadeInUp 0.5s var(--anim-easing);
}

/* Content reveal on scroll (to be triggered via JS) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--anim-easing);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}
