/* ============================================
   Order Page Styles
   ============================================ */

.order-hero-section {
    background: var(--bg-dark);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.order-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.order-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.order-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 1.2;
}

.order-hero-description {
    font-size: 18px;
    color: var(--text-secondary);
}

.order-form-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.order-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.order-summary-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(229, 9, 20, 0.3);
}

.order-plan-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(10, 10, 10, 0.4);
    border-radius: 12px;
}

.plan-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 5px;
}

.plan-duration {
    font-size: 14px;
    color: var(--text-secondary);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.plan-price .currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price .amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-white);
}

.order-features {
    margin-top: 30px;
}

.order-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-features ul li {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-features ul li:last-child {
    border-bottom: none;
}

.order-form-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Thank You Page Styles - Enhanced
   ============================================ */

.thank-you-hero-section {
    background: var(--bg-dark);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.thank-you-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.thank-you-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Success Animation */
.success-animation {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    border: 4px solid #4ade80;
    position: relative;
    animation: scaleIn 0.5s ease-out;
}

.success-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #4ade80;
    animation: pulse 2s infinite;
    opacity: 0.5;
}

.success-icon svg {
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 1;
}

.error-animation {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.error-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 4px solid var(--text-secondary);
}

.error-icon svg {
    width: 60px;
    height: 60px;
}

.thank-you-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.thank-you-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Order Summary Card */
.order-summary-card-thankyou {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(229, 9, 20, 0.3);
    border-radius: 24px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(229, 9, 20, 0.3);
}

.order-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.order-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.order-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: rgba(10, 10, 10, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(10, 10, 10, 0.7);
    border-color: rgba(229, 9, 20, 0.2);
    transform: translateY(-2px);
}

.detail-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.detail-value {
    font-size: 18px;
    color: var(--text-white);
    font-weight: 600;
}

.detail-value.price {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.detail-value.status-pending {
    color: #fbbf24;
    font-weight: 600;
}

.order-note {
    margin-top: 25px;
    padding: 20px;
    background: rgba(229, 9, 20, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.order-note strong {
    color: var(--text-white);
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.order-note p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Confirmation Message */
.confirmation-message {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.message-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 50%;
}

.message-icon svg {
    width: 30px;
    height: 30px;
}

.confirmation-message h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.confirmation-message p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.confirmation-message p strong {
    color: var(--text-white);
}

.email-note {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 10px;
}

/* Next Steps Timeline */
.next-steps {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.next-steps h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 30px;
    text-align: center;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    padding-left: 40px;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
}

.step-item {
    display: flex;
    gap: 25px;
    position: relative;
    animation: fadeInLeft 0.5s ease-out both;
}

.step-item:nth-child(1) { animation-delay: 0.7s; }
.step-item:nth-child(2) { animation-delay: 0.8s; }
.step-item:nth-child(3) { animation-delay: 0.9s; }

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: 5px;
}

.step-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Support Info */
.support-info {
    background: rgba(10, 10, 10, 0.4);
    border-radius: 16px;
    padding: 35px;
    margin: 40px 0;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 1s both;
}

.support-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.support-info > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.support-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(20, 20, 20, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-link:hover {
    border-color: var(--primary-color);
    background: rgba(229, 9, 20, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.2);
}

.support-link svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.thank-you-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 1.1s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Responsive Styles */
@media (max-width: 968px) {
    .order-form-wrapper {
        grid-template-columns: 1fr;
    }
    
    .order-summary-card {
        position: static;
    }
    
    .order-details-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-timeline {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    .order-hero-title,
    .thank-you-title {
        font-size: 36px;
    }
    
    .order-form-section {
        padding: 60px 0;
    }
    
    .order-summary-card,
    .order-form-card,
    .order-summary-card-thankyou {
        padding: 25px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .order-badge {
        align-self: flex-end;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
    
    .thank-you-actions .btn {
        width: 100%;
    }
    
    .support-links {
        flex-direction: column;
    }
    
    .support-link {
        width: 100%;
        justify-content: center;
    }
}
