/* ============================================================
   landing.css — стили лендинга КВАНТ.МЕД
   ============================================================ */

/* ── Переменные ─────────────────────────────────────────────── */
:root {
    --lp-primary: #7367f0;
    --lp-success: #28c76f;
    --lp-info: #00cfe8;
    --lp-warning: #ff9f43;
    --lp-radius: 1rem;
}

/* ── Фон страницы ───────────────────────────────────────────── */
.light-style body {
    background-color: #fff;
}
.dark-style body {
    background-color: #2f3349;
}

/* ── Навигация ──────────────────────────────────────────────── */
nav.layout-navbar {
    backdrop-filter: unset !important;
    height: auto !important;
    z-index: 999 !important;
    position: sticky;
    top: 0;
}
nav.layout-navbar::after {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
nav.layout-navbar.navbar-active::after {
    backdrop-filter: saturate(100%) blur(6px);
    -webkit-backdrop-filter: saturate(100%) blur(6px);
}

.navbar.landing-navbar {
    transition: all 0.2s ease-in-out;
    transform: unset !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    margin-top: 0.75rem;
    border-width: 1.5px;
    border-style: solid;
    border-radius: 0.5rem;
}
.navbar.landing-navbar .navbar-nav .nav-link {
    padding: 0.5rem 0.9375rem;
}
@media (max-width: 1199.98px) {
    .navbar.landing-navbar .navbar-nav .nav-link {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
@media (max-width: 991.98px) {
    .navbar.landing-navbar .landing-menu-overlay {
        position: fixed;
        display: none;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(75, 70, 92, 0.78);
        transition: all 0.2s ease-in-out;
        z-index: 9998;
    }
    .navbar.landing-navbar .landing-nav-menu {
        position: fixed;
        display: block !important;
        height: 100%;
        max-width: 300px;
        width: 80%;
        padding: 1rem;
        inset-inline-start: -100%;
        top: 0;
        overflow-y: auto;
        transition: all 0.3s ease-in-out;
        z-index: 9999;
    }
    .navbar.landing-navbar .landing-nav-menu.show {
        inset-inline-start: 0;
    }
    .navbar.landing-navbar .landing-nav-menu.show ~ .landing-menu-overlay {
        display: block;
    }
}

.light-style .layout-navbar .navbar.landing-navbar {
    border-color: rgba(115, 103, 240, 0.14);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 16px rgba(115, 103, 240, 0.07);
}
.light-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link {
    color: #5d596c;
}
.light-style .layout-navbar .navbar.landing-navbar .navbar-nav .show > .nav-link,
.light-style .layout-navbar .navbar.landing-navbar .navbar-nav .active > .nav-link,
.light-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link.show,
.light-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link.active {
    color: #7367f0 !important;
}
@media (max-width: 991.98px) {
    .light-style .layout-navbar .navbar.landing-navbar .landing-nav-menu {
        background-color: #fff;
    }
}
.light-style .layout-navbar.navbar-active .navbar.landing-navbar {
    background: #fff;
    border-color: rgba(115, 103, 240, 0.18);
    box-shadow: 0 2px 20px rgba(115, 103, 240, 0.1);
}
.light-style .layout-navbar .menu-text {
    color: #5d596c;
}

.dark-style .layout-navbar .navbar.landing-navbar {
    border-color: rgba(115, 103, 240, 0.2);
    background-color: rgba(47, 51, 73, 0.94);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}
.dark-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link {
    color: #cfd3ec;
}
.dark-style .layout-navbar .navbar.landing-navbar .navbar-nav .show > .nav-link,
.dark-style .layout-navbar .navbar.landing-navbar .navbar-nav .active > .nav-link,
.dark-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link.show,
.dark-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link.active {
    color: #7367f0 !important;
}
@media (max-width: 991.98px) {
    .dark-style .layout-navbar .navbar.landing-navbar .landing-nav-menu {
        background-color: #2f3349;
    }
}
.dark-style .layout-navbar .navbar .menu-text {
    color: #cfd3ec;
}
.dark-style .layout-navbar.navbar-active .navbar.landing-navbar {
    background: #2f3349;
    border-color: #2f3349;
    box-shadow: 0 0.125rem 0.25rem rgba(15, 20, 34, 0.4);
}

/* ── Footer ─────────────────────────────────────────────────── */
.landing-footer .footer-link {
    transition: all 0.2s ease-in-out;
}
.landing-footer .footer-link:hover {
    opacity: 0.8;
}
.landing-footer .footer-top {
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 3.5rem 0;
    border-top-left-radius: 3.75rem;
    border-top-right-radius: 3.75rem;
}
@media (max-width: 767.98px) {
    .landing-footer .footer-top {
        padding: 3rem 0;
    }
}
@media (min-width: 992px) {
    .landing-footer .footer-logo-description {
        max-width: 322px;
    }
}
.light-style .landing-footer .footer-link,
.light-style .landing-footer .footer-text {
    color: #d3d4dc;
}
.light-style .landing-footer .footer-title {
    color: #fff;
}
.light-style .landing-footer .footer-top {
    background-image: url("../../../img/front-pages/backgrounds/footer-bg-light.png");
}
.light-style .landing-footer .footer-bottom {
    background-color: #282c3e;
}
.dark-style .landing-footer .footer-link,
.dark-style .landing-footer .footer-text {
    color: #b6bee3;
}
.dark-style .landing-footer .footer-title {
    color: #cfd3ec;
}
.dark-style .landing-footer .footer-top {
    background-image: url("../../../img/front-pages/backgrounds/footer-bg-dark.png");
}
.dark-style .landing-footer .footer-bottom {
    background-color: #171925;
}

/* ── Section title decoration ───────────────────────────────── */
.section-title {
    position: relative;
    font-weight: 700;
    z-index: 1;
}
.section-title::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 120%;
    inset-inline-start: -12%;
    bottom: 0;
    background: url("../../../img/front-pages/icons/section-title-icon.png") no-repeat left bottom;
    background-size: contain;
    z-index: -1;
}

/* ============================================================
   Секции лендинга
   ============================================================ */

/* ── Общая секция ───────────────────────────────────────────── */
.lp-section {
    padding: 5rem 0;
}
@media (max-width: 767.98px) {
    .lp-section {
        padding: 3rem 0;
    }
}

.lp-section--alt {
    background-color: #f8f7fa;
}
.dark-style .lp-section--alt {
    background-color: #25293c;
}

.lp-section-header {
    max-width: 640px;
    margin: 0 auto 2rem;
}

.lp-section-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
@media (max-width: 767.98px) {
    .lp-section-title {
        font-size: 1.6rem;
    }
}

.lp-section-subtitle {
    color: #8a8d93;
    font-size: 1rem;
    line-height: 1.6;
}

/* ── Hero ───────────────────────────────────────────────────── */
.lp-hero {
    padding: 8rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}
.light-style .lp-hero {
    background: linear-gradient(138.18deg, #eae8fd 0%, #fce5e6 94.44%);
}
.dark-style .lp-hero {
    background: linear-gradient(138.18deg, #1e2130 0%, #2d2040 94.44%);
}
@media (max-width: 767.98px) {
    .lp-hero {
        padding: 3rem 0 3rem;
    }
}

.lp-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.lp-hero__content {
    max-width: 720px;
    width: 100%;
    text-align: center;
}

.lp-pill {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(115, 103, 240, 0.12);
    color: #7367f0;
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.lp-hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #3e3b4a;
}
.dark-style .lp-hero__title {
    color: #e8e6f0;
}
@media (max-width: 991.98px) {
    .lp-hero__title {
        font-size: 2.4rem;
    }
}
@media (max-width: 575.98px) {
    .lp-hero__title {
        font-size: 2rem;
    }
}

.lp-hero__title-accent {
    background: linear-gradient(135deg, #7367f0 0%, #28c76f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero__subtitle {
    font-size: 1.1rem;
    color: #6e6b7b;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.dark-style .lp-hero__subtitle {
    color: #b4b7bd;
}

.lp-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-btn-cta {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* ── Hero stats strip ───────────────────────────────────────── */
.lp-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(115, 103, 240, 0.1);
    width: 100%;
    max-width: 860px;
}
.dark-style .lp-hero__stats {
    background: rgba(47, 51, 73, 0.72);
}
@media (max-width: 575.98px) {
    .lp-hero__stats {
        gap: 1.5rem;
        padding: 1.5rem 1.25rem;
    }
}

.lp-stat {
    text-align: center;
    min-width: 5rem;
}
.lp-stat__value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #7367f0;
    line-height: 1;
}
@media (max-width: 575.98px) {
    .lp-stat__value {
        font-size: 1.4rem;
    }
}
.lp-stat__label {
    font-size: 0.78rem;
    color: #8a8d93;
    margin-top: 0.3rem;
    line-height: 1.3;
}

.lp-stat-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(115, 103, 240, 0.18);
    flex-shrink: 0;
}

/* ── Feature cards ──────────────────────────────────────────── */
.lp-feature-card {
    padding: 1.75rem;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1.5px solid rgba(115, 103, 240, 0.1);
    height: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.dark-style .lp-feature-card {
    background: #2f3349;
    border-color: rgba(255, 255, 255, 0.06);
}
.lp-feature-card:hover {
    box-shadow: 0 8px 32px rgba(115, 103, 240, 0.14);
    border-color: rgba(115, 103, 240, 0.3);
    transform: translateY(-3px);
}

.lp-feature-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(115, 103, 240, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    color: #7367f0;
}

.lp-feature-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.lp-feature-card__text {
    color: #8a8d93;
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* ── Audience cards ─────────────────────────────────────────── */
.lp-audience-card {
    padding: 2rem 1.75rem;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1.5px solid rgba(115, 103, 240, 0.1);
    height: 100%;
    position: relative;
    transition: box-shadow 0.2s ease;
}
.dark-style .lp-audience-card {
    background: #2f3349;
    border-color: rgba(255, 255, 255, 0.06);
}
.lp-audience-card--featured {
    border-color: #7367f0;
    box-shadow: 0 4px 24px rgba(115, 103, 240, 0.18);
}
.lp-audience-card:hover {
    box-shadow: 0 8px 32px rgba(115, 103, 240, 0.14);
}

.lp-audience-card__badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: #7367f0;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.85rem;
    border-radius: 50rem;
    white-space: nowrap;
}

.lp-audience-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(115, 103, 240, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    color: #7367f0;
}

.lp-audience-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.lp-audience-card__text {
    color: #8a8d93;
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.lp-audience-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lp-audience-card__list li {
    font-size: 0.875rem;
    color: #6e6b7b;
    padding: 0.3rem 0;
    padding-left: 1.4rem;
    position: relative;
}
.dark-style .lp-audience-card__list li {
    color: #b4b7bd;
}
.lp-audience-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #7367f0;
}

/* ── Steps (how it works) ───────────────────────────────────── */
.lp-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}
.lp-steps::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 3rem;
    bottom: 3rem;
    width: 2px;
    background: linear-gradient(to bottom, #7367f0 0%, rgba(115, 103, 240, 0.08) 100%);
}
@media (max-width: 575.98px) {
    .lp-steps::before {
        left: 1.25rem;
    }
}

.lp-step {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    position: relative;
    z-index: 1;
}
@media (max-width: 575.98px) {
    .lp-step {
        gap: 1.25rem;
    }
}

.lp-step__num {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #7367f0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(115, 103, 240, 0.14);
}
@media (max-width: 575.98px) {
    .lp-step__num {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.9rem;
    }
}

.lp-step__content {
    padding-top: 0.45rem;
}
.lp-step__title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.lp-step__text {
    color: #8a8d93;
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* ── Integration cards ──────────────────────────────────────── */
.lp-integration-card {
    padding: 2rem 1.75rem;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1.5px solid rgba(115, 103, 240, 0.1);
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.dark-style .lp-integration-card {
    background: #2f3349;
    border-color: rgba(255, 255, 255, 0.06);
}
.lp-integration-card:hover {
    box-shadow: 0 8px 32px rgba(115, 103, 240, 0.14);
    transform: translateY(-3px);
}

.lp-integration-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}
.lp-integration-card__icon--blue {
    background: rgba(0, 207, 232, 0.12);
    color: #00cfe8;
}
.lp-integration-card__icon--purple {
    background: rgba(115, 103, 240, 0.12);
    color: #7367f0;
}
.lp-integration-card__icon--green {
    background: rgba(40, 199, 111, 0.12);
    color: #28c76f;
}

.lp-integration-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}
.lp-integration-card__text {
    color: #8a8d93;
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.lp-integration-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.lp-integration-card__list li {
    font-size: 0.85rem;
    color: #6e6b7b;
}
.dark-style .lp-integration-card__list li {
    color: #b4b7bd;
}

/* ── Trust section ──────────────────────────────────────────── */
.lp-trust-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lp-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.lp-trust-item__icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(115, 103, 240, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #7367f0;
}

/* ── Trust stat cards ───────────────────────────────────────── */
.lp-trust-stat-card {
    padding: 1.5rem;
    border-radius: var(--lp-radius);
    text-align: center;
    background: #fff;
    border: 1.5px solid transparent;
    transition: transform 0.2s ease;
}
.dark-style .lp-trust-stat-card {
    background: #2f3349;
}
.lp-trust-stat-card:hover {
    transform: translateY(-2px);
}

.lp-trust-stat-card__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}
.lp-trust-stat-card__value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.lp-trust-stat-card__label {
    font-size: 0.78rem;
    color: #8a8d93;
    line-height: 1.35;
}

.lp-trust-stat-card--primary { border-color: rgba(115, 103, 240, 0.2); }
.lp-trust-stat-card--primary .lp-trust-stat-card__icon,
.lp-trust-stat-card--primary .lp-trust-stat-card__value { color: #7367f0; }

.lp-trust-stat-card--success { border-color: rgba(40, 199, 111, 0.2); }
.lp-trust-stat-card--success .lp-trust-stat-card__icon,
.lp-trust-stat-card--success .lp-trust-stat-card__value { color: #28c76f; }

.lp-trust-stat-card--info { border-color: rgba(0, 207, 232, 0.2); }
.lp-trust-stat-card--info .lp-trust-stat-card__icon,
.lp-trust-stat-card--info .lp-trust-stat-card__value { color: #00cfe8; }

.lp-trust-stat-card--warning { border-color: rgba(255, 159, 67, 0.2); }
.lp-trust-stat-card--warning .lp-trust-stat-card__icon,
.lp-trust-stat-card--warning .lp-trust-stat-card__value { color: #ff9f43; }

/* ── Accordion (FAQ) ────────────────────────────────────────── */
.lp-accordion .accordion-item {
    border-radius: 0.75rem !important;
    margin-bottom: 0.75rem;
    border: 1.5px solid rgba(115, 103, 240, 0.12) !important;
    overflow: hidden;
}
.lp-accordion .accordion-button {
    font-weight: 500;
    font-size: 0.95rem;
}
.lp-accordion .accordion-button:not(.collapsed) {
    color: #7367f0;
    background-color: rgba(115, 103, 240, 0.05);
}
.lp-accordion .accordion-body {
    color: #8a8d93;
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ── Final CTA ──────────────────────────────────────────────── */
.lp-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #7367f0 0%, #28c76f 100%);
    position: relative;
    overflow: hidden;
}
.lp-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 65%);
}
@media (max-width: 767.98px) {
    .lp-cta {
        padding: 3.5rem 0;
    }
}

.lp-cta__inner {
    position: relative;
    z-index: 1;
}
.lp-cta__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
@media (max-width: 767.98px) {
    .lp-cta__title {
        font-size: 1.75rem;
    }
}
.lp-cta__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

/* ── Contact ────────────────────────────────────────────────── */
.lp-contact .text-heading {
    overflow-wrap: anywhere;
}
