/* ===== Базовые сбросы для лендинга ===== */
/* # # Файл: /parser.rusnet.su/static/css/landing.css */
.landing-header,
.landing-hero,
.landing-advantages,
.landing-how-it-works,
.landing-parsers,
.landing-stats-section,
.landing-faq,
.landing-cta,
.landing-footer {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Шапка ===== */
.landing-header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.landing-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a2a3a;
}

.landing-logo-icon {
    font-size: 2rem;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.landing-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.landing-nav a:hover {
    color: #0078c1;
}

.landing-login-btn {
    background: #0078c1;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 30px;
    transition: background 0.2s;
}

.landing-login-btn:hover {
    background: #005f8c !important;
}

/* ===== Hero ===== */
.landing-hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f5f9ff 0%, #e6f0fa 100%);
    border-bottom: 1px solid #e2e8f0;
}

.landing-hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.landing-hero-content {
    flex: 1 1 50%;
}

.landing-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0b1a2a;
    margin: 0 0 20px 0;
}

.landing-highlight {
    color: #0078c1;
    background: linear-gradient(120deg, #d4e9ff 0%, #d4e9ff 40%, transparent 80%);
    padding: 0 8px;
}

.landing-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2d3e50;
    margin-bottom: 30px;
}

.landing-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.landing-btn-primary,
.landing-btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    border: 2px solid transparent;
}

.landing-btn-primary {
    background: #0078c1;
    color: #fff;
    border-color: #0078c1;
}

.landing-btn-primary:hover {
    background: #005f8c;
    border-color: #005f8c;
    transform: translateY(-2px);
}

.landing-btn-secondary {
    background: transparent;
    color: #1a2a3a;
    border-color: #b0c4d9;
}

.landing-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #8aa3c0;
}

.landing-hero-image {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.landing-hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    padding: 16px 32px;
    border-radius: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.landing-stat-item {
    text-align: center;
}

.landing-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0078c1;
}

.landing-stat-label {
    font-size: 0.9rem;
    color: #4a5e72;
}

/* ===== Преимущества ===== */
.landing-advantages {
    padding: 80px 0;
    background: #ffffff;
}

.landing-advantages h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: #0b1a2a;
}

.landing-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.landing-advantage-card {
    background: #f8faff;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,120,193,0.10);
}

.landing-advantage-card i {
    font-size: 2.8rem;
    color: #0078c1;
    margin-bottom: 16px;
}

.landing-advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1a2a3a;
}

.landing-advantage-card p {
    color: #4a5e72;
    line-height: 1.5;
    margin: 0;
}

/* ===== Как работает ===== */
.landing-how-it-works {
    padding: 80px 0;
    background: #f5f9ff;
}

.landing-how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: #0b1a2a;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.landing-step {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.landing-step-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: #0078c1;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.landing-step-icon {
    font-size: 2.4rem;
    color: #0078c1;
    margin-bottom: 12px;
}

.landing-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1a2a3a;
}

.landing-step p {
    color: #4a5e72;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.landing-schema-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a2a3a;
    background: #ffffff;
    padding: 16px 32px;
    border-radius: 60px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    max-width: 700px;
    margin: 0 auto;
}

.landing-schema-line span {
    padding: 4px 8px;
}

/* ===== Парсеры ===== */
.landing-parsers {
    padding: 80px 0;
    background: #ffffff;
}

.landing-parsers h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: #0b1a2a;
}

.landing-parser-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.landing-parser-card {
    background: #f8faff;
    border-radius: 32px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-parser-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.landing-parser-icon {
    font-size: 3.6rem;
    margin-bottom: 12px;
}

.landing-parser-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #1a2a3a;
}

.landing-parser-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
    width: 100%;
}

.landing-parser-card ul li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3e50;
    font-size: 0.95rem;
    border-bottom: 1px solid #e9edf4;
}

.landing-parser-card ul li:last-child {
    border-bottom: none;
}

.landing-parser-card ul li i {
    color: #0078c1;
    width: 20px;
    text-align: center;
}

.landing-parser-card .landing-btn-primary {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* ===== Статистика ===== */
.landing-stats-section {
    background: #0078c1;
    color: #fff;
    padding: 60px 0;
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.landing-stats-item .landing-stats-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.landing-stats-item .landing-stats-label {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #e6f0fa;
}

/* ===== FAQ ===== */
.landing-faq {
    padding: 80px 0;
    background: #f5f9ff;
}

.landing-faq h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: #0b1a2a;
}

.landing-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.landing-faq-list details {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    cursor: pointer;
}

.landing-faq-list summary {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a2a3a;
    outline: none;
}

.landing-faq-list p {
    margin: 16px 0 8px 0;
    color: #2d3e50;
    line-height: 1.6;
    padding-top: 12px;
    border-top: 1px solid #e9edf4;
}

/* ===== CTA ===== */
.landing-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0b1a2a 0%, #1a2a3a 100%);
    color: #fff;
    text-align: center;
}

.landing-cta h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.landing-cta p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 32px;
}

.landing-cta .landing-btn-primary {
    background: #ffb74d;
    border-color: #ffb74d;
    color: #0b1a2a;
}

.landing-cta .landing-btn-primary:hover {
    background: #ffa726;
    border-color: #ffa726;
}

/* ===== Футер ===== */
.landing-footer {
    background: #0b1a2a;
    color: #a0b8cc;
    padding: 24px 0;
    font-size: 0.9rem;
}

.landing-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.landing-footer-links {
    display: flex;
    gap: 24px;
}

.landing-footer-links a {
    color: #a0b8cc;
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer-links a:hover {
    color: #ffffff;
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
    .landing-header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .landing-nav {
        justify-content: center;
    }
    .landing-hero-content h1 {
        font-size: 2rem;
    }
    .landing-hero-inner {
        flex-direction: column;
    }
    .landing-hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    .landing-parser-cards {
        grid-template-columns: 1fr;
    }
    .landing-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .landing-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .landing-hero-content h1 {
        font-size: 1.6rem;
    }
    .landing-advantages-grid {
        grid-template-columns: 1fr;
    }
    .landing-steps {
        grid-template-columns: 1fr;
    }
    .landing-stats-grid {
        grid-template-columns: 1fr;
    }
}