/* Shared landing-page palette. Dashboard styles are scoped under .crm below. */
:root {
    --bg-page: #FCFCFC;

    /* Світло-сірий фон сторінки як на референсі */
    --card-bg: #FFFFFF;
    --text-main: #333333;
    --text-muted: #6B7280;
    --accent-purple: #9B26B6;
    --accent-pink: #FF6B9E;
    --accent-blue: #4A90E2;
    --shadow-card: 0 30px 60px rgba(137, 33, 151, 0.04);
    --border-radius-xl: 32px;
    --border-radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 140px;
}

body {
    font-family: 'Inter', sans-serif;

    /* background-color: var(--bg-page); */
    color: var(--text-main);
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at top left, rgba(26, 86, 219, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(26, 86, 219, 0.06), transparent 28%), #f8fbff;
}

.page-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

h1 em,
h2 em {
    font-weight: 900;
    font-style: normal;
    background: radial-gradient(circle at 100%, #ee0c90 0%, #9113cc 50%, #db09bf 100%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animatedTextGradient 3.5s linear infinite;
}

/* Спільний стиль для великих карток */
.main-card {

    /* background: var(--card-bg);
    border-radius: var(--border-radius-xl); */
    background: radial-gradient(circle at top left, rgba(26, 86, 219, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(26, 86, 219, 0.06), transparent 28%), #f8fbff;
    box-shadow: var(--shadow-card);
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
}

/* --- Header --- */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.landing .card-header.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
    padding: 20px 28px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    background: rgba(248, 251, 255, 0.96);
    box-shadow: 0 12px 30px rgba(137, 33, 151, 0.08);
    backdrop-filter: blur(16px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent-purple);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-text {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
}

.btn-pill {
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-primary {
    background: rgba(155, 38, 182, 0.1);
    color: var(--accent-purple);
    text-transform: uppercase;
    transition: 0.5s;
    border: 1px solid white;
}

.btn-primary:hover {
    text-decoration: none;
    border: 1px solid #efc0fa;
    background: #fbebff;
}

/* --- Hero Section --- */
.hero-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pre-title {
    color: #177aac;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 26px;
    display: block;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #111827;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-gradient {
    background: linear-gradient(135deg, #FF6B9E, #9B26B6);
    transition: all 0.5s;
    color: white;
    border: none;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #9B26B6, #FF6B9E);
}

.btn-outline {
    background: #FFFFFF;
    color: var(--text-main);
    box-shadow: inset 0 1px 0 #7ab5f1, inset 1px 0 0 #e154e0;
}

.hero-features {
    display: flex;
    gap: 32px;
    justify-content: space-between;
}

.feature-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1rem;
    color: var(--text-muted);
}

.feature-mini .icon {
    font-size: 0.5rem;
    text-align: center;
}

/* Анотація графіки справа */
.hero-visual {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-image: url(./images/device_set_2.png);
    background-size: cover;
    background-position: left center;
}

.abstract-gradient-box {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, #E0C3FC 0%, #8EC5FC 100%);
    position: relative;
    overflow: hidden;
}

.dots-pattern {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.8) 2px, transparent 2px);
    background-size: 10px 10px;
}

.glass-sphere {
    position: absolute;
    bottom: 40px;
    right: 60px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.5);
}

/* --- Benefits Section --- */
/* .benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 40px;
    padding: 40px;
}

.benefits-left h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.benefits-left p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 32px;
}

.small-cards-row {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.small-card {
    padding: 24px;
    border-radius: 16px;
    flex: 1;
}

.bg-teal {
    background: rgba(16, 185, 129, 0.1);
}

.bg-pink {
    background: rgba(255, 107, 158, 0.1);
}

.small-card h4 {
    font-size: 0.9rem;
    margin: 12px 0 4px;
}

.small-card p {
    font-size: 0.8rem;
    margin: 0;
}

.link-arrow {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.benefits-right {
    background: #F8FAFC;
    border-radius: var(--border-radius-lg);
    padding: 32px;
}

.right-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-weight: 500;
}

.nav-arrows button {
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
} */

/* Stats Row */
.stats-row {
    border-top: 1px solid #E5E7EB;
    padding-top: 32px;
    display: flex;
    justify-content: space-around;
}

.stat {
    display: flex;
    align-items: center;
    gap: 40px;
}

.stat-icon {
    font-size: 1.5rem;
    background: #F3F4F6;
    padding: 12px;
    border-radius: 12px;
}

.stat strong {
    display: block;
    font-size: 1.8rem;
    color: #9b26b6;
    font-weight: 400;
    /* color: #686768; */
}

.stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.advantages-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 25%;
    background: rgba(234, 238, 245, 0.3019607843);
    font-size: 1.6rem;
    box-shadow: inset 0 1px 0 #7ab5f1, inset 1px 0 0 #e154e0;
}

/* --- Ліва колонка: Маленькі картки --- */
/* .small-cards-row {
    display: flex;
    gap: 20px;

    
    margin-bottom: 40px;
}

.small-card {
    flex: 1;
    padding: 32px 24px;

   
    border-radius: 20px;

    
    border: 2px solid #FFFFFF;

   
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);

   
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.small-card:hover {
    transform: translateY(-5px);

    
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.bg-teal {

   
    background: linear-gradient(135deg, #E6F8F5 0%, #CFF0E9 100%);
}

.bg-pink {

    background: linear-gradient(135deg, #FDF0F4 0%, #FAD7E4 100%);
}

.small-card .icon-wrap {
    font-size: 1.6rem;
    margin-bottom: 16px;
    display: inline-block;
}

.small-card h4 {
    font-size: 1rem;
    color: #1A1C29;
    margin-bottom: 6px;
    font-weight: 600;
}

.small-card p {
    font-size: 0.85rem;
    color: #6B7280;
    margin: 0;
} */

/* --- Права колонка: Великі картки --- */
/* .benefits-right {
    background: #F8FAFC;
    border-radius: 24px;
    padding: 40px;

  
}

.large-cards-row {
    display: flex;
    gap: 24px;
}

.card-blue {

  
    background: linear-gradient(160deg, #EBF4FF 0%, #D1E5FF 100%);
}

.card-cyan {

    
    background: linear-gradient(160deg, #E0F8F7 0%, #C3F0EC 100%);
}

.icon-circle {
    width: 56px;
    height: 56px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);

 
    margin-bottom: 32px;
    font-size: 1.4rem;
} */


/* .card-footer-line {
    position: absolute;
    bottom: 24px;
    left: 32px;
    width: 60px;

    
    height: 6px;
    border-radius: 3px;
}

.blue-line {
    background: rgba(74, 144, 226, 0.3);
}

.cyan-line {
    background: rgba(16, 185, 129, 0.3);
} */


.large-card {
    flex: 1;
    padding: 40px 24px 32px;
    border-radius: 24px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 15px 35px rgba(100, 120, 170, 0.12);
    position: relative;
    overflow: hidden;

    /* Важливо, щоб "хвилі" не виходили за межі */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.large-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(100, 120, 170, 0.2);
}

/* Піднімаємо контент над фоновими псевдоелементами */
.large-card * {
    z-index: 2;
    position: relative;
}

/* Іконка в білому колі */
.icon-circle {
    width: 64px;
    height: 64px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), inset 0 -2px 4px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.large-card h3 {
    font-size: 1.2rem;
    color: #1E293B;
    margin-bottom: 12px;
    font-weight: 600;
}

.large-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Індикатор-лінія внизу */
.card-footer-line {
    width: 80%;
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    margin-top: auto;
}

.card-footer-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40%;

    /* Заповненість індикатора */
    border-radius: 4px;
}

/* =========================================
КАРТКА 1: Синьо-фіолетова (Аналітика)
========================================= */
.card-rose {

    /* Основний (нижній) синій колір */

    /* background: linear-gradient(180deg, #93B8FF 0%, #76A2FF 100%); */
    background: linear-gradient(1deg, #ffffff 0%, #f6d0e2 100%);
}

/* Створення світлої органічної хвилі зверху */
.card-rose::before {
    content: '';
    position: absolute;
    top: -65%;
    left: -30%;
    width: 150%;
    height: 110%;
    background: linear-gradient(2deg, #fcd0e18f 0%, #ffebf5 100%);
    border-radius: 40% 60% 65% 35% / 45% 45% 55% 55%;
    z-index: 0;
    transform: rotate(-18deg);
}

.card-rose h3 {
    color: #9c2664;
}

.card-rose p {
    color: #9c48a4;
}

.card-rose .card-footer-line::after {
    background: #2563EB;

    /* Яскраво-синій повзунок */
}

/* =========================================
КАРТКА 2: Голуба картка
========================================= */
.card-blue {

    /* Основний (нижній) бірюзовий колір */

    /* background: linear-gradient(180deg, #99E5D9 0%, #6CD9CB 100%); */
    background: linear-gradient(354deg, #e6f1fd 0%, #c8defa 100%);
}

/* Створення світлої органічної хвилі зверху */
.card-blue::before {
    content: '';
    position: absolute;
    top: -45%;
    left: -25%;
    width: 160%;
    height: 115%;

    /* Світло-м'ятний градієнт */

    /* background: linear-gradient(135deg, #F0FBF9 0%, #BDECE4 100%); */
    background: linear-gradient(175deg, #a7d0fa 0%, #ffffff 100% 100% );

    /* Асиметричний радіус для форми хвилі */
    border-radius: 50% 50% 60% 40% / 40% 60% 50% 60%;
    z-index: 0;
    transform: rotate(-42deg);
}

.card-blue h3 {
    color: #2a619c;
}

/* Темніший заголовок для контрасту */
.card-blue p {
    color: #2a619c;
}
/* 14. Світлі варіанти карток */
.card-blue-light {
    background: linear-gradient(354deg, #e6f1fd 0%, #ffffff 100%);
}

.card-blue-light::before {
    content: '';
    position: absolute;
    top: -45%;
    left: -50%;
    width: 160%;
    height: 115%;

    /* background: linear-gradient(135deg, #F0FBF9 0%, #BDECE4 100%); */
    background: linear-gradient(175deg, #ddeefe 0%, #ffffff 100% 100%);
    border-radius: 50% 50% 60% 40% / 40% 60% 50% 60%;
    z-index: 0;
    transform: rotate(-42deg);
}

.card-rose-light {
    background: linear-gradient(181deg, #ffffff 0%, #f4ecf9 100%);
}

.card-rose-light::before {
    content: '';
    position: absolute;
    top: -65%;
    left: -30%;
    width: 150%;
    height: 110%;
    background: linear-gradient(2deg, #f2e8f9 0%, #ffffff 100%);
    border-radius: 40% 60% 65% 35% / 45% 45% 55% 55%;
    z-index: 0;
    transform: rotate(-18deg);
}
/* 16. Головна сторінка: адаптивність ізольована від дашборду. */
.landing-menu-toggle {
    display: none;
}

.landing a:focus-visible,
.landing button:focus-visible {
    outline: 3px solid var(--accent-purple);
    outline-offset: 4px;
}

.landing .hero-content,
.landing .benefits-left,
.landing .benefits-right,
.landing .small-card,
.landing .large-card {
    min-width: 0;
}

@media (max-width: 1200px) {
    .landing .card-header {
        flex-wrap: wrap;
        gap: 24px;
    }

    .landing .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 28px;
    }

    .landing .hero-body {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px;
    }

    .landing .hero-content h1 {
        font-size: 2.75rem;
        overflow-wrap: break-word;
    }

    .landing .hero-actions {
        flex-wrap: wrap;
    }

    .landing .hero-features {
        gap: 16px;
    }

    .landing .feature-mini {
        flex: 1;
        text-align: center;
        font-size: 0.875rem;
    }

    .landing .stats-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .landing .stat {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .landing .advantages-icon {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .landing .benefits-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding: 32px;
    }

    .landing .small-cards-row,
    .landing .large-cards-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing .nav-links a,
    .landing .btn-text,
    .landing .btn-pill,
    .landing .link-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        text-align: center;
    }

    .landing .nav-arrows {
        display: flex;
        gap: 8px;
        flex-shrink: 0;
    }

    .landing .nav-arrows button {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .landing .right-header {
        align-items: center;
        gap: 16px;
    }
}

@media (max-width: 900px) {
    body.landing {
        padding: 24px;
        padding-left: max(24px, env(safe-area-inset-left));
        padding-right: max(24px, env(safe-area-inset-right));
    }

    .landing .main-card {
        padding: 28px;
    }

    .landing .card-header {
        gap: 16px;
        margin-bottom: 40px;
    }

    .landing .logo img {
        width: 190px;
        height: auto;
        max-width: 100%;
    }

    .landing-nav-ready .landing-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border: 1px solid #efc0fa;
        border-radius: 12px;
        color: var(--accent-purple);
        background: var(--card-bg);
        cursor: pointer;
    }

    .landing .nav-links,
    .landing .nav-actions {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .landing-nav-ready:not(.landing-menu-open) .nav-links,
    .landing-nav-ready:not(.landing-menu-open) .nav-actions {
        display: none;
    }

    .landing .nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 16px;
        border-top: 1px solid #E5E7EB;
    }

    .landing .hero-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .landing .hero-content h1 {
        font-size: 3rem;
        max-width: 650px;
    }

    .landing .hero-content p {
        max-width: 100%;
    }

    .landing .hero-actions {
        margin-bottom: 32px;
    }

    .landing .hero-visual {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .landing .benefits-grid {
        padding: 0;
    }

    .landing .benefits-left {
        padding: 0 28px;
    }

    .landing .benefits-right {
        padding: 28px;
    }

    .landing .large-card p br {
        display: none;
    }
}

@media (max-width: 600px) {
    body.landing {
        padding-top: max(12px, env(safe-area-inset-top));
        padding-right: max(12px, env(safe-area-inset-right));
        padding-bottom: max(24px, env(safe-area-inset-bottom));
        padding-left: max(12px, env(safe-area-inset-left));
    }

    .landing .page-wrapper {
        gap: 24px;
    }

    .landing .main-card {
        padding: 20px 16px;
    }

    .landing .card-header {
        margin-bottom: 32px;
    }

    .landing .logo {
        flex: 1;
        min-width: 0;
    }

    .landing .logo img {
        width: 160px;
    }

    .landing .nav-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing .nav-actions {
        flex-wrap: wrap;
        gap: 12px;
    }

    .landing .pre-title {
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .landing .hero-content h1 {
        font-size: 2.25rem;
        line-height: 1.15;
        letter-spacing: -0.7px;
    }

    .landing .hero-content p {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .landing .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .landing .btn-pill {
        padding: 14px 20px;
    }

    .landing .hero-features {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 24px;
    }

    .landing .feature-mini {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .landing .feature-mini .icon {
        font-size: 0.8rem;
    }

    .landing .hero-body {
        gap: 24px;
    }

    .landing .stats-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-top: 24px;
    }

    .landing .stat {
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }

    .landing .advantages-icon {
        width: 64px;
        height: 64px;
        padding: 0;
    }

    .landing .advantages-icon svg {
        width: 36px;
        height: 36px;
    }

    .landing .stat strong {
        font-size: 1.875rem;
    }

    .landing .benefits-left {
        padding: 0 16px;
    }

    .landing .benefits-right {
        padding: 24px 16px;
    }

    .landing .benefits-left h2 {
        font-size: 1.625rem;
    }

    .landing .small-cards-row {
        gap: 12px;
        margin-bottom: 24px;
    }

    .landing .small-card {
        padding: 20px 12px;
        overflow-wrap: break-word;
    }

    .landing .large-cards-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .landing .large-card {
        padding: 32px 24px 24px;
    }

    .landing .large-card p {
        margin-bottom: 12px;
    }

    .landing .right-header {
        flex-wrap: wrap;
    }
}

@media (hover: none) {
    .landing .small-card:hover,
    .landing .large-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing .small-card,
    .landing .large-card,
    .landing .btn-pill {
        transition: none;
    }

    .landing h1 em,
    .landing h2 em {
        animation: none;
    }
}

/* 17. Лендінг: можливості платформи. Спільні стилі карток не змінюємо. */
.landing .landing-efficiency {
    padding: 24px 40px 56px;
}

.landing .landing-efficiency-heading {
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
}

.landing .landing-efficiency-heading h2 {
    margin-bottom: 16px;
    margin-top: 20px;
    font-size: 2.8rem;
    line-height: 1.2;
    letter-spacing: -0.7px;
    color: var(--text-main);
}

.landing .landing-efficiency-heading p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.landing .landing-efficiency-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 4rem;
}

.landing .landing-efficiency-card {
    padding: 32px 24px;
}

.landing .landing-efficiency-card .icon-circle {
    flex-shrink: 0;
    margin-bottom: 18px;
    color: #93278f;
}

.landing .landing-efficiency-card.card-blue-light .icon-circle {
    color: #2a619c;
}

.landing .landing-efficiency-card svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing .landing-efficiency-category {
    margin-bottom: 12px;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.landing .landing-efficiency-card h3 {
    margin-bottom: 14px;
    font-size: 1.125rem;
    line-height: 1.45;
}

.landing .landing-efficiency-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-muted);
    overflow-wrap: break-word;
}

@media (max-width: 1000px) {
    .landing .landing-efficiency {
        padding: 16px 28px 40px;
    }

    .landing .landing-efficiency-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .landing .landing-efficiency {
        padding: 8px 16px 32px;
    }

    .landing .landing-efficiency-heading {
        margin-bottom: 24px;
    }

    .landing .landing-efficiency-heading h2 {
        font-size: 1.75rem;
    }

    .landing .landing-efficiency-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* 18. Лендінг: закритий доступ для клієнтів практики. */
.landing .landing-members {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
    align-items: center;
    gap: 48px;
    margin: 0 40px 56px;
    padding: 44px 40px;
    border: 2px solid #FFFFFF;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at bottom right, #f4ecf9 0%, transparent 52%),
        linear-gradient(120deg, #FFFFFF, #f8fbff);
    box-shadow: 0 15px 35px rgba(100, 120, 170, 0.08);
}

.landing .landing-members-badge {
    display: inline-block;
    margin-bottom: 26px;
    margin-top: 3rem;
    padding: 5px 11px;
    border-radius: 50px;
    /* background: #f4ecf9; */
    color:#177aac;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.landing .landing-members h2 {
    margin-bottom: 18px;
    font-size: 1.875rem;
    line-height: 1.2;
    letter-spacing: -0.6px;
    color: var(--text-main);
}

.landing .landing-members p {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.landing .landing-members-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-top: 20px;
    color: #93278f;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.landing .landing-members-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.landing .landing-members-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing .landing-members-reasons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
}

.landing .landing-members-number {
    display: block;
    margin-bottom: 16px;
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 400;
    color: #3a7aac;
    /* color: #93278f; */
}

.landing .landing-members-reasons h3 {
    margin-bottom: 10px;
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 600;
    color: var(--text-main);
}

.landing .landing-members-reasons p {
    font-size: 0.8rem;
}

@media (max-width: 1100px) {
    .landing .landing-members {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        margin-inline: 28px;
        padding: 36px 28px;
    }

    .landing .landing-members-intro {
        max-width: 640px;
    }
}

@media (max-width: 600px) {
    .landing .landing-members {
        margin: 0 16px 32px;
        padding: 28px 20px;
        gap: 28px;
    }

    .landing .landing-members h2 {
        font-size: 1.625rem;
    }

    .landing .landing-members-reasons {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .landing .landing-members-reasons li {
        padding-top: 24px;
        border-top: 1px solid #eaeaf2;
    }

    .landing .landing-members-number {
        margin-bottom: 12px;
    }
}

/* 19. Лендінг: форма запрошення та нижня частина сторінки. */
.landing .landing-invitation {
    padding: 0 40px 56px;
    scroll-margin-top: 24px;
}

.landing .landing-invitation-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 80px 80px 80px;
    border: 2px solid #FFFFFF;
    border-radius: 24px;
    background: radial-gradient(ellipse at top left, #d29cf11a, transparent 48%), linear-gradient(145deg, #FFFFFF, #f8fbff);
    /* box-shadow: 0 15px 35px rgba(100, 120, 170, 0.12); */
}

.landing .landing-invitation-heading {
    margin-bottom: 28px;
   
    text-align: center;
}

.landing .landing-invitation-heading h2 {
    margin-bottom: 14px;
   
    font-size: 1.875rem;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.landing .landing-invitation-heading p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.landing .landing-form-hint {
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.landing .landing-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}

.landing .landing-form-field {
    min-width: 0;
}

.landing .landing-form-field-wide {
    grid-column: 1 / -1;
}

.landing .landing-form-field > label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.5;
    color: #777777;
}

.landing .landing-input-wrap {
    position: relative;
}

.landing .landing-input-wrap svg,
.landing .landing-form-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing .landing-input-wrap svg {
    position: absolute;
    top: 16px;
    left: 14px;
    color: #a48cae;
    pointer-events: none;
}

.landing .landing-input-wrap input,
.landing .landing-input-wrap textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 10px 10px 10px 42px;
    border: 1px solid #e8e0ed;
    border-radius: 5px;
    background: #ffffff;
    color: var(--text-main);
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
}

.landing .landing-input-wrap textarea {
    min-height: 128px;
    resize: vertical;
}

.landing .landing-input-wrap input::placeholder,
.landing .landing-input-wrap textarea::placeholder {
    color: #777777;
    opacity: 1;
    font-size: 0.8rem;
}

.landing .landing-input-wrap input:focus,
.landing .landing-input-wrap textarea:focus {
    outline: 1px solid #d1d0d1f5;
    outline-offset: 1px;
    border-color: #fa8abe;
}

.landing .landing-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0 18px;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.landing .landing-form-consent input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--accent-purple);
    cursor: pointer;
}

.landing .landing-form-consent label {
    cursor: pointer;
}

.landing .landing-legal-link {
    padding: 0;
    border: 0;
    background: none;
    color: #3a7ab4;
    font: inherit;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
 
.landing .landing-legal-link:hover {
    color: #93278f;
}

.landing .landing-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.5;
    cursor: pointer;
}

.landing .landing-form-submit svg {
    flex-shrink: 0;
}

.landing .landing-form-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.landing .landing-form-demo {
    margin-top: 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.landing .landing-form-result {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #dae9f8;
    border-radius: 12px;
    background: #edf3fc;
    color: #2a619c;
    font-size: 0.875rem;
    line-height: 1.7;
}

.landing .landing-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.7fr);
    gap: 48px;
    margin: 0 40px;
    padding: 36px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.landing .landing-footer img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
}

.landing .landing-footer h2 {
    margin-bottom: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.landing .landing-footer p {
    margin-bottom: 8px;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.landing .landing-footer-legal .landing-legal-link {
    display: block;
    min-height: 44px;
    font-size: 0.8rem;
}

.landing .landing-legal-dialog {
    width: min(480px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 28px;
    border: 1px solid #e8e0ed;
    border-radius: 24px;
    color: var(--text-main);
    background: #fdfbff;
    box-shadow: 0 15px 35px rgba(100, 120, 170, 0.12);
}

.landing .landing-legal-dialog::backdrop {
    background: #29233555;
    backdrop-filter: blur(4px);
}

.landing .landing-legal-dialog h2 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.landing .landing-legal-dialog p {
    margin-bottom: 24px;
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.landing .landing-legal-dialog button {
    font-family: inherit;
    cursor: pointer;
}

@media (max-width: 900px) {
    .landing .landing-invitation {
        padding: 0 28px 40px;
    }

    .landing .landing-invitation-card {
        padding: 32px 28px;
    }

    .landing .landing-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        margin-inline: 28px;
    }

    .landing .landing-footer-about {
        grid-column: 1 / -1;
        max-width: 520px;
    }
}

@media (max-width: 600px) {
    .landing .landing-invitation {
        padding: 0 16px 32px;
    }

    .landing .landing-invitation-card {
        padding: 28px 20px;
    }

    .landing .landing-invitation-heading h2 {
        font-size: 1.625rem;
    }

    .landing .landing-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing .landing-form-consent .landing-legal-link {
        min-height: 44px;
    }

    .landing .landing-footer {
        grid-template-columns: minmax(0, 1fr);
        margin-inline: 16px;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }
}

/* 20. Лендінг: галерея інтерфейсу та збільшений перегляд. */
.landing .landing-tour {
    padding: 16px 40px 40px;
}

.landing .landing-tour-heading {
    max-width: 780px;
    margin: 0 auto 32px;
    text-align: center;
}

.landing .landing-tour-heading h2 {
    margin-bottom: 16px;
    font-size: 2.8rem;
    line-height: 1.2;
    letter-spacing: -0.7px;
    color: var(--text-main);

   
}

.landing .landing-tour-heading p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.landing .landing-tour-frame {
    overflow: hidden;
    border: 2px solid #FFFFFF;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 15px 35px rgba(100, 120, 170, 0.12);
    margin-top: 2rem;
}

.landing .landing-tour-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #eaeaf2;
    background: #f8fbff;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.landing .landing-tour-dots {
    display: flex;
    gap: 6px;
}

.landing .landing-tour-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d6c5e7;
}

.landing .landing-tour-dots i:nth-child(2) {
    background: #b9cfea;
}

.landing .landing-tour-dots i:nth-child(3) {
    background: #c5e5dd;
}

.landing .landing-tour-preview {
    margin-left: auto;
    white-space: nowrap;
    color: #93278f;
}

.landing .landing-tour-layout {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
}

.landing .landing-tour-sidebar {
    padding: 28px 16px;
    border-right: 1px solid #eaeaf2;
    background: linear-gradient(180deg, #FFFFFF, #f4ecf960);
}

.landing .landing-tour-label {
    display: block;
    margin: 0 10px 18px;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    color: var(--text-muted);
}

.landing .landing-tour-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.landing .landing-tour-tabs button {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
}

.landing .landing-tour-tabs button[aria-selected="true"] {
    border-color: #FFFFFF;
    background: #f4ecf9;
    color: #93278f;
}

.landing .landing-tour-tabs button > span:last-child {
    margin-left: auto;
}

.landing .landing-tour svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing .landing-tour-side-note {
    margin: 28px 10px 0;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.landing .landing-tour-panel {
    min-width: 0;
    padding: 20px;
}

.landing .landing-tour-image-button {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 1px solid #eaeaf2;
    border-radius: 14px;
    background: #f8fbff;
    cursor: zoom-in;
}

.landing .landing-tour-image-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.landing .landing-tour-enlarge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e8e0ed;
    border-radius: 12px;
    background: #FFFFFF;
    color: #93278f;
    box-shadow: 0 4px 12px rgba(100, 120, 170, 0.12);
}

.landing .landing-tour-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
}

.landing .landing-tour-caption h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 600;
}

.landing .landing-tour-caption p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.landing .landing-tour-view {
    min-height: 44px;
    padding: 10px 16px;
    flex-shrink: 0;
    border: 1px solid #e8e0ed;
    border-radius: 50px;
    background: #f4ecf9;
    color: #93278f;
    font: inherit;
    font-size: 0.875rem;
    cursor: pointer;
}

body.landing-tour-viewing {
    overflow: hidden;
}

.landing .landing-tour-dialog {
    width: min(1280px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 2px solid #FFFFFF;
    border-radius: 20px;
    background: #f8fbff;
    color: var(--text-main);
    overflow: auto;
}

.landing .landing-tour-dialog::backdrop {
    background: #29233599;
    backdrop-filter: blur(5px);
}

.landing .landing-tour-dialog[open] { display: flex; flex-direction: column; }
.landing .landing-tour-dialog-toolbar, .landing .landing-tour-dialog-footer { flex-shrink: 0; }
.landing .landing-tour-dialog-stage { min-height: 0; flex-shrink: 1; }

.landing .landing-tour-dialog-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #eaeaf2;
}

.landing .landing-tour-dialog-toolbar h2 {
    margin-right: auto;
    font-size: 1rem;
}

.landing .landing-tour-zoom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing .landing-tour-dialog button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #e8e0ed;
    border-radius: 10px;
    background: #FFFFFF;
    color: #93278f;
    font: inherit;
    cursor: pointer;
}

.landing .landing-tour-dialog button:disabled {
    opacity: 0.4;
    cursor: default;
}

.landing .landing-tour-zoom output {
    min-width: 48px;
    text-align: center;
    font-size: 0.8rem;
}

.landing .landing-tour-dialog-stage {
    height: min(72dvh, 800px);
    overflow: auto;
    overscroll-behavior: contain;
}

.landing .landing-tour-dialog-stage img {
    display: block;
    max-width: none;
    margin-inline: auto;
}

.landing .landing-tour-dialog-hint {
    padding: 12px 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.landing .landing-tour-dialog-footer {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid #eaeaf2;
}

.landing .landing-tour-dialog-footer > div { text-align: center; }
.landing .landing-tour-dialog-footer .landing-tour-dialog-hint { padding: 0; margin-bottom: 4px; }
.landing .landing-tour-position { font-size: 0.8rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.landing .landing-tour-dialog-footer button:hover { background: #f4ecf9; }
.landing .landing-tour-dialog-footer button:focus-visible { outline: 2px solid #93278f; outline-offset: 2px; }

@media (max-width: 900px) {
    .landing .landing-tour {
        padding: 16px 28px 32px;
    }

    .landing .landing-tour-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing .landing-tour-sidebar {
        min-width: 0;
        padding: 12px;
        border-right: 0;
        border-bottom: 1px solid #eaeaf2;
    }

    .landing .landing-tour-label,
    .landing .landing-tour-side-note {
        display: none;
    }

    .landing .landing-tour-tabs {
        flex-direction: row;
        overflow-x: auto;
    }

    .landing .landing-tour-tabs button {
        flex-shrink: 0;
    }
}

@media (max-width: 600px) {
    .landing .landing-tour {
        padding: 8px 16px 24px;
    }

    .landing .landing-tour-heading h2 {
        font-size: 1.75rem;
    }

    .landing .landing-tour-bar {
        gap: 10px;
        padding: 14px 12px;
    }

    .landing .landing-tour-preview {
        display: none;
    }

    .landing .landing-tour-panel {
        padding: 12px;
    }

    .landing .landing-tour-tabs button {
        padding: 10px;
        gap: 6px;
        font-size: 0.8rem;
    }

    .landing .landing-tour-tabs button > span:last-child {
        display: none;
    }

    .landing .landing-tour-caption {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .landing .landing-tour-dialog {
        width: calc(100% - 16px);
        max-height: calc(100dvh - 16px);
    }

    .landing .landing-tour-dialog-toolbar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px;
    }

    .landing .landing-tour-dialog-toolbar h2 {
        flex: 1;
    }

    .landing .landing-tour-zoom {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .landing .landing-tour-dialog-stage {
        height: 60dvh;
    }
}

/* Terms Page */
.landing .terms-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 40px 80px;
    border: 2px solid #FFFFFF;
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgba(26, 86, 219, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(26, 86, 219, 0.06), transparent 28%), #f8fbff;
}

/* .landing .main-card {
    padding-bottom: 0;
} */

.landing .terms-page h1 {
    margin-bottom: 24px;
    font-size: 2.25rem;
    line-height: 1.15;
    letter-spacing: -0.7px;
}
.landing .terms-page h2 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}
.landing .terms-page p {
    margin-bottom: 24px;
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.landing .terms-page a {
    color: #93278f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing .terms-page a:hover {
    text-decoration: none;
}

.landing .terms-page ul {
    margin-bottom: 24px;
    padding-left: 20px;
    list-style: disc;
}
.landing .terms-page ol {
    margin-bottom: 24px;
    padding-left: 20px;
    list-style: decimal;
}
.landing .terms-page li {
    margin-bottom: 8px;
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-muted);
}
