/* ================================
   STYLES PAGE ACCUEIL
   ================================ */

header {
    text-align: center;
    padding: 60px 0;
}

.logo {
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.logo-img {
    width: 150px;
    height: 150px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

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

.brand-name {
    font-size: 2.5em;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 80px 0;
}

.price-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    min-width: 320px;
    max-width: 380px;
    position: relative;
}

.price-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.popular {
    border: 3px solid #ffd700;
    transform: scale(1.08);
    background: rgba(255, 215, 0, 0.1);
}

.popular::before {
    content: "⭐ PLUS POPULAIRE";
    position: absolute;
    top: 20px;
    left: -40px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    padding: 8px 50px;
    transform: rotate(-45deg);
    font-size: 0.9em;
    font-weight: bold;
}

.plan-name {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.price {
    font-size: 4em;
    font-weight: 900;
    margin: 30px 0;
}

.price-period {
    font-size: 0.3em;
    opacity: 0.8;
    font-weight: 400;
}

.loading-price {
    font-size: 0.5em;
    opacity: 0.7;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.savings {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin: 15px 0;
    display: inline-block;
}

.features-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2em;
}

/* Guarantee Section */
.guarantee {
    text-align: center;
    margin: 60px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(15px);
}

.guarantee h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
    margin: 80px 0;
}

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

.faq-header h2 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-header p {
    font-size: 1.2em;
    opacity: 0.9;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 20px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1em;
    user-select: none;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-toggle {
    font-size: 1.5em;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 10px;
}

.faq-answer ul {
    list-style: none;
    margin-top: 15px;
}

.faq-answer li {
    padding: 8px 0 8px 30px;
    position: relative;
}

.faq-answer li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Modal */
#orderModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    color: #333;
}

.modal-content h2 {
    color: #667eea;
    margin-bottom: 30px;
    text-align: center;
}

.modal-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.modal-info h3 {
    color: #333;
    margin-bottom: 10px;
}

.modal-info p {
    font-size: 1.5em;
    font-weight: bold;
    color: #667eea;
}

form div {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

small {
    color: #666;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn-cancel {
    flex: 1;
    padding: 15px;
    background: #ccc;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn-submit {
    flex: 2;
    padding: 15px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

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

    .price-card {
        margin: 15px 0;
        transform: none !important;
    }

    .popular {
        transform: none !important;
    }

    .faq-header h2 {
        font-size: 2em;
    }

    .faq-question {
        padding: 20px;
        font-size: 1em;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}
