/* ============================================
   Modern Hero Section Styles
   ============================================ */

.hero-modern {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0.05;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    animation: patternMove 20s ease-in-out infinite;
}

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

.hero-content-wrapper {
    position: relative;
    z-index: 1;
}

.hero-text-content {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero-badge .badge-icon {
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Hero Title */
.hero-title-modern {
    font-size: 56px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-title-modern span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Description */
.hero-description-modern {
    font-size: 20px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 32px;
    font-weight: 400;
    max-width: 580px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: #667eea;
    flex-shrink: 0;
}

/* Hero Buttons */
.hero-banner-btn-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: #ffffff;
    text-decoration: none;
}

.btn-primary-modern:hover::before {
    left: 100%;
}

.btn-primary-modern svg {
    transition: transform 0.3s ease;
}

.btn-primary-modern:hover svg {
    transform: translateX(4px);
}

.btn-secondary-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #ffffff;
    color: var(--navy);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary-modern:hover {
    background: #f8fafc;
    border-color: #667eea;
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Hero Image Section */
.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

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

.hero-image-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 30px;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

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

.hero-image-container {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: scale(1.02);
}

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: floatCard 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-floating-card .floating-icon {
    font-size: 24px;
    line-height: 1;
}

.hero-floating-card .floating-text {
    display: flex;
    flex-direction: column;
}

.hero-floating-card .floating-text strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.hero-floating-card .floating-text small {
    font-size: 12px;
    color: #64748b;
    line-height: 1.2;
}

.hero-floating-card.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    bottom: 20%;
    left: -10%;
    animation-delay: 1s;
}

.hero-floating-card.card-3 {
    top: 50%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-modern {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-title-modern {
        font-size: 42px;
        line-height: 1.3;
    }

    .hero-description-modern {
        font-size: 18px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .hero-floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 80px 0 60px;
    }

    .hero-title-modern {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .hero-description-modern {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-features {
        gap: 12px;
        margin-bottom: 24px;
    }

    .feature-item {
        padding: 8px 12px;
        font-size: 13px;
    }

    .hero-banner-btn-modern {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }

    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding-top: 24px;
    }

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

    .hero-image-container {
        padding: 10px;
        margin-top: 40px;
    }

    .hero-image-bg {
        top: -30px;
        right: -30px;
    }
}

@media (max-width: 480px) {
    .hero-title-modern {
        font-size: 28px;
    }

    .hero-description-modern {
        font-size: 15px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .feature-item {
        font-size: 12px;
        padding: 6px 10px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* Animation delays for staggered effect */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

