/* -------------------- RESET + BASE -------------------- */

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background-color: #060d1a;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -------------------- HEADER + NAV -------------------- */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                backdrop-filter 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    background: transparent;
}

.header.scrolled {
    background: rgba(6, 13, 26, 0.72);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.header .logo-container {
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.header .logo-container img {
    height: 46px;
    margin-right: 10px;
}

.header .logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: white;
}

.nav {
    display: flex;
    gap: 50px;
    margin-right: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: rgba(255,255,255,0.72);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2A6BFF;
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a:hover {
    color: white;
}

.nav a:hover::after {
    width: 100%;
}

.nav a.active {
    color: white;
}

.nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 1000;
    margin-right: 25px;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

/* -------------------- MAIN CONTENT -------------------- */

.main-container {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 160px 0 100px;
}

.main-container h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 48px;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #6b9fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-container h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 48px;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #6b9fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-container h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #6b9fff;
    margin: 40px 0 14px;
    letter-spacing: 0.01em;
}

.main-container p,
.main-container ul {
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.72);
}

.main-container ul {
    padding-left: 20px;
}

.main-container li {
    margin-bottom: 10px;
}

.main-container li::marker {
    color: rgba(255, 255, 255, 0.25);
}

.privacy-link {
    color: #6b9fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    text-decoration: underline;
    color: #a0c4ff;
}

/* -------------------- FOOTER -------------------- */

.footer {
    background-color: #060d1a;
    width: 100%;
    padding: 60px 0 30px;
    color: white;
    text-align: center;
}

.footer .top {
    text-align: center;
    opacity: 0.2;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 4px;
}

.footer .subtitle {
    font-size: 14px;
    margin-top: 12px;
    letter-spacing: 5px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}

.subtitle-partner {
    font-size: 13px;
    font-style: italic;
    margin-top: 25px;
    letter-spacing: 3px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
}

.logo-partner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 0 5%;
}

.logo-partner img {
    max-width: 140px;
    opacity: 0.2;
    width: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-partner img:hover {
    opacity: 0.45;
}

.footer .separator {
    width: 90%;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 40px auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    text-align: left;
    gap: 20px;
}

.footer .footer-block {
    text-decoration: none;
}

.footer-block.large {
    flex: 2;
    min-width: 250px;
}

.footer-block.small {
    flex: 1;
    min-width: 180px;
}

.footer-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 24px;
    color: white;
}

.footer-content a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #6b9fff;
}

.footer-block p {
    margin-bottom: 18px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

.footer-block i {
    color: #6b9fff;
    font-size: 14px;
    margin-right: 8px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-input {
    flex: 1;
    width: auto;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.footer-input::placeholder {
    color: rgba(255,255,255,0.35);
    font-style: italic;
}

.footer-input:focus {
    border-color: #2A6BFF;
    background: rgba(42, 107, 255, 0.08);
}

.newsletter-button {
    background: linear-gradient(135deg, #2A6BFF, #4d8bff);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(42, 107, 255, 0.25);
}

.newsletter-button i {
    font-size: 14px;
}

.newsletter-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(42, 107, 255, 0.4);
}

.footer .bottom-bar {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 10px auto;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

.footer .bottom-bar a {
    text-decoration: none;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s ease;
}

.footer .bottom-bar a:hover {
    color: rgba(255,255,255,0.6);
}

.footer .bottom-text {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* -------------------- SNACKBAR -------------------- */

.snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #34c759;
    color: white;
    text-align: center;
    border-radius: 14px;
    padding: 14px 24px;
    position: fixed;
    z-index: 999;
    left: 50%;
    bottom: 30px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.5s ease, bottom 0.5s ease;
    backdrop-filter: blur(8px);
}

.snackbar.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

.snackbar.error {
    background-color: #ff453a;
}

/* -------------------- RESPONSIVE -------------------- */

@media (max-width: 1024px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: 280px;
        margin-right: 0;
        background: rgba(6, 13, 26, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 28px;
        display: flex;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav a {
        font-size: 1.1rem;
    }

    .hamburger {
        display: block;
    }

    .header .logo-container img {
        height: 35px;
        margin-right: 10px;
    }

    .header .logo {
        font-size: 13px;
        font-weight: bold;
    }
}

@media (max-width: 768px) {
    .main-container h1,
    .main-container h2 {
        font-size: 1.6rem;
    }

    .main-container {
        padding: 130px 0 60px;
    }

    .footer .top {
        font-size: 22px;
    }

    .footer .subtitle {
        font-size: 10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}
