/* ===== РП СПТ — лендинг ===== */

:root {
    --rp-primary: #2563eb;
    --rp-secondary: #4338ca;
    --rp-accent: #0ea5e9;
    --rp-light: #f8fafc;
    --rp-dark: #0f172a;
    --rp-muted: #64748b;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--rp-dark);
    background: #ffffff;
    line-height: 1.6;
}

/* Навигация */
.navbar-rp {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    padding: 0.75rem 0;
}

.navbar-rp .navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--rp-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-rp .navbar-brand i {
    font-size: 1.6rem;
}

.navbar-rp .nav-link {
    color: var(--rp-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.navbar-rp .nav-link:hover,
.navbar-rp .nav-link:focus {
    color: var(--rp-primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--rp-primary) 0%, var(--rp-secondary) 100%);
    color: #ffffff;
    padding: 7rem 0 5rem;
    margin-top: 56px;
}

.hero h1 {
    font-weight: 700;
    font-size: 2.6rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero .btn {
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

.hero .btn-light {
    color: var(--rp-primary);
}

/* Секции */
section {
    padding: 5rem 0;
}

section.bg-light {
    background: var(--rp-light) !important;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-weight: 700;
    font-size: 2rem;
    color: var(--rp-dark);
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--rp-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Карточки возможностей */
.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--rp-primary), var(--rp-secondary));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--rp-dark);
}

.feature-card p {
    color: var(--rp-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Pricing */
.pricing-card {
    background: #ffffff;
    border: 2px solid var(--rp-primary);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.pricing-card .pricing-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rp-primary), var(--rp-secondary));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.pricing-card h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 1.5rem;
    color: var(--rp-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.6rem 0;
    color: var(--rp-dark);
    border-bottom: 1px solid #e2e8f0;
}

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

.pricing-card ul li i {
    color: var(--rp-primary);
    margin-right: 0.5rem;
}

/* Функционал — список */
.func-list {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
}

.func-list h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rp-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.func-list ul li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--rp-dark);
    font-size: 0.95rem;
}

.func-list ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--rp-primary);
    font-weight: 700;
}

/* Установка/Эксплуатация — шаги */
.step-card {
    background: #ffffff;
    border-left: 4px solid var(--rp-primary);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.step-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--rp-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.step-card .step-number {
    background: var(--rp-primary);
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-card p {
    margin: 0;
    color: var(--rp-muted);
    font-size: 0.95rem;
}

.step-card code {
    background: #f1f5f9;
    color: var(--rp-secondary);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
}

/* Контакты */
.contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.contact-card .contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rp-primary), var(--rp-secondary));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
}

.contact-card h4 {
    font-size: 1rem;
    color: var(--rp-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
    color: var(--rp-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    margin: 0;
}

.contact-card a:hover {
    color: var(--rp-primary);
}

/* Footer */
.footer {
    background: var(--rp-dark);
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    padding: 0.3rem 0;
}

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

.footer a:hover {
    color: #ffffff;
}

.footer .copyright {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 3.5rem 0;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }
}
