/* Базовые стили и цвета (Голубые тона) */
:root {
    --text-color: #1e3a8a; /* Глубокий синий для текста */
    --card-bg: rgba(240, 249, 255, 0.9); /* Очень светлый голубой фон блоков */
    --header-bg: rgba(29, 78, 216, 0.98); /* Насыщенный синий для меню */
    --accent-color: #38bdf8; /* Голубой цвет для акцентов (заменил желтый) */
}

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

html {
    scroll-behavior: smooth; /* Плавная прокрутка */
}

/* Красочный фон в голубых тонах */
body {
    background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0284c7 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Навигация и Бургер-меню */
header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: auto;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    color: #7dd3fc; /* Голубой цвет логотипа */
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff; 
    font-weight: 700;
    transition: color 0.3s, transform 0.2s;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Главный экран (Hero) */
.hero {
    margin-top: 70px;
    text-align: center;
    padding: 80px 5% 60px;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
}

.hero > p {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto 10px;
    font-weight: 700;
}

/* Карточки преимуществ */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    color: #1e3a8a;
    transition: transform 0.3s ease;
    text-shadow: none;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #0369a1;
    font-weight: 900;
    line-height: 1.2;
}

.feature-card p {
    font-size: 16px;
    color: #475569;
    font-weight: 600;
    margin-bottom: 0;
}

/* Основной контент */
main {
    padding: 20px 5%;
    max-width: 1200px;
    margin: auto;
}

section {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px dashed #60a5fa;
    scroll-margin-top: 90px;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(29, 78, 216, 0.2);
}

h2 {
    font-size: 32px;
    color: #1d4ed8; 
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

p {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Интерактивная кнопка */
.mirror-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(45deg, #f59e0b, #ef4444);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
    animation: pulse 2s infinite;
    transition: transform 0.2s;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.mirror-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Спец-оформление Тарифа */
.tariff-box {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    text-align: center;
    padding: 50px;
    border-radius: 30px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    border: none;
}

.tariff-box h2 {
    color: #fff;
    justify-content: center;
}

.price {
    font-size: 90px;
    font-weight: 900;
    margin: 20px 0;
    line-height: 1;
    color: #7dd3fc; /* Голубой цвет для цифры тарифа */
    text-shadow: 3px 3px 0px #1e3a8a;
}

.tariff-box p {
    font-size: 20px;
    font-weight: 700;
}

/* Футер и Соцсети */
footer {
    text-align: center;
    padding: 50px 20px;
    background: #1e3a8a; 
    color: #fff;
    border-top: 5px solid #60a5fa;
    margin-top: 40px;
}

footer h2 {
    color: #fff;
    justify-content: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    transition: filter 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.vk { background: #4680C2; }
.tg { background: #0088cc; }
.ok { background: #ee8208; }

/* Адаптивность */
@media screen and (max-width: 950px) {
    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background: var(--header-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        gap: 30px;
    }
    .nav-links a { font-size: 22px; }
    .nav-active { transform: translateX(0%); }
    .burger { display: block; }
    .hero h1 { font-size: 36px; }
    section { padding: 25px; }
}

/* Анимация бургера */
.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }