.container {
    position: relative;
    width: 100%;
    height: auto;
}

.hero {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    padding-bottom: 8rem;
}

.hero::before {
    content: "";
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
    animation: moveGrid 8s infinite alternate ease-in-out;
}

.hero::after {
    content: "";
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80rem;
    height: 80rem;
    background: radial-gradient(circle, rgba(2, 123, 255, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

@keyframes moveGrid {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(2%, 2%) scale(1.02);
    }
}

.head-line-hero .hero-buttons {
    width: auto;
    height: auto;
}

.square {
    position: absolute;
    width: 10rem;
    height: 10rem;
    background-color: #027BFF;
    opacity: 0.03;
}

.head-line-hero {
    z-index: 2;
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 3rem;
    color: #101828;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}

.head-line-hero h2 {
    width: 90rem;
    max-width: 100%;
    font-size: 5.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: #101828;
    -webkit-text-fill-color: #101828;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    letter-spacing: -0.02em;
}

.hero-highlight {
    background: linear-gradient(135deg, #027BFF 0%, #00c6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    max-width: 64rem;
    font-size: 1.9rem;
    color: #475467;
    line-height: 1.65;
    margin: 0;
}

/* Hero tag badge */
.hero-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.8rem;
    background: rgba(2, 123, 255, 0.06);
    border: 0.1rem solid rgba(2, 123, 255, 0.15);
    border-radius: 10rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #027BFF;
    animation: tagFadeIn 0.8s ease-out;
}

@keyframes tagFadeIn {
    0% { opacity: 0; transform: translateY(-1rem); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-tag-dot {
    width: 0.7rem;
    height: 0.7rem;
    background: #12B76A;
    border-radius: 50%;
    animation: tagDotPulse 2s ease-in-out infinite;
}

@keyframes tagDotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0.4); }
    50% { box-shadow: 0 0 0 0.4rem rgba(18, 183, 106, 0); }
}

/* Trust stats */
.hero-trust-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 1.5rem;
    background: rgba(255,255,255,0.7);
    border: 0.1rem solid #e2e8f0;
    border-radius: 1.4rem;
    padding: 1.6rem 3.2rem;
    backdrop-filter: blur(1rem);
    box-shadow: 0 0.4rem 2rem rgba(0,0,0,0.04);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0 2.4rem;
}

.hero-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #027BFF;
    letter-spacing: -0.01em;
}

.hero-stat-label {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
}

.hero-stat-divider {
    width: 0.1rem;
    height: 3.6rem;
    background: linear-gradient(180deg, transparent, #cbd5e1, transparent);
    flex-shrink: 0;
}

.div-img-dashBoard {
    height: 100%;
    width: 100%;
}

/* Button styling is now handled globally in buttons.css */




@keyframes pulseScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}


.experience:hover.top {
    animation: none;
    background-color: #2b55fd;
    border: none;
    transform: scale(1.03);
}


.img-quare-5-mobile {
    display: none;
}

@media (max-width: 768px) {
    .container {
        position: relative;
        width: 100%;
        height: auto;
    }

    .hero {
        width: 100%;
        height: auto;
        min-height: auto;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        background: transparent;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .head-line-hero {
        width: 100%;
        max-width: 100%;
        height: auto;
        gap: 1.6rem;
        padding: 0 2rem;
        margin-bottom: 4rem;
    }

    .head-line-hero h2 {
        width: 100%;
        max-width: 48rem;
        font-size: 3.2rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        max-width: 42rem;
    }

    .hero-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 0 2rem;
        margin-top: 1rem;
    }

    .hero-tag-badge {
        font-size: 1.1rem;
        padding: 0.5rem 1.4rem;
    }

    .hero-trust-stats {
        padding: 1.2rem 1.6rem;
        gap: 0;
    }

    .hero-stat {
        padding: 0 1.4rem;
    }

    .hero-stat-num {
        font-size: 1.6rem;
    }

    .hero-stat-label {
        font-size: 1rem;
    }
}

/* Specific overrides moved to buttons.css */