/* Universe App Colors */
:root {
    --bg-primary: #050510;
    --bg-surface: #0B0F2A;
    --primary: #6A7CFF;
    --secondary: #9B8CFF;
    --accent: #A6E1FA;
    --cosmic-violet: #1e1b4b;
    --cosmic-teal: #0d2d3a;
    --text-primary: #FFFFFF;
    --text-secondary: #9AA0C6;
    --tab-inactive: #5A5F8A;
    color-scheme: dark;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Глобально: везде Montserrat, кроме хироблока (там свой шрифт у заголовка и подзаголовка) */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 20px;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    letter-spacing: 0.06em;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовки: только первая буква заглавная (feature-title не трогаем — чтобы 3D не становилось 3d) */
.hero-title,
.section-title,
.cta-title {
    text-transform: lowercase;
}

.hero-title::first-letter,
.section-title::first-letter,
.cta-title::first-letter {
    text-transform: uppercase;
}

/* Language Selector — кастомный выпадающий список, стеклянный стиль, без бордеров */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-dropdown {
    position: relative;
}

.language-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 45, 58, 0.35);
    color: var(--text-primary);
    border: none;
    border-radius: 9999px;
    padding: 8px 16px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.language-dropdown-trigger:hover {
    background: rgba(13, 45, 58, 0.5);
}

.language-dropdown-trigger:focus,
.language-dropdown-trigger:focus-visible {
    outline: none;
    border: none;
}

.language-dropdown-list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    width: max-content;
    background: rgba(13, 45, 58, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
}

.language-dropdown-list[aria-hidden="true"] {
    display: none;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 17px;
}

.language-option .lang-flag {
    font-size: 1.25em;
    line-height: 1;
}

.language-option:hover {
    background: rgba(166, 225, 250, 0.12);
}

.language-option[aria-selected="true"] {
    background: rgba(22, 95, 115, 0.45);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background: var(--bg-primary);
    background-image: linear-gradient(180deg, transparent 0%, transparent 40%, var(--bg-primary) 100%), url('images/andromeda_galaxy.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
    pointer-events: none;
}

.hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero .container {
    position: relative;
}

/* Герой: шрифт как в приложении (инфо о планетах) — моноширинный/печатный */
.hero-title,
.hero-subtitle {
    font-family: 'Courier Prime', 'Courier New', ui-monospace, monospace;
    font-weight: 400;
}

/* Кириллица (fallback-шрифт тоньше): утолщаем под латиницу */
[lang="ru"] .hero-title,
[lang="ru"] .hero-subtitle,
[lang="uk"] .hero-title,
[lang="uk"] .hero-subtitle {
    font-weight: 500;
}

.hero-title {
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 24px;
    color: #fff;
    line-height: 1.2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: 2.4em;
}

/* Описание: появляется издалека, с уменьшенной версии на увеличение — пока печатается заголовок */
.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: scale(0.4);
    animation: hero-subtitle-zoom-in 2.4s ease-out 0s forwards;
}

@keyframes hero-subtitle-zoom-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Бейджи: заезжают справа и слева на позицию после появления текста */
.store-badges.store-badges-hero {
    overflow: hidden;
    flex-wrap: nowrap;
    margin-bottom: -40px;
}

.store-badges-hero .store-badge-left {
    opacity: 0;
    transform: translateX(-120%);
    animation: hero-badge-slide-in-left 4s ease-out -1.7s forwards;
}

.store-badges-hero .store-badge-right {
    opacity: 0;
    transform: translateX(120%);
    animation: hero-badge-slide-in-right 4s ease-out -2s forwards;
}

@keyframes hero-badge-slide-in-left {
    0%, 80% {
        opacity: 0;
        transform: translateX(-120%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hero-badge-slide-in-right {
    0%, 80% {
        opacity: 0;
        transform: translateX(120%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hero-arrow-slide-up {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Store badges (App Store & Google Play) — как в dood-landing: PNG по URL */
.store-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.store-badge {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.store-badge:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.store-badge-img {
    display: block;
    height: 54px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border: none;
    outline: none;
}

/* Стеклянный стиль для бейджей в Hero (как download-badge-light в dood-landing) */
.store-badge-glass {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-badges-hero .store-badge-img {
    height: 54px;
    max-width: 180px;
}

/* Hero scroll arrow — заезжает снизу вверх, потом подпрыгивает; под контентом с отступом 40px */
.hero-scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%) translateY(80px);
    color: #fff;
    text-decoration: none;
    z-index: 2;
    animation: hero-arrow-slide-up 0.6s ease-out 1.2s forwards, hero-arrow-bounce 2s ease-in-out 1.8s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

/* Chrome: стрелка вниз в хироблоке на 40px выше */
.browser-chrome .hero-scroll-arrow {
    bottom: 80px;
}

/* Safari: стрелка вниз в хироблоке на 20px выше */
.browser-safari .hero-scroll-arrow {
    bottom: 60px;
}

.hero-scroll-arrow:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-scroll-arrow svg {
    width: 24px;
    height: 24px;
    display: block;
    transform: translateY(2px);
}

@keyframes hero-arrow-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Стрелки вверх/вниз в каждом блоке (как в хироблоке), под контентом с отступом 40px */
.block-scroll-arrows {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.block-scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.block-scroll-arrow:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.block-scroll-arrow svg {
    width: 24px;
    height: 24px;
    display: block;
}

.block-scroll-arrow-up svg {
    transform: translateY(-2px);
}

.block-scroll-arrow-down svg {
    transform: translateY(2px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: #5A6CE8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(106, 124, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(106, 124, 255, 0.1);
    border-color: var(--secondary);
}

.btn-large {
    padding: 18px 48px;
    font-size: 20px;
}

/* Hero: App Store & Google Play buttons */
.hero-buttons-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-store:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.btn-store-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-store-icon svg {
    width: 100%;
    height: 100%;
}

/* Features Section — горизонтальные отступы только у .container (20px) */
.features {
    position: relative;
    padding: 100px 0;
    background: var(--bg-primary);
    overflow-x: hidden;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

/* Задачи, Финансы — фон на всю ширину экрана (1=Universe, 2=Tasks, 3=Notes, 4=Finance, 5=Goals) */
.feature-item:nth-child(2),
.feature-item:nth-child(4) {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 60px 20px;
    padding-right: calc(20px + (100vw - min(1200px, 100vw)) / 2);
    border-radius: 0;
    box-sizing: border-box;
}

/* Блок «Задачи» — космический градиент (верхний цвет добавлен вниз, разворот 180°) */
.feature-item:nth-child(2) {
    background: linear-gradient(0deg, var(--bg-primary) 0%, var(--cosmic-violet) 35%, rgba(106, 124, 255, 0.18) 70%, var(--bg-primary) 100%);
}

/* Блок «Финансы» — те же верхняя и нижняя полосы (bg-primary), разворот 180° */
.feature-item:nth-child(4) {
    background: linear-gradient(0deg, var(--bg-primary) 0%, var(--cosmic-teal) 50%, var(--bg-primary) 100%);
}

.feature-reverse {
    direction: rtl;
}

.feature-reverse > * {
    direction: ltr;
}

.feature-content {
    padding: 0;
}

/* 3D Dashboard: неоновые точки за контентом — отдельный слой на всю ширину экрана */
.feature-item-universe {
    position: relative;
    overflow: visible;
}

.feature-item-universe .feature-content,
.feature-item-universe .feature-mockup {
    position: relative;
    z-index: 1;
}

.feature-universe-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    max-width: 100vw;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.feature-universe-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    opacity: 0;
    animation: feature-universe-dot-fly 5s linear infinite;
}

.feature-universe-dot--green {
    left: 10%;
    top: 2%;
    background: var(--accent);
    box-shadow:
        0 0 20px var(--accent),
        0 0 40px rgba(166, 225, 250, 0.5),
        0 -8px 12px rgba(166, 225, 250, 0.6),
        0 8px 12px rgba(166, 225, 250, 0.5),
        -8px 0 12px rgba(166, 225, 250, 0.5),
        8px 0 12px rgba(166, 225, 250, 0.5),
        -6px -6px 10px rgba(166, 225, 250, 0.45),
        6px -6px 10px rgba(166, 225, 250, 0.45),
        -6px 6px 10px rgba(166, 225, 250, 0.45),
        6px 6px 10px rgba(166, 225, 250, 0.45);
    animation-name: feature-universe-dot-fly-green;
}

.feature-universe-dot--purple {
    right: 10%;
    top: 2%;
    left: auto;
    background: var(--primary);
    box-shadow:
        0 0 20px var(--primary),
        0 0 40px rgba(106, 124, 255, 0.5),
        0 -8px 12px rgba(106, 124, 255, 0.6),
        0 8px 12px rgba(106, 124, 255, 0.5),
        -8px 0 12px rgba(106, 124, 255, 0.5),
        8px 0 12px rgba(106, 124, 255, 0.5),
        -6px -6px 10px rgba(106, 124, 255, 0.45),
        6px -6px 10px rgba(106, 124, 255, 0.45),
        -6px 6px 10px rgba(106, 124, 255, 0.45),
        6px 6px 10px rgba(106, 124, 255, 0.45);
    animation-name: feature-universe-dot-fly-purple;
    animation-delay: 1.2s;
}

/* Клоны первых двух: та же анимация, сдвиг 260px в сторону центра; старт после того как близнец долетит ниже середины */
.feature-universe-dot--green-3 {
    left: calc(12% + 260px);
    top: 2%;
    background: var(--primary);
    box-shadow:
        0 0 20px var(--primary),
        0 0 40px rgba(106, 124, 255, 0.5),
        0 -8px 12px rgba(106, 124, 255, 0.6),
        0 8px 12px rgba(106, 124, 255, 0.5),
        -8px 0 12px rgba(106, 124, 255, 0.5),
        8px 0 12px rgba(106, 124, 255, 0.5),
        -6px -6px 10px rgba(106, 124, 255, 0.45),
        6px -6px 10px rgba(106, 124, 255, 0.45),
        -6px 6px 10px rgba(106, 124, 255, 0.45),
        6px 6px 10px rgba(106, 124, 255, 0.45);
    animation-name: feature-universe-dot-fly-green-3;
    animation-delay: 3s;
}

.feature-universe-dot--purple-3 {
    right: calc(12% + 260px);
    top: 2%;
    left: auto;
    background: var(--accent);
    box-shadow:
        0 0 20px var(--accent),
        0 0 40px rgba(166, 225, 250, 0.5),
        0 -8px 12px rgba(166, 225, 250, 0.6),
        0 8px 12px rgba(166, 225, 250, 0.5),
        -8px 0 12px rgba(166, 225, 250, 0.5),
        8px 0 12px rgba(166, 225, 250, 0.5),
        -6px -6px 10px rgba(166, 225, 250, 0.45),
        6px -6px 10px rgba(166, 225, 250, 0.45),
        -6px 6px 10px rgba(166, 225, 250, 0.45),
        6px 6px 10px rgba(166, 225, 250, 0.45);
    animation-name: feature-universe-dot-fly-purple-3;
    animation-delay: 3.5s;
}

/* Вторая пара: одна ось (только left) — без переключения left/right, чтобы траектория была плавной дугой */
.feature-universe-dot--green-2 {
    left: calc(100% - 20px);
    top: 50%;
    right: auto;
    margin-top: -10px;
    background: var(--primary);
    box-shadow:
        0 0 20px var(--primary),
        0 0 40px rgba(106, 124, 255, 0.5),
        0 -8px 12px rgba(106, 124, 255, 0.6),
        0 8px 12px rgba(106, 124, 255, 0.5),
        -8px 0 12px rgba(106, 124, 255, 0.5),
        8px 0 12px rgba(106, 124, 255, 0.5),
        -6px -6px 10px rgba(106, 124, 255, 0.45),
        6px -6px 10px rgba(106, 124, 255, 0.45),
        -6px 6px 10px rgba(106, 124, 255, 0.45),
        6px 6px 10px rgba(106, 124, 255, 0.45);
    animation-name: feature-universe-dot-fly-green-2;
    animation-delay: 2.5s;
}

.feature-universe-dot--purple-2 {
    left: 0;
    top: 50%;
    right: auto;
    margin-top: -10px;
    background: var(--accent);
    box-shadow:
        0 0 20px var(--accent),
        0 0 40px rgba(166, 225, 250, 0.5),
        0 -8px 12px rgba(166, 225, 250, 0.6),
        0 8px 12px rgba(166, 225, 250, 0.5),
        -8px 0 12px rgba(166, 225, 250, 0.5),
        8px 0 12px rgba(166, 225, 250, 0.5),
        -6px -6px 10px rgba(166, 225, 250, 0.45),
        6px -6px 10px rgba(166, 225, 250, 0.45),
        -6px 6px 10px rgba(166, 225, 250, 0.45),
        6px 6px 10px rgba(166, 225, 250, 0.45);
    animation-name: feature-universe-dot-fly-purple-2;
    animation-delay: 3.7s;
}

/* Клоны боковых: та же дуга, снизу вверх */
.feature-universe-dot--green-2-up {
    left: 0;
    top: 98%;
    right: auto;
    margin-top: -10px;
    background: var(--primary);
    box-shadow:
        0 0 20px var(--primary),
        0 0 40px rgba(106, 124, 255, 0.5),
        0 -8px 12px rgba(106, 124, 255, 0.6),
        0 8px 12px rgba(106, 124, 255, 0.5),
        -8px 0 12px rgba(106, 124, 255, 0.5),
        8px 0 12px rgba(106, 124, 255, 0.5),
        -6px -6px 10px rgba(106, 124, 255, 0.45),
        6px -6px 10px rgba(106, 124, 255, 0.45),
        -6px 6px 10px rgba(106, 124, 255, 0.45),
        6px 6px 10px rgba(106, 124, 255, 0.45);
    animation-name: feature-universe-dot-fly-green-2-up;
    animation-delay: 4s;
}

/* Градиент: внутри тёмное ядро, снаружи светящийся ореол (подсветка) */
.feature-universe-dot--green-2-up {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(25, 20, 45, 0.98) 0%,
        rgba(40, 35, 70, 0.9) 25%,
        rgba(70, 60, 120, 0.6) 45%,
        rgba(106, 124, 255, 0.4) 60%,
        rgba(106, 124, 255, 0.15) 78%,
        transparent 100%
    );
    box-shadow:
        0 0 10px rgba(106, 124, 255, 0.8),
        0 0 28px rgba(106, 124, 255, 0.5),
        0 0 52px rgba(106, 124, 255, 0.25);
}

/* Шлейф сзади по траектории: вращение по ходу движения, 4× диаметра (80px) */
.feature-universe-dot--green-2-up .feature-universe-dot-trail {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 20px;
    height: 80px;
    margin-left: -10px;
    transform-origin: 50% 100%;
    background: linear-gradient(
        to top,
        rgba(106, 124, 255, 0.45) 0%,
        rgba(106, 124, 255, 0.18) 28%,
        rgba(106, 124, 255, 0.04) 65%,
        transparent 100%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: feature-universe-dot-trail-rotate 5s linear 4s infinite;
}

@keyframes feature-universe-dot-trail-rotate {
    0%   { transform: rotate(225deg); }
    22%  { transform: rotate(238deg); }
    42%  { transform: rotate(252deg); }
    62%  { transform: rotate(260deg); }
    82%  { transform: rotate(268deg); }
    100% { transform: rotate(270deg); }
}

.feature-universe-dot--purple-2-up {
    left: calc(100% - 20px);
    top: 98%;
    right: auto;
    margin-top: -10px;
    background: var(--accent);
    box-shadow:
        0 0 20px var(--accent),
        0 0 40px rgba(166, 225, 250, 0.5),
        0 -8px 12px rgba(166, 225, 250, 0.6),
        0 8px 12px rgba(166, 225, 250, 0.5),
        -8px 0 12px rgba(166, 225, 250, 0.5),
        8px 0 12px rgba(166, 225, 250, 0.5),
        -6px -6px 10px rgba(166, 225, 250, 0.45),
        6px -6px 10px rgba(166, 225, 250, 0.45),
        -6px 6px 10px rgba(166, 225, 250, 0.45),
        6px 6px 10px rgba(166, 225, 250, 0.45);
    animation-name: feature-universe-dot-fly-purple-2-up;
    animation-delay: 4.5s;
}

@keyframes feature-universe-dot-fly-green {
    0% {
        top: 2%;
        left: 12%;
        opacity: 0;
        transform: scale(1);
    }
    5% {
        top: 6%;
        left: 16%;
        opacity: 1;
        transform: scale(1);
    }
    25% {
        top: 28%;
        left: 22%;
        transform: scale(0.9);
    }
    50% {
        top: 55%;
        left: 32%;
        transform: scale(0.6);
    }
    75% {
        top: 82%;
        left: 40%;
        opacity: 0.4;
        transform: scale(0.3);
    }
    100% {
        top: 98%;
        left: 45%;
        opacity: 0;
        transform: scale(0.12);
    }
}

@keyframes feature-universe-dot-fly-purple {
    0% {
        top: 2%;
        right: 12%;
        left: auto;
        opacity: 0;
        transform: scale(1);
    }
    5% {
        top: 6%;
        right: 16%;
        left: auto;
        opacity: 1;
        transform: scale(1);
    }
    25% {
        top: 28%;
        right: 22%;
        left: auto;
        transform: scale(0.9);
    }
    50% {
        top: 55%;
        right: 32%;
        left: auto;
        transform: scale(0.6);
    }
    75% {
        top: 82%;
        right: 40%;
        left: auto;
        opacity: 0.4;
        transform: scale(0.3);
    }
    100% {
        top: 98%;
        right: 45%;
        left: auto;
        opacity: 0;
        transform: scale(0.12);
    }
}

/* Клон зелёной: траектория сдвинута на 260px вправо (к центру) */
@keyframes feature-universe-dot-fly-green-3 {
    0% {
        top: 2%;
        left: calc(12% + 260px);
        opacity: 0;
        transform: scale(1);
    }
    5% {
        top: 6%;
        left: calc(16% + 260px);
        opacity: 1;
        transform: scale(1);
    }
    25% {
        top: 28%;
        left: calc(22% + 260px);
        transform: scale(0.9);
    }
    50% {
        top: 55%;
        left: calc(32% + 260px);
        transform: scale(0.6);
    }
    75% {
        top: 82%;
        left: calc(40% + 260px);
        opacity: 0.4;
        transform: scale(0.3);
    }
    100% {
        top: 98%;
        left: calc(45% + 260px);
        opacity: 0;
        transform: scale(0.12);
    }
}

/* Клон фиолетовой: траектория сдвинута на 260px влево (к центру) */
@keyframes feature-universe-dot-fly-purple-3 {
    0% {
        top: 2%;
        right: calc(12% + 260px);
        left: auto;
        opacity: 0;
        transform: scale(1);
    }
    5% {
        top: 6%;
        right: calc(16% + 260px);
        left: auto;
        opacity: 1;
        transform: scale(1);
    }
    25% {
        top: 28%;
        right: calc(22% + 260px);
        left: auto;
        transform: scale(0.9);
    }
    50% {
        top: 55%;
        right: calc(32% + 260px);
        left: auto;
        transform: scale(0.6);
    }
    75% {
        top: 82%;
        right: calc(40% + 260px);
        left: auto;
        opacity: 0.4;
        transform: scale(0.3);
    }
    100% {
        top: 98%;
        right: calc(45% + 260px);
        left: auto;
        opacity: 0;
        transform: scale(0.12);
    }
}

/* Зелёная: справа налево — только left от 100% до 0, одна плавная дуга */
@keyframes feature-universe-dot-fly-green-2 {
    0% {
        left: calc(100% - 20px);
        top: 50%;
        opacity: 0;
        transform: scale(1);
    }
    5% {
        left: 92%;
        top: 50%;
        opacity: 1;
        transform: scale(1);
    }
    22% {
        left: 72%;
        top: 58%;
        transform: scale(0.9);
    }
    42% {
        left: 50%;
        top: 68%;
        transform: scale(0.7);
    }
    62% {
        left: 30%;
        top: 82%;
        transform: scale(0.5);
    }
    82% {
        left: 10%;
        top: 94%;
        opacity: 0.35;
        transform: scale(0.25);
    }
    100% {
        left: 0;
        top: 98%;
        opacity: 0;
        transform: scale(0.12);
    }
}

/* Фиолетовая: слева направо — только left от 0 до 100%, одна плавная дуга */
@keyframes feature-universe-dot-fly-purple-2 {
    0% {
        left: 0;
        top: 50%;
        opacity: 0;
        transform: scale(1);
    }
    5% {
        left: 8%;
        top: 50%;
        opacity: 1;
        transform: scale(1);
    }
    22% {
        left: 28%;
        top: 58%;
        transform: scale(0.9);
    }
    42% {
        left: 50%;
        top: 68%;
        transform: scale(0.7);
    }
    62% {
        left: 70%;
        top: 82%;
        transform: scale(0.5);
    }
    82% {
        left: 90%;
        top: 94%;
        opacity: 0.35;
        transform: scale(0.25);
    }
    100% {
        left: calc(100% - 20px);
        top: 98%;
        opacity: 0;
        transform: scale(0.12);
    }
}

/* Зелёная-2 снизу вверх: внизу большие и яркие, к концу пути исчезают и тускнеют */
@keyframes feature-universe-dot-fly-green-2-up {
    0% {
        left: 0;
        top: 98%;
        opacity: 1;
        transform: scale(1);
    }
    5% {
        left: 10%;
        top: 94%;
        opacity: 0.9;
        transform: scale(0.9);
    }
    22% {
        left: 30%;
        top: 82%;
        opacity: 0.7;
        transform: scale(0.7);
    }
    42% {
        left: 50%;
        top: 68%;
        opacity: 0.5;
        transform: scale(0.5);
    }
    62% {
        left: 72%;
        top: 58%;
        opacity: 0.3;
        transform: scale(0.3);
    }
    82% {
        left: 92%;
        top: 50%;
        opacity: 0.15;
        transform: scale(0.2);
    }
    100% {
        left: calc(100% - 20px);
        top: 50%;
        opacity: 0;
        transform: scale(0.12);
    }
}

/* Фиолетовая-2 снизу вверх: внизу большие и яркие, к концу пути исчезают и тускнеют */
@keyframes feature-universe-dot-fly-purple-2-up {
    0% {
        left: calc(100% - 20px);
        top: 98%;
        opacity: 1;
        transform: scale(1);
    }
    5% {
        left: 90%;
        top: 94%;
        opacity: 0.9;
        transform: scale(0.9);
    }
    22% {
        left: 70%;
        top: 82%;
        opacity: 0.7;
        transform: scale(0.7);
    }
    42% {
        left: 50%;
        top: 68%;
        opacity: 0.5;
        transform: scale(0.5);
    }
    62% {
        left: 28%;
        top: 58%;
        opacity: 0.3;
        transform: scale(0.3);
    }
    82% {
        left: 8%;
        top: 50%;
        opacity: 0.15;
        transform: scale(0.2);
    }
    100% {
        left: 0;
        top: 50%;
        opacity: 0;
        transform: scale(0.12);
    }
}

.feature-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title-split {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title-split .feature-title-main,
.feature-title-split .feature-title-accent {
    -webkit-text-fill-color: transparent;
    color: transparent;
    background: none;
}

/* Scroll to top — стиль как в dood-landing, стрелка фиолетовая без градиента */
.scroll-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    min-width: 60px;
    max-width: 60px;
    border-radius: 30px;
    backdrop-filter: blur(60px) saturate(180%);
    -webkit-backdrop-filter: blur(60px) saturate(180%);
    background-color: rgba(215, 215, 215, 0.30);
    border: 1px solid rgba(160, 158, 158, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999;
    color: var(--primary);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(2, 71, 7, 0.15);
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: rgba(215, 215, 215, 0.40);
    transform: scale(1.05);
    color: var(--primary);
}

.scroll-to-top:active {
    background-color: rgba(215, 215, 215, 0.35);
    transform: scale(0.95);
}

.scroll-to-top svg {
    width: 48px;
    height: 48px;
    display: block;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .scroll-to-top {
        right: 20px;
        bottom: 20px;
    }
}

.feature-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-secondary);
    font-size: 20px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

/* Mockup Screens */
.feature-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 8px;
}

/* Неоновая зелёная подсветка за телефоном — только блок 3D-дашборд */
.feature-item:first-child .feature-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 480px;
    background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(166, 225, 250, 1) 0%, rgba(166, 225, 250, 0.4) 25%, rgba(166, 225, 250, 0.5) 50%, transparent 70%);
    filter: blur(12px);
    z-index: 0;
    pointer-events: none;
}

.feature-item:first-child .feature-mockup .mockup-screen {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 24px 6px rgba(166, 225, 250, 0.45), 0 0 48px 12px rgba(166, 225, 250, 0.25);
}

/* Неоновая фиолетовая подсветка за телефоном — блок «Задачи и напоминания» */
.feature-item:nth-child(2) .feature-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 480px;
    background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(155, 140, 255, 1) 0%, rgba(155, 140, 255, 0.4) 25%, rgba(106, 124, 255, 0.5) 50%, transparent 70%);
    filter: blur(12px);
    z-index: 0;
    pointer-events: none;
}

.feature-item:nth-child(2) .feature-mockup .mockup-screen {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 24px 6px rgba(106, 124, 255, 0.45), 0 0 48px 12px rgba(155, 140, 255, 0.25);
}

/* Неоновая зелёная подсветка за телефоном — блок «Заметки и списки» */
.feature-item:nth-child(3) .feature-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 480px;
    background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(166, 225, 250, 1) 0%, rgba(166, 225, 250, 0.7) 25%, rgba(166, 225, 250, 0.5) 50%, transparent 70%);
    filter: blur(12px);
    z-index: 0;
    pointer-events: none;
}

.feature-item:nth-child(3) .feature-mockup .mockup-screen {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 24px 6px rgba(166, 225, 250, 0.45), 0 0 48px 12px rgba(166, 225, 250, 0.25);
}

/* Неоновая зелёная подсветка за телефоном — блок «Учёт финансов» */
.feature-item:nth-child(4) .feature-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 480px;
    background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(166, 225, 250, 1) 0%, rgba(166, 225, 250, 0.7) 25%, rgba(166, 225, 250, 0.5) 50%, transparent 70%);
    filter: blur(12px);
    z-index: 0;
    pointer-events: none;
}

.feature-item:nth-child(4) .feature-mockup .mockup-screen {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 24px 6px rgba(166, 225, 250, 0.45), 0 0 48px 12px rgba(166, 225, 250, 0.25);
}

/* Неоновая фиолетовая подсветка за телефоном — блок «Цели и проекты» */
.feature-item:nth-child(5) .feature-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 480px;
    background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(155, 140, 255, 1) 0%, rgba(155, 140, 255, 0.7) 25%, rgba(106, 124, 255, 0.5) 50%, transparent 70%);
    filter: blur(12px);
    z-index: 0;
    pointer-events: none;
}

.feature-item:nth-child(5) .feature-mockup .mockup-screen {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 24px 6px rgba(106, 124, 255, 0.45), 0 0 48px 12px rgba(155, 140, 255, 0.25);
}

/* Неоновая фиолетовая подсветка за телефоном — блок «AI» */
.feature-item:nth-child(6) .feature-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 480px;
    background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(155, 140, 255, 1) 0%, rgba(155, 140, 255, 0.4) 25%, rgba(106, 124, 255, 0.5) 50%, transparent 70%);
    filter: blur(12px);
    z-index: 0;
    pointer-events: none;
}

.feature-item:nth-child(6) .feature-mockup .mockup-screen {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 24px 6px rgba(106, 124, 255, 0.45), 0 0 48px 12px rgba(155, 140, 255, 0.25);
}

.mockup-screen {
    width: 240px;
    height: 480px;
    background: var(--bg-surface);
    border-radius: 32px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: visible;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Phone frame for dashboard video – slightly smaller so video sits behind frame */
.mockup-screen--video {
    width: 220px;
    height: 480px;
}

/* Phone Frame Overlay — рамка телефона (картинка), без полупрозрачной подложки; скругление как у видео */
.mockup-screen::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    background: transparent;
    background-image: url('images/Group 5528.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
    pointer-events: none;
    z-index: 100;
}

.mockup-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-dashboard-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.feature-mockup-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
}

/* Video player: без фона — виден только видео (обложка/первый кадр) */
.video-player {
    cursor: pointer;
    background: none !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-player-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* When paused: Play button always visible */
.video-player.is-paused .video-player-btn {
    opacity: 1;
    pointer-events: auto;
}

/* When playing (desktop): button only on hover */
.video-player:not(.is-paused):hover .video-player-btn {
    opacity: 1;
    pointer-events: auto;
}

.video-player-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.video-player-btn svg {
    width: 28px;
    height: 28px;
}

.video-player-btn .icon-play {
    display: none;
}

.video-player-btn .icon-pause {
    display: block;
}

.video-player.is-paused .video-player-btn .icon-play {
    display: block;
}

.video-player.is-paused .video-player-btn .icon-pause {
    display: none;
}

/* За блоками с видео подсветку не показываем — только само видео (обложка/первый кадр) */
.feature-mockup:has(.mockup-screen--video)::before {
    display: none !important;
}

/* Video variant: без фонов и градиентов — только видео с обложкой (первый кадр) */
.mockup-screen--video.mockup-universe,
.mockup-screen--video.mockup-notes,
.mockup-screen--video.mockup-tasks,
.mockup-screen--video.mockup-finance,
.mockup-screen--video.mockup-goals,
.mockup-screen--video.mockup-ai {
    background: transparent !important;
    border: none;
    padding: 0;
}

/* Контейнер видео: скругление как у видео (30px), без фона — виден первый кадр (обложка) */
.mockup-screen--video .mockup-content {
    background: transparent !important;
    border-radius: 30px;
    overflow: hidden;
}

/* Universe Mockup (декоративный фон только когда НЕ видео — сейчас все блоки с видео, эти фоны не должны светиться) */
.mockup-screen:not(.mockup-screen--video).mockup-universe {
    background: linear-gradient(135deg, #0A0E28 0%, #1A1F3A 100%);
}

.mockup-planet {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--primary), var(--secondary));
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px rgba(106, 124, 255, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

.mockup-widget {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px;
}

.mockup-widget-notes {
    width: 200px;
    height: 100px;
    top: 20%;
    left: 10%;
}

.mockup-widget-task {
    width: 200px;
    height: 100px;
    top: 40%;
    right: 10%;
}

.mockup-widget-finance {
    width: 200px;
    height: 100px;
    bottom: 20%;
    left: 10%;
}

/* Tasks Mockup (фон только когда не видео) */
.mockup-screen:not(.mockup-screen--video).mockup-tasks {
    background: var(--bg-surface);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-tab {
    flex: 1;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.mockup-tab.active {
    background: var(--primary);
}

.mockup-task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-task {
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

/* Notes Mockup (фон только когда не видео) */
.mockup-screen:not(.mockup-screen--video).mockup-notes {
    background: var(--bg-surface);
}

.mockup-note-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-note {
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

/* Finance Mockup (фон только когда не видео) */
.mockup-screen:not(.mockup-screen--video).mockup-finance {
    background: var(--bg-surface);
}

.mockup-finance-chart {
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.mockup-finance-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 0 0 12px 12px;
}

.mockup-finance-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-finance-item {
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.mockup-finance-item.income {
    border-left-color: #4CAF50;
}

.mockup-finance-item.expense {
    border-left-color: #F44336;
}

/* Goals Mockup (фон только когда не видео) */
.mockup-screen:not(.mockup-screen--video).mockup-goals {
    background: var(--bg-surface);
}

.mockup-goal-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mockup-goal {
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.mockup-goal-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 12px;
    position: relative;
}

.mockup-goal-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

/* AI Mockup */
.mockup-screen:not(.mockup-screen--video).mockup-ai {
    background: var(--bg-surface);
}

.mockup-ai-chat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    height: 400px;
    overflow-y: auto;
}

.mockup-message {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 70%;
    font-size: 20px;
}

.mockup-message.user {
    background: var(--primary);
    align-self: flex-end;
}

.mockup-message.ai {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-start;
}

.mockup-voice-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 4px 20px rgba(106, 124, 255, 0.4);
    animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* CTA Section — космический градиент */
.cta {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 28%), linear-gradient(0deg, rgba(30, 27, 75, 0) 35%, rgba(30, 27, 75, 1) 100%), linear-gradient(0deg, var(--bg-primary) 0%, var(--cosmic-teal) 50%, rgba(106, 124, 255, 0.15) 100%);
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.9;
}

.cta-subtitle-line {
    margin: 0 0 1em 0;
}

.cta-subtitle-before {
    display: block;
    margin-bottom: 1em;
}

.cta-subtitle-after {
    display: block;
    margin: 0;
    line-height: 1.7;
}

.cta-lang-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    vertical-align: middle;
    line-height: 2;
}

.cta-lang-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 0.72em;
    font-weight: 300;
    color: var(--accent);
    background: rgba(166, 225, 250, 0.08);
    border: 1px solid rgba(166, 225, 250, 0.35);
    box-shadow: 0 0 10px rgba(166, 225, 250, 0.2);
    white-space: nowrap;
    pointer-events: none;
    cursor: default;
}

@media (min-width: 769px) {
    .cta-subtitle {
        max-width: 100%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

.cta .store-badges {
    margin-top: 0;
}

.cta .store-badge-img {
    height: 56px;
    max-width: 180px;
}

/* Footer */
.footer {
    padding: 40px 20px;
    background: var(--bg-primary);
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .features {
        padding-top: 40px;
        padding-bottom: 40px;
        overflow-x: visible;
    }

    .cta {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-scroll-arrow,
    .block-scroll-arrows {
        bottom: 40px;
    }

    /* Chrome на мобильном: поднять весь контент хероблока на 40px */
    /* Chrome на мобильном: поднять весь контент хироблока и стрелку (сначала -40px, ещё +20px = -60px и bottom +20) */
    .browser-chrome .hero .container {
        transform: translateY(-60px);
    }

    .browser-chrome .hero {
        overflow: visible;
    }

    .browser-chrome .hero-scroll-arrow {
        bottom: 140px;
    }

    /* Safari на мобильном: стрелка вниз на 20px выше */
    .browser-safari .hero-scroll-arrow {
        bottom: 60px;
    }

    .store-badge-img {
        height: 44px;
        max-width: 140px;
    }

    .cta .store-badge-img {
        height: 48px;
        max-width: 150px;
    }

    .section-title {
        font-size: 36px;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .feature-reverse {
        direction: ltr;
    }

    .mockup-screen {
        width: 280px;
        height: 560px;
    }

    .mockup-screen--video {
        width: 240px;
        height: 520px;
    }

    /* Video blocks on mobile: экран чёрный до загрузки видео, без просвечивания подсветки */
    .mockup-screen--video.mockup-universe,
    .mockup-screen--video.mockup-notes,
    .mockup-screen--video.mockup-tasks,
    .mockup-screen--video.mockup-finance,
    .mockup-screen--video.mockup-goals {
        background: transparent !important;
        border: none !important;
    }

    .mockup-screen--video .mockup-content {
        background: transparent !important;
        border-radius: 30px;
        overflow: hidden;
    }

    /* Мобильный сценарий: при воспроизведении кнопка скрыта; по тапу по видео — показать Пауза; по тапу Пауза — показать Play */
    /* Перебиваем глобальный :hover — на тач-устройствах после тапа hover «липнет» и кнопка не исчезала */
    .video-player:not(.is-paused):hover .video-player-btn {
        opacity: 0;
        pointer-events: none;
    }
    .video-player:not(.is-paused) .video-player-btn {
        opacity: 0;
        pointer-events: none;
    }
    .video-player:not(.is-paused).show-controls .video-player-btn {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Coming Soon modal (app under moderation) */
body.modal-open {
    overflow: hidden;
}
.coming-soon-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.coming-soon-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.coming-soon-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
.coming-soon-modal {
    position: relative;
    background: rgba(13, 45, 58, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 1.75rem 1.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border: none;
}
.coming-soon-title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
}
.coming-soon-description {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary, #555);
}
.coming-soon-ok {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background-color: rgba(215, 215, 215, 0.30);
    backdrop-filter: blur(60px) saturate(180%);
    -webkit-backdrop-filter: blur(60px) saturate(180%);
    border: 1px solid rgba(160, 158, 158, 0.5);
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.coming-soon-ok:hover {
    background-color: rgba(215, 215, 215, 0.40);
    transform: scale(1.02);
    color: var(--primary);
}
.coming-soon-ok:active {
    background-color: rgba(215, 215, 215, 0.35);
    transform: scale(0.98);
}
