/* Страница благодарности */
.thank-you-page {
    padding: 160px 0 140px;
    background: linear-gradient(135deg, #FAF8F2 0%, #F5F3ED 100%);
    
}

.thank-you-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    align-items: center;
    margin-bottom: 4rem;
}

.thank-you-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.success .icon-circle {
    background: linear-gradient(135deg, #FFBA08 0%, #FF9500 100%);
    box-shadow: 0 0 30px rgba(255, 186, 8, 0.4);
}

.saved .icon-circle {
    background: linear-gradient(135deg, #0B3C49 0%, #1A5A6B 100%);
    box-shadow: 0 0 30px rgba(11, 60, 73, 0.4);
}

.error .icon-circle {
    background: linear-gradient(135deg, #E84855 0%, #C73E47 100%);
    box-shadow: 0 0 30px rgba(232, 72, 85, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 186, 8, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(255, 186, 8, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 186, 8, 0.4);
    }
}

/* Animations pour la galoche */
.checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #1B1B1B;
    stroke-miterlimit: 10;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #1B1B1B;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.error-mark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #FFFFFF;
    stroke-miterlimit: 10;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.error-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #FFFFFF;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.error-cross {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px rgba(255, 186, 8, 0.2);
    }
}

/* Texte de remerciement */
.thank-you-text h1 {
    font-size: 2.5rem;
    color: #0B3C49;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #1B1B1B;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.contact-info {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(11, 60, 73, 0.1);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.contact-info h3 {
    color: #0B3C49;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.contact-item strong {
    color: #0B3C49;
    display: block;
}

.contact-item a {
    color: #FFBA08;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #FF9500;
    text-decoration: underline;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Étapes suivantes */
.additional-info {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(11, 60, 73, 0.1);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.additional-info h3 {
    text-align: center;
    color: #0B3C49;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #FAF8F2 0%, #F5F3ED 100%);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFBA08 0%, #FF9500 100%);
    color: #1B1B1B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.step-content h4 {
    color: #0B3C49;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #1B1B1B;
    font-size: 0.9rem;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .thank-you-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .thank-you-text h1 {
        font-size: 2rem;
    }
    
    .thank-you-message {
        font-size: 1rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .additional-info {
        padding: 2rem;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
    }
    
    .icon-circle {
        width: 100px;
        height: 100px;
    }
    
    .checkmark,
    .error-mark {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .thank-you-page {
        padding: 100px 0 60px;
    }
    
    .thank-you-text h1 {
        font-size: 1.8rem;
    }
    
    .contact-details {
        text-align: left;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: auto;
    }
} 