
/* Hero Section */
.hero {
    position: relative;
    padding: 150px 0 100px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, #1E3A5F 0%, #0A1628 80%);
    opacity: 0.7;
    z-index: -1;
    transform: skewY(-2deg) translateY(-20px); /* Subtle background shape */
    transform-origin: top left;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-h);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-family: var(--font-h);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.95rem;
    color: var(--text-sub);
    white-space: nowrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 450px; /* Ensure space for mockup */
}

.phone-mockup {
    position: relative;
    /*
    width: 280px;
    height: 580px; */
    width: 350px;
    height: 725px;
    border-radius: 40px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}
/*
.phone-mockup:hover {
    transform: rotateY(-10deg) rotateX(5deg) translateZ(60px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 0 5px rgba(255,255,255,0.15);
}
*/

/*
.floating-qr {
    position: absolute;
    bottom: 50px;
    left: 20%;
    width: 120px;
    height: 120px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 10;
    transform: rotate(-10deg) scale(0.9);
    animation: floatQR 3s infinite ease-in-out alternate;
}
*/
.qr-icon {
    width: 80%;
    height: 80%;
    color: var(--accent);
}

/* Animations */
@keyframes pulseDemoCard {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.95; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes floatQR {
    0% { transform: translateY(0px) rotate(-10deg) scale(0.9); }
    50% { transform: translateY(-15px) rotate(-12deg) scale(0.92); }
    100% { transform: translateY(0px) rotate(-10deg) scale(0.9); }
}

@media (max-width: 992px) {
    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .hero-visual {
        order: -1; /* Move visual above text on mobile */
        min-height: 400px;
        margin-bottom: 30px;
        margin-bottom: 30px;
    }


@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-cta {
        flex-direction: column;
    }
    .btn-hero, .btn-secondary {
        width: 100%;
    }
}