/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 8% 150px;
    background: radial-gradient(circle at 10% 20%, rgba(41, 101, 163, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(41, 206, 242, 0.05) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--secondary-color);
    filter: blur(180px);
    opacity: 0.15;
    top: -200px;
    right: -100px;
    z-index: 0;
}

.hero-content {
    flex: 1.1;
    z-index: 2;
    position: relative;
}

.hero-content .badge {
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary-color);
    letter-spacing: -0.04em;
}

.hero-content h1 span {
    background: linear-gradient(120deg, var(--primary-color), var(--blue-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--grey);
    max-width: 550px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid rgba(65, 101, 163, 0.1);
    background: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-image {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(65, 101, 163, 0.2);
    border: none;
    transform: none;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image-wrapper:hover img {
    transform: translateY(-10px) scale(1.05);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 5;
    animation: float-alt 4s ease-in-out infinite;
}

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

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

.floating-card i {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.floating-card .info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.floating-card .info p {
    font-size: 0.75rem;
    color: var(--grey);
}

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

@media (max-width: 1200px) {
    .hero-content h1 { font-size: 3.5rem; }
    .card-1 { right: -5%; }
    .card-2 { left: -10%; }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding: 120px 5% 80px;
        text-align: center;
        min-height: auto;
    }
    .hero-content { 
        margin-bottom: 5rem;
        flex: 1;
    }
    .hero-content p { 
        margin-left: auto; 
        margin-right: auto; 
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-image {
        flex: 1;
        width: 100%;
    }
    .hero-image img {
        max-width: 80%;
    }
}

@media (max-width: 640px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-btns .btn-download, .hero-btns .btn-secondary {
        width: 100%;
        text-align: center;
    }
    /* Hide or adjust floating cards on very small screens to prevent overflow */
    .floating-card {
        padding: 0.8rem;
        scale: 0.8;
    }
    .card-1 { right: -10px; top: 0; }
    .card-2 { left: -10px; bottom: 10%; }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 60px;
    }
    .hero-content h1 { font-size: 2.4rem; }
    .floating-card {
        display: none; /* Better to hide them on very small screens */
    }
}
