/* Clean Cinematic Welcome Modal */

.cinematic-welcome {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cinematic-welcome .welcome-content {
    max-width: 650px;
    background: 
        linear-gradient(145deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 73, 94, 0.98) 100%);
    border: 2px solid rgba(191, 149, 63, 0.3);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: welcomeSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 20px;
}

/* Elegant golden border */
.cinematic-welcome .welcome-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(191, 149, 63, 0.6) 0%, 
        rgba(255, 215, 0, 0.4) 50%, 
        rgba(191, 149, 63, 0.6) 100%);
    border-radius: 18px;
    z-index: -1;
    animation: subtleGlow 4s ease infinite;
}

@keyframes welcomeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes subtleGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

/* Header */
.cinematic-welcome .welcome-header {
    text-align: center;
    padding: 40px 40px 30px;
    background: 
        linear-gradient(135deg, rgba(191, 149, 63, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(191, 149, 63, 0.2);
}

.cinematic-welcome .welcome-title {
    font-family: 'Cinzel', serif;
    font-size: 2.4em;
    font-weight: 600;
    color: #BF953F;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cinematic-welcome .welcome-subtitle {
    font-size: 1.1em;
    color: #bdc3c7;
    margin: 0;
    font-style: italic;
    opacity: 0.9;
}

/* Body */
.cinematic-welcome .welcome-body {
    padding: 40px;
}

/* Trial comparison layout */
.trial-comparison {
    display: flex;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 30px;
}

.trial-column {
    flex: 1;
    background: rgba(52, 73, 94, 0.4);
    border: 1px solid rgba(191, 149, 63, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.trial-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(191, 149, 63, 0.4);
}

.trial-free {
    background: 
        linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(52, 73, 94, 0.4) 100%);
}

.trial-premium {
    background: 
        linear-gradient(135deg, rgba(191, 149, 63, 0.12) 0%, rgba(52, 73, 94, 0.4) 100%);
    border-color: rgba(191, 149, 63, 0.3);
}

.trial-premium:hover {
    border-color: rgba(191, 149, 63, 0.6);
    box-shadow: 0 8px 25px rgba(191, 149, 63, 0.2);
}

/* Trial headers */
.trial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trial-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4em;
    font-weight: 600;
    margin: 0;
    color: #ecf0f1;
}

.trial-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.free-badge {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.premium-badge {
    background: linear-gradient(45deg, #BF953F, #FFD700);
    color: #2c3e50;
    border: 1px solid #8B6914;
    font-weight: 700;
}

/* Features */
.trial-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95em;
    color: #bdc3c7;
    line-height: 1.4;
}

.feature-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    flex-shrink: 0;
}

.premium-feature {
    color: #ecf0f1;
}

.premium-bullet {
    background: linear-gradient(45deg, #BF953F, #FFD700);
    box-shadow: 0 0 8px rgba(191, 149, 63, 0.4);
}

/* Divider */
.trial-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    flex-shrink: 0;
}

.divider-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(191, 149, 63, 0.4) 50%, 
        transparent 100%);
}

.divider-text {
    color: #7f8c8d;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    background: rgba(44, 62, 80, 0.8);
    border-radius: 12px;
    width: 32px;
    text-align: center;
    margin: -8px 0;
    border: 1px solid rgba(191, 149, 63, 0.2);
}

/* Value message */
.value-message {
    text-align: center;
    padding: 20px;
    background: rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 8px;
    margin-top: 20px;
}

.value-message p {
    margin: 0;
    color: #3498db;
    font-size: 1.05em;
    font-weight: 500;
    line-height: 1.4;
}

/* Footer */
.cinematic-welcome .welcome-footer {
    padding: 30px 40px 40px;
    background: rgba(44, 62, 80, 0.3);
    border-top: 1px solid rgba(191, 149, 63, 0.2);
    text-align: center;
}

.cinematic-welcome .action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

.cinematic-welcome .secondary-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.welcome-cta {
    background: linear-gradient(45deg, #BF953F, #FFD700);
    border: 2px solid #8B6914;
    color: #2c3e50;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1em;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.welcome-cta::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.5s ease;
}

.welcome-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(191, 149, 63, 0.4);
}

.welcome-cta:hover::before {
    left: 100%;
}

.welcome-buy-now {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border: 2px solid #a93226;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1em;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.welcome-buy-now::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.5s ease;
}

.welcome-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
    background: linear-gradient(45deg, #c0392b, #a93226);
}

.welcome-buy-now:hover::before {
    left: 100%;
}

.welcome-secondary {
    background: rgba(52, 73, 94, 0.6);
    border: 2px solid rgba(191, 149, 63, 0.3);
    color: #bdc3c7;
    font-size: 1em;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.welcome-secondary:hover {
    border-color: rgba(191, 149, 63, 0.6);
    color: #ecf0f1;
    transform: translateY(-2px);
}

.trust-line {
    color: #7f8c8d;
    font-size: 0.85em;
    font-weight: 500;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cinematic-welcome .welcome-content {
        margin: 10px;
        max-width: none;
    }
    
    .cinematic-welcome .welcome-header {
        padding: 30px 25px 20px;
    }
    
    .cinematic-welcome .welcome-title {
        font-size: 2em;
    }
    
    .cinematic-welcome .welcome-body {
        padding: 25px;
    }
    
    .trial-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .trial-column {
        padding: 20px;
    }
    
    .trial-divider {
        width: 100%;
        flex-direction: row;
        height: 40px;
    }
    
    .divider-line {
        width: 40px;
        height: 2px;
        background: linear-gradient(to right, 
            transparent 0%, 
            rgba(191, 149, 63, 0.4) 50%, 
            transparent 100%);
    }
    
    .divider-text {
        width: auto;
        padding: 4px 12px;
        margin: 0 -6px;
    }
    
    .cinematic-welcome .welcome-footer {
        padding: 25px;
    }
    
    .cinematic-welcome .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .welcome-cta, .welcome-buy-now, .welcome-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .cinematic-welcome .welcome-header {
        padding: 25px 20px 15px;
    }
    
    .cinematic-welcome .welcome-title {
        font-size: 1.7em;
    }
    
    .cinematic-welcome .welcome-body {
        padding: 20px;
    }
    
    .trial-column {
        padding: 15px;
    }
    
    .trial-header h3 {
        font-size: 1.2em;
    }
    
    .feature {
        font-size: 0.9em;
    }
    
    .welcome-cta {
        font-size: 1em;
        padding: 12px 24px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .cinematic-welcome .welcome-content,
    .trial-column,
    .welcome-cta,
    .welcome-secondary {
        animation: none !important;
        transition: none !important;
    }
    
    .cinematic-welcome .welcome-content::before {
        animation: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .cinematic-welcome .welcome-content {
        background: #000;
        border: 2px solid #FFD700;
        color: #FFF;
    }
    
    .trial-column {
        background: rgba(255, 255, 255, 0.1);
        border-color: #FFD700;
    }
    
    .welcome-cta {
        background: #FFD700;
        color: #000;
        border-color: #FFF;
    }
}
