/* Reset and Base Styles */
/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}*/

/* Hero Section - Fixed Light Theme */
.hero {
    height: 75vh;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: -1;
}

/* Animated Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(220, 38, 38, 0.03) 50%, transparent 70%),
        radial-gradient(circle at 30% 40%, rgba(100, 116, 139, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(220, 38, 38, 0.05) 1px, transparent 1px);
    background-size: 300px 300px, 80px 80px, 120px 120px;
    animation: heroFloat 15s ease-in-out infinite;
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            transparent 0deg, 
            rgba(220, 38, 38, 0.02) 45deg, 
            transparent 90deg, 
            rgba(100, 116, 139, 0.03) 180deg, 
            transparent 270deg);
    animation: heroRotate 30s linear infinite;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.9;
    }
    66% {
        transform: translateY(10px) translateX(-15px);
        opacity: 0.5;
    }
}

@keyframes heroRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-container {
    max-width: 1600px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    z-index: 10;
    position: relative;
}

.hero-content {
    flex: 0 0 25%;
    color: #1e293b;
    z-index: 2;
    max-width: none;
    padding-left: 3rem;
}

.hero-video-section {
    flex: 0 0 75%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #1e293b 0%, #dc2626 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
    letter-spacing: -0.02em;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    font-weight: 400;
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
}

.scroll-btn {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border: none;
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 
        0 10px 25px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.scroll-btn:hover::before {
    left: 100%;
}

.scroll-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(220, 38, 38, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    background: #ffffff;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(220, 38, 38, 0.05);
}

.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(220, 38, 38, 0.02) 50%, transparent 60%);
    border-radius: 20px;
    pointer-events: none;
    opacity: 0.3;
}

.hero-video-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 22px;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.2;
}

@keyframes videoGlow {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-video-container:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}



.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: none;
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}

/* Order Section - Scrolls over hero */
.order-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
    margin-top: 100vh;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.1);
}

.order-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(220, 38, 38, 0.02) 50%, transparent 60%);
    background-size: 800px 800px, 600px 600px, 400px 400px;
    pointer-events: none;
}

.order-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.image-grid {
    display: grid;
    gap: 1.5rem;
    height: fit-content;
}

.image-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(220, 38, 38, 0.05);
    transition: all 0.4s ease;
    position: relative;
    background: #ffffff;
}

.image-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(220, 38, 38, 0.1),
        0 0 15px rgba(220, 38, 38, 0.05);
}

.image-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-item:hover::before {
    opacity: 1;
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Order Form */
.order-form-container {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.order-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
    border-radius: 25px;
    pointer-events: none;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #718096;
    font-size: 1.1rem;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.2rem;
}

.form-group label {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

/* Enhanced styling for package selection */
#package {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    font-weight: 500;
    position: relative;
}

#package:focus {
    border-color: #dc2626;
    background: white;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    outline: none;
}

#package option {
    padding: 0.75rem;
    font-weight: 500;
    color: #1e293b;
}

/* Package selection label styling */
#package + label,
label[for="package"] {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
}

label[for="package"]::after {
    content: '💼';
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #dc2626;
    background: white;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Video Animation Classes - keeping constant */
.video-constant {
    transform: scale(1);
    z-index: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .hero-content {
        flex: none;
        max-width: none;
        padding-left: 0;
    }
    
    .hero-video-section {
        flex: none;
        width: 100%;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-video-container {
        width: 100%;
        max-width: 700px;
        height: 300px;
    }
    
    .order-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .hero-video-container {
        height: 250px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .scroll-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
    
    .order-container {
        padding: 0 1rem;
    }
    
    .order-form-container {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .form-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .order-form {
        gap: 0.75rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 0.75rem;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-video-container {
        height: 220px;
        width: 100%;
        max-width: 100%;
    }
    
    .scroll-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }
    
    .order-container {
        padding: 0 0.75rem;
    }
    
    .order-form-container {
        padding: 1.25rem;
        margin: 0 0.25rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .order-form {
        gap: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.7rem;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        width: 100%;
        border-radius: 8px;
    }
    
    .image-grid {
        gap: 1rem;
    }
    
    .image-item {
        border-radius: 15px;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Touch-friendly interactions */
    .scroll-btn,
    .submit-btn,
    .form-group input,
    .form-group textarea,
    .form-group select {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Better touch targets */
    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 44px; /* iOS recommended touch target */
    }
    
    /* Package selection mobile optimization */
    #package {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Pricing display mobile */
    .pricing-display {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Success Page Styles */
.success-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.success-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.success-container {
    max-width: 600px;
    width: 100%;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.success-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.success-icon {
    margin-bottom: 1.5rem;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 
        0 15px 30px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: successPulse 2s ease-in-out infinite;
}

.checkmark-circle svg {
    color: white;
    width: 40px;
    height: 40px;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 15px 30px rgba(220, 38, 38, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 20px 40px rgba(220, 38, 38, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.3);
    }
}

.success-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.success-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.order-details {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.order-id {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-id .label {
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
}

.order-id .value {
    font-weight: 700;
    color: #dc2626;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
}

.order-status {
    text-align: center;
}

.status-badge {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.next-steps {
    text-align: left;
    margin-bottom: 1.5rem;
}

.next-steps h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.05);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
}

.success-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #374151;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

/* Mobile Responsive for Success Page */
@media (max-width: 768px) {
    .success-container {
        padding: 0 1rem;
    }
    
    .success-content {
        padding: 1.5rem;
    }
    
    .success-title {
        font-size: 1.75rem;
    }
    
    .success-subtitle {
        font-size: 0.95rem;
    }
    
    .checkmark-circle {
        width: 70px;
        height: 70px;
    }
    
    .checkmark-circle svg {
        width: 35px;
        height: 35px;
    }
    
    .steps-list {
        gap: 0.75rem;
    }
    
    .step {
        padding: 0.75rem;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .success-content {
        padding: 1.25rem;
    }
    
    .success-title {
        font-size: 1.5rem;
    }
    
    .success-subtitle {
        font-size: 0.9rem;
    }
    
    .order-details {
        padding: 0.75rem;
    }
    
    .order-id {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .checkmark-circle {
        width: 60px;
        height: 60px;
    }
    
    .checkmark-circle svg {
        width: 30px;
        height: 30px;
    }
}

/* Payment Failed Page Styles */
.payment-failed-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.payment-failed-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.payment-failed-container {
    max-width: 600px;
    width: 100%;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.payment-failed-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.payment-failed-icon {
    margin-bottom: 1.5rem;
}

.error-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 
        0 15px 30px rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: errorPulse 2s ease-in-out infinite;
}

.error-circle svg {
    color: white;
    width: 40px;
    height: 40px;
}

@keyframes errorPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 15px 30px rgba(220, 38, 38, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 20px 40px rgba(220, 38, 38, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.3);
    }
}

.payment-failed-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.payment-failed-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.error-details {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.error-message {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.error-message .label {
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
}

.error-message .value {
    font-weight: 700;
    color: #dc2626;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.error-status {
    text-align: center;
}

.error-status .status-badge {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.troubleshooting {
    text-align: left;
    margin-bottom: 1.5rem;
}

.troubleshooting h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.05);
    transition: all 0.3s ease;
}

.solution:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.solution-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.solution-content p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
}

.payment-failed-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsive for Payment Failed Page */
@media (max-width: 768px) {
    .payment-failed-container {
        padding: 0 1rem;
    }
    
    .payment-failed-content {
        padding: 1.5rem;
    }
    
    .payment-failed-title {
        font-size: 1.75rem;
    }
    
    .payment-failed-subtitle {
        font-size: 0.95rem;
    }
    
    .error-circle {
        width: 70px;
        height: 70px;
    }
    
    .error-circle svg {
        width: 35px;
        height: 35px;
    }
    
    .solutions-list {
        gap: 0.75rem;
    }
    
    .solution {
        padding: 0.75rem;
    }
    
    .payment-failed-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .payment-failed-content {
        padding: 1.25rem;
    }
    
    .payment-failed-title {
        font-size: 1.5rem;
    }
    
    .payment-failed-subtitle {
        font-size: 0.9rem;
    }
    
    .error-details {
        padding: 0.75rem;
    }
    
    .error-message {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .error-circle {
        width: 60px;
        height: 60px;
    }
    
    .error-circle svg {
        width: 30px;
        height: 30px;
    }
}

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

.hero-content,
.hero-video-container {
    animation: fadeInUp 1s ease-out;
}
