/* ===== Enhanced Hero Section with Cool Animations ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Enhanced Gradient Orbs with More Animation */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 15s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #667eea 0%, #764ba2 100%);
    top: -250px;
    right: -150px;
    animation: float 20s infinite ease-in-out, colorShift 10s infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #f093fb 0%, #f5576c 100%);
    bottom: -200px;
    left: -150px;
    animation-delay: -5s;
    animation: float 18s infinite ease-in-out -5s, colorShift 12s infinite -3s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
    animation: float 22s infinite ease-in-out -10s, colorShift 15s infinite -7s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    25% {
        transform: translate(80px, -80px) scale(1.15) rotate(90deg);
    }

    50% {
        transform: translate(-60px, 60px) scale(0.95) rotate(180deg);
    }

    75% {
        transform: translate(60px, 80px) scale(1.1) rotate(270deg);
    }
}

@keyframes colorShift {

    0%,
    100% {
        opacity: 0.4;
        filter: blur(100px) hue-rotate(0deg);
    }

    50% {
        opacity: 0.6;
        filter: blur(120px) hue-rotate(60deg);
    }
}

/* Particle Effect */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: -2s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: -4s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: -6s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: -8s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: -10s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: -12s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: -14s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: -16s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border: 2px solid rgba(99, 102, 241, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.8s ease, glow 3s infinite;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.8s ease 0.2s backwards;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: slideInLeft 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: slideInLeft 0.8s ease 0.6s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    animation: slideInLeft 0.8s ease 0.8s backwards;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease backwards;
}

.stat-item:nth-child(1) {
    animation-delay: 1s;
}

.stat-item:nth-child(2) {
    animation-delay: 1.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 1.4s;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: numberGlow 2s infinite;
}

@keyframes numberGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
    }
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Enhanced Hero Image Section */
.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease;
}

.floating-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: floatCard 4s infinite ease-in-out;
    z-index: 2;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.4);
}

.floating-card i {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
    }

    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.8));
    }
}

.floating-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

.card-1 {
    top: 5%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    left: -5%;
    animation-delay: -1.5s;
}

.card-3 {
    bottom: 5%;
    right: 15%;
    animation-delay: -3s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-25px) rotate(2deg);
    }

    50% {
        transform: translateY(-15px) rotate(-2deg);
    }

    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

.hero-illustration {
    width: 100%;
    height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-circle {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s infinite, rotate 30s linear infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.3;
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hero Image Circle Glow */
.hero-image-circle::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: conic-gradient(from 0deg, transparent 0%, #667eea 10%, #764ba2 20%, transparent 30%, #f093fb 40%, #f5576c 50%, transparent 60%, #4facfe 70%, #00f2fe 80%, transparent 90%, #667eea 100%);
    animation: rotateGlow 6s linear infinite;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.8;
    z-index: -1;
}

.hero-image-circle::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--bg-primary);
    border-radius: 50%;
    z-index: -1;
}

@keyframes scaleIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.1) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(1.5);
        opacity: 0;
        filter: blur(10px);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes imageFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(99, 102, 241, 0.6);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-circle {
        width: 350px;
        height: 350px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-image-circle {
        width: 280px;
        height: 280px;
    }

    .floating-card {
        font-size: 0.875rem;
        padding: 1rem 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-image-circle {
        width: 220px;
        height: 220px;
    }
}