/* ================================================================
   CERTIFEXPRESS - HOMEPAGE PROFESSIONNELLE
   Style inspiré des plateformes modernes de certification
   ================================================================ */

:root {
    --pro-primary: #0066FF;
    --pro-primary-dark: #0052CC;
    --pro-secondary: #00C9A7;
    --pro-accent: #FF6B6B;
    --pro-dark: #1A1A2E;
    --pro-gray: #4A5568;
    --pro-light-gray: #F7FAFC;
    --pro-border: #E2E8F0;
    --pro-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --pro-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --flashcard-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.pro-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--pro-dark);
    line-height: 1.6;
    background: #FFFFFF;
}

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

/* ================================================================
   NAVIGATION PROFESSIONNELLE
   ================================================================ */

.pro-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--pro-border);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-nav.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px) saturate(200%);
}

.pro-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pro-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: var(--pro-dark);
}

.pro-logo-icon svg {
    display: block;
}

.pro-logo-text {
    font-weight: 700;
}

.pro-nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.pro-nav-link {
    text-decoration: none;
    color: var(--pro-gray);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
}

.pro-nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pro-primary), var(--pro-secondary));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.pro-nav-link:hover {
    color: var(--pro-primary);
    background: rgba(0, 102, 255, 0.05);
}

.pro-nav-link:hover::after {
    width: 60%;
}

/* ================================================================
   DROPDOWN MENU
   ================================================================ */

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.dropdown-trigger svg {
    transition: transform 0.3s ease;
    width: 14px;
    height: 14px;
}

.nav-dropdown.active .dropdown-trigger svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 700px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid var(--pro-border);
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 12px);
}

.dropdown-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px;
}

.dropdown-section h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pro-gray);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--pro-border);
}

.dropdown-section {
    display: flex;
    flex-direction: column;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 4px;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 201, 167, 0.08) 100%);
    transform: translateX(4px);
}

.dropdown-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.dropdown-icon svg {
    width: 24px;
    height: 24px;
}

.dropdown-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--pro-dark);
}

.dropdown-count {
    font-size: 12px;
    color: var(--pro-gray);
    font-weight: 500;
}

.dropdown-footer {
    padding: 16px 32px;
    border-top: 1px solid var(--pro-border);
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    border-radius: 0 0 16px 16px;
}

.dropdown-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pro-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.2s;
}

.dropdown-footer a:hover {
    gap: 12px;
}

.dropdown-footer svg {
    width: 16px;
    height: 16px;
}

.dropdown-item-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pro-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
    transition: gap 0.2s;
}

.dropdown-item-all:hover {
    gap: 12px;
}

/* ================================================================
   MEGA MENU
   ================================================================ */

.mega-menu-wrapper {
    position: relative;
}

.mega-menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mega-menu-trigger:hover {
    background: rgba(0, 102, 255, 0.05);
}

.mega-menu-trigger svg {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 14px;
    height: 14px;
}

.mega-menu-wrapper:hover .mega-menu-trigger svg {
    transform: rotate(180deg);
}

.mega-menu-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 102, 255, 0.1);
    min-width: 900px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid var(--pro-border);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mega-menu-wrapper:hover .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 12px);
    transform: translateX(-50%) scale(1);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 32px 0;
}

.mega-menu-column {
    padding: 0 28px;
    border-right: 1px solid var(--pro-border);
}

.mega-menu-column:last-child {
    border-right: none;
}

.mega-menu-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--pro-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-title svg {
    flex-shrink: 0;
}

.mega-menu-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--pro-gray);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.mega-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, var(--pro-primary) 0%, var(--pro-secondary) 100%);
    transform: scaleY(0);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-menu-item:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.06) 0%, rgba(0, 201, 167, 0.06) 100%);
    transform: translateX(4px);
    color: var(--pro-primary);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.1);
}

.mega-menu-item:hover::before {
    transform: scaleY(1);
}

.mega-menu-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.mega-menu-item:hover svg {
    opacity: 1;
    color: var(--pro-primary);
}

.mega-menu-item-icon {
    flex-shrink: 0;
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 10px 12px;
    color: var(--pro-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.2s;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 201, 167, 0.08) 100%);
}

.mega-menu-view-all:hover {
    gap: 10px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 201, 167, 0.15) 100%);
}

.mega-menu-view-all svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.mega-menu-view-all:hover svg {
    transform: translateX(2px);
}

/* Mega menu responsive */
@media (max-width: 1200px) {
    .mega-menu-dropdown {
        min-width: 800px;
    }

    .mega-menu-column {
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {
    .mega-menu-dropdown {
        min-width: 700px;
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-menu-column:nth-child(2) {
        border-right: none;
    }

    .mega-menu-column:nth-child(3) {
        border-top: 1px solid var(--pro-border);
        padding-top: 28px;
        margin-top: 28px;
    }
}

@media (max-width: 768px) {
    .mega-menu-wrapper {
        display: none;
    }
}

/* ================================================================
   BUTTONS
   ================================================================ */

.pro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.pro-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.pro-btn:hover::before {
    width: 300px;
    height: 300px;
}

.pro-btn-primary {
    background: linear-gradient(135deg, var(--pro-primary) 0%, #0052CC 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.pro-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}

.pro-btn-secondary {
    background: transparent;
    color: var(--pro-gray);
    border: 1px solid var(--pro-border);
}

.pro-btn-secondary:hover {
    background: var(--pro-light-gray);
}

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

.pro-btn-outline:hover {
    background: var(--pro-primary);
    color: white;
}

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

.pro-btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
}

.pro-btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.pro-btn-outline-white:hover {
    background: white;
    color: var(--pro-primary);
}

.pro-btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ================================================================
   HERO SECTION
   ================================================================ */

.pro-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    overflow: hidden;
    position: relative;
}

.pro-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 201, 167, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.pro-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pro-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pro-primary);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pro-hero-badge svg {
    flex-shrink: 0;
}

.pro-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--pro-dark);
    margin-bottom: 24px;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

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

.pro-hero-subtitle {
    font-size: 20px;
    color: var(--pro-gray);
    margin-bottom: 40px;
    line-height: 1.7;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.pro-hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

.pro-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--pro-gray);
}

.trust-icon {
    color: var(--pro-secondary);
    font-weight: 700;
}

/* Hero Visual */
.pro-hero-visual {
    position: relative;
}

.pro-hero-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--pro-shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards;
    position: relative;
}

.pro-hero-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--pro-primary), var(--pro-secondary));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pro-hero-card:hover::before {
    opacity: 0.3;
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-badge {
    background: rgba(0, 102, 255, 0.1);
    color: var(--pro-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.card-progress {
    font-size: 14px;
    font-weight: 600;
    color: var(--pro-secondary);
}

.pro-hero-card h3 {
    font-size: 20px;
    color: var(--pro-dark);
    margin-bottom: 24px;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--pro-border);
    border-bottom: 1px solid var(--pro-border);
}

.stat {
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: var(--pro-gray);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--pro-primary);
}

.card-btn {
    width: 100%;
    padding: 14px;
    background: var(--pro-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.card-btn:hover {
    background: var(--pro-primary-dark);
    transform: translateY(-2px);
}

.pro-hero-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.vendor-badge {
    background: white;
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 6s ease-in-out infinite;
}

.vendor-badge:nth-child(1) {
    animation-delay: 0s;
}

.vendor-badge:nth-child(2) {
    animation-delay: 0.5s;
}

.vendor-badge:nth-child(3) {
    animation-delay: 1s;
}

.vendor-badge:nth-child(4) {
    animation-delay: 1.5s;
}

.vendor-badge:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation-play-state: paused;
}

.vendor-icon {
    font-size: 24px;
}

.vendor-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--pro-dark);
}

/* ================================================================
   CAROUSEL SECTION
   ================================================================ */

.pro-carousel-section {
    padding: 50px 0;
    background: white;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    margin-bottom: 40px;
}

.carousel-track-container {
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    min-width: calc(20% - 18px);
    flex-shrink: 0;
}

.carousel-card {
    background: white;
    border: 1px solid var(--pro-border);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--vendor-color, linear-gradient(90deg, var(--pro-primary) 0%, var(--pro-secondary) 100%));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--pro-primary);
}

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

.carousel-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-card-badge svg {
    flex-shrink: 0;
}

.carousel-card-vendor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 13px;
}

.vendor-icon-small {
    font-size: 20px;
    line-height: 1;
}

.vendor-name-small {
    font-weight: 700;
}

.carousel-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--pro-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 44px;
}

.carousel-card-desc {
    font-size: 13px;
    color: var(--pro-gray);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.carousel-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--pro-border);
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--pro-gray);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item svg {
    opacity: 0.6;
}

.meta-badge {
    margin-left: auto;
    background: var(--pro-light-gray);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pro-gray);
}

.carousel-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--pro-primary) 0%, #0052CC 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.carousel-card-btn:hover {
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.carousel-card-btn svg {
    transition: transform 0.3s;
}

.carousel-card-btn:hover svg {
    transform: translateX(2px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--pro-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    color: var(--pro-gray);
}

.carousel-btn:hover {
    background: var(--pro-primary);
    border-color: var(--pro-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: white;
    border-color: var(--pro-border);
    color: var(--pro-gray);
    transform: translateY(-50%) scale(1);
    box-shadow: none;
}

.carousel-btn-prev {
    left: -24px;
}

.carousel-btn-next {
    right: -24px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pro-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator:hover {
    background: var(--pro-gray);
}

.carousel-indicator.active {
    width: 24px;
    border-radius: 4px;
    background: var(--pro-primary);
}

/* Responsive carousel */
@media (max-width: 1200px) {
    .carousel-item {
        min-width: calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-width: calc(50% - 12px);
    }

    .carousel-btn-prev {
        left: -12px;
    }

    .carousel-btn-next {
        right: -12px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        min-width: 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

/* ================================================================
   QUICK ACCESS
   ================================================================ */

.pro-quick-access {
    padding: 50px 0;
    background: white;
}

.quick-access-card {
    background: linear-gradient(135deg, var(--pro-primary) 0%, var(--pro-primary-dark) 100%);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: var(--pro-shadow);
    position: relative;
    overflow: hidden;
}

.quick-access-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--pro-primary), var(--pro-secondary), var(--pro-primary));
    border-radius: 18px;
    z-index: -1;
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
    opacity: 0.7;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.access-icon {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.access-icon svg {
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: rotateGlow 20s linear infinite;
}

.quick-access-card h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 8px;
}

.quick-access-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 32px;
}

.access-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.code-input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.code-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.code-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ================================================================
   TRUST / REASSURANCE SECTION
   ================================================================ */

.pro-trust {
    padding: 50px 0;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
}

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

.trust-block {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--pro-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.trust-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.trust-block:hover::before {
    left: 100%;
}

.trust-block:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 102, 255, 0.12);
    border-color: var(--pro-primary);
}

.trust-block:hover .trust-block-icon {
    transform: scale(1.1) rotate(5deg);
}

.trust-block-icon {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.trust-block-icon {
    margin-bottom: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-block-icon svg {
    display: block;
}

.trust-block h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--pro-dark);
    margin-bottom: 12px;
}

.trust-block p {
    font-size: 15px;
    color: var(--pro-gray);
    line-height: 1.6;
}

/* ================================================================
   CERTIFICATIONS CATALOG
   ================================================================ */

.pro-certifications {
    padding: 50px 0;
    background: #FAFBFC;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 201, 167, 0.1) 100%);
    border-radius: 100px;
    color: var(--pro-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08);
    }
    50% {
        box-shadow: 0 4px 16px rgba(0, 102, 255, 0.15);
    }
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--pro-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--pro-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.cert-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.cert-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--pro-border);
    border-radius: 12px;
    background: white;
    color: var(--pro-gray);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-category svg {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.cert-category:hover {
    border-color: var(--pro-primary);
    color: var(--pro-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.cert-category:hover svg {
    opacity: 1;
}

.cert-category.active {
    background: linear-gradient(135deg, var(--pro-primary) 0%, #0052CC 100%);
    border-color: var(--pro-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.cert-category.active svg {
    opacity: 1;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
    perspective: 1000px;
}

.cert-card {
    background: white;
    border: 1px solid var(--pro-border);
    border-radius: 16px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, rgba(0, 201, 167, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cert-card:hover::after {
    opacity: 1;
}

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

.cert-card {
    transform: translateY(20px);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pro-primary) 0%, var(--pro-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-card:hover {
    border-color: var(--pro-primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

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

.cert-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    position: relative;
    overflow: hidden;
}

.cert-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s;
}

.cert-card:hover .cert-card-header::before {
    left: 100%;
}

.cert-vendor-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.cert-card:hover .cert-vendor-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cert-vendor-badge svg {
    flex-shrink: 0;
}

.cert-level-badge {
    background: white;
    color: var(--pro-gray);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--pro-border);
}

.cert-content {
    padding: 24px;
}

.cert-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pro-dark);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.cert-card:hover .cert-title {
    color: var(--pro-primary);
}

.cert-desc {
    color: var(--pro-gray);
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

.cert-stats {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
    background: #F9FAFB;
    border-top: 1px solid var(--pro-border);
}

.cert-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--pro-gray);
    font-weight: 500;
}

.cert-stat svg {
    color: var(--pro-primary);
    flex-shrink: 0;
}

.cert-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--pro-primary) 0%, #0052CC 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

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

.cert-btn:hover::before {
    left: 100%;
}

.cert-btn svg {
    transition: transform 0.3s;
}

.cert-btn:hover svg {
    transform: translateX(4px);
}

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

/* ================================================================
   FEATURES
   ================================================================ */

.pro-features {
    padding: 50px 0;
    background: var(--pro-light-gray);
}

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

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--pro-border);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--pro-dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--pro-gray);
    line-height: 1.7;
}

/* Feature Card Highlight (pour différenciateurs) */
.feature-card.feature-highlight {
    position: relative;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.feature-card.feature-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.feature-card.feature-highlight:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1A1A2E;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.feature-card.feature-highlight .feature-icon {
    font-size: 56px;
    animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-card.feature-highlight h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 22px;
}

/* ================================================================
   STATISTICS
   ================================================================ */

.pro-stats {
    padding: 50px 0;
    background: var(--pro-dark);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-4px) scale(1.02);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--pro-secondary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 4px 12px rgba(0, 201, 167, 0.4);
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */

.pro-testimonials {
    padding: 50px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
}

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

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--pro-gray);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--pro-border);
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.author-name {
    font-weight: 700;
    color: var(--pro-dark);
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--pro-gray);
    margin-bottom: 4px;
}

.author-cert {
    font-size: 13px;
    color: var(--pro-secondary);
    font-weight: 600;
}

/* ================================================================
   PRICING
   ================================================================ */

.pro-pricing {
    padding: 50px 0;
    background: var(--pro-light-gray);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    background: white;
    padding: 6px;
    border-radius: 100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toggle-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    color: var(--pro-gray);
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: var(--pro-primary);
    color: white;
}

.toggle-badge {
    background: var(--pro-secondary);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 4px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--pro-border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--pro-primary);
    box-shadow: var(--pro-shadow-lg);
    transform: translateY(-8px);
}

.pricing-card.featured {
    border-color: var(--pro-primary);
    box-shadow: var(--pro-shadow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pro-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--pro-dark);
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--pro-primary);
}

.price-period {
    font-size: 18px;
    color: var(--pro-gray);
}

.pricing-desc {
    color: var(--pro-gray);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--pro-dark);
}

.pricing-features li.disabled {
    color: var(--pro-gray);
    opacity: 0.5;
}

.pricing-features .feature-icon {
    font-size: 16px;
    color: var(--pro-secondary);
}

.pricing-features li.disabled .feature-icon {
    color: var(--pro-gray);
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    background: var(--pro-light-gray);
    color: var(--pro-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.pricing-btn:hover {
    background: var(--pro-primary);
    color: white;
}

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

.pricing-btn.primary:hover {
    background: var(--pro-primary-dark);
    transform: translateY(-2px);
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.guarantee-icon {
    font-size: 48px;
}

.guarantee-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--pro-dark);
    margin-bottom: 4px;
}

.guarantee-text p {
    font-size: 14px;
    color: var(--pro-gray);
}

/* ================================================================
   CTA SECTION
   ================================================================ */

.pro-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--pro-primary) 0%, var(--pro-primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pro-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 201, 167, 0.15) 0%, transparent 50%);
    animation: rotateGlow 20s linear infinite;
}

.pro-cta .pro-container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ================================================================
   FOOTER
   ================================================================ */

.pro-footer {
    background: var(--pro-dark);
    color: white;
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-bottom-left {
    text-align: left;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-certifications {
    font-size: 12px;
}

.footer-security {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mcafee-badge {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: grayscale(0.3);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mcafee-badge:hover {
    opacity: 1;
    filter: grayscale(0);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ================================================================
   ACCESSIBILITY & FOCUS STATES
   ================================================================ */

/* Focus visible pour la navigation au clavier */
.pro-nav-link:focus-visible,
.mega-menu-trigger:focus-visible,
.mega-menu-item:focus-visible,
.pro-btn:focus-visible,
.cert-btn:focus-visible {
    outline: 3px solid var(--pro-primary);
    outline-offset: 2px;
    border-radius: 8px;
}

/* Amélioration de la lisibilité */
::selection {
    background: rgba(0, 102, 255, 0.2);
    color: var(--pro-dark);
}

/* Smooth scroll pour toute la page */
html {
    scroll-behavior: smooth;
}

/* Réduction des animations pour les utilisateurs qui le préfèrent */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Amélioration du contraste en mode high contrast */
@media (prefers-contrast: high) {
    .pro-nav {
        border-bottom: 2px solid var(--pro-dark);
    }

    .cert-card,
    .trust-block,
    .feature-card {
        border: 2px solid var(--pro-dark);
    }
}

/* ================================================================
   LOADING SKELETON (UX subtile)
   ================================================================ */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ================================================================
   SCROLL PROGRESS INDICATOR
   ================================================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pro-primary), var(--pro-secondary));
    z-index: 9999;
    transition: width 0.1s ease;
}

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

@media (max-width: 1024px) {
    .pro-hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pro-hero-title {
        font-size: 42px;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .pro-nav-content {
        padding: 12px 16px;
    }

    .pro-nav-menu {
        gap: 16px;
    }

    .pro-nav-link {
        display: none;
    }

    .pro-hero {
        padding: 100px 0 60px;
    }

    .pro-hero::before {
        opacity: 0.5;
    }

    .pro-hero-title {
        font-size: 36px;
    }

    .pro-hero-subtitle {
        font-size: 18px;
    }

    .pro-hero-actions {
        flex-direction: column;
    }

    .pro-hero-actions .pro-btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert-categories {
        gap: 8px;
    }

    .cert-category {
        padding: 10px 16px;
        font-size: 13px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-number {
        font-size: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-left {
        text-align: center;
    }

    .footer-security {
        justify-content: center;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-subtitle {
        font-size: 18px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .pro-btn {
        width: 100%;
    }

    .quick-access-card {
        padding: 32px 20px;
    }

    .quick-access-card h2 {
        font-size: 24px;
    }

    .access-form {
        flex-direction: column;
    }

    .access-form .pro-btn {
        width: 100%;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .pro-hero-title {
        font-size: 28px;
    }

    .pro-hero-subtitle {
        font-size: 16px;
    }

    .pro-btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }

    .section-title {
        font-size: 26px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 26px;
    }

    .quick-access-card h2 {
        font-size: 20px;
    }

    .pricing-card {
        padding: 32px 20px;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

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

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-15px) translateX(10px);
    }
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ================================================================
   GLASSMORPHISM PREMIUM - SECTION CERTIFICATIONS
   ================================================================ */

/* Animated Mesh Gradient Background */
.pro-certifications {
    position: relative;
    overflow: hidden;
}

.pro-certifications::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 201, 167, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    animation: meshMove 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes meshMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(5%, -5%) rotate(3deg);
    }
    66% {
        transform: translate(-5%, 5%) rotate(-3deg);
    }
}

.pro-certifications .pro-container {
    position: relative;
    z-index: 1;
}

/* Floating Particles Effect */
.pro-certifications::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: particlesFloat 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particlesFloat {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50px);
    }
}

/* Glassmorphism Cards */
.cert-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

/* Glass reflection effect */
.cert-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 100%
    );
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.cert-card:hover::after {
    opacity: 1;
    animation: glassReflection 1.5s ease;
}

@keyframes glassReflection {
    0% {
        transform: rotate(45deg) translate(-100%, -100%);
    }
    100% {
        transform: rotate(45deg) translate(100%, 100%);
    }
}

/* Border glow effect */
.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.5),
        rgba(0, 201, 167, 0.5),
        rgba(102, 126, 234, 0.5)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.cert-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s ease infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.cert-card:hover {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px 0 rgba(0, 102, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

/* 3D Isometric Vendor Icons */
.cert-vendor-badge {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-vendor-badge::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    bottom: -4px;
    background: inherit;
    border-radius: 8px;
    opacity: 0.3;
    filter: blur(8px);
    transform: translateZ(-10px);
    transition: all 0.4s ease;
}

.cert-card:hover .cert-vendor-badge {
    transform: translateZ(20px) rotateY(-5deg) rotateX(5deg);
}

.cert-card:hover .cert-vendor-badge::before {
    opacity: 0.5;
    transform: translateZ(-20px);
}

/* Enhanced header with glass effect */
.cert-card-header {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Level badge with neon effect */
.cert-level-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.cert-card:hover .cert-level-badge {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 
        0 0 20px rgba(0, 102, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    color: var(--pro-primary);
}

/* Glass button effect */
.cert-btn {
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.9) 0%, 
        rgba(0, 82, 204, 0.9) 100%
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 24px rgba(0, 102, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cert-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-btn:hover::after {
    opacity: 1;
    animation: buttonRipple 1s ease;
}

@keyframes buttonRipple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.cert-btn:hover {
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 1) 0%, 
        rgba(0, 82, 204, 1) 100%
    );
    box-shadow: 
        0 12px 40px rgba(0, 102, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Enhanced category filters with glass effect */
.cert-category {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cert-category:hover {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 24px rgba(0, 102, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cert-category.active {
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.9) 0%, 
        rgba(0, 82, 204, 0.9) 100%
    );
    backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 102, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Enhanced section header badge */
.section-header-badge {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 24px rgba(0, 102, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Light leaks effect */
.cert-content {
    position: relative;
}

.cert-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100px;
    height: 100px;
    background: radial-gradient(
        circle,
        rgba(0, 201, 167, 0.2) 0%,
        transparent 70%
    );
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.cert-card:hover .cert-content::before {
    opacity: 1;
}

/* Stats section with glass effect */
.cert-stats {
    background: rgba(249, 250, 251, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Footer button with glass effect */
.cert-footer .pro-btn-outline {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 102, 255, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cert-footer .pro-btn-outline:hover {
    background: rgba(0, 102, 255, 0.1);
    backdrop-filter: blur(20px);
    border-color: var(--pro-primary);
    box-shadow: 
        0 12px 32px rgba(0, 102, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}


/* ================================================================
   NETFLIX-STYLE ANIMATIONS
   ================================================================ */

/* Dramatic hover scale effect */
.cert-card {
    will-change: transform;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover {
    transform: translateY(-12px) scale(1.06);
    z-index: 10;
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

/* Staggered entrance animations */
.cert-card {
    animation: netflixFadeIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.cert-card:nth-child(1) { animation-delay: 0.1s; }
.cert-card:nth-child(2) { animation-delay: 0.2s; }
.cert-card:nth-child(3) { animation-delay: 0.3s; }
.cert-card:nth-child(4) { animation-delay: 0.4s; }
.cert-card:nth-child(5) { animation-delay: 0.5s; }
.cert-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes netflixFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Title slide-up effect on hover */
.cert-title {
    transform: translateY(0);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover .cert-title {
    transform: translateY(-4px);
    color: var(--pro-primary);
    text-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}

/* Button spring animation */
.cert-btn {
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cert-card:hover .cert-btn {
    transform: scale(1.03);
    box-shadow: 
        0 12px 40px rgba(0, 102, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cert-btn:active {
    transform: scale(0.97);
}

/* Eager hover detection for adjacent cards */
.cert-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Parallax effect on card elements */
.cert-card-header {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover .cert-card-header {
    transform: translateY(-2px);
}

.cert-content {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover .cert-content {
    transform: translateY(-4px);
}

.cert-stats {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover .cert-stats {
    transform: translateY(-6px);
}

/* Vendor badge 3D rotation on hover */
.cert-vendor-badge {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cert-card:hover .cert-vendor-badge {
    transform: translateZ(30px) rotateY(-8deg) rotateX(8deg) scale(1.1);
}

/* Level badge pop effect */
.cert-level-badge {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cert-card:hover .cert-level-badge {
    transform: scale(1.1);
    box-shadow: 
        0 0 20px rgba(0, 102, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Stats counter animation on hover */
.cert-stat {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover .cert-stat {
    color: var(--pro-primary);
    transform: scale(1.05);
}

.cert-stat svg {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cert-card:hover .cert-stat svg {
    transform: rotate(10deg) scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(0, 102, 255, 0.3));
}

/* Description fade and slide */
.cert-desc {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.cert-card:hover .cert-desc {
    opacity: 1;
    transform: translateY(-2px);
}

/* Category filters Netflix animation */
.cert-category {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cert-category:hover {
    transform: translateY(-4px) scale(1.05);
}

.cert-category:active {
    transform: translateY(-2px) scale(1.02);
}

/* Section header badge pulse */
.section-header-badge {
    animation: netflixBadgePulse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes netflixBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 102, 255, 0.2);
    }
}

/* Card reveal on scroll with blur-to-focus */
.cert-card {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(40px) scale(0.95);
}

.cert-card.visible {
    animation: netflixScrollReveal 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes netflixScrollReveal {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(40px) scale(0.95);
    }
    60% {
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0) scale(1);
    }
}

/* Interactive shine effect */
.cert-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 2;
}

.cert-card:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Smooth shadow expansion */
.cert-card {
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
    transition: box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Pre-animation for adjacent cards */
.cert-grid:hover .cert-card:not(:hover) {
    opacity: 0.7;
    transform: scale(0.98);
}

/* Button icon slide effect */
.cert-btn svg {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cert-btn:hover svg {
    transform: translateX(6px) scale(1.2);
}

/* Gradient animation on hover */
.cert-btn {
    background-size: 200% 200%;
    background-position: left center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-btn:hover {
    background-position: right center;
    background: linear-gradient(135deg, 
        rgba(0, 82, 204, 1) 0%, 
        rgba(0, 102, 255, 1) 50%,
        rgba(0, 121, 255, 1) 100%
    );
}

/* Card content zoom on hover */
.cert-content {
    transform-origin: center;
}

/* Glass reflection sweep */
.cert-card::before {
    transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover::before {
    animation: netflixGlassSweep 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes netflixGlassSweep {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Enhanced focus state for accessibility */
.cert-card:focus-within {
    transform: translateY(-12px) scale(1.06);
    z-index: 10;
    outline: 3px solid var(--pro-primary);
    outline-offset: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cert-card,
    .cert-card *,
    .cert-category,
    .section-header-badge {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================
   Certifications Tendances Section
   ================================ */

.pro-trending-certs {
    padding: 100px 0;
    background: linear-gradient(180deg,
        rgba(0, 102, 255, 0.03) 0%,
        rgba(0, 201, 167, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.pro-trending-certs::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle,
        rgba(0, 102, 255, 0.08) 0%,
        transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.pro-trending-certs::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle,
        rgba(0, 201, 167, 0.08) 0%,
        transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.trending-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.trending-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066FF 0%, #00C9A7 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trending-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 102, 255, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(0, 102, 255, 0.3);
}

.trending-card:hover::before {
    opacity: 1;
}

.trending-rank {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.rank-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #0066FF 0%, #00C9A7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.rank-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rank-badge svg {
    width: 14px;
    height: 14px;
}

.trending-up {
    background: rgba(0, 201, 122, 0.15);
    color: #00C97A;
}

.trending-stable {
    background: rgba(255, 159, 10, 0.15);
    color: #FF9F0A;
}

.trending-vendor {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.trending-card:hover .trending-vendor {
    transform: scale(1.1) rotate(5deg);
}

.trending-vendor svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.trending-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.trending-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.trending-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.trending-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.trending-stat svg {
    width: 16px;
    height: 16px;
    color: #0066FF;
    opacity: 0.7;
}

.trending-salary {
    margin-bottom: 24px;
}

.salary-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.salary-amount {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #00C97A 0%, #00A86B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.trending-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
}

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

.trending-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

.trending-btn:hover::before {
    left: 100%;
}

.trending-btn:active {
    transform: translateY(0);
}

.trending-footer {
    margin-top: 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.trending-footer p {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trending-footer svg {
    width: 16px;
    height: 16px;
    color: #0066FF;
    opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pro-trending-certs {
        padding: 60px 0;
    }

    .trending-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .trending-card {
        padding: 24px;
    }

    .rank-number {
        font-size: 24px;
    }

    .trending-vendor {
        width: 64px;
        height: 64px;
    }

    .trending-vendor svg {
        width: 36px;
        height: 36px;
    }

    .trending-title {
        font-size: 18px;
    }

    .salary-amount {
        font-size: 20px;
    }
}

/* Animation for the rank badges */
@keyframes pulse-trend {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.trending-card:hover .rank-badge {
    animation: pulse-trend 2s ease-in-out infinite;
}

/* Stagger animation for cards on page load */
.trending-card {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.trending-card:nth-child(1) {
    animation-delay: 0.1s;
}

.trending-card:nth-child(2) {
    animation-delay: 0.2s;
}

.trending-card:nth-child(3) {
    animation-delay: 0.3s;
}

.trending-card:nth-child(4) {
    animation-delay: 0.4s;
}

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

/* ================================================================
   FLASH CARDS SHOWCASE SECTION
   ================================================================ */

.flashcards-showcase {
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
}

.flashcards-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 201, 167, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.flashcards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.flashcards-content {
    animation: fadeInLeft 0.8s ease-out;
}

.flashcards-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1A1A2E;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

.flashcards-badge svg {
    color: #1A1A2E;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
    }
}

.flashcards-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--pro-dark);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flashcards-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--pro-gray);
    margin-bottom: 36px;
    max-width: 90%;
}

.flashcards-benefits {
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
}

.flashcards-benefits li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--pro-dark);
    font-weight: 500;
}

.flashcards-benefits li svg {
    flex-shrink: 0;
}

.flashcards-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--flashcard-gradient);
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.flashcards-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.flashcards-cta:hover::before {
    left: 100%;
}

.flashcards-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6);
}

.flashcards-cta svg {
    transition: transform 0.3s ease;
}

.flashcards-cta:hover svg {
    transform: translateX(5px);
}

/* Visual Section */
.flashcards-visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.flashcard-stack {
    position: relative;
    width: 100%;
    height: 450px;
}

.flashcard {
    position: absolute;
    width: 100%;
    max-width: 400px;
    height: 250px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.flashcard-1 {
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-6deg) translateY(0);
    animation: float-1 6s ease-in-out infinite;
}

.flashcard-2 {
    top: 50px;
    left: 40px;
    z-index: 2;
    transform: rotate(3deg);
    animation: float-2 6s ease-in-out infinite 1s;
}

.flashcard-3 {
    top: 100px;
    left: 80px;
    z-index: 1;
    transform: rotate(-3deg);
    animation: float-3 6s ease-in-out infinite 2s;
}

@keyframes float-1 {
    0%, 100% {
        transform: rotate(-6deg) translateY(0);
    }
    50% {
        transform: rotate(-8deg) translateY(-15px);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: rotate(3deg) translateY(0);
    }
    50% {
        transform: rotate(5deg) translateY(-10px);
    }
}

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

.flashcard:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    z-index: 10 !important;
}

.flashcard-front {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--flashcard-gradient);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.flashcard-front::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-30%, -30%);
    }
}

.flashcard-type {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.flashcard-question {
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin: 0;
    position: relative;
    z-index: 1;
}

.flashcard-hint {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.flashcard-hint::after {
    content: '→';
    transition: transform 0.3s ease;
}

.flashcard:hover .flashcard-hint::after {
    transform: translateX(5px);
}

.flashcards-stats {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    justify-content: center;
}

.stat-badge {
    background: white;
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.stat-value {
    font-size: 36px;
    font-weight: 900;
    background: var(--flashcard-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--pro-gray);
    font-weight: 600;
}

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

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

/* ================================================================
   TOOLTIPS
   ================================================================ */

/* Tooltip base */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    padding: 8px 14px;
    background: rgba(26, 26, 46, 0.95);
    color: white;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(26, 26, 46, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1000;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Tooltip positions */
[data-tooltip-position="top"]::before {
    bottom: calc(100% + 10px);
    top: auto;
}

[data-tooltip-position="bottom"]::before {
    top: calc(100% + 10px);
    bottom: auto;
    transform: translateX(-50%) translateY(5px);
}

[data-tooltip-position="bottom"]::after {
    top: calc(100% + 4px);
    bottom: auto;
    border-top-color: transparent;
    border-bottom-color: rgba(26, 26, 46, 0.95);
}

[data-tooltip-position="bottom"]:hover::before {
    transform: translateX(-50%) translateY(0);
}

[data-tooltip-position="left"]::before {
    left: auto;
    right: calc(100% + 10px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateX(-5px);
}

[data-tooltip-position="left"]::after {
    left: auto;
    right: calc(100% + 4px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-top-color: transparent;
    border-left-color: rgba(26, 26, 46, 0.95);
}

[data-tooltip-position="left"]:hover::before {
    transform: translateY(-50%) translateX(0);
}

[data-tooltip-position="right"]::before {
    right: auto;
    left: calc(100% + 10px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateX(5px);
}

[data-tooltip-position="right"]::after {
    right: auto;
    left: calc(100% + 4px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-top-color: transparent;
    border-right-color: rgba(26, 26, 46, 0.95);
}

[data-tooltip-position="right"]:hover::before {
    transform: translateY(-50%) translateX(0);
}

/* Tooltip with max-width for long text */
[data-tooltip-multiline]::before {
    white-space: normal;
    max-width: 250px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .flashcards-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .flashcards-title {
        font-size: 38px;
    }

    .flashcards-description {
        max-width: 100%;
    }

    .flashcard-stack {
        margin: 0 auto;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .flashcards-showcase {
        padding: 80px 0;
    }

    .flashcards-title {
        font-size: 32px;
    }

    .flashcards-description {
        font-size: 16px;
    }

    .flashcard {
        max-width: 320px;
        height: 200px;
    }

    .flashcard-stack {
        height: 350px;
    }

    .flashcard-question {
        font-size: 18px;
    }

    .flashcards-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-badge {
        width: 100%;
        max-width: 200px;
    }
}

/* ================================================================
   BLOG STYLES
   ================================================================ */

/* Blog Hero */
.blog-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,...') repeat;
    opacity: 0.1;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.blog-hero-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.blog-hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 40px;
}

.blog-categories {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.blog-category {
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.blog-category:hover,
.blog-category.active {
    background: white;
    color: #667eea;
    border-color: white;
}

/* Blog Grid */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    position: relative;
    padding-top: 56.25%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: #667eea;
}

.blog-card-excerpt {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.blog-card-author {
    font-size: 14px;
    color: #6b7280;
}

.blog-card-arrow {
    font-size: 20px;
    color: #667eea;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-arrow {
    transform: translateX(4px);
}

/* Blog CTA */
.blog-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.blog-cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.blog-cta-content p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 32px;
}

.blog-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Article Page */
.blog-article {
    background: white;
}

.article-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.article-container {
    max-width: 1200px;
}

.article-category {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-size: 48px;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.article-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 15px;
}

.article-meta > div,
.article-meta > time,
.article-meta > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    padding: 60px 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
}

.article-body .lead {
    font-size: 22px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 32px;
    line-height: 1.6;
}

.article-body h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 48px 0 24px;
    letter-spacing: -0.5px;
}

.article-body h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 36px 0 20px;
}

.article-body p {
    margin-bottom: 24px;
}

.article-body a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.article-body a:hover {
    color: #764ba2;
}

.article-body ul,
.article-body ol {
    margin: 24px 0;
    padding-left: 28px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-body strong {
    font-weight: 700;
    color: #1f2937;
}

.article-toc {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 28px;
    margin: 40px 0;
}

.article-toc h2 {
    font-size: 24px;
    margin-top: 0;
}

.article-toc ol {
    margin: 0;
}

.article-toc a {
    text-decoration: none;
}

.article-tip,
.article-warning {
    padding: 20px 24px;
    border-radius: 12px;
    margin: 32px 0;
    border-left: 4px solid;
}

.article-tip {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.article-warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.article-table {
    overflow-x: auto;
    margin: 32px 0;
}

.article-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.article-table th {
    background: #f8f9fa;
    padding: 14px;
    text-align: left;
    font-weight: 700;
    color: #1a1a2e;
    border-bottom: 2px solid #e9ecef;
}

.article-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e9ecef;
}

.article-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 48px 0;
}

.article-cta h3 {
    color: white;
    margin-top: 0;
}

.article-share {
    margin: 48px 0;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Article Sidebar */
.article-sidebar {
    max-width: 350px;
    margin-left: auto;
}

.sidebar-widget {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 16px;
}

.related-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    margin-bottom: 12px;
}

.related-articles a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.related-articles a:hover {
    color: #667eea;
}

.widget-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.widget-cta h3,
.widget-cta p {
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 24px;
    color: #6b7280;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #667eea;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-hero-title {
        font-size: 42px;
    }

    .article-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        padding: 100px 0 60px;
    }

    .blog-hero-title {
        font-size: 32px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-body {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 28px;
    }

    .article-body h3 {
        font-size: 22px;
    }

    .blog-cta-buttons {
        flex-direction: column;
    }
}

/* ============================================
   CART SYSTEM STYLES
   ============================================ */

/* Cart Button */
#cart-button {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

#cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

@keyframes cartBadgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.cart-shake {
    animation: cartShake 0.6s ease;
}

@keyframes cartShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-modal-visible {
    opacity: 1;
    pointer-events: all;
}

.cart-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.cart-modal-content {
    position: relative;
    background: white;
    width: 480px;
    max-width: 100%;
    height: 100%;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-modal-visible .cart-modal-content {
    transform: translateX(0);
}

.cart-modal-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: all 0.2s ease;
}

.cart-close-btn:hover {
    color: #1a1a2e;
    transform: scale(1.1);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-item {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    transition: all 0.2s ease;
}

.cart-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.cart-item-vendor {
    font-size: 13px;
    color: #667eea;
    font-weight: 500;
}

.cart-item-code {
    font-size: 12px;
    color: #6b7280;
    font-family: 'Monaco', 'Courier New', monospace;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border-radius: 8px;
    padding: 4px;
}

.qty-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    transform: scale(1.1);
}

.qty-value {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    min-width: 24px;
    text-align: center;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #667eea;
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.cart-item-remove:hover {
    opacity: 1;
    transform: scale(1.2);
}

.cart-promo-applied {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #065f46;
}

.cart-promo-section {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
}

.cart-promo-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.cart-promo-input:focus {
    outline: none;
    border-color: #667eea;
}

.cart-modal-footer {
    border-top: 2px solid #e5e7eb;
    padding: 24px;
}

.cart-totals {
    margin-bottom: 24px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: #6b7280;
}

.cart-discount {
    color: #10b981;
    font-weight: 600;
}

.cart-final-total {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 0;
}

.cart-actions {
    display: flex;
    gap: 12px;
}

.btn-link {
    background: none;
    border: none;
    color: #667eea;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-notification-visible {
    transform: translateX(0);
}

.cart-notification-success {
    border-left: 4px solid #10b981;
    color: #065f46;
}

.cart-notification-error {
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

/* Add to Cart Buttons */
.add-to-cart-product,
.add-to-cart-certification {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart-product:hover,
.add-to-cart-certification:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .cart-modal-content {
        width: 100%;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cart-item-quantity {
        justify-content: center;
    }

    .cart-actions {
        flex-direction: column;
    }
}

/* Blog Articles Section */
.pro-blog-articles {
    padding: 80px 0;
    background: var(--pro-bg);
}

.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.blog-article-card {
    background: white;
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-article-card:hover {
    box-shadow: var(--pro-shadow);
    transform: translateY(-4px);
    border-color: var(--pro-primary);
}

.blog-article-category {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-article-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pro-dark);
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-article-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--pro-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-article-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pro-primary);
    transition: gap 0.2s;
}

.blog-article-card:hover .blog-article-link {
    gap: 10px;
}

@media (max-width: 1024px) {
    .blog-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pro-blog-articles {
        padding: 48px 0;
    }

    .blog-articles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
