/* Публичная главная страница. Дополняет css/app.css: здесь только классы,
   которых нет в дизайн-системе кабинета. */

.btn-lg {
    --bs-btn-padding-x: 1.7rem;
    --bs-btn-padding-y: .9rem;
    --bs-btn-font-size: 1.02rem;
    --bs-btn-border-radius: 14px;
}

.btn-white {
    background: #fff;
    color: var(--ds-accent-active);
    border: 1px solid transparent;
    font-weight: 700;
}

.btn-white:hover {
    background: rgba(255, 255, 255, .9);
    color: var(--ds-accent-active);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    font-weight: 600;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

/* Прозрачная «стеклянная» шапка лендинга — в кабинете .navbar непрозрачный. */
.home-nav {
    background: color-mix(in srgb, var(--ds-surface) 82%, transparent);
    backdrop-filter: blur(12px);
}

.hero-wrap {
    position: relative;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
    z-index: 0;
}

.stat-num {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}

.feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(var(--ds-accent-rgb), .12);
    color: var(--ds-accent);
    flex: 0 0 auto;
}

.fmt-icon {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: #fff;
    box-shadow: var(--ds-shadow);
    flex: 0 0 auto;
}

.vreview-poster {
    position: relative;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vreview-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(65, 39, 133, .1) 0%, rgba(65, 39, 133, .55) 100%);
}

.vreview-play {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: var(--ds-accent);
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--ds-shadow);
    transition: transform .18s;
}

.vreview-play:hover {
    transform: scale(1.08);
}

.vreview-dur {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-weight: 600;
    font-size: .75rem;
    padding: .25em .55em;
    border-radius: 7px;
}

.vreview-ava {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .78rem;
    background: rgba(var(--ds-accent-rgb), .14);
    color: var(--ds-accent);
    flex: 0 0 auto;
}

.footer-link {
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: .92rem;
}

.footer-link:hover {
    color: var(--ds-accent);
}

#faq summary::-webkit-details-marker {
    display: none;
}

#faq summary .bi {
    transition: transform .2s;
}

#faq details[open] summary .bi {
    transform: rotate(45deg);
}
