/* /assets/css/components/hero.css - Hero Section Component */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
}

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

/* Hero Content Elements */
.hero-badge {
    background: linear-gradient(90deg, var(--success-color), #059669);
    border: none;
    border-radius: var(--border-radius-pill);
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

.trust-indicator {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-pill);
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    padding: 0.75rem;
    text-align: center;
    min-width: 60px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    display: block;
}

.countdown-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Live Activity Indicator */
.live-activity {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin: 1rem 0;
    backdrop-filter: blur(10px);
}

.activity-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

/* Risk Reversal Badge */
.risk-reversal {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid var(--warning-color);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
}

.risk-reversal-text {
    color: #92400e;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0.9;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Chat Demo Widget */
.chat-demo {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 420px;
    border: 1px solid var(--gray-200);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.chat-demo::before {
    content: 'LIVE DEMO';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    animation: pulse 2s infinite;
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 1.25rem;
    text-align: center;
}

.chat-messages {
    padding: 1.5rem;
    height: 350px;
    overflow-y: auto;
    background: #f8fafc;
}

.message {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

.message.bot {
    text-align: left;
}

.message.user {
    text-align: right;
}

.message-bubble {
    display: inline-block;
    padding: 0.875rem 1.25rem;
    border-radius: var(--border-radius-lg);
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message.bot .message-bubble {
    background: white;
    color: var(--gray-800);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}

.message.user .message-bubble {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .countdown-timer {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.25rem;
    }
    
    .chat-demo {
        max-width: 100%;
        margin: 2rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem !important;
    }
    
    .trust-badge {
        font-size: 0.8rem;
    }
}

/* Hover Effects */
.chat-demo:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

/* Dark Mode Support (Future) */
@media (prefers-color-scheme: dark) {
    .chat-demo {
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .chat-messages {
        background: rgba(0, 0, 0, 0.02);
    }
}