* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Involve", sans-serif;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    background: #0d0d0d;
    color: #fff;
    width: 100%;
    overflow-x: hidden;
    font-family: "Involve", sans-serif;
}

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

section {
    width: 100%;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* VANTA */
.intro {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    overflow: hidden;
}

#VANTA {
    position: relative;
}

#VANTA canvas {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 9999;
    background: rgba(16, 16, 16, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 16px 24px;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar-scrolled {
    background: rgba(12, 12, 12, 0.82);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.navbar-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-pic {
    width: 140px;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar-btn {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.25s ease;
}

.navbar-btn:hover {
    color: #fff;
}

.login-btn {
    padding: 10px 18px;
    border-radius: 10px;
    background: #4263EB;
    color: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
}

.login-btn:hover {
    background: #3552da;
    transform: translateY(-2px);
}

/* HERO */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-top: 11vh;
}

.intro-title {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
    font-weight: 600;
}

.accent-text {
    color: #4263EB;
}

.intro-description {
    max-width: 600px;
    margin-top: 25px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.intro-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.hero-btn {
    height: 55px;
    padding: 0 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-btn-primary {
    background: #4263EB;
    color: #fff;
}

.hero-btn-primary:hover {
    background: #3552da;
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #2a2a2a;
    color: #fff;
}

.hero-btn-secondary:hover {
    border-color: #4263EB;
    transform: translateY(-2px);
}

/* SECTIONS */
.features,
.prices,
.locations,
.faq {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.5);
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card {
    position: relative;
    padding: 28px;
    border-radius: 20px;
    background: rgba(16, 16, 16, 0.7);
    border: 1px solid #222;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: #4263EB;
    box-shadow: 0 10px 30px rgba(66, 99, 235, 0.08);
}

.feature-icon {
    margin-bottom: 20px;
    font-size: 42px;
}

.feature-name {
    margin-bottom: 14px;
    font-size: 22px;
}

.feature-desc {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

/* PRICES */
.prices-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.price-card {
    position: relative;
    width: 320px;
    padding: 28px;
    border-radius: 22px;
    background: rgba(16, 16, 16, 0.7);
    border: 1px solid #222;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-8px);
    border-color: #4263EB;
    box-shadow: 0 0 30px rgba(66, 99, 235, 0.15);
}

.popular {
    border-color: #4263EB;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 30px;
    background: #4263EB;
    font-size: 14px;
}

.card-name {
    margin-bottom: 15px;
    font-size: 24px;
}

.card-price {
    margin-bottom: 30px;
    font-size: 42px;
    font-weight: 700;
    color: #4263EB;
    font-family: 'Montserrat', sans-serif;
}

.card-period {
    margin-left: 6px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.card-features {
    list-style: none;
    margin-bottom: 25px;
}

.card-features li {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.card-button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: #4263EB;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.card-button:hover {
    background: #3552da;
    transform: translateY(-2px);
}

/* LOCATIONS */
.locations {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
    border-top: 1px solid #1b1b1b;
    border-bottom: 1px solid #1b1b1b;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.location-card {
    position: relative;
    overflow: hidden;
    padding: 32px 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1f1f1f;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.location-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 99, 235, 0.28), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.location-card:hover::before {
    opacity: 1;
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: rgba(66, 99, 235, 0.35);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(66, 99, 235, 0.08);
}

.location-card * {
    position: relative;
    z-index: 2;
}

.location-flag {
    display: block;
    margin-bottom: 20px;
    font-size: 50px;
}

.location-card h3 {
    margin-bottom: 10px;
    font-size: 23px;
    font-weight: 600;
}

.location-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

/* STATS */
.locations-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
}

.location-stat {
    width: 240px;
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1f1f1f;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.location-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(66, 99, 235, 0.25);
    box-shadow: 0 10px 30px rgba(66, 99, 235, 0.06);
}

.location-stat h3 {
    margin-bottom: 10px;
    font-size: 36px;
    font-weight: 700;
    color: #4263EB;
}

.location-stat p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(16, 16, 16, 0.7);
    border: 1px solid #222;
}

.faq-question {
    width: 100%;
    height: 70px;
    padding: 0 25px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 220px;
    padding: 0 25px 25px;
}

/* FAQ CTA */
.faq-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    text-align: center;
    margin-top: 50px;
}

.faq-cta p {
    width: 100%;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.7);
}

.faq-cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    background: #4263EB;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease;
}

.faq-cta-button:hover {
    background: #3552da;
}

.faq-cta-button-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #2a2a2a;
}

.faq-cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #4263EB;
}

/* FOOTER */
.footer {
    padding: 50px 0 25px;
    border-top: 1px solid #1b1b1b;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
}

.footer-description {
    margin-top: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.nav-title {
    margin-bottom: 18px;
    font-size: 16px;
    color: #fff;
}

.nav-column ul {
    list-style: none;
}

.nav-column li {
    margin-bottom: 12px;
}

.nav-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-column a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 20px);
        padding: 14px 18px;
    }

    .buttons {
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px;
        background: rgba(16, 16, 16, 0.98);
        border: 1px solid #222;
        border-radius: 20px;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: 9999;
    }

    .buttons.mobile-active {
        display: flex;
    }

    .navbar-btn {
        width: 100%;
    }

    /* Улучшенная кликабельность бургера */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: none;
        cursor: pointer;
        z-index: 10000;
    }

    .menu-line {
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 10px;
        transition: all 0.2s ease;
    }

    /* Анимация для активного состояния (опционально) */
    .mobile-menu-btn.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-btn.active .menu-line:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .logo-pic {
        width: 120px;
    }

    .hero-content {
        margin-top: 14vh;
    }

    .intro-description {
        font-size: 16px;
    }

    .intro-buttons {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }

    .features,
    .prices,
    .locations,
    .faq {
        padding: 60px 0;
    }

    .prices-container {
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        width: 100%;
    }

    .card-price {
        font-size: 36px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .location-stat {
        width: 100%;
    }

    .footer-nav {
        gap: 35px;
    }

    /* Отключаем hover на сенсорных устройствах */
    @media (hover: none) and (pointer: coarse) {
        .feature-card:hover,
        .price-card:hover,
        .location-card:hover,
        .location-stat:hover {
            transform: none;
            border-color: #222;
            box-shadow: none;
        }

        .hero-btn-primary:hover,
        .hero-btn-secondary:hover,
        .card-button:hover,
        .login-btn:hover {
            transform: none;
        }
    }
}
