/**
 * ExamBlaze Hero Section Styles
 * Homepage hero with CTA
 * 
 * @package ExamBlaze
 * @version 1.0
 */

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: var(--gradient-hero);
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ========================================
   HERO BADGE
   ======================================== */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: var(--font-bold);
    font-size: var(--text-base);
    margin-bottom: var(--space-2xl);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 50px rgba(245, 158, 11, 0.6);
    }
}

.badge-icon {
    font-size: 24px;
}

.badge-text {
    font-size: var(--text-base);
}

/* ========================================
   HERO TITLE & TEXT
   ======================================== */

.hero-title {
    font-size: var(--text-6xl);
    font-weight: var(--font-extrabold);
    color: var(--text-white);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-lg);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-xl);
    font-weight: var(--font-medium);
}

.hero-services-text {
    background: rgba(245, 158, 11, 0.1);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
}

.hero-services-text p {
    font-size: var(--text-lg);
    color: var(--text-dark);
    margin: 0;
    line-height: var(--leading-relaxed);
}

/* ========================================
   HERO BUTTONS
   ======================================== */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

/* ========================================
   TRUST BADGES
   ======================================== */

.trust-badges-row {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg-white);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.trust-badge:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(245, 158, 11, 0.2);
    border-color: var(--accent-gold);
}

.trust-icon {
    font-size: 28px;
    color: var(--light-orange);
    transition: transform 0.4s ease;
}

.trust-badge:hover .trust-icon {
    transform: scale(1.2) rotate(10deg);
}

.trust-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trust-info strong {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 4px;
}

.trust-info span {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1;
}

/* ========================================
   ANIMATIONS
   ======================================== */

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-in:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in:nth-child(4) { animation-delay: 0.4s; }
.animate-fade-in:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-xl);
    }
    
    .hero-services-text p {
        font-size: var(--text-base);
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-4xl) 0;
    }
    
    .hero-badge {
        font-size: var(--text-sm);
        padding: var(--space-sm) var(--space-lg);
    }
    
    .badge-icon {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .hero-services-text p {
        font-size: var(--text-sm);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .trust-badges-row {
        gap: var(--space-lg);
    }
    
    .trust-badge {
        padding: var(--space-sm) var(--space-md);
    }
    
    .trust-icon {
        font-size: 24px;
    }
    
    .trust-info strong {
        font-size: var(--text-sm);
    }
    
    .trust-info span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-base);
    }
    
    .trust-badges-row {
        flex-direction: column;
        align-items: center;
    }
}