﻿.home-hero {        
    background: linear-gradient(#FDE8E9, #fff);
    position: relative;
    overflow: hidden;
}

.ellipse {
    margin-inline: auto;
    max-width: 60%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -200px);
}

.hero-inner {           
    text-align: center;
    max-width: 950px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 60px 10px
}

.hero-inner > * {
    position: relative;
    z-index: 2;
}

.hero-text {        
    font-size: 71px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.home-hero .highlight {
    color: var(--spiid-red)
}

.subtitle {
    font-size: 22px;
    margin: 0;
    font-weight: 300;
}

.home-hero .button {
    display: block;
    width: fit-content;
    font-size: 18px;
    padding: 18px 45px;
    margin: 12px 0 30px;
    font-weight: 600;
}

.benefits-inner {
    max-width: 1390px;
    padding: 10px
}

.benefits-inner .row1 {
    display: flex;
    justify-content: space-between;
    padding: 70px 0;
}

.benefits-inner .row1 h3 {
    font-weight: 800;
    font-size: 48px;
    max-width: 618px;
    line-height: 1.1;
    margin: 0;
}

.benefits-inner .row1 p {
    max-width: 394px;
    font-size: 22px;
    margin: 0;
}

.benefits-inner p {
    font-weight: 300;
}

.benefits-inner .row2 {
    display: flex;
    gap: 20px
}

.benefits-inner .row2 .feature-card {
    height: 535px;
    background-color: var(--spiid-light-gray);
    padding: 32px;
    box-sizing: border-box;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.benefits-inner .row2 .odd {
    justify-content: space-between;
}

.benefits-inner .row2 .col2 {
    background-image: linear-gradient(#ffffff19 0%, #0000008d 90%), url("../media/646114b773a6e8eb1d0996d34be728dbee072abb.jpg");
    background-position: center;
    background-size: cover;
    color: white
}    

.benefits-inner .row2 img {
    height: auto;
    width: 344px;
    border-radius: 12px;
}

.benefits-inner .row2 h4 {
    font-size: 26px;
}

.benefits-inner .row2 p {
    color: #383838;
    font-size: 17px;
}

.benefits-inner .row2 .col2 p {
    color: #fff
}

.city-section {
    padding: 70px 0 40px;
}

.feature-card > div {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.feature-card > div > * {
    margin: 0
}

.city-section h3 {
    font-weight: 800;
    font-size: 48px;
    text-align: center;
}

.city-carousel {
    display: flex;
    flex-direction: column;
    gap: 28px;
    overflow: hidden;
    margin-top: 50px;
}

.city-track {
    display: flex;
    width: max-content;
    gap: 50px;
    animation: scroll 40s linear infinite;
}

.city-track.reverse {
    animation-direction: reverse;
}

.city {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-shrink: 0;
    font-size: 48px;
    font-weight: 800;
    color: var(--spiid-black);
    white-space: nowrap;
    padding-right: 50px;
}

.city img {
    height: 126px;
    width: 126px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .city-track {
        animation: none;
    }
}

.users {
    background-color: var(--spiid-light-gray);
}

.users-inner {
    max-width: 1490px;
    box-sizing: border-box;
    padding: 100px 60px;
    display: flex;
    align-items: center;
    gap: 50px
}

.users-inner > div {
    width: 50%;
}

.users .col1 {
    background-color: var(--spiid-red);
    text-align: center;
    border-radius: 32px;
    overflow: hidden;
}

.users .col2 {
    padding: 30px
}

.users .col1 img  {
    width: 80%;
    margin-top: 40px;
    height: auto;
    transform: translateY(30px);
    transition: transform 0.7s ease;
}

.users .col1 img:hover  {
    transform: translateY(10px);
}

.users h3 {
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 10px;
}

.users h4 {
    margin: 0 0 8px;
    font-size: 22px;
}

.users p {
    color: #414141;
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
}

.user-list {
    display: flex;
    gap: 15px
}

.user-list img {
    display: flex;
    padding: 6px;
    background-color: var(--spiid-red);
    height: 32px;
    width: 32px;
    border-radius: 50%;
    box-sizing: border-box;
}

.user-bullets {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 28px
}

.apps {
    display: flex;
    gap: 20px
}

.apps img {
    max-width: 200px;
    height: auto;
    transition: filter 0.3s ease-out, transform 0.2s ease;
}

.apps img:hover {
    filter: contrast(1.2);
    transform: translateY(-3px);
}

.flipped {
    flex-direction: row-reverse;
}

.cards-section {
    text-align: center;
    padding: 100px 10px
}

.cards-section h3 {
    font-size: 46px;
    font-weight: 800;
}

.cards-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 0 10px;
    max-width: var(--site-width);
}

.promo-card {
    background-color: var(--spiid-light-gray);
    padding: 36px;
    border-radius: 20px;
    text-align: left;    
    position: relative;
}

.promo-card h4 {
    font-weight: 700;
    font-size: 20px;
}

.promo-card p {
    font-weight: 300;
    line-height: 1.6;
    min-height: 90px
}

.promo-card a {
    display: block;
    border: solid 1px #8f8f8f;
    text-align: center;
    border-radius: 25px;
    padding: 20px;
    font-weight: 600;
    color: var(--spiid-dark-gray);
    transition: color 0.3s ease, background-color 0.3s ease;
}

.promo-card a:hover {
    background-color: var(--spiid-dark-gray);
    color: var(--spiid-light-gray)
}

.promo-card.special {
    background: linear-gradient(#FDE8E9, #FFF);
    border: solid 1px #FDE8E9;
}

.promo-card.special a {
    background-color: var(--spiid-red);
    color: white;
    border-color: var(--spiid-red)
}

.promo-card.special a:hover {
    background-color: #0000;
    color: var(--spiid-red)
}

.promo-card.special span {
    font-size: 11.5px;
    background-color: var(--spiid-red);
    color: white;
    border-radius: 20px;
    padding: 5px 10px;
    position: absolute;
    right: 25px;
    top: -10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.news {
    padding: 100px 10px
}

.news-inner {
    display: flex;
    max-width: var(--site-width);
    gap: 35px;
    justify-content: space-between;
}

.news-inner > div {
    width: 50%;
    box-sizing: border-box;
    border-radius: 20px;
}

.news .background {
    background-image: url('../media/fc37d522b749b25799a4b0839783c1e366f35dc5.jpg');
    background-position: center;
    background-size: cover;
    height: 490px;
}

.news .content {
    background-color: var(--spiid-light-gray);
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.news .content h4 {
    font-size: 48px;
    font-weight: 800;
    margin: 0;
}

.news .content p {
    font-size: 18.5px;
    color: var(--spiid-dark-gray);
    line-height: 1.6;
}

.news .content a {
    padding: 22px 66px;
    border-radius: 40px;
}

@media (max-width: 768px) {
    .hero-text {
        font-size: 44px;
    }

    .subtitle {
        font-size: 18px;
    }

    .spiifd-video {
        width: 100%;
        height: auto;
        aspect-ratio: 900 / 415;
    }

    .benefits-inner .row1 {
        flex-direction: column;
        gap: 20px;
        padding: 50px 0;
    }

    .benefits-inner .row1 h3 {
        font-size: 34px;
        max-width: 100%;
    }

    .benefits-inner .row1 p {
        max-width: 100%;
        font-size: 18px;
    }

    .benefits-inner .row2 {
        flex-direction: column;
    }

    .benefits-inner .row2 .feature-card {
        height: auto;
        min-height: 320px;
    }

    .benefits-inner .row2 img {
        width: 100%;
    }

    .city-section h3 {
        font-size: 32px;
    }

    .city {
        font-size: 32px;
        gap: 20px;
    }

    .city img {
        height: 80px;
        width: 80px;
    }

    .users-inner {
        flex-direction: column;
        padding: 60px 20px;
    }

    .users-inner.flipped {
        flex-direction: column;
    }

    .users-inner > div {
        width: 100%;
    }

    .users h3 {
        font-size: 32px;
    }

    .cards-section {
        padding: 60px 10px;
    }

    .cards-section h3 {
        font-size: 32px;
    }

    .cards-inner {
        grid-template-columns: 1fr;
    }

    .news .background {
        height: 320px;
    }

    .news-inner {
        flex-direction: column;
    }

    .news-inner > div {
        width: 100%;
    }

    .news .content {
        padding: 40px 30px;
    }

    .news .content h4 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-text {
        font-size: 32px;
    }

    .home-hero .button {
        text-align: center;
        box-sizing: border-box;
    }

    .benefits-inner .row1 h3 {
        font-size: 28px;
    }

    .city-section h3 {
        font-size: 26px;
    }

    .city {
        font-size: 24px;
        gap: 12px;
    }

    .city img {
        height: 56px;
        width: 56px;
    }

    .users h3 {
        font-size: 26px;
    }

    .users h4 {
        font-size: 19px;
    }

    .news .content h4 {
        font-size: 26px;
    }

    .news .content {
        padding: 30px 20px;
    }
}