/* .background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.background img{
    width: 100%;
} */

main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-top: 130px;
    margin-bottom: 50px;
    background-image: url(/assets/index-assets/background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.hero-subheading{
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 8px;
}

.heading-icons{
    display: flex;
    gap: 60px;
}

.heading-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.heading-icon p{
    font-weight: 600;
}

.heading-icon img{
    width: 25px;
}

.hero-heading{
    font-size: 6em;
    margin: 20px 0;
}

.hero-heading span{
    color: var(--accent-color);
}

.hero-info{
    font-size: 1.2em;
    max-width: 600px;
    text-wrap: balance;
}

.hero-info p{
    margin-top: 0;
}

.call-to-actions{
    display: flex;
    gap: 30px;
}

.call-to-actions a{
    width: 250px;
}

.dashboard-example{
    width: 70%;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 50px;
    box-shadow: 0 -2px 10px #00000050;
}

.dashboard-example img{
    width: 100%;
    height: 100%;
}



.newsletter{
    width: 70%;
    /* background-image: linear-gradient(30deg, #1D56D7, #5289F8); */
    background-image: linear-gradient(30deg, #834d9b, #d04ed6);
    padding: 25px 1em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.newsletter-text{
    color: var(--white);
}

.newsletter-text h3,
.newsletter-text p{
    margin: 0;
}

.newsletter-text h3{
    margin-bottom: 5px;
}

.newsletter-form{
    display: flex;
    gap: 10px;
}

.newsletter-input{
    border-radius: 50px;
    border: none;
    width: 400px;
    padding: 10px;
    padding-left: 20px;
    background: var(--secondary-color);
}

.newsletter-btn{
    background: none;
    border: 2px solid var(--white);
    color: var(--white);
}

.newsletter-btn:hover{
    background-color: var(--white);
    color: var(--accent-color);
}

.newsletter-form-wrap{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.newsletter-msg{
    margin: 10px 0 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    text-align: center;
}

.newsletter-msg--success{
    color: #b9f7c8;
}

.newsletter-msg--error{
    color: #ffc8c8;
}

@media(max-width:795px){
    .hero-heading{
        font-size: 4em;
    }

    .heading-icons{
        flex-wrap: wrap;
        gap: 0;
        justify-content: center;
    }

    .heading-icon{
        margin: 0 20px;
    }
}

@media(max-width: 565px){
    .hero{
        width: 95%;
    }
    
    .hero-heading{
        font-size: 2.7em;
    }

    .heading-icons{
        display: none;
    }

    .call-to-actions{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 2em;
    }

    .call-to-actions a{
        width: 100%;
    }

    .dashboard-example{
        width: 95%;
        margin-top: 30px;
    }
}


@media(max-width: 1365px){
    .newsletter-input{
        width: 300px;
    }
}

@media(max-width: 1092px){
    .newsletter{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 90%;
    }
}

@media(max-width: 724px){
    .newsletter{
        text-align: center;
    }

    .newsletter-form-wrap{
        align-items: center;
    }

    .newsletter-form{
        flex-direction: column;
    }

    .newsletter-input{
        height: 50px;
    }
}

/* ── Shared section utilities ─────────────────────────────── */
.eyebrow {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 18px;
    line-height: 1.2;
}

.section-paragraph {
    font-size: 1rem;
    color: var(--black);
    opacity: 0.75;
    line-height: 1.6;
    margin: 0 0 0;
    max-width: 580px;
}

/* ── Features section ─────────────────────────────────────── */
.home-features {
    max-width: 1200px;
    width: 100%;
    padding: 60px 40px 60px;
    text-align: center;
}

.home-features .section-paragraph {
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    text-align: left;
}

.feature-card {
    background: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--tertiary-color);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon img {
    max-width: 24px;
    max-height: 24px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--black);
    opacity: 0.7;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.feature-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    margin-top: 4px;
}

.feature-link:hover {
    text-decoration: underline;
}

/* ── Stats bar ────────────────────────────────────────────── */
.home-stats {
    width: 70%;
    margin-bottom: 60px;
}

.home-stats-list {
    list-style: none;
    margin: 0;
    padding: 36px 28px;
    background: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.home-stat {
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-stat-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-stat-icon img {
    max-width: 24px;
    max-height: 24px;
}

.home-stat-text {
    display: flex;
    flex-direction: column;
}

.home-stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.1;
}

.home-stat-label {
    font-size: 0.85rem;
    color: var(--black);
    opacity: 0.65;
    margin-top: 2px;
}

/* ── Testimonials ─────────────────────────────────────────── */
.home-testimonials {
    max-width: 1200px;
    width: 100%;
    padding: 60px 40px;
    text-align: center;
}

.home-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    text-align: left;
}

.home-testimonial {
    background: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.home-testimonial:hover {
    transform: translateY(-4px);
    border-color: var(--tertiary-color);
}

.home-testimonial-quote {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    font-family: serif;
}

.home-testimonial-text {
    font-size: 0.95rem;
    color: var(--black);
    opacity: 0.85;
    line-height: 1.6;
    margin: 0 0 24px;
    flex-grow: 1;
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--secondary-color);
}

.home-testimonial-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.home-testimonial-author-text {
    display: flex;
    flex-direction: column;
}

.home-testimonial-author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
}

.home-testimonial-author-role {
    font-size: 0.85rem;
    color: var(--black);
    opacity: 0.6;
}

/* ── CTA banner ───────────────────────────────────────────── */
.home-cta {
    width: 70%;
    margin-bottom: 60px;
}

.home-cta-banner {
    background: var(--secondary-color);
    border-radius: 24px;
    padding: 32px 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}

.home-cta-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-cta-icon img {
    max-width: 32px;
    max-height: 32px;
}

.home-cta-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 4px;
}

.home-cta-subtitle {
    font-size: 0.95rem;
    color: var(--black);
    opacity: 0.7;
    margin: 0;
}

.home-cta-buttons {
    display: flex;
    gap: 12px;
}

.home-cta-buttons .primary-btn,
.home-cta-buttons .secondary-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
    .home-features {
        padding: 40px 32px 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    .home-stats {
        width: 90%;
    }

    .home-stats-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 28px 24px;
    }

    .home-testimonials {
        padding: 40px 32px;
    }

    .home-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    .home-cta {
        width: 90%;
    }

    .home-cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        padding: 28px 24px;
    }

    .home-cta-icon {
        margin: 0 auto;
    }

    .home-cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 560px) {
    .home-features {
        padding: 32px 20px;
    }

    .home-stats {
        width: 95%;
    }

    .home-stats-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-testimonials {
        padding: 32px 20px;
    }

    .home-cta {
        width: 95%;
    }

    .section-title {
        font-size: 1.5rem;
    }
}