/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a1525;
    --bg-secondary: #152238;
    --bg-card: #1a2d45;
    --accent-blue: #2B9BFF;
    --accent-cyan: #00D9FF;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --gradient-primary: linear-gradient(135deg, #2B9BFF 0%, #00D9FF 100%);
    --gradient-secondary: linear-gradient(135deg, #1a2d45 0%, #0a1525 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Хедер */
header {
    background: var(--bg-secondary);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(43, 155, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Навигация */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.header-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(43, 155, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--accent-blue);
    padding-left: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(43, 155, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(43, 155, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: white;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Главный баннер */
.hero-banner {
    background: var(--gradient-secondary);
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%232B9BFF;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%2300D9FF;stop-opacity:0.05"/></linearGradient></defs><rect fill="url(%23grad)" width="1200" height="600"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-banner p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Промо баннер */
.promo-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #2B9BFF 100%);
    padding: 40px;
    border-radius: 16px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 40px rgba(43, 155, 255, 0.3);
}

.promo-banner h3 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
}

.promo-banner p {
    font-size: 18px;
    margin-bottom: 25px;
}

.promo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    margin: 5px;
    font-weight: 600;
}

/* Секции контента */
.content-section {
    background: var(--bg-card);
    padding: 50px 40px;
    margin: 40px 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--accent-blue);
    border-left: 5px solid var(--accent-cyan);
    padding-left: 20px;
}

.content-section h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--accent-cyan);
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 17px;
}

.content-section ul,
.content-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-section li strong {
    color: var(--text-primary);
}

/* Таблицы */
.info-table {
    width: 100%;
    margin: 30px 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.info-table th {
    background: var(--gradient-primary);
    color: white;
    padding: 18px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.info-table td {
    background: var(--bg-secondary);
    padding: 16px 18px;
    border-bottom: 1px solid rgba(43, 155, 255, 0.1);
    color: var(--text-secondary);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover td {
    background: rgba(43, 155, 255, 0.05);
}

/* Карточки фишек */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(43, 155, 255, 0.3);
}

.feature-card h4 {
    color: var(--accent-blue);
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Информационный баннер */
.info-banner {
    background: linear-gradient(135deg, #0a1525 0%, #1a2d45 100%);
    border: 2px solid var(--accent-blue);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.info-banner h3 {
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

/* Футер */
footer {
    background: var(--bg-secondary);
    padding: 40px 0 20px;
    margin-top: 80px;
    border-top: 2px solid var(--accent-blue);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: var(--accent-blue);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* Адаптивность */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-right {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo img {
        height: 40px;
    }

    .header-buttons {
        gap: 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-banner {
        padding: 40px 15px;
        margin: 20px 0;
    }

    .hero-banner h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-banner p {
        font-size: 15px;
        line-height: 1.5;
    }

    .promo-banner {
        padding: 30px 20px;
    }

    .promo-banner h3 {
        font-size: 24px;
    }

    .promo-banner p {
        font-size: 16px;
    }

    .promo-badge {
        font-size: 13px;
        padding: 6px 15px;
    }

    .content-section {
        padding: 30px 15px;
        margin: 20px 0;
    }

    .content-section h2 {
        font-size: 24px;
        padding-left: 15px;
    }

    .content-section h3 {
        font-size: 20px;
    }

    .content-section p,
    .content-section li {
        font-size: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .info-table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
    }

    .info-table th,
    .info-table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .info-banner {
        padding: 20px 15px;
    }

    .container {
        padding: 0 15px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    footer {
        margin-top: 40px;
    }

    .footer-links a {
        display: inline-block;
        margin: 5px 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 20px;
    }

    .hero-banner p {
        font-size: 14px;
    }

    .promo-banner h3 {
        font-size: 20px;
    }

    .content-section h2 {
        font-size: 20px;
    }

    .content-section h3 {
        font-size: 18px;
    }

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

    .info-table {
        font-size: 12px;
    }

    .info-table th,
    .info-table td {
        padding: 8px 6px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeIn 0.6s ease-out;
}

/* Кнопка вверх */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(43, 155, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(43, 155, 255, 0.6);
}
