body {
    font-family: "Montserrat", sans-serif;
    color: #333;
    background: #ffffff;
    font-weight: 400; 
    font-style: normal;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;

    --color-bg: #ffffff; 
    --color-text: #333333;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    padding: 4px 12px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none; /* Изначально без тени */
}

.header.scrolled {
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_logo {
    font-family: 'Kaushan Script', cursive;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: #333;
}

/* Nav */
.nav {
    font-size: 13px;
}

.nav_link {
    display: inline-block;
    vertical-align: top;
    margin: 0 18px;
    position: relative;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.25s linear;
}

.nav_link:hover {
    color: #000000;
}

.nav_link:hover::after {
    opacity: 1; /* Убедитесь, что у вас есть ::after псевдоэлемент, который вы хотите анимировать */
}

/* Nav Toggle (Hamburger menu) */
.nav-toggle {
    display: none; /* Скрыт по умолчанию на больших экранах */
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px;
    z-index: 1100; 
}

/* Intro */
.intro {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: 95vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f4f4f4;
    cursor: default;
}

.intro_inner {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    padding-top: 120px; 
}

.intro_title {
    color: #202020;
    font-size: clamp(60px, 6vw, 80px);
    font-weight: 670;
    font-family: 'Inter Tight', sans-serif; /* Исправлено на 'Inter Tight' */
    margin: 50px;
    line-height: 1.2;
}

form {
    width: 100%;
}

.input-name,
.input-email,
.input-password {
    width: 100%;
    padding: 10px 15px;
    font-size: 20px; /* Unified font size */
    border-radius: 10px;
    border: none;
    font-weight: 600;
    background: #00000021;
    color: #252525;
    margin: 0;
    font-family: "Inter Tight", sans-serif;
    margin-bottom: 6px;
}

.input-password {
    flex-grow: 1; 
    min-width: 0;
    margin: 0 6px 0 0; /* Special margin for password field */
}

.input-name:focus,
.input-email:focus, 
.input-password:focus {
    outline: none;
}

.password-container {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}



.input-name, .input-password:focus, .input-email {
    outline: none;
}

.input_button {
    flex-shrink: 0; 
    background-color: #0d6dfd00;
    padding: 6px 30px;
    border-radius: 10px;
    border: 2px solid #0d6dfd7e;
    color: #0d6dfde5;
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    font-size: 22px;
    transition: all 0.3s;
    margin: 0;
}


.input_button:hover {
    background-color: #0d6efd;
    color: #e9e9e9;
}

/* Terms and Conditions Checkbox */
.terms-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0 5px 0;
    text-align: left;
}

.terms-checkbox {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.terms-checkbox:checked + .terms-checkbox-label {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #0d6efd!important;
    border-radius: 3px;
}

.terms-label {
    font-size: 13px;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}

.terms-label a {
    color: #0d6efd;
    text-decoration: none;
}

.terms-label a:hover {
    text-decoration: underline;
}

.sellecta{
    font-family: 'Kaushan Script', cursive;
    font-weight: 600;
}
/* google button */

.google-img{
    width: clamp(40px, 4vw, 50px);
    height: auto;
    margin: 10px;
}
/* Footer */
footer {
    background-color: #f4f4f4;
    color: #181818;
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
}

.footer_link {
    color: #181818;
    text-decoration: none;
}

.footer_link:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 1024px) {
    /* Navbar */
    .nav-toggle {
        display: block; 
    }

 .nav {
        flex-direction: column;
        align-items: center;
        position: fixed; 
        top: 0;
        left: 0;
        right: 0;
        background: white;
        height: auto;
        padding: 80px 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        z-index: 1000;
        pointer-events: none;
    }

    .nav.nav--active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav_link {
        font-size: clamp(22px, 4vw, 65px);
        margin: 20px 0;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav.nav--active .nav_link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Navbar Animation */
    .nav.nav--active .nav_link:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav.nav--active .nav_link:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav.nav--active .nav_link:nth-child(3) {
        transition-delay: 0.25s;
    }

    .nav.nav--active .nav_link:nth-child(4) {
        transition-delay: 0.35s;
    }

    /* Navbar burger animation */
    .nav-toggle {
        position: relative;
        width: 34px;
        height: 24px;
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-toggle__bar {
        position: absolute;
        width: 100%;
        height: 3px;
        background: #333;
        transition: 0.3s ease;
        left: 0;
    }

    .nav-toggle__bar:nth-child(1) {
        top: 0;
    }

    .nav-toggle__bar:nth-child(2) {
        top: 10px;
    }

    .nav-toggle__bar:nth-child(3) {
        top: 20px;
    }

    .nav-toggle.open .nav-toggle__bar:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
    }

    .nav-toggle.open .nav-toggle__bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open .nav-toggle__bar:nth-child(3) {
        transform: rotate(-45deg);
        top: 10px;
    }

    /* Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 999;
        backdrop-filter: blur(8px); 
        -webkit-backdrop-filter: blur(8px);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Intro */
    .intro {
        height: auto;
        min-height: 100vw;
        width: 100%;
        padding: 60px 0 40px;
        background-position: top;
        display: block;
    }

    .intro_inner {
        padding: 0px 20px;
        text-align: center;
        padding-bottom: 50px; 
    }

        /* Input field for mobile */
.input-name, .input-password, .input-email {
    font-size: 16px; /* Unified mobile font size */
    padding: 8px 12px;
}

    .input_button {
        font-size: 16px;
        padding: 6px 16px;
        border-radius: 9px;
    }

    .create_acc {
        margin: 5px !important;
        color: #0d6efd;
        text-decoration: none;
        font-size: 12px;
    }

    
}