@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&family=JetBrains+Mono:wght@400;500;600&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --bp-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --bp-font-heading: 'Montserrat', sans-serif;
    --bp-font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;

    --bp-color-text: #1a1a1a;
    --bp-color-text-muted: #4a5568;
    --bp-color-text-soft: #64748b;
    --bp-color-bg: #ffffff;
    --bp-color-surface: #ffffff;
    --bp-color-surface-soft: #f8fafc;
    --bp-color-surface-accent: #f0f9ff;
    --bp-color-border: #eef2f4;
    --bp-color-border-strong: #b3e5fc;

    --bp-color-primary: #29B6F6;
    --bp-color-primary-dark: #0288D1;
    --bp-color-primary-deep: #039BE5;

    --bp-radius-sm: 12px;
    --bp-radius-md: 16px;
    --bp-radius-lg: 20px;
    --bp-radius-xl: 24px;
    --bp-radius-pill: 60px;

    --bp-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
    --bp-shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
    --bp-shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08);
    --bp-shadow-accent: 0 8px 18px rgba(41, 182, 246, 0.25);

    --bp-container: 1200px;
    --bp-transition: 0.2s ease;
    --bp-transition-slow: 0.3s ease;
    --bp-header-offset: 135px;
}

/* Base reset */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--bp-header-offset);
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    width: 100%;
    position: relative;
    overflow-x: hidden;
    background: var(--bp-color-bg);
    color: var(--bp-color-text);
    font-family: var(--bp-font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

a {
    color: var(--bp-color-primary);
    text-decoration: none;
    transition: color var(--bp-transition);
}

a:hover {
    color: var(--bp-color-primary-dark);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 2px solid var(--bp-color-primary);
    outline-offset: 2px;
}

button {
    font: inherit;
    cursor: pointer;
    background: transparent;
    border: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    line-height: 1.2;
    font-family: var(--bp-font-heading);
    font-weight: 700;
}

code, pre, .technical, .code-snippet, .scenario-step {
    font-family: var(--bp-font-mono);
    font-size: 0.95em;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Layout */
.container,
.page-content {
    width: 100%;
    max-width: var(--bp-container);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.page-content {
    padding-top: 24px;
    padding-bottom: 60px;
}

.page-section {
    margin-bottom: 60px;
}

/* Typography */
.section-title {
    margin-bottom: 60px;
    color: var(--bp-color-text);
    text-align: center;
    font-family: var(--bp-font-heading);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.3;
}

.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 2px;
    background: var(--bp-color-primary);
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--bp-color-text-muted);
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

/* Buttons */
.btn,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: var(--bp-radius-pill);
    text-align: center;
    text-decoration: none !important;
    transition:
            transform var(--bp-transition-slow),
            box-shadow var(--bp-transition-slow),
            background var(--bp-transition-slow),
            color var(--bp-transition-slow),
            border-color var(--bp-transition-slow);
}

.btn-primary {
    padding: 14px 32px;
    border: none;
    background: linear-gradient(135deg, var(--bp-color-primary) 0%, var(--bp-color-primary-deep) 100%);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: var(--bp-shadow-accent);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4FC3F7 0%, var(--bp-color-primary-dark) 100%);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(41, 182, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 12px 30px;
    border: 2px solid var(--bp-color-primary);
    background: #ffffff !important;
    color: #16324a !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
    background: var(--bp-color-primary) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: var(--bp-shadow-accent);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Universal dual CTA layout */
.dual-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 560px;
    margin: 24px auto 0;
}

.dual-cta-buttons .btn-primary,
.dual-cta-buttons .btn-secondary {
    flex: 0 1 auto;
    min-width: 220px;
    min-height: 52px;
    padding-inline: 24px;
    white-space: nowrap;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    color: inherit;
    text-decoration: none;
    background: var(--bp-color-surface);
    border: 1px solid var(--bp-color-border);
    border-radius: var(--bp-radius-md);
    transition: transform var(--bp-transition-slow), box-shadow var(--bp-transition-slow), background var(--bp-transition-slow);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bp-shadow-lg);
}

.card__icon {
    font-size: 32px;
    line-height: 1;
}

.card__icon--large {
    display: block;
    margin-bottom: 15px;
    font-size: 48px;
    line-height: 1;
}

.card__title {
    margin: 0;
    color: var(--bp-color-text);
    font-size: 16px;
    font-weight: 600;
}

.card__text {
    margin: 0;
    color: var(--bp-color-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.card--centered {
    align-items: center;
    text-align: center;
}

.card--link,
.card--benefit,
.card--scenario {
    background: var(--bp-color-surface-soft);
}

.card--link {
    cursor: pointer;
}

.card--link:hover {
    background: #e3f2fd;
    box-shadow: var(--bp-shadow-md);
}

.card--benefit,
.card--scenario {
    padding: 20px;
}

.card--benefit .card__icon,
.card--scenario .card__icon {
    margin-bottom: 10px;
}

.cost-card {
    padding: 15px;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    background: var(--bp-color-surface);
    border: 1px solid var(--bp-color-border);
    border-radius: var(--bp-radius-sm);
}

/* FAQ */
.faq-section-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.faq-section-inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    overflow: hidden;
    background: var(--bp-color-surface);
    border: 1px solid var(--bp-color-border);
    border-radius: var(--bp-radius-md);
    transition: border-color var(--bp-transition-slow), box-shadow var(--bp-transition-slow);
}

.faq-item:hover,
.faq-item.open {
    border-color: var(--bp-color-border-strong);
}

.faq-item.open {
    box-shadow: var(--bp-shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 24px 28px;
    color: var(--bp-color-text);
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    background: transparent;
    border: none;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
    color: var(--bp-color-primary);
}

.faq-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    pointer-events: none;
    transition: transform var(--bp-transition-slow);
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    color: var(--bp-color-text-muted);
    font-size: 16px;
    line-height: 1.7;
    transition: max-height 0.4s ease, padding var(--bp-transition-slow);
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

/* Breadcrumbs */
#dynamicBreadcrumbs {
    display: none;
}

#dynamicBreadcrumbs.has-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: var(--bp-container);
    margin: 0 auto;
    padding: 16px 20px;
    color: #94a3b8;
    font-size: 14px;
}

#dynamicBreadcrumbs a {
    color: var(--bp-color-text-soft);
}

#dynamicBreadcrumbs a:hover {
    color: var(--bp-color-primary);
}

#dynamicBreadcrumbs .separator {
    color: #cbd5e1;
    font-size: 12px;
    user-select: none;
}

#dynamicBreadcrumbs .current {
    color: var(--bp-color-text);
    font-weight: 600;
}

/* Global CTA */
.bprofit-global-cta {
    position: relative;
    margin-top: 20px;
    padding: clamp(36px, 4vw, 56px) 24px;
    border: 1px solid rgba(2, 136, 209, 0.10);
    border-radius: 28px;
    background:
            radial-gradient(circle at top right, rgba(41, 182, 246, 0.18), transparent 30%),
            radial-gradient(circle at bottom left, rgba(2, 136, 209, 0.10), transparent 34%),
            linear-gradient(135deg, #eef8ff 0%, #dff3ff 52%, #d4ecfb 100%);
    color: #102033;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(41, 182, 246, 0.10);
    text-align: center;
}

.bprofit-global-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.06) 100%);
    pointer-events: none;
}

.bprofit-global-cta > * {
    position: relative;
    z-index: 1;
}

.bprofit-global-cta__title,
.bprofit-global-cta__text,
.bprofit-global-cta .btn-primary,
.bprofit-global-cta .btn-secondary {
    margin-left: auto;
    margin-right: auto;
}

.bprofit-global-cta__title {
    max-width: 760px;
    margin-bottom: 14px;
    color: #102033;
    font-family: var(--bp-font-heading);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
}

.bprofit-global-cta__text {
    max-width: 720px;
    margin-bottom: 24px;
    color: rgba(16, 32, 51, 0.82);
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}

.bprofit-global-cta .btn-primary {
    width: auto;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #29B6F6 0%, #0288D1 100%);
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: 0 10px 24px rgba(2, 136, 209, 0.20);
}

.bprofit-global-cta .btn-primary:hover {
    background: linear-gradient(135deg, #4FC3F7 0%, #039BE5 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2, 136, 209, 0.24);
}

.bprofit-global-cta .btn-secondary {
    width: auto;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    border-width: 1.5px;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #16324a !important;
    border-color: rgba(2, 136, 209, 0.32);
}

.bprofit-global-cta .btn-secondary:hover {
    background: #ffffff !important;
    color: #102033 !important;
    border-color: rgba(2, 136, 209, 0.48);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
    transform: translateY(-2px);
}

.home-final-cta {
    padding: 0 0 72px;
}

.is-hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .page-content {
        padding-top: 20px;
        padding-bottom: 48px;
    }

    .page-section,
    .section-title,
    .cards-grid {
        margin-bottom: 40px;
    }

    .faq-section-wrapper {
        padding: 72px 20px;
    }

    .faq-question {
        padding: 20px;
        font-size: 16px;
    }

    .faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-item.open .faq-answer {
        padding: 0 20px 20px;
    }

    .bprofit-global-cta {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .bprofit-global-cta__title {
        margin-bottom: 12px;
        font-size: 26px;
        line-height: 1.2;
    }

    .bprofit-global-cta__text {
        max-width: 100%;
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.65;
    }

    .bprofit-global-cta .btn-primary,
    .bprofit-global-cta .btn-secondary {
        width: 100%;
        min-height: 50px;
        padding: 0 18px;
        border-radius: 14px;
    }

    .dual-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 340px;
        gap: 12px;
    }

    .dual-cta-buttons .btn-primary,
    .dual-cta-buttons .btn-secondary {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .home-final-cta {
        padding: 0 0 56px;
    }
}

@media (max-width: 480px) {
    .container,
    .page-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .card {
        padding: 20px;
    }
}
/* Плавное появление карточек */
.card,
.card--link,
.card--benefit,
.card--scenario {
    opacity: 0;
    transform: translateY(14px);
    transition:
            opacity 0.32s ease,
            transform 0.32s ease,
            box-shadow 0.24s ease,
            border-color 0.24s ease,
            background-color 0.24s ease;
    will-change: opacity, transform, box-shadow;
}

/* Состояние после показа */
.card.is-visible,
.card--link.is-visible,
.card--benefit.is-visible,
.card--scenario.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Более спокойный hover после появления */
.card.is-visible:hover,
.card--link.is-visible:hover,
.card--benefit.is-visible:hover,
.card--scenario.is-visible:hover {
    transform: translateY(-2px);
}