/* Landing Page */

.landing-page {
    background: #f5f5f5;
    color: #333;
}

/* Контейнер и сетки */

.lp-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.lp-section {
    padding: 72px 0;
    background: #ffffff;
}

.lp-section-alt {
    background: #f8f8ff;
}

.lp-section-last {
    padding-bottom: 96px;
}

.lp-section-header {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.lp-section-header h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #222;
}

.lp-section-header p {
    font-size: 15px;
    color: #666;
}

/* Header */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.lp-logo-text {
    display: flex;
    flex-direction: column;
}

.lp-logo-title {
    font-weight: 600;
    font-size: 18px;
    color: #222;
}

.lp-logo-subtitle {
    font-size: 11px;
    color: #888;
}

.lp-nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.lp-nav-link {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 999px;
    transition: background 0.15s, color 0.15s;
}

.lp-nav-link:hover {
    background: #f0f0ff;
    color: #333;
}

.lp-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Buttons */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.1s;
    white-space: nowrap;
}

.lp-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
}

.lp-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(102, 126, 234, 0.5);
}

.lp-btn-outline {
    background: #ffffff;
    color: #4b57c5;
    border-color: rgba(102, 126, 234, 0.4);
}

.lp-btn-outline:hover {
    background: #f0f0ff;
}

.lp-btn-ghost {
    background: transparent;
    color: #555;
    border-color: #ddd;
}

.lp-btn-ghost:hover {
    background: #f7f7f7;
}

.lp-btn-full {
    width: 100%;
}

/* Hero */

.lp-hero {
    padding: 72px 0 64px;
    background: radial-gradient(circle at top left, #e0e4ff 0, #f5f5f5 55%, #f5f5f5 100%);
}

.lp-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 40px;
    align-items: center;
}

.lp-hero-text h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #222;
}

.lp-hero-subtitle {
    font-size: 15px;
    color: #555;
    max-width: 520px;
    margin-bottom: 24px;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.lp-hero-main-btn {
    padding-inline: 22px;
}

.lp-hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: #666;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.1);
    color: #4b57c5;
    font-size: 12px;
    font-weight: 500;
}

.lp-hero-note-text {
    max-width: 380px;
}

/* Hero card (визуальная отсылка к дашборду) */

.lp-hero-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    padding: 18px 20px 20px;
    border: 1px solid #eceefe;
}

.lp-hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.lp-hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.lp-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.lp-hero-metric-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.lp-hero-metric-value {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.lp-hero-metric-hint {
    font-size: 11px;
    color: #999;
}

.lp-hero-mini {
    border-top: 1px dashed #eee;
    padding-top: 10px;
    margin-top: 4px;
    font-size: 12px;
}

.lp-hero-mini-row {
    display: flex;
    justify-content: space-between;
    padding-block: 3px;
    color: #555;
}

/* Grid helpers */

.lp-grid {
    display: grid;
    gap: 20px;
}

.lp-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Cards */

.lp-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 18px 18px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #f0f0ff;
}

.lp-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
}

.lp-card p {
    font-size: 14px;
    color: #666;
}

/* Feature tiles */

.lp-feature h3 {
    font-size: 15px;
    margin-bottom: 6px;
    color: #222;
}

.lp-feature p {
    font-size: 13px;
    color: #666;
}

/* Steps */

.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.lp-step {
    background: #ffffff;
    border-radius: 10px;
    padding: 18px;
    border: 1px solid #eceefe;
}

.lp-step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 10px;
}

.lp-step h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.lp-step p {
    font-size: 13px;
    color: #666;
}

/* Tech section */

.lp-tech-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
    gap: 32px;
    align-items: flex-start;
}

.lp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.lp-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #667eea;
}

.lp-tech-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 1px solid #e0e2ff;
}

.lp-tech-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.lp-tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-tech-list li {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.lp-tech-list li span {
    font-weight: 500;
    color: #333;
}

/* Security */

.lp-security .lp-card {
    min-height: 160px;
}

/* Contacts */

.lp-contacts {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 32px;
    align-items: flex-start;
}

.lp-contacts-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.lp-contacts-text p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.lp-contacts-info p {
    font-size: 14px;
    color: #444;
    margin-bottom: 4px;
}

.lp-contacts-info a {
    color: #4b57c5;
    text-decoration: none;
}

.lp-contacts-info a:hover {
    text-decoration: underline;
}

.lp-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    border: 1px solid #eceefe;
}

.lp-form-row {
    margin-bottom: 14px;
}

.lp-form-row label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.lp-form-row input,
.lp-form-row textarea {
    width: 100%;
    padding: 10px 11px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
    resize: vertical;
}

.lp-form-row input:focus,
.lp-form-row textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.35);
}

/* Footer */

.lp-footer {
    border-top: 1px solid #eee;
    background: #ffffff;
    padding: 14px 0;
    font-size: 13px;
    color: #777;
}

.lp-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lp-footer-links a {
    color: #777;
    text-decoration: none;
    margin-left: 12px;
}

.lp-footer-links a:hover {
    text-decoration: underline;
}

/* Адаптив */

@media (max-width: 960px) {
    .lp-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-hero-card {
        margin-top: 8px;
    }

    .lp-tech-grid,
    .lp-contacts {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-header-inner {
        gap: 10px;
    }

    .lp-nav {
        display: none; /* при желании можно потом сделать бургер */
    }
}

@media (max-width: 640px) {
    .lp-section {
        padding: 56px 0;
    }

    .lp-hero {
        padding: 56px 0 40px;
    }

    .lp-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-grid-3,
    .lp-grid-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .lp-header-actions {
        display: none;
    }
}
