* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: Arial, sans-serif;
    color: #222;
    line-height: 1.7;

    background-image:
        linear-gradient(rgba(10, 12, 24, 0.78),
            rgba(10, 12, 24, 0.78)),
        url("./images/background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* HEADER */

.header {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;

    padding: 28px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;

    font-size: 20px;
    font-weight: 700;

    letter-spacing: 1px;

    text-decoration: none;

    transition: 0.2s;
}

.logo:hover {
    opacity: 0.85;
}

.nav {
    display: flex;
    align-items: center;

    gap: 40px;
}

.nav a {
    text-decoration: none;

    color: rgba(255, 255, 255, 0.8);

    font-size: 16px;
    
    font-weight: 700;

    transition: 0.2s;
}

.nav a:hover {
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch a {
    text-decoration: none;
    color: rgba(255,255,255,.5);
}

.lang-switch a.active {
    color: white;
    font-weight: 700;
}

.lang-switch span {
    color: rgba(255,255,255,.3);
}

/* HERO */

.hero {
    width: 100%;
    max-width: 1250px;

    margin: 30px auto 50px;

    padding: 0 20px;
}

.hero-content {
    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(10px);

    border-radius: 24px;

    padding: 110px 70px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.1;

    margin-bottom: 30px;

    max-width: 850px;
}

.hero-description {
    max-width: 820px;

    font-size: 18px;
    color: #555;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 40px;

    background: #2d368f;
    color: white;

    text-decoration: none;

    padding: 18px 38px;

    border-radius: 14px;

    font-size: 16px;
    font-weight: 500;

    transition: 0.2s;
}

.hero-button:hover {
    transform: translateY(-2px);

    background: #3945ad;
}

/* SECOND BUTTON */

.secondary-button {
    margin-left: 16px;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.25);

    color: #2d368f;
}

.secondary-button:hover {
    background: rgba(45, 54, 143, 0.08);
}

/* MODAL */

.modal {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 999;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 700px;

    background: white;

    border-radius: 24px;

    padding: 55px 55px 45px;

    position: relative;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);

    text-align: center;
}

.modal-content h2 {
    font-size: 42px;

    margin-bottom: 40px;
}

.modal-content p {
    margin-bottom: 24px;

    color: #555;

    font-size: 17px;

    line-height: 1.9;

    text-align: left;
}

.modal-close {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: #f2f2f2;

    cursor: pointer;

    font-size: 26px;

    transition: 0.2s;
}

.modal-close:hover {
    background: #e7e7e7;
}

/* WEBPAY INLINE LINK */

.webpay-inline {
    color: #2d368f !important;

    text-decoration: none !important;

    font-weight: 600;

    transition: 0.2s;
}

.webpay-inline:hover {
    color: #3945ad !important;

    text-decoration: none !important;
}

/* CARDS */

.cards-section {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto 40px;

    padding: 0 20px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(10px);

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.card h2 {
    margin-bottom: 24px;

    font-size: 30px;
    line-height: 1.2;
}

.card p {
    margin-bottom: 16px;

    color: #555;

    font-size: 16px;

    max-width: 320px;
}

.card p:last-child {
    margin-bottom: 0;
}

/* FOOTER */

.footer {
    width: 100%;

    margin-top: 90px;

    background: rgba(5, 8, 18, 0.72);

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;

    padding: 60px 20px 45px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 50px;
}

.footer-column h3 {
    color: white;

    font-size: 28px;
    font-weight: 600;

    margin-bottom: 24px;
}

.footer-column a,
.footer-column p {
    display: block;

    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;

    margin-bottom: 14px;

    font-size: 16px;

    line-height: 1.7;

    transition: 0.2s;
}

.footer-column a:hover {
    color: white;
}

/* CONTACT ITEMS */

.contact-item {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 16px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 16px;
}

.contact-item i {
    width: 20px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 18px;
}

/* SOCIALS */

.socials {
    display: flex;
    flex-direction: row;

    align-items: center;

    gap: 14px;

    margin-top: 18px;
}

.socials a {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    color: white;

    font-size: 24px;

    transition: 0.2s;
}

.socials a:hover {
    transform: translateY(-4px) scale(1.05);
}

.telegram {
    background: #229ED9;
}

.whatsapp {
    background: #25D366;
}

.viber {
    background: #7360F2;
}

.vk {
    background: #0077FF;
}

.facebook {
    background: #1877F2;
}

/* PAYMENT STRIP */

.payment-strip {
    width: 100%;

    padding: 30px 20px 45px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-strip img {
    width: 100%;
    max-width: 720px;

    opacity: 0.92;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    margin-top: 40px;
}

.hero-button,
.secondary-button {
    width: 240px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    border-radius: 14px;

    font-size: 16px;
    font-weight: 500;
}

/* MOBILE */

@media (max-width: 950px) {

    .hero-content {
        padding: 70px 40px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .cards-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 650px) {

    .header {
        flex-direction: column;

        gap: 20px;
    }

    .nav {
        gap: 18px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .hero-content {
        padding: 60px 28px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 20px;

        margin-top: 40px;
    }

    .hero-button {
        width: 100%;
    }

    .card {
        padding: 30px 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-column h3 {
        font-size: 24px;
    }

    .socials {
        justify-content: flex-start;
    }

}

/* REFUND PAGE */

.refund-text {
    max-width: 850px;

    margin-top: 15px;

    text-align: center;
}

.refund-text p {
    margin-bottom: 28px;

    color: #555;

    font-size: 18px;

    line-height: 1.9;
}

.refund-text p:last-child {
    margin-bottom: 0;
}

/* PAYMENT PAGE */

.payment-page {
    max-width: 900px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.payment-card {
    background: rgba(255, 255, 255, 0.92);

    border-radius: 24px;

    padding: 50px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.payment-card h1 {
    text-align: center;

    margin-bottom: 35px;

    font-size: 48px;
}

.merchant-info {
    text-align: center;

    margin-bottom: 40px;
}

.merchant-info h3 {
    margin-bottom: 12px;
}

.merchant-info p {
    color: #555;

    margin-bottom: 8px;
}

.payment-form {
    display: flex;

    flex-direction: column;

    gap: 25px;
}

.payment-row {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 20px;
}

.field {
    display: flex;

    flex-direction: column;
}

.field label {
    margin-bottom: 10px;

    font-size: 14px;

    text-transform: uppercase;

    color: #777;
}

.field input {
    height: 56px;

    border: 1px solid #ddd;

    border-radius: 12px;

    padding: 0 18px;

    font-size: 16px;
}

.field input:focus {
    outline: none;

    border-color: #2d368f;
}

.payment-buttons {
    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 10px;
}

.primary-button,
.secondary-button {
    border: none;

    cursor: pointer;

    border-radius: 12px;

    padding: 16px 28px;

    font-size: 15px;

    transition: 0.2s;
}

.primary-button {
    background: #2d368f;

    color: white;
}

.primary-button:hover {
    background: #3945ad;
}

.secondary-button {
    background: #ececf4;

    color: #2d368f;
}

.secondary-button:hover {
    background: #e1e1ef;
}

.payment-note {
    text-align: center;

    color: #666;

    margin-top: 10px;

    font-size: 14px;
}

@media (max-width: 768px) {

    .payment-row {
        grid-template-columns: 1fr;
    }

    .payment-buttons {
        flex-direction: column;
    }

}