/* 
 * Confirmation Page Styling
 * Updated layout with gradient effects and modern design
 */

.confirmation-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

.confirmation-content {
    max-width: 800px;
    text-align: center;
    color: #ffffff;
    position: relative;
}

/* Main Title - CONFIRMATION MESSAGE (No horizontal line) */
.confirmation-title {
    font-size: 3.5em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Arapey', Georgia, 'Times New Roman', serif;
    position: relative;
}

/* Remove any horizontal lines from title */
.confirmation-title::before,
.confirmation-title::after {
    display: none !important;
}

/* Thank You Message - Largest heading with fixed linear gradient */
.thank-you-message {
    font-size: 2.8em; /* Increased font size */
    font-weight: 900; /* Extra bold */
    background: linear-gradient(to right, #fb974b 0%, #fd005a 100%); /* Fixed horizontal gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-attachment: fixed; /* Prevent gradient from moving with scroll */
    background-size: 100% 100%; /* Ensure gradient covers the full text width */
    margin-bottom: 30px; /* Reduced space */
    line-height: 1.3;
    font-family: 'Urbanist', sans-serif;
    /* Remove any scroll animations */
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
}

/* Process Points Container */
.process-points {
    margin-bottom: 40px;
}

.process-point {
    margin-bottom: 25px;
}

/* Point Text - Second biggest heading, pure white, slightly centered */
.point-text {
    font-size: 1.6em; /* Sub-heading size - smaller than thank-you but larger than body */
    font-weight: 600;
    color: #ffffff; /* Pure white */
    line-height: 1.4;
    margin: 0 auto 20px auto;
    font-family: 'Urbanist', sans-serif;
    text-align: center;
    max-width: 85%; /* Slightly centered, not fully left-aligned */
    display: block;
}

/* Final Message - Same styling as other points */
.final-message {
    margin-top: 30px;
}

.final-message .point-text {
    margin-bottom: 0;
}

/* Remove Horizontal Lines */
.confirmation-page::before,
.confirmation-page::after,
.confirmation-content::before,
.confirmation-content::after {
    display: none !important;
}

.confirmation-page hr,
.confirmation-content hr {
    display: none !important;
}

/* Remove any theme-specific horizontal line elements */
.confirmation-page .separator,
.confirmation-page .divider,
.confirmation-page .line,
.confirmation-content .separator,
.confirmation-content .divider,
.confirmation-content .line {
    display: none !important;
}

/* Remove scroll-based animations for confirmation content */
.confirmation-content {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-point {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.process-point:nth-child(1) {
    animation-delay: 0s !important;
}

.process-point:nth-child(2) {
    animation-delay: 0s !important;
}

.process-point:nth-child(3) {
    animation-delay: 0s !important;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.final-message {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .confirmation-title {
        font-size: 2.5em;
        margin-bottom: 30px;
        letter-spacing: 1px;
    }
    
    .thank-you-message {
        font-size: 2.2em; /* Larger on mobile too */
        margin-bottom: 25px;
        font-weight: 900; /* Extra bold on mobile */
    }
    
    .point-text {
        font-size: 1.3em;
        max-width: 90%;
    }
    
    .confirmation-page {
        padding: 40px 15px;
    }
    
    .process-points {
        margin-bottom: 35px;
    }
    
    .process-point {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .confirmation-title {
        font-size: 2em;
        letter-spacing: 0.5px;
        margin-bottom: 25px;
    }
    
    .thank-you-message {
        font-size: 1.8em; /* Even larger on small mobile */
        margin-bottom: 20px;
        font-weight: 900; /* Extra bold on small mobile */
    }
    
    .point-text {
        font-size: 1.1em;
        max-width: 95%;
    }
    
    .confirmation-page {
        padding: 30px 10px;
    }
    
    .process-points {
        margin-bottom: 30px;
    }
    
    .process-point {
        margin-bottom: 18px;
    }
}

/* Disable any global scroll animations on confirmation page */
.confirmation-page *,
.confirmation-page .thank-you-message,
.confirmation-page .reveal-type,
.confirmation-page .chars,
.confirmation-page [data-aos],
.confirmation-page .gsap-animated {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}

/* Disable ScrollTrigger animations specifically */
.confirmation-page .thank-you-message {
    will-change: auto !important;
    /* Ensure completely static gradient */
    background-repeat: no-repeat !important;
    background-position: 0 0 !important;
    position: relative !important;
}

/* Enhanced Visual Effects */
.confirmation-content {
    position: relative;
}

.confirmation-content::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(45deg, #fb974b 0%, #fd005a 100%);
    border-radius: 2px;
    display: none; /* Hidden by default, can be enabled if needed */
}

/* Hover Effects for Interactive Elements */
.process-point:hover .point-text {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Focus States for Accessibility */
.confirmation-page:focus-within {
    outline: none;
}

/* Print Styles */
@media print {
    .confirmation-page {
        background: white !important;
        color: black !important;
        min-height: auto;
        padding: 20px;
    }
    
    .confirmation-title,
    .thank-you-message,
    .point-text {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}