/* Hero Section */
.candidat-hero {
    background: var(--gradient);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.candidat-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="white" opacity="0.1"/><circle cx="30" cy="25" r="1.5" fill="white" opacity="0.1"/><circle cx="50" cy="15" r="2" fill="white" opacity="0.1"/><circle cx="70" cy="30" r="1.5" fill="white" opacity="0.1"/><circle cx="90" cy="20" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Visual - Agents Network */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
}

.agent-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.agent-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.agent-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.agent-name {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Positions des agents */
.agent-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    animation: pulse-agent 3s ease-in-out infinite;
}

.agent-2 {
    top: 10%;
    left: 10%;
    animation: float-agent-1 6s ease-in-out infinite;
}

.agent-3 {
    top: 10%;
    right: 10%;
    animation: float-agent-2 7s ease-in-out infinite;
}

.agent-4 {
    bottom: 10%;
    left: 10%;
    animation: float-agent-3 8s ease-in-out infinite;
}

.agent-5 {
    bottom: 10%;
    right: 10%;
    animation: float-agent-4 7.5s ease-in-out infinite;
}

/* Connection Lines */
.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    transform-origin: left center;
}

.line-1 {
    top: calc(50% + 60px);
    left: calc(50% - 60px);
    width: 200px;
    transform: rotate(-45deg);
    animation: pulse-line 2s ease-in-out infinite;
}

.line-2 {
    top: calc(50% + 60px);
    left: calc(50% + 60px);
    width: 200px;
    transform: rotate(45deg);
    animation: pulse-line 2s ease-in-out infinite 0.5s;
}

.line-3 {
    top: calc(50% - 60px);
    left: calc(50% - 60px);
    width: 200px;
    transform: rotate(45deg);
    animation: pulse-line 2s ease-in-out infinite 1s;
}

.line-4 {
    top: calc(50% - 60px);
    left: calc(50% + 60px);
    width: 200px;
    transform: rotate(-45deg);
    animation: pulse-line 2s ease-in-out infinite 1.5s;
}

/* Animations */
@keyframes pulse-agent {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes float-agent-1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-agent-2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

@keyframes float-agent-3 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-agent-4 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-22px);
    }
}

@keyframes pulse-line {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* Section Badge */
.section-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 71, 171, 0.3);
}

.timeline-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.feature-list li {
    padding: 0.7rem 0;
    font-size: 1rem;
    color: #495057;
}

.feature-visual {
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
}

/* Features Tabs */
.features-tabs {
    border: none;
    background: white;
    padding: 1rem;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.features-tabs .nav-link {
    color: #6c757d;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.features-tabs .nav-link:hover {
    color: var(--primary);
    background: rgba(0, 71, 171, 0.05);
}

.features-tabs .nav-link.active {
    background: var(--gradient);
    color: white;
}

/* Feature Detail Cards */
.feature-image {
    margin-bottom: 2rem;
}

.feature-detail-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.2rem;
    
    transition: all 0.3s ease;
}

.feature-detail-card:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.feature-detail-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-detail-card p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

/* Testimonials Modern */
.testimonial-card-modern {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h5 {
    margin: 0;
    font-weight: 700;
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-result {
    padding: 1rem;
    background: linear-gradient(135deg, #f0fff4, #ffffff);
    border-radius: 10px;
    font-size: 0.95rem;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.premium {
    background: var(--gradient);
    color: white;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #FFD700;
    color: #333;
    padding: 0.5rem 3rem;
    font-weight: 700;
    font-size: 0.85rem;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pricing-header {
    padding: 2.5rem 2rem;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
}

.pricing-card.premium .pricing-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 1.2rem;
    color: #6c757d;
}

.pricing-card.premium .price-period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    padding: 2rem;
    margin: 0;
    flex: 1;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.pricing-card.premium .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.pricing-card .btn {
    margin: 0 2rem 2rem 2rem;
}

/* Accordion Custom */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: white;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    color: #495057;
    line-height: 1.7;
}

/* CTA Section */
.cta-section-candidat {
    background: var(--gradient);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section-candidat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="white" opacity="0.1"/><circle cx="30" cy="25" r="1.5" fill="white" opacity="0.1"/><circle cx="50" cy="15" r="2" fill="white" opacity="0.1"/><circle cx="70" cy="30" r="1.5" fill="white" opacity="0.1"/><circle cx="90" cy="20" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

/* Purple color for career tab */
.text-purple {
    color: var(--purple);
}

/* Responsive */
@media (max-width: 1200px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: 30px;
        transform: translateX(0);
    }
}

@media (max-width: 992px) {
    .candidat-hero {
        padding: 80px 0 60px;
    }

    .hero-visual {
        height: 400px;
        margin-top: 3rem;
    }

    .agent-circle {
        width: 90px;
        height: 90px;
    }

    .timeline-content {
        padding: 2rem;
    }

    .features-tabs {
        flex-wrap: wrap;
    }

    .features-tabs .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        min-width: 120px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .feature-visual {
        padding: 2rem;
    }

    .feature-visual i {
        font-size: 3rem !important;
    }

    .pricing-header h3 {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .cta-section-candidat {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-visual {
        height: 350px;
    }

    .agent-circle {
        width: 70px;
        height: 70px;
    }

    .agent-name {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .timeline-item {
        margin-bottom: 2rem;
    }

    .features-tabs .nav-link {
        width: 100%;
        text-align: center;
    }

    .accordion-button {
        font-size: 0.95rem;
        padding: 1rem;
    }
}