* {
    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: 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;
}

.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;
}

/* --- ПОДВАЛ (КОНТАКТЫ) --- */
.footer {
    background-color: #0B0A1A;
    padding: 40px 20px 30px;
    text-align: center;
    border-top: 1px solid rgba(169, 139, 255, 0.15);
    margin-top: 40px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 60px;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

.footer-company {
    color: #A98BFF;
    font-weight: 500;
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 10px;
}

/* Стили для блока с документами */
/* Стили для блока с документами */
.footer-docs {
    width: 100%;
    display: flex;
    flex-wrap: nowrap; /* Запрещаем перенос на новую строку */
    justify-content: space-between; /* Распределяем ссылки равномерно по всей ширине */
    gap: 15px; /* Чуть уменьшили отступ, чтобы точно влезли в одну строку */
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-docs a {
    color: #d1d1d1;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    white-space: nowrap; /* Запрещаем тексту внутри ссылки переноситься на две строки */
}

.footer-docs a:hover {
    color: #A98BFF;
    text-shadow: 0 0 10px rgba(169, 139, 255, 0.5);
}

/* На мобильных устройствах (чтобы не сломалось на телефоне) */
@media (max-width: 900px) {
    .footer-docs {
        flex-wrap: wrap; /* На узких экранах разрешаем перенос */
        justify-content: center; /* И ставим по центру */
        gap: 20px;
    }
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 768px) {
    .main-title { font-size: 2.5rem; letter-spacing: 4px; }
    .subtitle { font-size: 1rem; margin-bottom: 20px; }
    .language-icons { flex-direction: column; gap: 15px; margin-bottom: 30px; }
    .divider { display: none; }
    .lang-item { font-size: 1rem; }
    .features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .feature { width: 100%; }
    .hero::before { background-position: center; opacity: 0.8; }
    .footer-content { flex-direction: column; gap: 15px; }
    .footer-docs { flex-direction: column; gap: 15px; }
    .footer-docs a { font-size: 0.95rem; }
}
