/* =========================================
   NOVAPAY
   HOMEPAGE CSS
   PART 1 OF 7

   FOUNDATION + HEADER + HERO
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #FFFFFF;
    color: #111827;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================
   NOVAPAY COLORS
========================================= */

:root {

    --novapay-blue: #3F73F5;
    --novapay-blue-dark: #2F62E8;
    --novapay-blue-light: #EEF4FF;

    --text-dark: #111827;
    --text-gray: #667085;
    --text-light: #98A2B3;

    --white: #FFFFFF;
    --background: #F8FAFC;

    --border: #E6EAF0;

    --shadow-small:
        0 8px 24px rgba(17, 24, 39, 0.05);

    --shadow-medium:
        0 16px 40px rgba(17, 24, 39, 0.08);

    --radius-small: 14px;
    --radius-medium: 20px;
    --radius-large: 26px;

}


/* =========================================
   CONTAINER
========================================= */

.container {

    width: min(92%, 1180px);

    margin: 0 auto;

}


/* =========================================
   HEADER
========================================= */

.site-header {

    width: 100%;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    position: relative;

    z-index: 100;

}

.navbar {

    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    display: inline-block;

    color: var(--text-dark);

    font-size: 28px;

    font-weight: 800;

    letter-spacing: -0.8px;

}

.logo span {

    color: var(--novapay-blue);

}

.menu-button {

    width: 44px;

    height: 44px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--white);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    cursor: pointer;

}

.menu-button span {

    width: 18px;

    height: 2px;

    background: var(--text-dark);

    border-radius: 10px;

}


/* =========================================
   HERO
========================================= */

.hero {

    padding: 58px 0 54px;

    background: var(--white);

}

.hero-content {

    max-width: 680px;

    margin: 0 auto;

    text-align: center;

}

.hero-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 16px;

    background: var(--novapay-blue-light);

    color: var(--novapay-blue);

    border: 1px solid rgba(63, 115, 245, 0.10);

    border-radius: 999px;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.3;

    margin-bottom: 22px;

}

.hero-title {

    max-width: 650px;

    margin: 0 auto;

    color: var(--text-dark);

    font-size: clamp(36px, 9vw, 64px);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -1.8px;

}

.hero-title span {

    display: block;

}

.hero-description {

    max-width: 560px;

    margin: 22px auto 30px;

    color: var(--text-gray);

    font-size: 15px;

    font-weight: 400;

    line-height: 1.75;

}

.hero-actions {

    display: flex;

    flex-direction: column;

    align-items: center;

}


/* =========================================
   PRIMARY BUTTON
========================================= */

.primary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: min(100%, 250px);

    min-height: 52px;

    padding: 0 24px;

    background: var(--novapay-blue);

    color: var(--white);

    border-radius: 14px;

    font-size: 15px;

    font-weight: 600;

    box-shadow:
        0 12px 28px rgba(63, 115, 245, 0.20);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;

}

.primary-button:hover {

    background: var(--novapay-blue-dark);

    transform: translateY(-2px);

    box-shadow:
        0 16px 32px rgba(63, 115, 245, 0.25);

}


/* =========================================
   LOGIN
========================================= */

.login-text {

    margin-top: 15px;

    color: var(--text-gray);

    font-size: 13px;

    line-height: 1.5;

}

.login-text a {

    color: var(--novapay-blue);

    font-weight: 700;

}

.login-text a:hover {

    color: var(--novapay-blue-dark);

} 
/* =========================================
   PART 2 OF 7
   SERVICES
========================================= */


/* =========================================
   SERVICES SECTION
========================================= */

.services {

    padding: 58px 0 70px;

    background: var(--background);

}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {

    max-width: 620px;

    margin: 0 auto 30px;

    text-align: center;

}

.section-label {

    display: inline-block;

    margin-bottom: 10px;

    color: var(--novapay-blue);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;

}

.section-heading h2 {

    color: var(--text-dark);

    font-size: 28px;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -0.5px;

}

.section-heading p {

    margin-top: 10px;

    color: var(--text-gray);

    font-size: 14px;

    line-height: 1.6;

}


/* =========================================
   SERVICES GRID
========================================= */

.services-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;

}


/* =========================================
   SERVICE CARD
========================================= */

.service-card {

    min-width: 0;

    min-height: 150px;

    padding: 18px 15px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    display: flex;

    align-items: flex-start;

    gap: 12px;

    position: relative;

    box-shadow: var(--shadow-small);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

}

.service-card:hover {

    transform: translateY(-3px);

    border-color: rgba(63, 115, 245, 0.25);

    box-shadow: var(--shadow-medium);

}


/* =========================================
   SERVICE ICON
========================================= */

.service-icon {

    width: 46px;

    height: 46px;

    flex: 0 0 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--novapay-blue-light);

    border-radius: 14px;

    font-size: 22px;

}


/* =========================================
   SERVICE CONTENT
========================================= */

.service-content {

    min-width: 0;

    padding-right: 12px;

}

.service-content h3 {

    color: var(--text-dark);

    font-size: 15px;

    font-weight: 700;

    line-height: 1.35;

}

.service-content p {

    margin-top: 5px;

    color: var(--text-gray);

    font-size: 12px;

    line-height: 1.45;

}


/* =========================================
   SERVICE ARROW
========================================= */

.service-arrow {

    position: absolute;

    right: 12px;

    bottom: 12px;

    color: var(--novapay-blue);

    font-size: 16px;

    font-weight: 700;

} 
/* =========================================
   PART 3 OF 7
   WHY CHOOSE NOVAPAY
========================================= */


/* =========================================
   WHY SECTION
========================================= */

.why-novapay {

    padding: 64px 0 70px;

    background: var(--white);

}


/* =========================================
   BENEFITS GRID
========================================= */

.benefits-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 14px;

}


/* =========================================
   BENEFIT CARD
========================================= */

.benefit-card {

    min-width: 0;

    padding: 18px;

    display: flex;

    align-items: center;

    gap: 15px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-small);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

}

.benefit-card:hover {

    transform: translateY(-3px);

    border-color: rgba(63, 115, 245, 0.25);

    box-shadow: var(--shadow-medium);

}


/* =========================================
   BENEFIT ICON
========================================= */

.benefit-icon {

    width: 48px;

    height: 48px;

    flex: 0 0 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--novapay-blue-light);

    border-radius: 14px;

    font-size: 22px;

}


/* =========================================
   BENEFIT CONTENT
========================================= */

.benefit-content {

    min-width: 0;

}

.benefit-content h3 {

    color: var(--text-dark);

    font-size: 15px;

    font-weight: 700;

    line-height: 1.4;

}

.benefit-content p {

    margin-top: 4px;

    color: var(--text-gray);

    font-size: 12px;

    line-height: 1.5;

} 
/* =========================================
   PART 4 OF 7
   FINAL CALL TO ACTION
========================================= */


/* =========================================
   CTA SECTION
========================================= */

.final-cta {

    padding: 20px 0 70px;

    background: var(--white);

}


/* =========================================
   CTA BOX
========================================= */

.cta-box {

    width: 100%;

    padding: 42px 22px;

    background:
        linear-gradient(
            135deg,
            #3F73F5 0%,
            #3569E8 100%
        );

    border-radius: var(--radius-large);

    text-align: center;

    color: var(--white);

    box-shadow:
        0 20px 45px rgba(63, 115, 245, 0.18);

}


/* =========================================
   CTA LABEL
========================================= */

.cta-label {

    display: inline-block;

    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;

}


/* =========================================
   CTA HEADING
========================================= */

.cta-box h2 {

    color: var(--white);

    font-size: 28px;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -0.5px;

}


/* =========================================
   CTA DESCRIPTION
========================================= */

.cta-box p {

    max-width: 420px;

    margin: 12px auto 24px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================
   CTA BUTTON
========================================= */

.cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    background: var(--white);

    color: var(--novapay-blue);

    border-radius: 13px;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}

.cta-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.14);

} 
/* =========================================
   PART 5 OF 7
   FOOTER
========================================= */


/* =========================================
   FOOTER
========================================= */

.site-footer {

    padding: 50px 0 24px;

    background: #0F172A;

    color: var(--white);

}


/* =========================================
   FOOTER MAIN
========================================= */

.footer-main {

    display: flex;

    flex-direction: column;

}


/* =========================================
   FOOTER BRAND
========================================= */

.footer-brand {

    margin-bottom: 28px;

}

.footer-logo {

    display: inline-block;

    color: var(--white);

    font-size: 27px;

    font-weight: 800;

    letter-spacing: -0.7px;

}

.footer-logo span {

    color: #6D96FF;

}

.footer-brand p {

    margin-top: 8px;

    color: #98A2B3;

    font-size: 13px;

}


/* =========================================
   FOOTER LINKS
========================================= */

.footer-links {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px 20px;

    padding-bottom: 28px;

    border-bottom: 1px solid rgba(255,255,255,0.10);

}

.footer-links a {

    color: #D0D5DD;

    font-size: 13px;

    line-height: 1.5;

    transition: color 0.2s ease;

}

.footer-links a:hover {

    color: var(--white);

}


/* =========================================
   FOOTER CONTACT
========================================= */

.footer-contact {

    padding: 22px 0;

}

.footer-contact a {

    color: #D0D5DD;

    font-size: 13px;

    word-break: break-word;

}

.footer-contact a:hover {

    color: var(--white);

}


/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.10);

}

.footer-bottom p {

    color: #98A2B3;

    font-size: 12px;

    line-height: 1.6;

} 
/* =========================================
   PART 6 OF 7
   RESPONSIVE DESIGN
========================================= */


/* =========================================
   SMALL PHONES
   320px - 359px
========================================= */

@media (max-width: 359px) {

    .container {
        width: 92%;
    }

    .navbar {
        min-height: 66px;
    }

    .logo {
        font-size: 25px;
    }

    .menu-button {
        width: 40px;
        height: 40px;
    }

    .hero {
        padding: 44px 0 46px;
    }

    .hero-title {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .primary-button {
        width: 225px;
        min-height: 50px;
    }

    .service-card {
        min-height: 142px;
        padding: 16px 12px;
    }

    .service-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 20px;
    }

    .service-content h3 {
        font-size: 14px;
    }

    .service-content p {
        font-size: 11px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .cta-box h2 {
        font-size: 25px;
    }

}


/* =========================================
   NORMAL PHONES
   360px - 479px
========================================= */

@media (min-width: 360px) and (max-width: 479px) {

    .hero {
        padding: 52px 0 52px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        max-width: 390px;
    }

}


/* =========================================
   LARGE PHONES
   480px - 767px
========================================= */

@media (min-width: 480px) and (max-width: 767px) {

    .container {
        width: 90%;
    }

    .hero {
        padding: 68px 0 64px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .services-grid {
        gap: 18px;
    }

    .service-card {
        min-height: 165px;
        padding: 22px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   TABLETS
   768px - 1023px
========================================= */

@media (min-width: 768px) {

    .container {
        width: 88%;
    }

    .navbar {
        min-height: 80px;
    }

    .logo {
        font-size: 30px;
    }

    .menu-button {
        width: 46px;
        height: 46px;
    }

    .hero {
        padding: 82px 0 78px;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-description {
        font-size: 16px;
    }

    .services {
        padding: 76px 0 88px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .service-card {
        min-height: 175px;
        padding: 22px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .benefit-card {
        padding: 22px;
    }

    .final-cta {
        padding: 24px 0 88px;
    }

    .cta-box {
        padding: 58px 40px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =========================================
   LAPTOPS
   1024px+
========================================= */

@media (min-width: 1024px) {

    .container {
        width: 90%;
        max-width: 1180px;
    }

    .navbar {
        min-height: 84px;
    }

    .menu-button {
        width: 48px;
        height: 48px;
    }

    .hero {
        padding: 96px 0 92px;
    }

    .hero-content {
        max-width: 760px;
    }

    .hero-title {
        font-size: 68px;
        letter-spacing: -2.5px;
    }

    .hero-description {
        max-width: 620px;
        font-size: 16px;
    }

    .primary-button {
        width: 260px;
        min-height: 56px;
    }

    .services {
        padding: 90px 0 100px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .service-card {
        min-height: 185px;
        padding: 25px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 23px;
    }

    .service-content h3 {
        font-size: 16px;
    }

    .service-content p {
        font-size: 13px;
    }

    .why-novapay {
        padding: 90px 0 100px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .benefit-card {
        padding: 25px;
    }

    .benefit-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .benefit-content h3 {
        font-size: 16px;
    }

    .benefit-content p {
        font-size: 13px;
    }

    .final-cta {
        padding: 25px 0 100px;
    }

    .cta-box {
        padding: 70px 50px;
    }

    .cta-box h2 {
        font-size: 34px;
    }

    .cta-box p {
        font-size: 15px;
    }

    .site-footer {
        padding: 65px 0 28px;
    }

    .footer-main {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        column-gap: 80px;
    }

    .footer-brand {
        margin-bottom: 0;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        padding-bottom: 0;
        border-bottom: 0;
    }

    .footer-contact {
        grid-column: 1 / -1;
        padding: 35px 0 0;
        margin-top: 35px;
        border-top: 1px solid rgba(255,255,255,0.10);
    }

    .footer-bottom {
        grid-column: 1 / -1;
        margin-top: 25px;
    }

} 
/* =========================================
   PART 7 OF 7
   FINAL POLISH
========================================= */


/* =========================================
   TOUCH DEVICES
========================================= */

@media (hover: none) {

    .service-card:hover,
    .benefit-card:hover,
    .primary-button:hover,
    .cta-button:hover {

        transform: none;

    }

}


/* =========================================
   TOUCH TARGETS
========================================= */

.primary-button,
.cta-button,
.service-card,
.footer-links a,
.footer-contact a,
.login-text a {

    -webkit-tap-highlight-color: transparent;

}


/* =========================================
   FOCUS STATES
========================================= */

a:focus-visible,
button:focus-visible {

    outline: 3px solid rgba(63, 115, 245, 0.35);

    outline-offset: 3px;

}


/* =========================================
   VERY SMALL WIDTH PROTECTION
========================================= */

@media (max-width: 330px) {

    .container {

        width: 94%;

    }

    .hero-title {

        font-size: 31px;

        letter-spacing: -1px;

    }

    .hero-description {

        font-size: 13px;

    }

    .primary-button {

        width: 215px;

    }

    .services-grid {

        gap: 10px;

    }

    .service-card {

        padding: 14px 10px;

        min-height: 135px;

    }

    .service-icon {

        width: 40px;

        height: 40px;

        flex-basis: 40px;

        font-size: 19px;

        border-radius: 12px;

    }

    .service-content h3 {

        font-size: 13px;

    }

    .service-content p {

        font-size: 10px;

    }

    .service-arrow {

        right: 9px;

        bottom: 9px;

        font-size: 14px;

    }

}


/* =========================================
   PREVENT TEXT OVERFLOW
========================================= */

.hero-title,
.hero-description,
.section-heading h2,
.section-heading p,
.service-content h3,
.service-content p,
.benefit-content h3,
.benefit-content p,
.cta-box h2,
.cta-box p {

    overflow-wrap: break-word;

}


/* =========================================
   REDUCE MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;

    }

}


/* =========================================
   FINAL PAGE SAFETY
========================================= */

main {

    width: 100%;

}

section {

    width: 100%;

}

.site-footer {

    width: 100%;

}