/*
Theme Name: PayWay
Theme URI: 
Author: Sergio Rieznyk
Description: PayWay.bz theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: payway
21/07/2025
*/

@font-face {
    font-family: 'icons';
    src: url('fonts/icons.eot');
    src: url('fonts/icons.eot?#iefix') format('embedded-opentype'),
         url('fonts/icons.woff') format('woff'),
         url('fonts/icons.ttf') format('truetype'),
         url('fonts/icons.svg#icons') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class*='icon-']:before {
    display: inline-block;
    font-family: 'icons';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--color-white);
    font-size: 32px;
    transition: all 250ms;
}

[class*='icon-']:hover:before {
    color: #6188EA;
}

.icon-email:before {
    content: '\0041';
}

.icon-facebook:before {
    content: '\0042';
}

.icon-instagram:before {
    content: '\0043';
}

.icon-tik-tok:before {
    content: '\0044';
}

[id] {
    scroll-margin-top: 120px;
}


/* Variables */
:root {
    --font-main: 'Inter Tight', sans-serif;
    --font-accent: 'DynaPuff', cursive;
    --color-primary: #262626;
    --color-accent: #AAC2FF;
    --color-bg: #F2F2F2;
    --color-white: #fff;
    --color-hover: #81A2F8;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    overflow-x: hidden;
}

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

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.container {
    width: min(100% - 24px, 1170px);
    margin-inline: auto;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-accent);
    color: var(--color-primary);
}

h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2em;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
}

h3 {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
}

p {
    color: var(--color-muted);
}

/* Header */

.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    min-height: 75px;
}

.header__inner {
    position: fixed;
    padding: 14px 32px 14px 40px;
    background-color: var(--color-accent);
    border-radius: 42px;
    margin: 0 auto;
    box-shadow: -1px 54px 54px rgba(147, 147, 147, 0.09),
  -2px 13px 30px rgba(0, 0, 0, 0.10);
    z-index: 1000;
}

.header__link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

/* NAV */

.menu {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0
}

.menu-item a {
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 400;
    transition: all 250ms;
    padding: 12px 20px;
    display: block;
    border-radius: 38px;
}

.menu-item a:hover {
    color: var(--color-accent);
    background-color: var(--color-white);
}

.menu-toggle {
    display: none;
    background-color: transparent;
    border: 0;
    color: var(--text);
    font-size: 30px;
    cursor: pointer;
}

#checkbox {
    display: none;
    z-index: 100000
}

.toggle {
    position: relative;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition-duration: .5s;
    display: none;
    z-index: 1100;
}

.bars {
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 4px
}

#bar2 {
    transition-duration: .8s
}

#bar1,#bar3 {
    width: 70%
}

#checkbox:checked+.toggle .bars {
    position: absolute;
    transition-duration: .5s
}

#checkbox:checked+.toggle #bar2 {
    transform: scaleX(0);
    transition-duration: .5s
}

#checkbox:checked+.toggle #bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s
}

#checkbox:checked+.toggle #bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s
}

#checkbox:checked+.toggle {
    transition-duration: .5s;
    transform: rotate(180deg)
}

/* Hero Section */

.hero {
    margin-top: 54px;
    margin-bottom: 100px;
}

.hero__inner {
    position: relative;
    padding: 105px 0;
}

.hero__content {
    max-width: 542px;
}

.hero__title {
    font-size: 40px;
    font-family: var(--font-accent);
    text-align: left;
    margin-bottom: 24px;
    max-width: 408px;
}

.hero__text {
    font-size: 22px;
    margin-bottom: 32px;
}

.hero__media {
    position: absolute;
    top: 0;
    right: -368px;
}

.btn {
    font-family: var(--font-accent);
    font-size: 18px;
    padding: 20px 32px;
    text-decoration: none;
    color: var(--color-white);
    background: var(--color-accent);
    border-radius: 40px;
    transition: all 250ms;
    display: inline-block;
    outline: none;
    border: none;
}

.btn:hover {
    background-color: var(--color-hover);
    cursor: pointer;
}

.waitlist-form__submit {
    padding: 20px 48px;
    margin: 0 auto;
    display: block;
    border: none !important;
    display: inline-block !important;
    max-width: 240px;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* How It Works Section */

.how {
    margin-bottom: 100px;
}

.how__inner {
    background: var(--color-white);
    border-radius: 42px;
    padding: 60px 50px;
    padding-bottom: 0;
    box-shadow: -1px 54px 54px rgba(147, 147, 147, 0.09),
  -2px 13px 30px rgba(0, 0, 0, 0.10);
}

.how__inner h2 {
    margin-bottom: 0;
}

.how-step__text {
    font-size: 20px;
    line-height: 1.4em;
}

.how__slider {
    position: relative;
    overflow: hidden;
}

.how-step__inner.card {
    display: flex;
    justify-content: space-between;
    gap: 54px;
    padding: 60px 100px;
    padding-bottom: 80px;
}

.how-step__content {
    margin-top: 36px;
    max-width: 530px;
}

.how-step__media {
    position: relative;
    display: inline-block;
}

.how-step__media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    box-shadow: -1px 54px 54px rgba(147, 147, 147, 0.09),
    -2px 13px 30px rgba(0, 0, 0, 0.10);
    pointer-events: none;
    z-index: -1;
}

.how-step__media img {
    display: block;
    width: 288px;
    height: 288px;
    border-radius: 32px;
    border: 3px solid #DAE3FA;
    position: relative;
    z-index: 1;
}

.slider__track-wrapper {
    overflow: hidden;
    position: relative;
}

.slider__track {
    display: flex;
    transition: transform 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
    touch-action: pan-y;
    will-change: transform;
}

.slider__slide {
    flex: 0 0 100%;
    max-width: 100%;
}

.slider__dots {
    display: flex;
    justify-content: center;
    gap: 16px;
  /*margin-top: 16px;*/
    position: absolute;
    bottom: 116px;
    margin-left: 100px;
}

.slider__dot {
    width: 12px;
    height: 12px;
    background-color: #D9D9D9;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.slider__dot--active {
    background-color: var(--color-accent);
}


/* Testimonials Section */

.testimonials {
    margin-bottom: 100px;
}

.testimonials__title {
    margin-bottom: 24px;
}

.testimonials__subtitle {
    font-size: 20px;
    line-height: 1.4em;
    text-align: center;
    max-width: 660px;
    margin-inline: auto;
}

.slider {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}

.slick-list {
    overflow: visible;
}


/* Waitlist */

.waitlist {
    margin-bottom: 100px;
}

.waitlist__inner,
.common-inner {
    background: var(--color-white);
    border-radius: 42px;
    padding: 80px 50px;
    box-shadow: -1px 54px 54px rgba(147, 147, 147, 0.09),
  -2px 13px 30px rgba(0, 0, 0, 0.10);
}

.waitlist__inner .testimonials__subtitle {
    margin-bottom: 32px;
}

.waitlist input {
    border-radius: 40px;
    border: 1px #929292 solid;
    padding: 20px 24px;
    width: 100%;
    font-size: 16px;
    margin-bottom: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.waitlist input:focus {
    border: 2px solid var(--color-accent);
}

.field-wrap {
    display: flex;
    gap: 16px;
}

.form-wrap {
    max-width: 546px;
    margin: 0 auto;
}

/* COMMOM PAGE */

.common {
    margin-top: 54px;
    margin-bottom: 100px;
    text-align: left;
}

.common-inner h1, .common-inner h2 {
    margin-bottom: 24px;
    text-align: left;
}

.common-inner p {
    font-size: 18px;
    line-height: 1.6em;
}

.common-inner p:not(last-child) {
    margin-bottom: 16px;
}

.footer__made {
    text-align: center;
}


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

@media (max-width: 768px) {
    .h1 {
        font-size: 40px;
    }

    .h2 {
        font-size: 28px;
    }

    .hero {
        padding: 48px 0;
    }

    .how__item,
  .testimonials__item {
        min-width: 80%;
    }
}

/* Footer */
.footer {
    padding: 48px 0;
    font-size: 14px;
    background: linear-gradient(0deg, #AAC2FF 0%, #80A2F8 100%);
    color: white;
}

.footer__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__brand img {
    margin-bottom: 14px;
}

.footer__made {
    font-size: 20px;
}

.footer__socials {
    display: flex;
    gap: 24px;
}

.footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer__link {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
}

.footer__link:hover {
    text-decoration: none;
}

.footer__copy {
    font-size: 16px;
}

.whatsapp-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
}

/* TESTIMONIALS SLIDER */

.slider-container {
    width: 100%;
    position: relative;
    padding: 60px 0;
    padding-top: 100px;
    overflow: hidden;
}

.slider-wrapper {
    width: 100%;
    position: relative;
}

.feedback-slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
    gap: 40px;
    touch-action: pan-x;
    user-select: none;
}

.slide {
    box-sizing: border-box;
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial {
    width: 580px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
              /*scroll-snap-align: center;*/
    border-radius: 42px;
    padding: 105px 40px 32px 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    position: relative;
    background-color: var(--color-white);
    background-image: url('images/quote-blue.svg');
    background-repeat: no-repeat;
    background-position: 28px 28px;
    background-size: 66px 44px;
    transition: all 250ms;
    min-height: 305px;
}

.testimonial__avatar {
    position: absolute;
    top: -49px;
    left: calc( 50% - 44px );
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: -1px 54px 54px rgba(147, 147, 147, 0.09),
                -2px 13px 30px rgba(0, 0, 0, 0.10);
    overflow: hidden;
}

.testimonial__quote {
    font-size: 18px;
    line-height: 1.45em;
    text-align: center;
}

.testimonial__author {
    font-family: var(--font-accent);
    font-size: 24px;
    text-align: center;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 4px;
}

.testimonial__meta {
    font-size: 14px;
    font-weight: 500;
}

.slider-pagination {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #D9D9D9;
    cursor: pointer;
    transition: all 0.8s ease;
    border: none;
    padding: 0;
}

.pagination-dot.active {
    background-color: #a9b9ff;
    transform: scale(1.2);
}

.active-slide .testimonial {
    background-color: var(--color-accent);
    background-image: url('images/quote.svg');
    box-shadow: none;
}

.active-slide .testimonial__author {
    color: var(--color-white);
}

.body-no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.intl-tel-input .selected-flag {
    height: 52px !important;
    padding: 0 !important;
    padding-left: 16px !important;
    margin-top: 4px !important;
    margin-right: 8px !important;
}

.intl-tel-input.allow-dropdown .selected-flag, .intl-tel-input.separate-dial-code .selected-flag {
    width: 55px !important;
}

.intl-tel-input.allow-dropdown input, .intl-tel-input.allow-dropdown input[type=tel] {
    width: 265px !important;
}

.intl-tel-input.allow-dropdown .flag-container:hover .selected-flag{
    background: none !important;
}

.wpcf7-response-output {
    margin-top: 24px;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    animation: fadeIn 0.5s ease-in-out;
}

.wpcf7-mail-sent-ok {
    background-color: #e1fbe7;
    border: 1px solid #38a169;
    color: #276749;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background-color: #fde8e8;
    border: 1px solid #e53e3e;
    color: #742a2a;
}

.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: red;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 24px;
    border: 2px solid #00a0d2;
    border-radius: 42px;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-success-message {
    background-color: var(--color-accent);
    border-radius: 42px;
    padding: 40px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.form-success-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--color-white);
}

.form-success-message p {
    font-size: 20px;
    color: var(--color-white);
}

.wpcf7 form.sent .wpcf7-response-output {
    display: none;
}

input[type="url"], 
.wpcf7 input[type="email"], 
.wpcf7 input[type="tel"] {
    width: 100% !important;
}

@media (max-width: 768px) {

    .menu {
        display: none;
        flex-direction: column;
        background-color: var(--color-accent);
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        gap: 32px;
        width: 100vw;
        height: 100vh;
        padding: 20px 20px;
        z-index: 1000;
        overflow: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    #checkbox:checked + .toggle + .menu {
        display: flex;
        transform: translateX(0);
    }

    .toggle {
        display: flex;
    }

    .menu-item a {
        font-size: 22px;
    }

    .header {
        margin-top: 16px;
    }

    .hero__media {
        position: relative;
        top: 0;
        left: 0;
        margin-top: 32px;
    }

    .hero__content {
        text-align: center;
    }

    .hero__inner {
        padding: 0;
        margin: 0;
        width: 100% !important;
    }

    .hero {
        padding: 0 20px;
        margin: 0;
        margin-top: 32px;
        margin-bottom: 48px;
    }

    .hero__image img {
        width: 100%;
        height: auto;
        scale: 1.2;
    }

    .hero__title {
        text-align: center;
        font-size: 28px;
    }

    .hero__text {
        font-size: 20px;
        text-align: center;
        margin-bottom: 24px;
    }

    .hero__cta {
        margin: 0 auto;
    }

    .how-step__inner.card {
        flex-direction: column;
    }

    .how__inner.container {
        padding: 32px 20px;
        padding-bottom: 0;
    }

    .how-step__inner.card {
        padding: 0;
        padding-bottom: 80px;
    }

    .footer__wrap {
        flex-direction: column;
        gap: 24px;
    }

    .field-wrap {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .waitlist,
    .how,
    .testimonials {
        margin-bottom: 48px;
        border-radius: 24px;
    }

    h2 {
        font-size: 22px;
        text-align: center;
    }

    h3 {
        margin-bottom: 16px;
    }

    .how-step__heading,
    .testimonials__subtitle {
        font-size: 18px;
        text-align: center;
    }

    .how-step__text {
        font-size: 16px;
        text-align: center;
    }

    .slider__dots {
        bottom: 38px;
        margin-left: 0;
        left: calc( 50% - 62px );
    }

    .how-step__media::after {
        box-shadow: none;
    }

    .how-step__inner.card {
        gap: 24px;
        align-items: center;
        justify-content: center;
    }

    .how-step__content {
        margin-top: 16px;
    }

    .author-wrap {
        margin-top: 16px;
    }

    .testimonial {
        width: 360px;
    }

    .slider-container {
        padding-top: 80px;
    }

    .waitlist__inner {
        padding: 32px 20px;
    }

    .testimonials__title {
        margin-bottom: 16px;
    }

    .container {
        width: calc( 100% - 40px );
    }

    .footer {
        padding-bottom: 100px;
    }

    .hero__content, .hero__title {
        max-width: 100%;
    }

    .intl-tel-input.allow-dropdown input, 
    .intl-tel-input.allow-dropdown input[type=tel] {
        width: 100% !important;
        margin-bottom: 16px !important;
    }

    .footer__legal {
        flex-direction: row;
        gap: 32px;
    }
}