/* PACKS PAGE STYLES */
.page-packs header {
    margin-bottom: 0;
}

.packs-header {
    background-color: #000;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.packs-header h1 {
    color: #d4af37;
    font-size: 36px;
    margin-bottom: 20px;
}

.packs-description {
    max-width: 700px;
    margin: 0 auto;
}

.packs-container {
    padding: 80px 0;
}

.packs-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    padding: 20px 0 40px;
    scrollbar-width: thin;
    scrollbar-color: #1E3A8A #f0f0f0;
}

@media (min-width: 1200px) {
    .packs-grid {
        justify-content: center;
        overflow-x: visible;
    }
}

@media (max-width: 1199px) {
    .packs-grid {
        padding-bottom: 20px;
    }
    
    .packs-grid::after {
        content: '';
        padding-right: 20px;
    }
}

/* Style pour la scrollbar */
.packs-grid::-webkit-scrollbar {
    height: 8px;
}

.packs-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 20px;
}

.packs-grid::-webkit-scrollbar-thumb {
    background-color: #1E3A8A;
    border-radius: 20px;
}

.pack-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    flex: 0 0 280px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

@media (min-width: 1200px) {
    .pack-card {
        flex: 0 0 260px;
    }
}

@media (min-width: 1400px) {
    .pack-card {
        flex: 0 0 300px;
    }
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pack-header {
    padding: 30px 20px 25px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.pack-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
    opacity: 0.6;
}

.pack-starter .pack-header {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%); /* Grey */
}

.pack-pro .pack-header {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%); /* Gold */
}

.pack-master .pack-header {
    background: linear-gradient(135deg, #1E3A8A 0%, #152a63 100%); /* Blue */
}

.pack-vip .pack-header {
    background: linear-gradient(135deg, #8a2be2 0%, #6a1fb1 100%); /* Purple */
}

.pack-badge {
    font-size: 36px;
    margin-bottom: 15px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

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

.pack-title {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.pack-subtitle {
    font-size: 15px;
    opacity: 0.9;
    font-style: italic;
    margin-top: 5px;
}

.pack-price {
    background-color: #f8f9fa;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    position: relative;
    display: inline-block;
}

.original-price::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: rgba(220,53,69,0.6);
    left: 0;
    top: 50%;
    transform: rotate(-8deg);
}

.current-price {
    font-size: 40px;
    font-weight: 800;
    color: #000;
    margin: 5px 0;
    text-shadow: 0 2px 0 rgba(0,0,0,0.05);
}

.price-save {
    color: #1E3A8A;
    font-size: 16px;
    margin-top: 8px;
    font-weight: 600;
    display: inline-block;
    padding: 3px 10px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 20px;
}

.pack-features {
    padding: 25px;
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pack-features ul {
    margin-bottom: 0;
    flex-grow: 1;
}

.pack-features ul li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
}

.feature-included:before {
    font-family: 'Font Awesome 5 Free';
    content: '\f00c'; /* FontAwesome check icon */
    color: #1E3A8A;
    position: absolute;
    left: 0;
    top: 2px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(30, 58, 138, 0.1);
    font-size: 10px;
    line-height: 1;
}

.feature-excluded:before {
    font-family: 'Font Awesome 5 Free';
    content: '\f00d'; /* FontAwesome times/x icon */
    color: #dc3545;
    position: absolute;
    left: 0;
    top: 2px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    font-size: 10px;
    line-height: 1;
}

.pack-button {
    display: block;
    text-align: center;
    padding: 16px 15px;
    background-color: #000;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 0 0 12px 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pack-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.pack-button:hover::before {
    left: 0;
    width: 100%;
}

.pack-starter .pack-button:hover {
    background-color: #6c757d;
}

.pack-pro .pack-button:hover {
    background-color: #d4af37;
}

.pack-master .pack-button:hover {
    background-color: #1E3A8A;
}

.pack-vip .pack-button:hover {
    background-color: #8a2be2;
}

.best-seller {
    position: absolute;
    top: 25px;
    right: -42px;
    transform: rotate(45deg);
    background-color: #d4af37;
    color: #000;
    padding: 8px 45px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 10;
    letter-spacing: 1px;
}

/* GUARANTEE SECTION */
.guarantee-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(30, 58, 138, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.guarantee-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0) 70%);
    top: -150px;
    left: -150px;
    border-radius: 50%;
}

.guarantee-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.15) 0%, rgba(30, 58, 138, 0) 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
}

.guarantee-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.guarantee-badge {
    width: 220px;
    min-width: 220px;
    padding: 30px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.badge-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.badge-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #d4af37 0%, #f1c761 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    margin-bottom: 20px;
}

.badge-circle i {
    font-size: 40px;
    color: #1E3A8A;
    position: absolute;
    animation: pulse 2s infinite;
}

.badge-days {
    font-size: 42px;
    font-weight: 900;
    color: #1E3A8A;
    line-height: 1;
    margin-top: 50px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.guarantee-content {
    flex-grow: 1;
    padding: 40px;
}

.guarantee-header h3 {
    font-size: 24px;
    color: #1E3A8A;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.guarantee-header h3 i {
    color: #d4af37;
}

.guarantee-body p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #333;
}

.guarantee-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.guarantee-feature {
    display: flex;
    align-items: center;
    background: rgba(30, 58, 138, 0.05);
    padding: 12px 20px;
    border-radius: 8px;
    flex: 1;
    border-left: 3px solid #1E3A8A;
    transition: all 0.3s ease;
}

.guarantee-feature:hover {
    background: rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.guarantee-feature i {
    font-size: 18px;
    color: #d4af37;
    margin-right: 10px;
}

.guarantee-feature span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* FAQ SECTION */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.faq-icon-header {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

.faq-icon-header i {
    font-size: 30px;
    color: #fff;
}

.faq-subtitle {
    color: #666;
    font-size: 18px;
    margin-top: 10px;
    font-weight: 400;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 20px 30px;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
    flex-grow: 1;
    padding-right: 30px;
}

.question-icon {
    margin-right: 20px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E3A8A;
    transition: all 0.3s ease;
}

.faq-item:hover .question-icon {
    background: rgba(30, 58, 138, 0.2);
}

.faq-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.faq-answer {
    padding: 0 30px 0 90px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(245, 247, 250, 1);
}

.faq-item.active .faq-answer {
    padding: 20px 30px 30px 90px;
    max-height: 1000px;
}

.faq-item.active .faq-toggle {
    transform: translateY(-50%) rotate(180deg);
    color: #1E3A8A;
}

.faq-item.active .faq-question {
    background: linear-gradient(to right, rgba(30, 58, 138, 0.05), rgba(255, 255, 255, 1));
}

.faq-answer p {
    margin: 0 0 20px;
    line-height: 1.6;
    color: #444;
}

.answer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.answer-tag {
    background: rgba(212, 175, 55, 0.1);
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.market-item {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    font-weight: 500;
}

.market-item i {
    color: #1E3A8A;
    margin-right: 5px;
}

.refund-process {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.refund-step {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 120px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.step-number {
    width: 30px;
    height: 30px;
    background: #1E3A8A;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-text {
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    color: #444;
}

.refund-arrow {
    margin: 0 15px;
    color: #1E3A8A;
    font-size: 24px;
}

code {
    background: rgba(0,0,0,0.05);
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .guarantee-wrapper {
        flex-direction: column;
    }
    
    .guarantee-badge {
        width: 100%;
        padding: 20px;
    }
    
    .guarantee-features {
        flex-direction: column;
    }
    
    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .refund-process {
        flex-direction: column;
        gap: 15px;
    }
    
    .refund-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    
    .faq-question h4 {
        font-size: 16px;
    }
    
    .question-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        margin-right: 10px;
    }
    
    .faq-answer {
        padding: 0 20px 0 60px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px 20px 20px 60px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
}
