* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0B0A1A;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}

/* --- ГЛАВНЫЙ ЭКРАН --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    background-color: #0B0A1A; /* Глубокий темный фон */
    overflow: hidden; /* Чтобы ничего не вылезало за края */
}

/* Добавляем картинку как отдельный слой на задний план */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    background-color: #0B0A1A;
    overflow: hidden;
}

/* Слой с картинкой на заднем фоне */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(11, 10, 26, 0.6), rgba(11, 10, 26, 0.85)), url('images/planet.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Весь контент (текст, иконки) поднимаем наверх */
.hero-content {
    position: relative;
    z-index: 1; 
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}


.main-title {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 8px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.main-title span {
    color: #A98BFF;
    font-weight: 400;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #d1d1d1;
}

/* --- БЛОК ЯЗЫКОВ --- */
.language-icons {
    display: flex;
    align-items: center;
    justify-content: center; /* Центрируем */
    gap: 30px;
    margin-bottom: 60px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    width: 100%; /* Чтобы точно встало по центру */
}

.lang-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffffff;
}

.divider {
    color: rgba(169, 139, 255, 0.5);
    font-size: 1.5rem;
    font-weight: 300;
}

/* --- БЛОК ПРЕИМУЩЕСТВ --- */
.features {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin-top: 20px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}

.f-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(169, 139, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    /* Свечение для круга */
    box-shadow: 0 0 15px rgba(169, 139, 255, 0.15), inset 0 0 10px rgba(169, 139, 255, 0.1);
}

.feature p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b3b3b3;
    line-height: 1.5;
}

/* --- СТИЛИ ДЛЯ НЕОНОВЫХ SVG ИКОНОК --- */
.neon-icon {
    width: 28px;
    height: 28px;
    color: #A98BFF; /* Фиолетовый цвет */
    filter: drop-shadow(0 0 6px rgba(169, 139, 255, 0.8)); /* Свечение неона */
}

/* --- БЛОК ЦЕН --- */
.pricing {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #0B0A1A, #161433);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 60px;
    color: #ffffff;
}

.pricing-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    width: 300px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(169, 139, 255, 0.2);
    border-color: rgba(169, 139, 255, 0.4);
}

.card.popular {
    border-color: #A98BFF;
    box-shadow: 0 0 20px rgba(169, 139, 255, 0.1);
    background: rgba(169, 139, 255, 0.05);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #A98BFF;
    color: #0B0A1A;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #A98BFF;
    margin-bottom: 30px;
}

.card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    min-height: 100px;
}

.card ul li {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #cccccc;
    position: relative;
    padding-left: 20px;
}

.card ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #A98BFF;
}

.buy-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid #A98BFF;
    color: #ffffff;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.buy-btn:hover {
    background: #A98BFF;
    color: #0B0A1A;
    box-shadow: 0 0 15px rgba(169, 139, 255, 0.5);
}

/* --- МОДАЛЬНОЕ ОКНО --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #161433;
    border: 1px solid rgba(169, 139, 255, 0.3);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
    box-shadow: 0 0 40px rgba(169, 139, 255, 0.2);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #A98BFF;
}

.modal h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.modal p {
    color: #b3b3b3;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.modal input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.modal input:focus {
    outline: none;
    border-color: #A98BFF;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #A98BFF;
    border: none;
    color: #0B0A1A;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.submit-btn:hover {
    background: #c4afff;
}

.modal-note {
    font-size: 0.75rem !important;
    margin-top: 15px;
    margin-bottom: 0 !important;
    opacity: 0.6;
}