/* Основные стили: веселые оттенки синего и голубого, без белого и темного фона */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #89f7fe, #66a6ff, #a1c4fd, #c2e9fb);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #192a56;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1, h2, h3 {
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

/* Навигация и Бургер-меню */
header {
    background-color: rgba(194, 233, 251, 0.95);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,116,217,0.1);
    display: flex;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0652DD;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0 auto; 
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: #192a56;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0097e6;
}

.burger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #0652DD;
    margin-left: auto;
}

/* Главный экран */
.hero {
    padding: 50px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    background: linear-gradient(to right, #0652DD, #0097e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.8em;
    color: #273c75;
    margin-top: 0;
}

/* Контейнеры разделов */
.container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 25px;
    background: rgba(223, 249, 255, 0.85);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,116,217,0.1);
    border: 2px solid #74b9ff;
}

.container p {
    text-align: justify;
    font-size: 1.1em;
}

/* Списки шагов */
.steps {
    list-style: none;
    padding: 0;
}

.steps li {
    background: #c8d6e5;
    margin: 10px 0;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    border-left: 5px solid #0652DD;
    text-align: justify;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    color: #fff !important;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    border: none;
    cursor: pointer;
    margin: 10px 5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,116,217,0.3);
}

.btn-green { background: linear-gradient(135deg, #0984e3, #74b9ff); }
.btn-blue { background: linear-gradient(135deg, #00a8ff, #0097e6); }
.btn-purple { background: linear-gradient(135deg, #4834d4, #686de0); }
.btn-orange { background: linear-gradient(135deg, #273c75, #192a56); }

.btn-center {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Зеркала (Стильный блок 4x2) */
.mirrors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.mirror-btn {
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1em;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mirror-btn:hover { transform: scale(1.05); }

.m1 { background: #00a8ff; }
.m2 { background: #9c88ff; }
.m3 { background: #0097e6; }
.m4 { background: #8c7ae6; }
.m5 { background: #192a56; }
.m6 { background: #273c75; }
.m7 { background: #487eb0; }
.m8 { background: #40739e; }

/* Тариф */
.tariff-block {
    text-align: center;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 30px;
    border-radius: 15px;
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Список преимуществ */
.pros-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pros-list li {
    background: linear-gradient(to right, #dff9ff, #c2e9fb);
    padding: 15px 20px;
    font-size: 1.15em;
    text-align: justify;
    border-radius: 12px;
    border: 1px solid #a1c4fd;
    box-shadow: 0 4px 6px rgba(0,116,217,0.05);
    display: flex;
    align-items: center;
}

.pros-list li::before {
    content: '🔹';
    font-size: 1.5em;
    margin-right: 15px;
    color: #0652DD;
}

/* Стили для страницы 404 */
.not-found-wrapper {
    flex: 1; /* Чтобы прижать футер к низу */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.not-found-wrapper h1 {
    font-size: 8em;
    background: linear-gradient(to right, #0652DD, #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1;
}

.not-found-wrapper h2 {
    font-size: 2.5em;
    color: #273c75;
    margin: 10px 0 20px 0;
}

.not-found-wrapper p {
    font-size: 1.2em;
    color: #192a56;
    margin-bottom: 30px;
}

/* Социальные сети и Футер */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(194, 233, 251, 0.95);
    margin-top: auto; /* Прижимает футер к низу страницы */
}

.social-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.soc-btn {
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.soc-vk { background: #2787F5; }
.soc-tg { background: #0088cc; }
.soc-ok { background: #ee8208; }

.soc-btn:hover { filter: brightness(1.1); transform: translateY(-3px); }

/* Адаптивность */
@media (max-width: 850px) {
    .mirrors-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.2em; }
    .hero h2 { font-size: 1.4em; }
    .not-found-wrapper h1 { font-size: 6em; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgba(194, 233, 251, 0.98);
        text-align: center;
        padding: 20px 0;
    }
    .nav-links.active { display: flex; }
    .burger { display: block; }
    .mirrors-grid { grid-template-columns: 1fr; }
}