/* Посадочная страница — SEO */
.landing-page {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--isp-text, #e8edf2);
    background: linear-gradient(160deg, #1a2634 0%, #1e2a38 45%, #243039 100%);
    min-height: 100vh;
    scroll-behavior: smooth;
    position: relative;
}

/* Декоративный фон */
.landing-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(74, 158, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 158, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(61, 82, 102, 0.6);
    background: rgba(26, 38, 52, 0.95);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.landing-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.landing-logo:hover {
    transform: translateY(-2px);
    color: #4a9eff;
}

.landing-logo span {
    color: #4a9eff;
}

.landing-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.landing-hero h1 {
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 0%, #4a9eff 50%, #3578c6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroFadeIn 0.8s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-hero .lead {
    font-size: 19px;
    color: #8fa3b8;
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.6;
    animation: heroFadeIn 0.8s ease-out 0.2s backwards;
}

.landing-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: heroFadeIn 0.8s ease-out 0.4s backwards;
}

.landing-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.landing-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.landing-btn:hover::before {
    left: 100%;
}

.landing-btn-primary {
    background: linear-gradient(180deg, #5ba8f7, #3578c6);
    color: #fff !important;
    border: 1px solid #3578c6;
}

.landing-btn-primary:hover {
    background: linear-gradient(180deg, #6bb8ff, #4588d6);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.landing-btn-secondary {
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff !important;
    border: 1px solid rgba(74, 158, 255, 0.5);
}

.landing-btn-secondary:hover {
    background: rgba(74, 158, 255, 0.25);
    border-color: #4a9eff;
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.3);
}

.landing-btn:hover {
    transform: translateY(-3px);
}

.landing-features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.landing-feature {
    background: rgba(42, 56, 72, 0.95);
    border: 1px solid #3d5266;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.landing-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a9eff, #3578c6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.landing-feature::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.landing-feature:hover::before {
    transform: scaleX(1);
}

.landing-feature:hover::after {
    opacity: 1;
}

.landing-feature:hover {
    transform: translateY(-6px);
    border-color: #4a9eff;
    box-shadow: 0 12px 32px rgba(74, 158, 255, 0.2);
}

.landing-feature h2 {
    font-size: 18px;
    color: #fff;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-feature h2::before {
    content: attr(data-icon);
    font-size: 24px;
}

.landing-feature p {
    margin: 0;
    font-size: 14px;
    color: #8fa3b8;
    line-height: 1.6;
}

.landing-news {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 60px;
    position: relative;
    z-index: 1;
}

.landing-news h2 {
    text-align: center;
    color: #fff;
    font-size: 28px;
    margin-bottom: 28px;
    font-weight: 700;
}

.landing-news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.landing-news-loading,
.landing-news-empty {
    text-align: center;
    color: #8fa3b8;
    padding: 40px 20px;
    font-size: 16px;
}

.landing-news-item {
    background: rgba(42, 56, 72, 0.95);
    border: 1px solid #3d5266;
    border-radius: 14px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.landing-news-item:hover {
    transform: translateY(-4px);
    border-color: #4a9eff;
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.2);
}

.landing-news-item.is-pinned {
    border-color: #4a9eff;
    background: rgba(42, 56, 72, 1);
}

.landing-news-pin {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 18px;
}

.landing-news-title {
    font-size: 17px;
    color: #fff;
    margin: 0 0 12px;
    padding-right: 28px;
    font-weight: 600;
    line-height: 1.4;
}

.landing-news-excerpt {
    margin: 0 0 14px;
    font-size: 14px;
    color: #8fa3b8;
    line-height: 1.6;
}

.landing-news-date {
    font-size: 13px;
    color: #6d8299;
    font-weight: 500;
}

.landing-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.landing-modal.landing-modal-open {
    display: flex;
}

.landing-modal-box {
    background: #1a2634;
    border: 1px solid #3d5266;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.landing-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #3d5266;
}

.landing-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

.landing-modal-close {
    font-size: 28px;
    color: #8fa3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0 8px;
}

.landing-modal-close:hover {
    color: #fff;
}

.landing-modal-body {
    padding: 20px;
}

.landing-news-modal-date {
    font-size: 13px;
    color: #6d8299;
    margin: 0 0 16px;
}

.landing-news-modal-body {
    color: #e8edf2;
    line-height: 1.6;
    white-space: pre-wrap;
}

.landing-faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 24px 60px;
    position: relative;
    z-index: 1;
}

.landing-faq h2 {
    text-align: center;
    color: #fff;
    font-size: 28px;
    margin-bottom: 28px;
    font-weight: 700;
}

.landing-faq details {
    background: rgba(42, 56, 72, 0.9);
    border: 1px solid #3d5266;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 18px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.landing-faq details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a9eff, #3578c6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.landing-faq details:hover {
    border-color: #4a9eff;
    transform: translateX(4px);
}

.landing-faq details:hover::before {
    transform: scaleX(1);
}

.landing-faq details[open] {
    border-color: #4a9eff;
    background: rgba(42, 56, 72, 1);
}

.landing-faq details[open]::before {
    transform: scaleX(1);
}

.landing-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-faq summary::-webkit-details-marker {
    display: none;
}

.landing-faq summary::before {
    content: '+';
    font-size: 20px;
    font-weight: 700;
    color: #4a9eff;
    transition: transform 0.3s ease;
}

.landing-faq details[open] summary::before {
    content: '−';
    transform: rotate(180deg);
}

.landing-faq p {
    margin: 16px 0 0;
    color: #8fa3b8;
    font-size: 15px;
    line-height: 1.6;
}

.landing-footer {
    text-align: center;
    padding: 32px 24px;
    font-size: 14px;
    color: #6d8299;
    border-top: 1px solid #3d5266;
    background: rgba(26, 38, 52, 0.5);
    position: relative;
    z-index: 1;
}

.landing-footer a {
    color: #4a9eff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-footer a:hover {
    color: #6bb8ff;
    text-decoration: underline;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    .landing-header {
        padding: 16px 20px;
    }

    .landing-logo {
        font-size: 18px;
    }

    .landing-nav {
        gap: 8px;
    }

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

    .landing-hero {
        padding: 60px 20px;
    }

    .landing-hero h1 {
        font-size: 24px;
    }

    .landing-hero .lead {
        font-size: 16px;
    }

    .landing-cta {
        flex-direction: column;
        gap: 12px;
    }

    .landing-cta .landing-btn {
        width: 100%;
        text-align: center;
    }

    .landing-features {
        grid-template-columns: 1fr;
        padding: 20px 20px 40px;
    }

    .landing-news {
        padding: 20px 20px 40px;
    }

    .landing-news-list {
        grid-template-columns: 1fr;
    }

    .landing-faq {
        padding: 20px 20px 40px;
    }

    .landing-modal-box {
        max-width: 95%;
        margin: 20px auto;
    }

    .landing-footer {
        padding: 20px;
    }
}

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

    .landing-hero .lead {
        font-size: 14px;
    }

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

    .landing-feature {
        padding: 18px;
    }

    .landing-news-item {
        padding: 16px;
    }
}
