/* ============================================
   MODERN HERO SECTION - PROFESSIONAL UI/UX
   ============================================ */

/* CSS Variables */
:root {
    --hero-primary: #f29400;
    --hero-primary-dark: #d68200;
    --hero-secondary: #1a1a2e;
    --hero-accent: #ff8c00;
    --hero-text-dark: #1a1a2e;
    --hero-text-light: #6b7280;
    --hero-white: #ffffff;
    --hero-gradient-1: linear-gradient(135deg, #f29400 0%, #ff6b35 100%);
    --hero-gradient-2: linear-gradient(135deg, #ff8c00 0%, #f29400 100%);
    --hero-gradient-3: linear-gradient(135deg, #ffa500 0%, #ff7f00 100%);
    --hero-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --hero-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hero-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --hero-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Main Hero Section */
.modern-hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #ff6b35 0%, #f29400 50%, #ff8c00 100%);
    padding-top: 40px;
}

/* Background Wrapper */
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Gradient Overlay */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.85) 0%, 
        rgba(242, 148, 0, 0.9) 50%, 
        rgba(255, 140, 0, 0.85) 100%);
    z-index: 2;
}

/* Animated Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: particlePulse 15s ease-in-out infinite;
}

.hero-particles::before {
    background: radial-gradient(circle, #ffd700 0%, #ffb347 50%, transparent 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    background: radial-gradient(circle, #ffb347 0%, #ffa500 50%, transparent 100%);
    bottom: 10%;
    right: 10%;
    animation-delay: 7.5s;
}

/* Grid Pattern */
.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 4;
}

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    padding: 0;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 10px 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.hero-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--hero-white);
    border-radius: 50%;
    color: var(--hero-primary);
    font-size: 14px;
}

.hero-badge .badge-text {
    color: var(--hero-white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Hero Title */
.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--hero-white);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-title-gradient {
    background: linear-gradient(135deg, #fff 0%, #ffe4b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-title-gradient::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fff 0%, #ffe4b5 100%);
    border-radius: 2px;
    opacity: 0.8;
}

/* Description */
.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 540px;
}

/* Features List */
.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.hero-features-list li:hover {
    transform: translateX(5px);
}

.hero-features-list li i {
    color: var(--hero-white);
    background: rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-features-list li:hover i {
    background: var(--hero-white);
    color: var(--hero-primary);
    border-color: var(--hero-white);
    transform: scale(1.1);
}

/* CTA Buttons */
.hero-cta-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn-primary {
    background: var(--hero-white);
    color: var(--hero-primary);
    border: 2px solid var(--hero-white);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.hero-btn-primary:hover {
    background: transparent;
    border-color: var(--hero-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
    color: var(--hero-white);
}

.hero-btn-secondary {
    background: transparent;
    color: var(--hero-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hero-white);
    transform: translateY(-3px);
    color: var(--hero-white);
}

.hero-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.hero-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Trust Indicators */
.hero-trust-indicators {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 0;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--hero-white);
    line-height: 1.2;
    margin-bottom: 5px;
    letter-spacing: 0;
    white-space: nowrap;
    font-feature-settings: normal;
}

.trust-number span {
    display: inline-block;
    font-weight: 400;
}

.trust-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Visual Wrapper */
.hero-visual-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Card Stack */
.hero-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-card {
    position: absolute;
    width: 280px;
    height: 180px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: cardFloat 4s ease-in-out infinite;
}

.hero-card:hover {
    transform: translateY(-15px) scale(1.08);
    background: rgba(255, 255, 255, 0.35);
    border-color: var(--hero-white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-card-1 {
    top: 50px;
    left: 50px;
    z-index: 3;
    animation-delay: 0s;
}

.hero-card-2 {
    top: 180px;
    right: 80px;
    z-index: 2;
    animation-delay: 1.3s;
}

.hero-card-3 {
    bottom: 80px;
    left: 120px;
    z-index: 1;
    animation-delay: 2.6s;
}

.hero-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--hero-white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hero-primary);
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    animation: iconPulse 2s ease-in-out infinite;
}

.hero-card .card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--hero-white);
    margin: 0 0 5px 0;
}

.hero-card .card-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.hero-card .card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.hero-card:hover .card-glow {
    opacity: 0.6;
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hero-white);
    font-size: 28px;
    animation: floatRotate 8s ease-in-out infinite;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.floating-element-1 {
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.floating-element-2 {
    bottom: 25%;
    right: 3%;
    animation-delay: 2.5s;
}

.floating-element-3 {
    top: 55%;
    right: 22%;
    animation-delay: 5s;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    cursor: pointer;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--hero-primary);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Sidebar */
.hero-social-sidebar {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.hero-social-sidebar .social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hero-white);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.hero-social-sidebar .social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--hero-white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hero-social-sidebar .social-link:hover::before {
    opacity: 1;
}

.hero-social-sidebar .social-link:hover {
    background: var(--hero-white);
    border-color: var(--hero-white);
    color: var(--hero-primary);
    transform: translateX(5px);
}

.hero-social-sidebar .social-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

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

@keyframes floatRotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-25px) rotate(10deg) scale(1.1);
    }
    50% {
        transform: translateY(-15px) rotate(-5deg) scale(1.05);
    }
    75% {
        transform: translateY(-30px) rotate(15deg) scale(1.1);
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 30px rgba(242, 148, 0, 0.4);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes particlePulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(40px, 10px) scale(1.1);
        opacity: 0.45;
    }
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-card-stack {
        transform: scale(0.9);
    }
    
    .hero-social-sidebar {
        left: 20px;
    }
}

@media (max-width: 991px) {
    .modern-hero-section {
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-visual-wrapper {
        display: none;
    }
    
    .hero-content-wrapper {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-cta-wrapper {
        justify-content: center;
    }
    
    .hero-trust-indicators {
        justify-content: center;
    }
    
    .hero-social-sidebar {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .trust-number {
        font-size: 24px;
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 575px) {
    .modern-hero-section {
        padding-top: 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-features-list li {
        font-size: 14px;
    }
    
    .hero-cta-wrapper {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .trust-divider {
        display: none;
    }
    
    .hero-trust-indicators {
        gap: 20px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support - Already optimized for dark theme */
