/* =========================
   Yalty Homepage
========================= */


.home-hero {

    min-height: 850px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(245,178,27,.35),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #3048a3,
            #774ba8,
            #d05ba5
        );

    color: white;

    overflow: hidden;

}


/* NAV */


.home-nav {

    width: min(1200px, calc(100% - 60px));

    margin: 0 auto;

    height: 120px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.home-logo img {

    height: 65px;

    display: block;

}


.home-nav-links {

    display: flex;

    gap: 32px;

}


.home-nav-links a {

    position: relative;

    color: rgba(255,255,255,.85);

    text-decoration: none;

    font-weight: 700;

    padding: 8px 0;

    transition: color .2s ease;

}


.home-nav-links a::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 4px;

    background: #f5b21b;

    border-radius: 999px;

    transform:
        translateX(-50%)
        rotate(-3deg);

    transition: width .25s ease;

}


.home-nav-links a:hover {

    color: white;

}


.home-nav-links a:hover::after {

    width: 80%;

}


.home-nav-actions {

    display: flex;

    align-items: center;

    gap: 18px;

    flex-shrink: 0;

}


.nav-signin {

    color: white;

    text-decoration: none;

}


.nav-cta {

    padding: 13px 24px;

    border-radius: 999px;

    background: white;

    color: #3048a3;

    text-decoration: none;

    font-weight: 800;

    white-space: nowrap;

}

.home-menu-toggle {
    display: none;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: white;
    flex-shrink: 0;
}

.home-mobile-menu {

    display: none;
    width: min(1200px, calc(100% - 60px));
    margin: 20px auto 0;
    padding: 0 0 60px;

}

.home-mobile-menu.is-open {
    display: grid;
    gap: 20px;
}

.home-mobile-menu a {

    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;

}

/* Sign in */


.nav-signin {

    position: relative;

    color: white;

    text-decoration: none;

    font-weight: 700;

    padding: 8px 0;

}


.nav-signin::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: white;

    border-radius: 999px;

    transition: width .25s ease;

}


.nav-signin:hover::after {

    width: 100%;

}



/* Main CTA */


.nav-cta {

    display: inline-flex;

    align-items: center;

    justify-content: center;


    padding: 13px 24px;


    border-radius: 999px;


    background: white;

    color: #3048a3;


    text-decoration: none;

    font-weight: 800;


    white-space: nowrap;


    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;

}


.nav-cta:hover {

    background: #f5b21b;

    color: #1c1c28;


    transform: translateY(-2px);


    box-shadow:
        0 12px 30px rgba(245,178,27,.35);

}


/* HERO */


.hero-inner {

    width: min(1200px, calc(100% - 60px));

    margin: 0 auto;


    display: grid;

    grid-template-columns: 1fr 1.1fr;

    align-items: center;

    gap: 50px;


    padding-top: 70px;

}


.eyebrow {

    display: inline-flex;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(255,255,255,.16);


    font-weight: 700;

    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: .08em;

}


.hero-copy h1 {

    font-size: 72px;

    line-height: .95;

    letter-spacing: -.06em;

    margin: 0;

}


.hero-copy h1 span {

    color: #f5b21b;

}


.hero-copy p {

    max-width: 520px;

    margin: 28px 0;

    font-size: 21px;

    line-height: 1.5;

    color: rgba(255,255,255,.82);

}


.hero-visual {
    background: radial-gradient(
        circle,
        rgba(255,255,255,.4),
        transparent 65%
    );
}

.hero-visual img {

    width: 115%;

}


/* AUTH */


.auth-buttons {

    display: flex;

    gap: 14px;

}


.auth-button {

    height: 54px;

    padding: 0 22px;


    display: inline-flex;

    align-items: center;

    gap: 10px;


    background: white;

    color: #1c1c28;


    border-radius: 999px;


    text-decoration: none;

    font-weight: 800;

}

.auth-icon {

    width: 22px;

    height: 22px;

    object-fit: contain;

    flex-shrink: 0;

}


.wallet-note {

    margin-top: 22px;


    display: flex;

    gap: 10px;

    align-items: center;


    color: rgba(255,255,255,.75);

}


/* FEATURES */


.feature-strip {

    width: min(1100px, calc(100% - 60px));

    margin: -80px auto 120px;


    display: grid;

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

    gap: 22px;

}


.feature-item {

    display: flex;

    gap: 18px;


    padding: 26px;


    background: white;

    border-radius: 28px;


    box-shadow:
        0 25px 60px rgba(50,40,90,.15);

}


.feature-icon {

    width: 58px;

    height: 58px;


    flex: none;


    display: grid;

    place-items: center;


    border-radius: 18px;


    background:
        linear-gradient(
            135deg,
            #3048a3,
            #d05ba5
        );


    color: white;

}


/* BUSINESS */


.business-section {

    width: min(1200px, calc(100% - 60px));

    margin: 0 auto 120px;


    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 60px;

    align-items: center;


    position: relative;

}


.business-visual img {

    width: 100%;

}


.section-label {

    color: #d05ba5;

    font-weight: 800;

    margin-bottom: 16px;
    text-transform: uppercase;

}


.business-copy h2,
.wallet-section h2,
.final-cta h2 {

    font-size: 48px;

    line-height: 1;

    letter-spacing: -.04em;

    margin: 0 0 20px;

}

.wallet-section h2 span {
    color: #d05ba5;
}

.business-copy h2 span {

    color: #d05ba5;

}


.check-grid {

    display: grid;

    gap: 16px;

    margin-top: 30px;

}


.check-grid div {

    display: flex;

    gap: 10px;

    align-items: center;


    font-weight: 700;

}


/* QR DEMO */


.demo-card {

    margin-top: 40px;

    display: grid;
    grid-template-columns: 120px 70px 1fr;

    align-items: center;

    gap: 20px;

    padding: 22px;

    background: white;

    border-radius: 28px;

    box-shadow:
        0 25px 60px rgba(50,40,90,.15);

}


.demo-card > img:first-child {

    width: 120px;

}


.demo-arrow {

    width: 70px;

}


.demo-text h3 {

    margin: 0 0 8px;

    font-size: 26px;

}


.demo-text p {

    margin: 0;

    color: #77758a;

}


/* WALLET */

.wallet-buttons {

    display: flex;

    gap: 18px;

    align-items: center;

}


.wallet-badge img {

    height: 52px;

    width: auto;

    display: block;

}


.wallet-section {

    width: min(1100px, calc(100% - 60px));

    margin: 0 auto 120px;


    display: grid;

    grid-template-columns: .8fr 1fr;

    gap: 60px;


    align-items: center;

}


.wallet-pass {

    height: 90px;


    display: flex;

    align-items: center;

    gap: 18px;


    padding: 0 30px;


    border-radius: 24px;


    margin-bottom: 18px;


    font-weight: 800;

}


.wallet-pass.dark {

    background: #1c1c28;

    color: white;

}


.wallet-pass.light {

    background: #f5f5fa;

}


/* CTA */


.final-cta {

    width: min(1100px, calc(100% - 60px));

    margin: 0 auto 80px;


    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;


    padding: 50px;


    border-radius: 36px;


    background:
        linear-gradient(
            135deg,
            #3048a3,
            #d05ba5
        );


    color: white;
    flex-wrap: nowrap;

}


.cta-icon {

    width: 72px;
    height: 72px;

    min-width: 72px;

    display: grid;
    place-items: center;

    background: rgba(255,255,255,.2);

    border-radius: 50%;

    color: white;

}

.cta-icon svg {

    width: 34px;
    height: 34px;

}


.cta-button {

    padding: 18px 32px;

    min-width: 360px;


    display: inline-flex;

    align-items: center;

    justify-content: center;


    background: #f5b21b;


    border-radius: 999px;


    color: #1c1c28;

    text-decoration: none;

    font-weight: 900;


    white-space: nowrap;


    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;

}


.cta-button:hover {

    background: white;

    color: #3048a3;


    transform: translateY(-3px);


    box-shadow:
        0 18px 40px rgba(0,0,0,.18);

}

/* FOOTER */


.site-footer {

    margin-top: 120px;

    padding: 70px 0 30px;


    background:
        linear-gradient(
            135deg,
            #3048a3,
            #774ba8,
            #d05ba5
        );


    color: white;

}


.footer-inner {

    width: min(1200px, calc(100% - 60px));

    margin: 0 auto;


    display: grid;

    grid-template-columns: 1fr 1.4fr;

    gap: 80px;

}


.footer-brand img {

    height: 65px;

}


.footer-brand p {

    max-width: 300px;

    margin-top: 24px;


    font-size: 20px;

    line-height: 1.4;


    color: rgba(255,255,255,.75);

}


.footer-links {

    display: grid;

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

    gap: 50px;

}


.footer-links h4 {

    margin: 0 0 20px;


    color: #f5b21b;


    font-size: 16px;

    text-transform: uppercase;

    letter-spacing: .08em;

}


.footer-links a {

    display: block;

    margin-bottom: 14px;


    color: rgba(255,255,255,.75);

    text-decoration: none;

    font-weight: 600;

}


.footer-links a:hover {

    color: white;

}


.footer-bottom {

    width: min(1200px, calc(100% - 60px));

    margin: 60px auto 0;

    padding-top: 30px;


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


    display: flex;

    justify-content: space-between;


    color: rgba(255,255,255,.65);

}


.footer-bottom a {

    color: rgba(255,255,255,.65);

    margin-left: 24px;

    text-decoration: none;

}


.footer-bottom a:hover {

    color: white;

}

.cta-short {
    display: none;
}

/* =========================
   Responsive
========================= */

@media (max-width: 430px) {
    .cta-full {
        display: none;
    }

    .cta-short {
        display: inline;
    }
}

@media (max-width: 1100px) {

    .home-nav-links {
        display: none;
    }

    .hero-inner,
    .business-section,
    .wallet-section {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .auth-buttons,
    .wallet-note {
        justify-content: center;
    }

    .hero-visual img {
        width: 100%;
    }

    .feature-strip {
        grid-template-columns: 1fr;
        margin-top: -50px;
    }

    .business-copy {
        text-align: center;
    }

    .check-grid div {
        justify-content: center;
    }

    .wallet-section {
        text-align: center;
    }

    .wallet-buttons {
        justify-content: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 1100px) {

    .home-nav-links,
    .nav-signin {
        display: none;
    }

    .home-menu-toggle {
        display: grid;
        place-items: center;
    }

    .home-nav-actions {
        display: flex;
        margin-left: auto;
    }

}


@media (max-width: 760px) {

    .home-hero {
        min-height: auto;
        padding-bottom: 70px;
    }

    .home-nav {
        width: min(100% - 28px, 1200px);
        height: auto;
        padding: 24px 0;
        gap: 18px;
    }

    .home-logo img {
        height: 54px;
    }

    .home-nav-actions {
        gap: 12px;
    }

    .nav-signin {
        display: none;
    }

    .nav-cta {
        padding: 11px 16px;
        font-size: 14px;
    }

    .hero-inner {
        width: min(100% - 28px, 1200px);
        gap: 34px;
        padding-top: 35px;
    }

    .eyebrow {
        font-size: 12px;
        padding: 9px 14px;
    }

    .hero-copy h1 {
        font-size: clamp(44px, 12vw, 58px);
    }

    .hero-copy p {
        font-size: 18px;
    }

    .auth-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-button {
        justify-content: center;
        width: 100%;
    }

    .wallet-note {
        align-items: flex-start;
        font-size: 14px;
    }

    .feature-strip,
    .business-section,
    .wallet-section,
    .final-cta,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 28px, 1200px);
    }

    .feature-strip {
        margin-bottom: 80px;
    }

    .feature-item {
        padding: 22px;
    }

    .business-section {
        margin-bottom: 80px;
        gap: 34px;
    }

    .business-copy h2,
    .wallet-section h2,
    .final-cta h2 {
        font-size: clamp(34px, 9vw, 44px);
    }

    .demo-card {
        grid-template-columns: 100px 1fr;
        text-align: left;
    }

    .demo-card > img:first-child {
        width: 100px;
    }

    .demo-arrow {
        display: none;
    }

    .demo-text h3 {
        font-size: 22px;
    }

    .wallet-section {
        margin-bottom: 80px;
        gap: 34px;
    }

    .wallet-buttons {
        flex-direction: column;
    }

    .wallet-badge img {
        height: 48px;
    }

    .final-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 34px;
        margin-bottom: 60px;
    }

    .cta-button {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .site-footer {
        margin-top: 80px;
        padding-top: 50px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 18px;
    }

    .footer-bottom a {
        display: inline-block;
        margin: 0 18px 10px 0;
    }
}

@media (max-width: 760px) {

    .home-nav {
        display: grid;
        grid-template-columns: 1fr auto;
        row-gap: 18px;
    }

    .home-logo {
        grid-column: 1 / 2;
    }

    .home-menu-toggle {
        grid-column: 2 / 3;
        grid-row: 1;
    }

    .home-nav-actions {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .nav-cta {
        width: 100%;
    }

}

@media (max-width: 430px) {

    .home-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-nav-actions {
        width: 100%;
    }

    .nav-cta {
        width: 100%;
    }

    .hero-copy {
        text-align: left;
    }

    .auth-buttons,
    .wallet-note {
        justify-content: flex-start;
    }

    .hero-copy p {
        margin-left: 0;
        margin-right: 0;
    }

    .feature-item {
        flex-direction: column;
    }

    .business-copy {
        text-align: left;
    }

    .check-grid div {
        justify-content: flex-start;
    }

    .wallet-section {
        text-align: left;
    }

    .wallet-buttons {
        align-items: flex-start;
    }
}