@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap');

body {
    background: linear-gradient(90deg, #373737 0%, #2d2d2d 50%, #1a1a1a 100%);
    margin: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: white;
}
.content {
    display: grid;
    gap: 20px;
    max-width: 900px;
    width: 90%;
    margin: 20px auto;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    color: #ccc;
    user-select: none;
}
.header {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.logo_link {
    margin-right: auto;
}
.logo {
    display: flex;
    align-items: center;
}

.logo_1 {
    font-size: 2rem;
    font-family: 'Roboto', monospace;
    font-weight: lighter;
}

.logo_2 {
    font-size: 2rem;
    font-family: 'Roboto', monospace;
    color: #7FFFD4;
}
.nav_block {
    display: flex;
    gap: 30px;
    order: 0;
    flex: 1;
    justify-content: center;
}
.nav_block_button {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.1rem;
    padding: 8px 4px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.nav_block_button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #7FFFD4;
    transition: width 0.3s, left 0.3s;
}

.nav_block_button:hover {
    color: #fff;
}

.nav_block_button:hover::after {
    width: 100%;
    left: 0;
}
.login_icon {
    width: 36px;
    height: 36px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    order: 1;
}
.login_icon svg {
    width: 36px;
    height: 36px;
}
.login_icon:hover {
    transform: scale(1.1);
}
.lang_select {
    order: 2;
    height: 36px;
    padding: 0 5px;
    text-align: center;
    border-radius: 5px;
    background-color: #333;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.lang_select:hover {
    background-color: #444;
}
@media (max-width: 740px) {
    .header {
        justify-content: flex-end;
    }
    .logo_link {
        margin-right: auto;
    }
    .nav_block {
        order: 3;
        flex: 0 0 100%;
        gap: 5px;
        justify-content: space-between;
    }
    .nav_block_button {
        background: rgba(255, 255, 255, 0.05);
        border: none;
        color: #aaa;
        font-size: 0.8rem;
        padding: 8px 10px;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .nav_block_button:hover {
        background: rgba(127, 255, 212, 0.15);
        color: #7FFFD4;
    }
    .nav_block_button:hover::after {
        width: 0;
        left: 0;
    }
}
.main_block {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 20px auto;
    gap: 20px;
    color: #fff;
}
.main_text {
    padding: 10px;
    font-size: clamp(1rem, 3vw, 1.7rem);

    font-family: 'Inter', sans-serif;
    font-weight: 200;
    color: #fff;
    z-index: 1;
}
.main_text h1 {
    font-weight: 300;
}
.main_background {
    position: absolute;
    bottom: 0;
    right: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    font-family: 'Courier New', monospace;
    font-size: clamp(0.5rem, 1vw, 0.8rem);
    color: #7FFFD4;
    pointer-events: none;
    user-select: none;
}

.features_block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 425px) {
    .features_block {
        grid-template-columns: 1fr;
    }
}
.feature_card {
    border: 1px solid rgba(127, 255, 212, 0.15);
    border-radius: 8px;
    padding: 30px 25px;
    background: rgba(255, 255, 255, 0.03);
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.feature_icon {
    width: 36px;
    height: 36px;
    margin-bottom: 15px;
}
.feature_title {
    font-size: 1.15rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 8px 0;
}
.feature_text {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
    line-height: 1.5;
}

.price_block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.price_title_block {
    margin: 20px auto;
    text-align: center;
}
.price_title_block h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, #7FFFD4, #4dd9a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price_parameter_block {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: auto;
    max-width: 800px;
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
    border: 1px solid #444;
    border-radius: 25px;
    padding: 5px 10px 5px 15px;
}
.price_parameter_title {
    width: 100%;
    font-size: 0.9rem;
}
.price_parameter_price {
    display: flex;
    justify-content: center;
    border-left: 1px solid #444;
    border-right: 1px solid #444;
    padding: 7px 10px;
}
.price_parameter_description {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: auto;
    width: 85%;
    max-width: 720px;
}
.price_parameter_description_list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.total_price {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 30px auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #444;
    padding: 20px 10px;
}
.price_terms_block {
    margin: 50px auto;
    max-width: 800px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.price_terms_title {
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
    font-size: 1rem;
    border-bottom: 1px solid #444;
    padding: 5px;
}
.statement_block {
    width: 90%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.price_terms_list {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    font-size: 0.8rem;
    margin-left: 20px;
}
.price_terms_note {
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-left: 20px;
    font-size: 0.7rem;
    color: #888;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    min-width: 44px;
    height: 24px;
    user-select: none;
}
.total_price_label {
    font-size: 1.5rem;
    color: #5FFFC7;
}
.total_price_value{
    font-size: 1.6rem;
}
.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle_slider {
    position: absolute;
    inset: 0;
    background: #444;
    border-radius: 24px;
    transition: background 0.3s;
    cursor: pointer;
}

.toggle_slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

input:checked + .toggle_slider {
    background: #7FFFD4;
}

input:checked + .toggle_slider::before {
    transform: translateX(20px);
}

input:disabled + .toggle_slider {
    opacity: 0.6;
    cursor: not-allowed;
    background: gray;
}
.contact_block {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: row;
    width: 90%;
    margin: 20px auto;
    align-items: center;
    text-align: center;
    border: 1px solid #444;
    border-radius: 25px;
    height: 50px;
}
.contact_left {
    width: 120px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    border-right: 1px solid #444;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
}
.contact_right {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
@media (max-width: 425px) {
    .contact_right {
        font-size: 0.8rem;
    }
    .contact_left {
        font-size: 0.7rem;
        gap: 5px;
    }
}
.email_svg {
    width: 25px;
    height: 25px;
    fill: #bebebe;
}
.tg_svg {
    width: 18px;
    height: 25px;
    fill: #1aebff;
}
.footer {
    margin: 150px auto 20px auto;
    width: 90%;
}
.footer a {
    color: #6a6a6a;
    font-size: 0.8rem;
}
@media (max-width: 425px) {
    .footer {
        margin: 80px auto 10px auto;
    }
}
.hidden {
    display: none;
}
.price_parameter_block.visible,
.price_parameter_description.visible,
.total_price.visible,
.contact_block.visible,
.feature_card.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2d2d2d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.page-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-size: 3rem;
    font-family: 'Roboto', monospace;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-logo-part1 {
    color: white;
    font-weight: lighter;
}

.preloader-logo-part2 {
    color: #7FFFD4;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.preloader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.preloader-dots .dot {
    width: 8px;
    height: 8px;
    background: #7FFFD4;
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.preloader-dots .dot:nth-child(1) { animation-delay: 0s; }
.preloader-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.preloader-dots .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .preloader-logo {
        font-size: 2rem;
    }
}