.main-content {
    margin-top: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.main-content::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"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.thank-you-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border-radius: 30px;
    padding: 4rem 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.thank-you-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.success-icon {
    position: relative;
    margin-bottom: 3rem;
    display: inline-block;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    animation: successPulse 2s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.icon-circle i {
    font-size: 3rem;
    color: white;
    animation: checkmark 0.8s ease-in-out 0.5s both;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 50px rgba(16, 185, 129, 0.4);
    }
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0) rotate(45deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(45deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.success-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 10%;
    animation-delay: 2s;
}

.particle:nth-child(6) {
    top: 50%;
    right: 10%;
    animation-delay: 2.5s;
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

.thank-you-message {
    margin-bottom: 3rem;
}

.thank-you-message h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a202c;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thank-you-message h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.main-message {
    font-size: 1.2rem;
    color: #718096;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.main-message strong {
    color: #667eea;
    font-weight: 700;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 1rem;
    color: #667eea;
    font-weight: 600;
    margin: 0;
}

.next-steps {
    margin-bottom: 3rem;
}

.next-steps h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.step-item:hover::before {
    transform: scaleY(1);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    transform: scale(1.1);
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.step-content p {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step-link:hover {
    color: #5a67d8;
    transform: translateX(5px);
}

.step-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.step-link:hover::after {
    transform: translateX(3px);
}

.social-follow {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
    border-radius: 15px;
    border: 1px solid #bbf7d0;
}

.social-follow h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 1rem;
}

.social-follow p {
    font-size: 1rem;
    color: #047857;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s ease;
}

.social-link:hover::before {
    left: 0;
}

.social-link i,
.social-link span {
    position: relative;
    z-index: 1;
}

.social-link.twitter {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.social-link.twitter::before {
    background: #0284c7;
}

.social-link.twitter:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.social-link.instagram {
    background: #fdf2f8;
    color: #ec4899;
    border: 1px solid #fbcfe8;
}

.social-link.instagram::before {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.social-link.instagram:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.social-link.youtube {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

.social-link.youtube::before {
    background: #ef4444;
}

.social-link.youtube:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.social-link.telegram {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid #dbeafe;
}

.social-link.telegram::before {
    background: #3b82f6;
}

.social-link.telegram:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s ease;
}

.btn:hover::before {
    left: 0;
}

.btn i,
.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary::before {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary::before {
    background: #667eea;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.emergency-contact {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #fbbf24;
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.emergency-content>i {
    font-size: 2rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.emergency-text {
    flex: 1;
}

.emergency-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.emergency-text p {
    font-size: 0.95rem;
    color: #78350f;
    margin: 0;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #25d366;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .thank-you-section {
        padding: 4rem 0;
    }

    .thank-you-content {
        padding: 3rem 2rem;
        border-radius: 20px;
        margin: 0 1rem;
    }

    .thank-you-message h1 {
        font-size: 2.5rem;
    }

    .thank-you-message h2 {
        font-size: 1.5rem;
    }

    .main-message {
        font-size: 1.1rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 200px;
        justify-content: center;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 250px;
        justify-content: center;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .whatsapp-btn {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .thank-you-content {
        padding: 2rem 1.5rem;
    }

    .icon-circle {
        width: 100px;
        height: 100px;
    }

    .icon-circle i {
        font-size: 2.5rem;
    }

    .thank-you-message h1 {
        font-size: 2rem;
    }

    .thank-you-message h2 {
        font-size: 1.3rem;
    }

    .main-message {
        font-size: 1rem;
    }

    .info-card {
        padding: 1.5rem 1rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .step-item {
        padding: 1.5rem;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .next-steps h3 {
        font-size: 1.5rem;
    }

    .social-follow {
        padding: 1.5rem;
    }

    .emergency-contact {
        padding: 1.5rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you-content>* {
    animation: fadeInUp 0.6s ease-out;
}

.thank-you-content>*:nth-child(1) {
    animation-delay: 0.1s;
}

.thank-you-content>*:nth-child(2) {
    animation-delay: 0.2s;
}

.thank-you-content>*:nth-child(3) {
    animation-delay: 0.3s;
}

.thank-you-content>*:nth-child(4) {
    animation-delay: 0.4s;
}

.thank-you-content>*:nth-child(5) {
    animation-delay: 0.5s;
}

.thank-you-content>*:nth-child(6) {
    animation-delay: 0.6s;
}

.thank-you-content>*:nth-child(7) {
    animation-delay: 0.7s;
}