/* ============================================
   MODERN HERO SECTION - UX/UI EXPERT DESIGN
   Harmonious with Dark Theme Palette
   ============================================ */

.modern-hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--bg-primary, #0a0e27);
}

/* Background with Gradient Overlay */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero, linear-gradient(135deg, #0a0e27 0%, #141b2d 50%, #1a2332 100%));
    opacity: 0.95;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    animation: pattern-move 20s ease-in-out infinite;
}

@keyframes pattern-move {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, -20px) scale(1.05);
    }
}

/* Hero Top Section */
.hero-top-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* Hero Content - Left Aligned */
.hero-content-left {
    position: relative;
    z-index: 2;
    color: var(--text-primary, #f8fafc);
    padding-top: 20px;
    text-align: left;
    max-width: 100%;
}

/* Badges Row - Organized Layout */
.hero-badges-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* Trust Badge */
.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card, #1e2838);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    padding: 12px 20px;
    border-radius: var(--border-radius, 12px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.hero-trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0, 0, 0, 0.4));
    border-color: var(--accent-primary, #6366f1);
}

.trust-logo {
    height: 24px;
    width: auto;
}

.trust-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-rating .stars {
    height: 16px;
    width: auto;
}

.rating-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-green, #10b981);
}

/* Activation Badge */
.hero-activation-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary, #6366f1);
    position: relative;
    overflow: hidden;
}

.hero-activation-badge i {
    font-size: 16px;
    color: var(--accent-gold, #f59e0b);
    animation: pulse-icon 2s ease-in-out infinite;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background: var(--accent-green, #10b981);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

/* Hero Title - Left Aligned */
.hero-title-left {
    font-family: 'Urbanist', 'Montserrat', sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary, #f8fafc);
    letter-spacing: -1.5px;
    text-align: left;
}

.title-highlight {
    background: var(--gradient-primary, linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-verified-section {
    margin-bottom: 24px;
}

.verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-green, #10b981);
    vertical-align: middle;
}

.verified-tag i {
    font-size: 14px;
}

/* Hero Description - Left Aligned */
.hero-description-left {
    font-size: clamp(17px, 2.2vw, 21px);
    line-height: 1.8;
    color: var(--text-secondary, #cbd5e1);
    margin-bottom: 32px;
    max-width: 100%;
    text-align: left;
}

.hero-description .text-accent {
    color: var(--accent-primary, #6366f1);
    font-weight: 700;
}

/* Features List */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary, #cbd5e1);
    font-size: 16px;
}

.feature-item i {
    color: var(--accent-green, #10b981);
    font-size: 18px;
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card, #1e2838);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    padding: 16px 24px;
    border-radius: var(--border-radius, 12px);
    transition: all 0.3s ease;
}

.proof-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0, 0, 0, 0.4));
    border-color: var(--accent-primary, #6366f1);
}

.proof-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary, linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%));
    border-radius: 10px;
    color: white;
    font-size: 18px;
}

.proof-content {
    display: flex;
    flex-direction: column;
}

.proof-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
    line-height: 1.2;
}

.proof-label {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    font-weight: 500;
}

/* CTA Button */
.hero-cta {
    margin-top: 48px;
}

.cta-primary-btn {
    display: inline-block;
    position: relative;
    background: var(--gradient-primary, linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%));
    color: white;
    padding: 18px 40px;
    border-radius: var(--border-radius, 12px);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow, 0 0 20px rgba(99, 102, 241, 0.3));
    border: none;
    cursor: pointer;
}

.cta-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    color: white;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-primary-btn:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.cta-guarantee {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted, #94a3b8);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cta-guarantee i {
    color: var(--accent-green, #10b981);
    font-size: 16px;
}

.cta-guarantee strong {
    color: var(--text-secondary, #cbd5e1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .modern-hero-section {
        min-height: auto;
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: clamp(32px, 6vw, 48px);
    }
    
    .hero-social-proof {
        gap: 20px;
    }

}

@media (max-width: 768px) {
    .modern-hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-trust-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-social-proof {
        flex-direction: column;
        gap: 16px;
    }
    
    .proof-item {
        width: 100%;
    }
    
    .cta-primary-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


/* Live Social Proof Notification - Less Intrusive & Theme Aligned */
.hero-live-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(30, 40, 56, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    max-width: 280px;
    backdrop-filter: blur(20px);
    opacity: 0.85;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: subtleSlideIn 0.6s ease-out;
    cursor: pointer;
}

.hero-live-notification:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

@keyframes subtleSlideIn {
    from {
        transform: translateX(calc(100% + 20px));
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 0.85;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(calc(100% + 20px));
        pointer-events: none;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
    border-radius: 50%;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.notification-text {
    font-size: 13px;
    color: var(--text-secondary, #cbd5e1);
    line-height: 1.4;
    flex: 1;
}

.notification-name {
    color: var(--text-primary, #f8fafc);
    font-weight: 600;
}

.notification-time {
    display: block;
    font-size: 11px;
    color: var(--text-muted, #64748b);
    margin-top: 3px;
    opacity: 0.8;
}

/* Close Button - Subtle & Non-Intrusive */
.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted, #64748b);
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    border-radius: 4px;
    z-index: 10;
}

.hero-live-notification:hover .notification-close {
    opacity: 1;
}

.notification-close:hover {
    color: var(--text-primary, #f8fafc);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .cta-primary-btn {
        padding: 16px 32px;
        font-size: 16px;
    }

    .hero-live-notification {
        bottom: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        padding: 10px 14px;
        opacity: 0.9;
    }
    
    .hero-live-notification.notification-2 {
        display: none; /* Hide second notification on mobile to reduce clutter */
    }
    
    .notification-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .notification-text {
        font-size: 12px;
    }
    
    .notification-close {
        opacity: 1; /* Always visible on mobile */
        top: 6px;
        right: 6px;
    }
}

/* ============================================
   HERO FEATURES SECTION - Template Compatible
   ============================================ */

.hero-features-section {
    padding: 80px 0;
    background: var(--bg-secondary, #141b2d);
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    position: relative;
}

.hero-feature-box {
    background: var(--bg-card, #1e2838);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: var(--border-radius-lg, 16px);
    padding: 40px 32px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary, linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hero-feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg, 0 8px 32px rgba(0, 0, 0, 0.5));
    border-color: var(--accent-primary, #6366f1);
}

.hero-feature-box:hover::before {
    transform: scaleX(1);
}

.feature-box-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary, linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%));
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 28px;
    color: white;
    box-shadow: var(--shadow-glow, 0 0 20px rgba(99, 102, 241, 0.3));
    transition: all 0.3s ease;
}

.feature-box-icon i {
    font-size: 28px;
}

.hero-feature-box:hover .feature-box-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.feature-box-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 16px;
    line-height: 1.3;
}

.feature-box-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary, #cbd5e1);
    margin: 0;
}

/* Responsive for Features Section */
@media (max-width: 768px) {
    .hero-features-section {
        padding: 60px 0;
    }
    
    .hero-feature-box {
        padding: 32px 24px;
        margin-bottom: 24px;
    }
    
    .feature-box-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .feature-box-title {
        font-size: 20px;
    }
}

