/* ===== Fonts ===== */
@font-face {
    font-family: 'ClashGrotesk';
    src: url('ClashGrotesk-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ClashDisplay';
    src: url('ClashDisplay-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('Satoshi-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('Gilroy-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GilroyExtraBold';
    src: url('Gilroy-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Coolvetica';
    src: url('coolvetica-rg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'InterBoldLocal';
    src: url('Inter-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaBoldLocal';
    src: url('helvetica_bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('Manrope.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'InterExtraLight';
    src: url('Inter-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'InterBlack';
    src: url('Inter-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #171717;
    --bg-alt: #171717;
    --surface: #111111;
    --border: #1a1a1a;
    --text: #f0f0f0;
    --text-muted: #777777;
    --accent: #ff3b30;
    --accent-light: #ff5a52;
    --accent-glow: rgba(255, 59, 48, 0.28);
    --accent-glow-strong: rgba(255, 59, 48, 0.52);
    --grid-line: rgba(255, 255, 255, 0.18);
    --frame-line: rgba(255, 255, 255, 0.42);
    --card-line: rgba(255, 255, 255, 0.16);
    --card-surface: rgba(13, 13, 15, 0.86);
    --frame-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    --hover-red-core: rgba(255, 59, 48, 1);
    --hover-red-mid: rgba(255, 59, 48, 0.82);
    --hover-red-soft: rgba(255, 59, 48, 0.18);
    --hover-red-fog: rgba(255, 59, 48, 0.08);
    --intro-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1900 500'%3E%3Ctext x='50%25' y='52%25' text-anchor='middle' dominant-baseline='middle' font-family='Arial Black,Arial,sans-serif' font-size='332' font-weight='900' letter-spacing='8' textLength='1220' lengthAdjust='spacingAndGlyphs' fill='white'%3EPROD%3C/text%3E%3C/svg%3E");
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    background-image: none;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

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

/* ===== Intro Screen ===== */
.intro-screen {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    opacity: 1;
    transition: opacity 1s ease;
    overflow: hidden;
    isolation: isolate;
}

.intro-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Intro PROD text with video/image inside */
.intro-prod-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.92);
    z-index: 2;
}

.intro-prod-wrap.ready {
    animation: introAppear 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-prod-frame {
    --intro-mask-size-x: 88.5%;
    --intro-media-position-y: 50%;
    --intro-media-scale: 1;
    --intro-media-stretch-x: 1.2;
    --intro-poster-stretch-x: 1.22;
    --intro-media-width: 117%;
    --intro-poster-width: 119%;
    --intro-media-left: -8%;
    --intro-poster-left: -9%;
    --intro-media-shift-x: 5%;
    --intro-poster-shift-x: 5%;
    position: relative;
    width: min(98vw, 1380px);
    aspect-ratio: 4.45 / 1;
}

.intro-prod-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'ClashDisplay', 'Unbounded', 'Inter', sans-serif;
    font-size: clamp(4.2rem, 11.8vw, 9.9rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    user-select: none;
    white-space: nowrap;
    background-image: url('intro-poster-wide.jpg?v=1');
    background-image: -webkit-image-set(
        url('intro-poster-wide-sm.jpg?v=1') 1x,
        url('intro-poster-wide.jpg?v=1') 2x
    );
    background-image: image-set(
        url('intro-poster-wide-sm.jpg?v=1') 1x,
        url('intro-poster-wide.jpg?v=1') 2x
    );
    background-position: 56% 46%;
    background-repeat: no-repeat;
    background-size: 120% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
    filter: brightness(1.06) saturate(1.08) contrast(1.03);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-prod-media {
    display: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 1;
    transform: translateZ(0);
    pointer-events: none;
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
    .intro-prod-media {
        display: block;
        -webkit-mask-image: var(--intro-mask);
        mask-image: var(--intro-mask);
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: var(--intro-mask-size-x) 100%;
        mask-size: var(--intro-mask-size-x) 100%;
    }

    .intro-prod-text {
        opacity: 0;
    }
}

.intro-prod-poster,
.intro-prod-video {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    object-fit: cover;
    object-position: 50% var(--intro-media-position-y);
    transform-origin: center;
    background: #000;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.intro-prod-poster {
    left: var(--intro-poster-left);
    width: var(--intro-poster-width);
    transform: translateX(var(--intro-poster-shift-x)) scaleX(var(--intro-poster-stretch-x)) scaleY(1.03);
    filter: brightness(1.12) contrast(1.05) saturate(1.02);
}

.intro-prod-video {
    opacity: 1;
    will-change: transform, opacity;
    left: var(--intro-media-left);
    width: var(--intro-media-width);
    transform: translateX(var(--intro-media-shift-x)) scaleX(var(--intro-media-stretch-x)) scaleY(var(--intro-media-scale));
    filter: brightness(1.12) contrast(1.06) saturate(1.02);
}

.intro-subtitle {
    position: absolute;
    top: calc(50% + clamp(3rem, 10vw, 9rem));
    left: 0;
    right: 0;
    text-align: center;
    opacity: 1;
    font-family: 'ClashGrotesk', 'Inter', sans-serif;
    font-size: clamp(0.8rem, 1.4vw, 1rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 5px;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
    animation: introSubAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
    text-shadow: none;
}

@keyframes introAppear {
    0% {
        opacity: 0;
        transform: scale(0.9);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes introSubAppear {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/* ===== Dark Veil Canvas ===== */
#darkVeil {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Все секции поверх канваса */
.nav,
.hero,
.section,
.section--alt,
.disclaimer,
.footer {
    position: relative;
    z-index: 1;
}

/* ===== Навигация ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
    background: rgba(10, 10, 10, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    gap: 24px;
}

/* Логотип */
.nav__logo {
    display: flex;
    align-items: center;
    min-height: 54px;
    gap: 12px;
}

.nav__logo:hover {
    opacity: 1;
}

.nav__logo-text {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3.2px;
    color: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2vw, 40px);
    margin-left: auto;
}

.nav__links li {
    display: flex;
    align-items: center;
}

.nav__links a {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.25s ease, text-shadow 0.25s ease;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    line-height: 1;
    font-family: 'Manrope', 'Inter', sans-serif;
    white-space: nowrap;
}

.nav__links a:hover {
    color: #fff;
    text-shadow: 0 0 14px rgba(255, 59, 48, 0.28);
}

.nav__logo:hover .nav__logo-text {
    text-shadow: 0 0 16px rgba(255, 59, 48, 0.26);
}

.nav__telegram {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    font-family: 'Manrope', 'Inter', sans-serif;
}

.nav__burger {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 1210;
    overflow: hidden;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                opacity 0.25s ease;
}

.nav__burger::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.18) 0%, rgba(255, 59, 48, 0.06) 58%, transparent 100%);
    opacity: 0;
    transform: scale(0.72);
    transition: opacity 0.35s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.nav__burger span {
    position: absolute;
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    z-index: 1;
    transform-origin: center;
    will-change: transform, opacity;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.24s ease,
                width 0.32s ease,
                background 0.3s ease;
}

.nav__burger span:nth-child(1) {
    transform: translateY(-8px);
}

.nav__burger span:nth-child(2) {
    width: 20px;
    transform: translateY(0);
}

.nav__burger span:nth-child(3) {
    transform: translateY(8px);
}

.nav__burger.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
}

.nav__burger.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.nav__burger.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav__mobile-toolbar {
    display: none !important;
}

.nav__desktop-theme {
    display: flex;
}

.nav__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.nav__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.nav__close span:first-child {
    transform: rotate(45deg);
}

.nav__close span:last-child {
    transform: rotate(-45deg);
}

.nav__close:hover {
    border-color: rgba(255, 59, 48, 0.75);
    background: rgba(255, 59, 48, 0.08);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.28), 0 0 22px rgba(255, 59, 48, 0.2);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    padding-top: clamp(112px, 10vw, 138px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(72% 56% at 50% 34%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, #050505 0%, #090909 38%, #0f0f0f 66%, #141414 84%, var(--bg) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(120px, 20vh, 240px);
    background: linear-gradient(180deg, rgba(23, 23, 23, 0) 0%, rgba(23, 23, 23, 0.22) 36%, rgba(23, 23, 23, 0.56) 68%, var(--bg) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Hero контейнер */
.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Левая часть — контент */
.hero__content {
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Заголовок */
.hero__title {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero__title-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(9px, 0.9vw, 14px);
}

.hero__title-icon {
    width: clamp(36px, 3.4vw, 48px);
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    background: #040404;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42), 0 6px 16px rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
}

.hero__title-accent {
    position: relative;
    display: inline-block;
    font-family: 'ClashDisplay', 'Inter', sans-serif;
    background: linear-gradient(
        120deg,
        #fff 0%,
        #fff 35%,
        rgba(255, 255, 255, 0.5) 48%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.5) 52%,
        #fff 65%,
        #fff 100%
    );
    background-size: 250% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
    animation: shinyProd 5s ease-in-out infinite;
}

.hero__title-accent::after {
    content: none;
}

@keyframes shinyProd {
    0% {
        background-position: 150% 50%;
    }
    50% {
        background-position: -50% 50%;
    }
    70% {
        background-position: -50% 50%;
    }
    100% {
        background-position: 150% 50%;
    }
}

.hero__title-dash {
    display: none;
}

.hero__title-rest {
    font-family: 'HelveticaBoldLocal', 'Inter', sans-serif;
    font-weight: 700;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.06em;
    margin: 0 auto;
    padding-inline: 0.08em;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: none;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.12), 0 0 40px rgba(255, 255, 255, 0.055);
}

.hero__title-line {
    display: block;
    white-space: nowrap;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.64;
    max-width: 500px;
    margin: 0 auto 40px;
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.15px;
    text-align: center;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* Old .hero__btn removed — replaced by .hero__btn-uiverse */

/* Правая часть — фото */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -30px;
    padding-top: 34px;
}

.hero__photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    isolation: isolate;
}

.hero__photo-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.45' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 162px 162px;
    background-repeat: repeat;
    mix-blend-mode: screen;
    opacity: 0.23;
    filter: contrast(155%) brightness(1.03) grayscale(1);
    -webkit-mask-image: url('hero-photo.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url('hero-photo.png');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    pointer-events: none;
    z-index: 2;
}

.hero__photo-border {
    display: none;
}

.hero__photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    filter:
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.09))
        drop-shadow(0 0 26px rgba(255, 255, 255, 0.045))
        drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

@keyframes subtleZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); }
}

/* No hover effect on hero photo */


/* ===== Glow Card (универсальный border glow) ===== */
.glow-card {
    --mx: 50%;
    --my: 50%;
    --glow-radius: 18px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--glow-radius);
    transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

/* Обводка — следует за курсором */
.glow-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--glow-radius);
    border: 1.5px solid rgba(255, 59, 48, 0.78);
    background: none;
    box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.18), 0 0 18px rgba(255, 59, 48, 0.12);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Мягкое свечение внутри блока */
.glow-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--glow-radius);
    background: radial-gradient(
        420px circle at var(--mx) var(--my),
        var(--hover-red-soft) 0%,
        var(--hover-red-fog) 26%,
        transparent 58%
    );
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.glow-card:hover::before {
    opacity: 1;
}

.glow-card:hover::after {
    opacity: 1;
}

.glow-card:hover {
    box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.3), 0 0 26px rgba(255, 59, 48, 0.18), 0 0 72px rgba(255, 59, 48, 0.12);
}

.simon__info-card,
.simon__bio,
.review-card,
.faq-card,
.tariff-card {
    background: var(--card-surface);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.prod-content-btn,
.reviews-more-btn {
    --glow-radius: 14px;
}

/* ===== Split Text Animation ===== */
.split-text .split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Пробелы */
.split-text .split-space {
    display: inline-block;
    width: 0.3em;
}

.split-text.animated .split-char {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

html.compat-browser .hero__content,
html.compat-browser .hero__visual,
html.compat-browser .hero__title,
html.compat-browser .hero__subtitle,
html.compat-browser .hero__actions,
html.compat-browser .scroll-reveal,
html.compat-browser .slide-up,
html.compat-browser .step-header-anim {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

html.compat-browser .text-wipe,
html.compat-browser .simon__info-card.text-wipe,
html.compat-browser .simon__bio .text-wipe {
    clip-path: none !important;
    background-position: 0 0 !important;
    transition: none !important;
}

html.compat-browser .simon__title {
    max-width: 11ch;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.03em;
    overflow-wrap: normal;
    word-break: keep-all;
}

html.compat-browser .simon__title .split-char,
html.compat-browser .simon__title .split-space {
    display: inline;
    width: auto;
}

html.no-backdrop-filter .simon__info-card,
html.no-backdrop-filter .simon__bio,
html.no-backdrop-filter .review-card,
html.no-backdrop-filter .faq-card,
html.no-backdrop-filter .tariff-card,
html.no-backdrop-filter .nav__links,
html.no-backdrop-filter .nav__burger {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* ===== Glow Underline ===== */
/* (simon-typewriter removed, now uses text-wipe) */


/* ===== Кнопки ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
    border: none;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
    background: var(--accent-light);
    box-shadow: 0 6px 30px var(--accent-glow-strong);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* ===== Секции ===== */
.section {
    padding: 100px 0;
    background: transparent;
}

.section--alt {
    background: transparent;
}

.section__title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    letter-spacing: -0.5px;
}

.section__title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== Кто такой Симон? ===== */
.simon {
    padding: 100px 0;
}

.simon__title {
    font-family: 'InterBlack', 'Inter', sans-serif;
    font-size: clamp(2.1rem, 4.1vw, 3.1rem);
    font-weight: 900;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
    letter-spacing: 1px;
    line-height: 1.12;
    font-style: normal;
    position: relative;
    z-index: 1;
    filter: none;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.12), 0 0 40px rgba(255, 255, 255, 0.055);
}

.simon__title .split-char {
    display: inline-block;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: inherit;
    will-change: auto;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

.simon__title.animated .split-char {
    filter: none;
}

/* Двухколоночный layout */
.simon__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.simon__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.simon__left .simon__bio {
    flex: 1;
}

.simon__info-card {
    border: 1px solid var(--card-line);
    border-radius: 18px;
    padding: 32px 28px;
    width: 100%;
    background: var(--card-surface);
}

.simon__name {
    font-family: 'Inter', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.2;
}

.simon__activity {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.68;
    margin-bottom: 28px;
    letter-spacing: 0;
    font-weight: 600;
}

.simon__activity-copy {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-weight: 600;
}

.simon__activity strong {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-weight: 800;
}

.simon__stats {
    display: flex;
    gap: 40px;
}

.simon__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.simon__stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 2.2rem;
}

/* Drum counter */
.drum-counter {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 2.2rem;
}

.drum-digit {
    display: inline-block;
    height: 2.2rem;
    overflow: hidden;
    position: relative;
}

.drum-digit .drum-strip {
    display: flex;
    flex-direction: column;
    transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(0);
}

.drum-digit .drum-strip span {
    display: block;
    height: 2.2rem;
    line-height: 2.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.drum-suffix {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 2.2rem;
    white-space: nowrap;
}

.simon__stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.66);
    margin-top: 4px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    height: 1.5rem;
    overflow: hidden;
    line-height: 1.5rem;
}

.simon__stat-label .drum-digit .drum-strip span {
    color: rgba(255, 255, 255, 0.5);
}

/* Фото Симона */
.simon__photo {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: none;
    min-height: 0;
}

.simon__photo picture {
    position: absolute;
    inset: 0;
    display: block;
}

.simon__photo picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    image-orientation: from-image;
}

/* Биография */
.simon__bio {
    padding: 32px 28px;
    border: 1px solid var(--card-line);
    border-radius: 18px;
    background: var(--card-surface);
}

.simon__bio p {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.72;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.08px;
}

.simon__bio p:last-child {
    margin-bottom: 0;
}

/* ===== ШАГ 1 ===== */
.step-one {
    padding: 100px 0;
    text-align: center;
}

.section-arrow {
    display: block;
    width: 64px;
    height: 124px;
    margin: -4px auto 10px;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.section-arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 124' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='32' y1='8' x2='32' y2='94' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23ff7a72' stop-opacity='0.14'/%3E%3Cstop offset='0.38' stop-color='%23ff5a52' stop-opacity='0.82'/%3E%3Cstop offset='1' stop-color='%23ff3b30'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M32 8V92' stroke='url(%23g)' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M18 78L32 92L46 78' stroke='%23ff3b30' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    filter: drop-shadow(0 0 14px rgba(255, 59, 48, 0.28)) drop-shadow(0 0 34px rgba(255, 59, 48, 0.14));
}

.section-arrow::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 72px;
    height: 56px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 59, 48, 0.24) 0%, rgba(255, 59, 48, 0.1) 38%, transparent 72%);
    filter: blur(10px);
    opacity: 0.82;
}

.section-arrow__shaft,
.section-arrow__head {
    display: none;
}

.step-one__header {
    margin-bottom: 50px;
    text-align: center;
}

.step-one__badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.42rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 20px;
    position: relative;
    line-height: 1;
    width: fit-content;
    min-width: 0;
    gap: 2px;
}

.step-one__badge::after {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    background: var(--accent);
    margin-top: 0;
    border-radius: 0;
}

.step-one__title {
    font-family: 'InterBlack', 'Inter', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.18;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.24)) drop-shadow(0 0 34px rgba(255, 255, 255, 0.14));
}

.step-one__subtitle {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 1.16rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.step-one__video {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--card-line);
    aspect-ratio: 16 / 9;
}

.step-one__video video {
    width: 100%;
    display: block;
    background: #000;
    aspect-ratio: 16/9;
    object-fit: contain;
}

.step-one__embed,
.review-card__embed,
.faq-card__embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ks-embed {
    background: #000;
    overflow: hidden;
}

.ks-embed::before,
.ks-embed::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity 0.32s ease, transform 0.4s ease;
}

.ks-embed::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.34) 100%),
        var(--embed-poster) center / cover no-repeat;
    transform: scale(1.01);
}

.ks-embed::after {
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0.42) 100%);
}

.step-one__embed iframe,
.review-card__embed iframe,
.faq-card__embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #000;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.ks-embed__play {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.22s ease;
}

.ks-embed__play-circle {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(136, 136, 136, 0.72);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.ks-embed__play:hover .ks-embed__play-circle {
    transform: scale(1.06);
    background: rgba(148, 148, 148, 0.8);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.ks-embed__play svg {
    width: 28px;
    height: 28px;
    fill: #f3f3f3;
    margin-left: 4px;
}

.ks-embed.is-loading .ks-embed__play {
    opacity: 0;
    pointer-events: none;
}

.ks-embed.is-active .ks-embed__play {
    opacity: 0;
    pointer-events: none;
}

.ks-embed.is-active::before,
.ks-embed.is-active::after {
    opacity: 0;
}

.ks-embed.is-active iframe {
    opacity: 1;
    pointer-events: auto;
}

.ks-embed iframe {
    pointer-events: none;
}

/* Кнопка СОДЕРЖАНИЕ PROD */
.prod-content-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 400px;
    margin: 30px auto 0;
    padding: 18px 40px;
    background: transparent;
    border: 1.5px solid var(--accent);
    border-radius: 14px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.22), 0 0 44px rgba(255, 59, 48, 0.12);
}

.prod-content-btn {
    --mx: 50%;
    --my: 50%;
}

.prod-content-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: radial-gradient(
        220px circle at var(--mx) var(--my),
        var(--hover-red-core),
        var(--hover-red-mid) 20%,
        rgba(255, 59, 48, 0.72) 45%,
        transparent 65%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prod-content-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(
        200px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.18),
        transparent 60%
    );
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prod-content-btn:hover::before {
    opacity: 1;
}

.prod-content-btn:hover::after {
    opacity: 1;
}

.prod-content-btn:hover {
    border-color: transparent;
    transform: scale(1.02);
    box-shadow: 0 0 32px rgba(255, 59, 48, 0.4), 0 0 72px rgba(255, 59, 48, 0.2);
}

.prod-content-btn svg {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.prod-content-btn span {
    position: relative;
    z-index: 2;
}

.prod-content-btn:hover svg {
    transform: translate(3px, -3px);
}

/* Кнопка 200+ отзывов */
.reviews-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 40px auto 0;
    padding: 18px 40px;
    background: transparent;
    border: 1.5px solid var(--accent);
    border-radius: 14px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.22), 0 0 44px rgba(255, 59, 48, 0.12);
    --mx: 50%;
    --my: 50%;
}

.reviews-more-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: radial-gradient(
        220px circle at var(--mx) var(--my),
        var(--hover-red-core),
        var(--hover-red-mid) 20%,
        rgba(255, 59, 48, 0.72) 45%,
        transparent 65%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.reviews-more-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(
        200px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.18),
        transparent 60%
    );
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reviews-more-btn:hover::before,
.reviews-more-btn:hover::after {
    opacity: 1;
}

.reviews-more-btn:hover {
    border-color: transparent;
    transform: scale(1.02);
    box-shadow: 0 0 32px rgba(255, 59, 48, 0.42), 0 0 72px rgba(255, 59, 48, 0.22);
}

.reviews-more-btn span {
    position: relative;
    z-index: 2;
}

.reviews-more-btn svg {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.reviews-more-btn:hover svg {
    transform: translate(3px, -3px);
}

/* ===== ШАГ 2 — Отзывы ===== */
.step-two {
    padding: 100px 0;
}

.reviews__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.review-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--card-line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--card-surface);
}

.review-card--reverse {
    direction: rtl;
}

.review-card--reverse > * {
    direction: ltr;
}

.review-card__text {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.review-card__name {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.review-card__tag {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.66);
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.review-card__text p {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.72;
    margin-bottom: 12px;
    font-weight: 600;
}

.review-card__text p:last-of-type {
    margin-bottom: 0;
}

.review-card__number {
    position: absolute;
    bottom: 16px;
    left: 32px;
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
}

.review-card--reverse .review-card__number {
    left: auto;
    right: 32px;
}

.review-card__video {
    position: relative;
    background: #000;
    min-height: 280px;
    z-index: 3;
    overflow: hidden;
}

.review-card__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .review-card {
        grid-template-columns: 1fr;
    }

    .review-card--reverse {
        direction: ltr;
    }

    .review-card__video {
        order: -1;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .review-card__text {
        padding: 24px 20px;
    }

    .review-card__number {
        font-size: 3rem;
        left: 20px;
    }

    .review-card--reverse .review-card__number {
        left: 20px;
        right: auto;
    }
}

/* ===== ШАГ 3 — FAQ ===== */
.step-three {
    padding: 100px 0;
}

.faq__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--card-line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--card-surface);
}

.faq-card__video {
    position: relative;
    background: #000;
    min-height: 260px;
    overflow: hidden;
}

.faq-card__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faq-card__text {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-card__question {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.faq-card__text p {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.72;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-card__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-card {
        grid-template-columns: 1fr;
    }

    .faq-card__video {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .faq-card__text {
        padding: 24px 20px;
    }
}

/* ===== Тарифы ===== */
.tariffs {
    padding: 60px 0 100px;
}

.tariffs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.tariff-card {
    border: 1px solid var(--card-line);
    border-radius: 18px;
    padding: 36px 28px;
    background: var(--card-surface);
    position: relative;
}

.tariff-card--featured {
    border-color: rgba(255, 59, 48, 0.92);
    background: linear-gradient(180deg, rgba(255, 59, 48, 0.08) 0%, rgba(255, 59, 48, 0.04) 24%, transparent 48%);
    box-shadow: inset 0 0 0 1px rgba(255, 59, 48, 0.28);
    padding-top: 78px;
}

.tariff-card--featured::before,
.tariff-card--featured::after {
    display: none !important;
}

.tariff-card--featured:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 59, 48, 0.28);
}

.tariff-card__badge {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    padding: 11px 24px 12px;
    border-radius: 24px;
    white-space: nowrap;
    z-index: 3;
    min-width: min(88%, 420px);
    text-align: center;
}

.tariff-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.tariff-card--featured .tariff-card__title {
    margin-top: 0;
}

.tariff-card__price {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1;
}

.tariff-card__price span {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.tariff-card__btn {
    display: block;
    text-align: center;
    padding: 16px 24px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    background: #fff;
    transition: transform 0.2s, opacity 0.2s;
    margin-bottom: 28px;
}

.tariff-card__btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.tariff-card__btn--red {
    background: var(--accent);
    color: #fff;
}

.tariff-card__btn--red:hover {
    background: var(--accent-light);
}

.tariff-card__btn--disabled,
.tariff-card__btn--disabled:hover {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 1;
    transform: none;
    cursor: not-allowed;
    box-shadow: none;
}

.tariff-card__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.tariff-card__divider::before,
.tariff-card__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.tariff-card__divider span {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.56);
    letter-spacing: 2px;
    white-space: nowrap;
}

.tariff-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tariff-card__features li {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
    font-weight: 600;
    padding-left: 28px;
    position: relative;
}

.tariff-card__features a {
    color: inherit;
    display: inline-block;
    padding-bottom: 0;
    line-height: 1.18;
    border-bottom: 1.5px solid rgba(255, 59, 48, 0.9);
    text-decoration: none;
    transition: color 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.tariff-card__features a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 59, 48, 0.9);
}

.tariff-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='rgba(255,255,255,0.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
    .tariffs__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* ===== Навыки (unused) ===== */
.skills__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.skill-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: rgba(192, 57, 43, 0.3);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.skill-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.skill-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.skill-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Проекты ===== */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.project-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.project-card__image {
    height: 180px;
    background: linear-gradient(135deg, var(--accent), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card__image span {
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.2;
}

.project-card__body {
    padding: 24px;
}

.project-card__body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.project-card__body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-card__tags span {
    padding: 4px 12px;
    background: rgba(192, 57, 43, 0.12);
    color: var(--accent-light);
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ===== Контакты ===== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.contact__links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    transition: color 0.3s;
    font-size: 1rem;
}

.contact__link:hover {
    color: var(--text);
}

.contact__link-icon {
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form__group {
    margin-bottom: 16px;
}

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
    resize: vertical;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: var(--text-muted);
}

.form__group input:focus,
.form__group textarea:focus {
    border-color: var(--accent);
}

/* ===== Дисклеймер ===== */
.disclaimer {
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.disclaimer .container {
    text-align: center;
}

.disclaimer__title {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(192, 57, 43, 0.7);
    letter-spacing: 2px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.disclaimer__title.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.disclaimer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.7;
    margin-bottom: 10px;
    font-weight: 400;
}

.disclaimer__list {
    color: rgba(255, 255, 255, 0.3) !important;
    font-style: italic;
    margin: 14px 0 !important;
}

.disclaimer__content {
    text-align: center;
}

.disclaimer__content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.7;
    margin-bottom: 12px;
}

.disclaimer__date {
    margin-top: 18px !important;
    font-size: 0.65rem !important;
    color: rgba(255, 255, 255, 0.2) !important;
}

#disclaimerTypewriter {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.7;
    text-align: center;
    min-height: 2em;
}

#disclaimerTypewriter .typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: rgba(231, 76, 60, 0.9);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: simonCursorBlink 0.55s step-end infinite;
}

/* Disclaimer fade-in */
.disclaimer-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.disclaimer-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.disclaimer__content.disclaimer-fade.visible {
    transition-delay: 0.4s;
}

.disclaimer__date.disclaimer-fade.visible {
    transition-delay: 0.7s;
}

/* ===== Футер ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    background: #000;
}

.footer__copy {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 32px;
}

.footer__legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer__legal p {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    letter-spacing: 1px;
}

.footer__legal a {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    transition: color 0.3s;
}

.footer__legal a:hover {
    color: rgba(255, 255, 255, 0.82);
}

/* ===== Custom Video Player ===== */
.vp {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: inherit;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    z-index: 2;
}

.vp video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

/* In review cards, cover the area */
.review-card__video .vp video,
.faq-card__video .vp video {
    object-fit: cover;
}

/* Big play overlay */
.vp__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    z-index: 5;
    transition: opacity 0.3s;
}

.vp__overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.vp__play-big {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.vp__play-big:hover {
    transform: scale(1.12);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.vp__play-big svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 3px;
}

/* Controls bar */
.vp__controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 24px 16px 14px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vp.playing:hover .vp__controls,
.vp.paused .vp__controls {
    opacity: 1;
}

.vp.playing .vp__controls {
    opacity: 0;
}

/* Progress bar */
.vp__progress-wrap {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: height 0.15s;
}

.vp__progress-wrap:hover {
    height: 6px;
}

.vp__progress-bar {
    height: 100%;
    background: var(--accent-light, #e74c3c);
    border-radius: 2px;
    width: 0%;
    position: relative;
    transition: none;
}

.vp__progress-bar::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s;
}

.vp__progress-wrap:hover .vp__progress-bar::after {
    transform: translateY(-50%) scale(1);
}

/* Bottom controls row */
.vp__bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vp__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.vp__btn:hover {
    opacity: 0.8;
}

.vp__btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Speed button */
.vp__speed {
    background: none;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.vp__speed:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Time */
.vp__time {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    white-space: nowrap;
}

.vp__spacer {
    flex: 1;
}

/* Volume */
.vp__vol-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vp__vol-slider {
    width: 0;
    overflow: hidden;
    transition: width 0.25s;
}

.vp__vol-wrap:hover .vp__vol-slider {
    width: 70px;
}

.vp__vol-slider input[type="range"] {
    -webkit-appearance: none;
    width: 70px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.vp__vol-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.vp__vol-slider input[type="range"]::-moz-range-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 2px;
}

.vp__vol-slider input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.vp__vol-slider input[type="range"]::-moz-focus-outer {
    border: 0;
}

/* Settings popup */
.vp__settings-popup {
    position: absolute;
    bottom: 60px;
    right: 16px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 180px;
    z-index: 20;
    display: none;
    font-family: 'Inter', sans-serif;
}

.vp__settings-popup.open {
    display: block;
}

.vp__settings-popup .sp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.vp__settings-popup .sp-header:hover {
    background: rgba(255, 255, 255, 0.08);
}

.vp__settings-popup .sp-header svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.vp__settings-popup .sp-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.2s;
}

.vp__settings-popup .sp-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.vp__settings-popup .sp-item.active {
    color: #fff;
    font-weight: 600;
}

.vp__settings-popup .sp-item .sp-check {
    font-size: 0.9rem;
    color: #fff;
}

.vp__settings-popup .sp-item .sp-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 4px;
}

.vp__settings-popup .sp-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

/* ===== Анимации ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Scroll-reveal (старый) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text Wipe — проявление слева направо */
.text-wipe {
    background: linear-gradient(90deg, #fff 0%, #fff 50%, transparent 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-wipe.visible {
    background-position: 0% 0;
}

/* Для вложенных элементов внутри text-wipe контейнера */
.simon__info-card.text-wipe {
    -webkit-text-fill-color: initial;
    background: var(--card-surface);
    background-clip: initial;
    -webkit-background-clip: initial;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.simon__info-card.text-wipe.visible {
    clip-path: inset(0 0% 0 0);
}

/* Bio параграфы — wipe слева направо */
.simon__bio .text-wipe {
    -webkit-text-fill-color: initial;
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.simon__bio .text-wipe.visible {
    clip-path: inset(0 0% 0 0);
}


/* ===== Step Header — special animation ===== */
.step-header-anim {
    opacity: 0;
    transform: translateY(50px) scale(0.96);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-header-anim.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Badge slides in from left */
.step-header-anim .step-one__badge {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s,
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.step-header-anim.visible .step-one__badge {
    opacity: 1;
    transform: translateX(0);
}

/* Title fades up */
.step-header-anim .step-one__title {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s,
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s;
}

.step-header-anim.visible .step-one__title {
    opacity: 1;
    transform: translateY(0);
}

/* Subtitle fades up later */
.step-header-anim .step-one__subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.55s,
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.55s;
}

.step-header-anim.visible .step-one__subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Uiverse-style Hero Button (red) ===== */
.hero__btn-uiverse {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 2px solid var(--frame-line);
    font-size: 16px;
    background-color: transparent;
    border-radius: 100px;
    font-weight: 500;
    color: #fff;
    box-shadow: var(--frame-shadow);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    font-family: 'Gilroy', 'Inter', sans-serif;
    letter-spacing: 0.2px;
}

.hero__btn-uiverse svg {
    position: absolute;
    width: 24px;
    fill: #fff;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero__btn-uiverse .arr-1 {
    right: 16px;
}

.hero__btn-uiverse .arr-2 {
    left: -25%;
}

.hero__btn-uiverse .btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero__btn-uiverse .btn-text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero__btn-uiverse:hover {
    border-color: #fff;
    background-color: #fff;
    color: #000;
    border-radius: 100px;
    box-shadow: 0 0 16px rgba(255, 59, 48, 0.2), 0 0 34px rgba(255, 59, 48, 0.1);
}

.hero__btn-uiverse:hover .arr-1 {
    right: -25%;
}

.hero__btn-uiverse:hover .arr-2 {
    left: 16px;
}

.hero__btn-uiverse:hover .btn-text {
    transform: translateX(12px);
}

.hero__btn-uiverse:hover svg {
    fill: #000;
}

.hero__btn-uiverse:active {
    scale: 0.95;
}

.hero__btn-uiverse:hover .btn-circle {
    width: 300px;
    height: 300px;
    opacity: 1;
}

/* ===== Scroll Reveal — все секции ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.scroll-reveal-children > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-children.visible > *:nth-child(1) { transition-delay: 0s; }
.scroll-reveal-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal-children.visible > *:nth-child(5) { transition-delay: 0.4s; }

/* Photo slide from bottom */
.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0) !important;
}

/* Review cards stagger */
.review-card.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.review-card.scroll-reveal:nth-child(2) { transition-delay: 0.15s; }
.review-card.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.review-card.scroll-reveal:nth-child(4) { transition-delay: 0.45s; }

/* FAQ cards stagger */
.faq-card.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.faq-card.scroll-reveal:nth-child(2) { transition-delay: 0.15s; }
.faq-card.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }

/* Tariff cards stagger */
.tariff-card.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.tariff-card.scroll-reveal:nth-child(2) { transition-delay: 0.15s; }
.tariff-card.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }

/* Hero enhanced entrance animation */
.hero__content {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__content.hero-animated {
    opacity: 1;
    transform: translateY(0);
}

.hero__visual {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s,
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.hero__visual.hero-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Override the old fadeUp on hero elements — we control via JS now */
.hero__title,
.hero__subtitle,
.hero__actions {
    animation: none !important;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__content.hero-animated .hero__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.hero__content.hero-animated .hero__subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.hero__content.hero-animated .hero__actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* No extra overrides needed for uiverse button */

/* Override old hero__visual fadeUp animation */
.hero__visual {
    animation: none !important;
}

/* Footer scroll reveal */
.footer.scroll-reveal {
    transform: translateY(30px);
}

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
    .hero__container {
        gap: 40px;
    }

    .hero__photo-wrapper {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .nav__container {
        min-height: 48px;
    }

    .nav__burger {
        display: flex;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        border-color: rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(12px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    }

    .nav__burger span:nth-child(1) {
        transform: translateY(-7px);
    }

    .nav__burger span:nth-child(2) {
        width: 18px;
    }

    .nav__burger span:nth-child(3) {
        transform: translateY(7px);
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, calc(100vw - 24px));
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 20px 20px calc(28px + env(safe-area-inset-bottom));
        gap: 12px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
        box-shadow: -24px 0 48px rgba(0, 0, 0, 0.34);
        overflow-y: auto;
        z-index: 1205;
    }

    .nav__mobile-toolbar {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 8px;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav__desktop-theme {
        display: none !important;
    }

    .nav__desktop-theme .theme-toggle,
    .nav__desktop-theme .theme-toggle--desktop {
        display: none !important;
    }

    .nav__close {
        display: none !important;
    }

    .nav--menu-open .nav__burger {
        opacity: 1;
        pointer-events: auto;
        border-color: rgba(255, 59, 48, 0.26);
        background: rgba(255, 255, 255, 0.04);
        box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.08), 0 14px 28px rgba(0, 0, 0, 0.22);
        transform: rotate(180deg);
    }

    .nav__links li {
        width: 100%;
    }

    .nav__links a {
        width: 100%;
        min-height: 44px;
        justify-content: flex-start;
        padding: 8px 0;
    }

    .nav__links.open {
        right: 0;
    }

    .hero__container {
        padding: 0 32px;
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero__content {
        order: 2;
        padding-top: 0;
    }

    .hero__visual {
        order: 1;
        margin-left: 0;
        padding-top: 32px;
    }

.hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero__photo-wrapper {
        max-width: min(90vw, 360px);
        filter: none;
    }

    .hero__photo {
        filter:
            drop-shadow(0 0 9px rgba(255, 255, 255, 0.08))
            drop-shadow(0 0 18px rgba(255, 255, 255, 0.035));
    }

    .simon__layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .simon__left {
        order: 2;
    }

    .simon__photo {
        order: 1;
        width: min(100%, 440px);
        height: auto;
        margin: 0 auto;
        overflow: visible;
    }

    .simon__photo picture {
        position: relative;
        inset: auto;
    }

    .simon__photo picture img {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center top;
        border-radius: 18px;
    }

    .simon__bio {
        padding: 24px 20px;
    }

    .simon__stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .hero__title {
        letter-spacing: -0.5px;
    }

    html[data-theme="light"] .hero__photo-wrapper {
        filter: none;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 70px 0;
    }

    .hero__title {
        font-size: clamp(1.58rem, 7.3vw, 1.8rem);
    }

    .hero__title-brand {
        gap: 8px;
    }

    .hero__title-icon {
        width: 30px;
        border-radius: 10px;
        transform: translateY(-3px);
    }

    .hero__title-rest {
        padding-inline: 0.05em;
    }

    .hero__photo-wrapper {
        max-width: 280px;
    }

    .btn {
        text-align: center;
    }

    .simon__name {
        font-size: 1.4rem;
    }

    .simon__bio p {
        font-size: 0.95rem;
    }

    html.compat-browser .simon__title {
        font-size: clamp(1.82rem, 8.8vw, 2.5rem);
        line-height: 1.08;
        max-width: 10ch;
    }
}

/* ===== Light Theme ===== */
html[data-theme="light"] {
    --bg: #f5f5f2;
    --bg-alt: #f5f5f2;
    --surface: #f0f0f0;
    --border: #cccccc;
    --text: #1a1a1a;
    --text-muted: #666666;
    --accent: #ff3b30;
    --accent-light: #ff5a52;
    --accent-glow: rgba(255, 59, 48, 0.18);
    --accent-glow-strong: rgba(255, 59, 48, 0.34);
    --grid-line: rgba(0, 0, 0, 0.16);
    --frame-line: rgba(0, 0, 0, 0.34);
    --card-line: rgba(0, 0, 0, 0.16);
    --card-surface: rgba(248, 248, 244, 0.94);
    --frame-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Invert dark veil canvas in light mode (dark wisps on white) */
html[data-theme="light"] #darkVeil {
    filter: invert(1);
}

/* Intro screen */
html[data-theme="light"] .intro-screen {
    background: #000;
}

html[data-theme="light"] .intro-text-overlay {
    background: #000;
    mix-blend-mode: multiply;
}

html[data-theme="light"] .intro-text-word {
    color: #fff;
}

html[data-theme="light"] .hero__title-dash {
    color: #1a1a1a;
}

/* Nav */
html[data-theme="light"] .nav {
    background: rgba(245, 245, 242, 0.92);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .nav--scrolled {
    background: rgba(245, 245, 242, 0.96);
    border-bottom-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .nav__logo-text {
    color: #1a1a1a;
}

html[data-theme="light"] .nav__links a {
    color: rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] .nav__links a:hover {
    color: #1a1a1a;
    text-shadow: 0 0 14px rgba(255, 59, 48, 0.18);
}

/* Hero */
html[data-theme="light"] .hero {
    background:
        radial-gradient(72% 56% at 50% 34%, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, #f6f4ee 0%, #f1efe8 42%, #ece9e1 72%, var(--bg) 100%);
}

html[data-theme="light"] .hero::after {
    background: linear-gradient(180deg, rgba(245, 245, 242, 0) 0%, rgba(245, 245, 242, 0.38) 40%, var(--bg) 100%);
}

html[data-theme="light"] .hero__title {
    color: #1a1a1a;
}

html[data-theme="light"] .hero__title-rest {
    background: linear-gradient(180deg, #1a1a1a 0%, #7f7f7f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: none;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.06), 0 0 28px rgba(0, 0, 0, 0.075);
}

html[data-theme="light"] .hero__subtitle-text,
html[data-theme="light"] .hero__subtitle {
    color: #444;
}

html[data-theme="light"] .hero__title-accent {
    background: linear-gradient(
        120deg,
        #1a1a1a 0%,
        #1a1a1a 35%,
        rgba(26, 26, 26, 0.5) 48%,
        rgba(26, 26, 26, 0.3) 50%,
        rgba(26, 26, 26, 0.5) 52%,
        #1a1a1a 65%,
        #1a1a1a 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    filter: none;
    animation: shinyProd 5s ease-in-out infinite;
}

html[data-theme="light"] .hero__title-accent::after {
    content: none;
}

html[data-theme="light"] .hero__photo-wrapper {
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.1));
}

html[data-theme="light"] .hero__btn-uiverse {
    border-color: var(--frame-line);
    color: #1a1a1a;
    box-shadow: var(--frame-shadow);
}

html[data-theme="light"] .hero__btn-uiverse svg {
    fill: #1a1a1a;
}

html[data-theme="light"] .hero__btn-uiverse .btn-circle {
    background-color: #1a1a1a;
}

html[data-theme="light"] .hero__btn-uiverse:hover {
    border-color: #1a1a1a;
    background-color: #1a1a1a;
    color: #fff;
    box-shadow: 0 0 16px rgba(255, 59, 48, 0.16), 0 0 34px rgba(255, 59, 48, 0.08);
}

html[data-theme="light"] .hero__btn-uiverse:hover svg {
    fill: #fff;
}

/* Simon section */
html[data-theme="light"] .simon__title {
    background: linear-gradient(180deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.05), 0 0 28px rgba(0, 0, 0, 0.075);
}

html[data-theme="light"] .simon__title .split-char {
    display: inline-block;
    background: linear-gradient(180deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="light"] .simon__title.animated .split-char {
    filter: none;
}

html[data-theme="light"] .simon__info-card {
    border-color: var(--card-line);
    background: var(--card-surface);
}

html[data-theme="light"] .simon__name {
    background: linear-gradient(180deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="light"] .simon__activity {
    color: rgba(0, 0, 0, 0.78);
}

html[data-theme="light"] .simon__activity strong {
    color: #1a1a1a;
}

html[data-theme="light"] .simon__stat-number,
html[data-theme="light"] .drum-digit .drum-strip span,
html[data-theme="light"] .drum-suffix {
    background: linear-gradient(180deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="light"] .simon__stat-label {
    color: rgba(0, 0, 0, 0.62);
}

html[data-theme="light"] .simon__stat-label .drum-digit .drum-strip span {
    color: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .simon__photo {
    border: none;
}

/* Simon photo swap for light mode */
html[data-theme="light"] .simon__photo .simon-photo--dark {
    display: none;
}

html[data-theme="light"] .simon__photo .simon-photo--light {
    display: block;
}

html[data-theme="light"] .simon__bio {
    border-color: var(--card-line);
    background: var(--card-surface);
}

html[data-theme="light"] .simon__bio p {
    color: rgba(0, 0, 0, 0.82);
    font-weight: 600;
}

html[data-theme="light"] .simon__info-card.text-wipe {
    background: var(--card-surface);
}

/* Step badges & titles */
html[data-theme="light"] .step-one__badge {
    color: #1a1a1a;
}

html[data-theme="light"] .step-one__title {
    background: linear-gradient(180deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 34px rgba(0, 0, 0, 0.1));
}

html[data-theme="light"] .step-one__subtitle {
    font-family: 'Gilroy', 'Inter', sans-serif;
    color: rgba(0, 0, 0, 0.64);
    font-weight: 600;
}

/* Step 3 FAQ title muted text */
.text-muted-inline {
    color: rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] .text-muted-inline {
    color: rgba(0, 0, 0, 0.4);
}

/* Video containers */
html[data-theme="light"] .step-one__video {
    border-color: var(--card-line);
}

html[data-theme="light"] .step-one__video video {
    background: #f0f0f0;
}

/* PROD content button */
html[data-theme="light"] .prod-content-btn {
    border-color: var(--accent);
    color: #1a1a1a;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.18), 0 0 44px rgba(255, 59, 48, 0.1);
}

html[data-theme="light"] .prod-content-btn::before {
    background: radial-gradient(
        220px circle at var(--mx) var(--my),
        var(--hover-red-core),
        var(--hover-red-mid) 20%,
        rgba(255, 59, 48, 0.68) 45%,
        transparent 65%
    );
}

html[data-theme="light"] .prod-content-btn::after {
    background: radial-gradient(
        200px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.16),
        transparent 60%
    );
}

/* Reviews more btn light */
html[data-theme="light"] .reviews-more-btn {
    border-color: var(--accent);
    color: #1a1a1a;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.18), 0 0 44px rgba(255, 59, 48, 0.1);
}

html[data-theme="light"] .reviews-more-btn::before {
    background: radial-gradient(
        220px circle at var(--mx) var(--my),
        var(--hover-red-core),
        var(--hover-red-mid) 20%,
        rgba(255, 59, 48, 0.68) 45%,
        transparent 65%
    );
}

html[data-theme="light"] .reviews-more-btn::after {
    background: radial-gradient(
        200px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.16),
        transparent 60%
    );
}

/* Section alt */
html[data-theme="light"] .section--alt {
    background: transparent;
}

/* Review cards */
html[data-theme="light"] .review-card {
    border-color: var(--card-line);
    background: var(--card-surface);
}

html[data-theme="light"] .review-card__name {
    color: #1a1a1a;
}

html[data-theme="light"] .review-card__tag {
    font-family: 'Gilroy', 'Inter', sans-serif;
    color: rgba(0, 0, 0, 0.58);
    font-weight: 600;
}

html[data-theme="light"] .review-card__text p {
    font-family: 'Gilroy', 'Inter', sans-serif;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

html[data-theme="light"] .review-card__number {
    color: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .review-card__video {
    background: #f0f0f0;
}

/* FAQ cards */
html[data-theme="light"] .faq-card {
    border-color: var(--card-line);
    background: var(--card-surface);
}

html[data-theme="light"] .faq-card__video {
    background: #f0f0f0;
}

html[data-theme="light"] .faq-card__question {
    color: #1a1a1a;
}

html[data-theme="light"] .faq-card__text p {
    font-family: 'Gilroy', 'Inter', sans-serif;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

/* Tariff cards */
html[data-theme="light"] .tariff-card {
    border-color: var(--card-line);
    background: var(--card-surface);
}

html[data-theme="light"] .tariff-card__badge {
    color: #fff;
}

html[data-theme="light"] .tariff-card__title {
    color: #1a1a1a;
}

html[data-theme="light"] .tariff-card__price {
    color: #1a1a1a;
}

html[data-theme="light"] .tariff-card__price span {
    color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .tariff-card__btn {
    color: #fff;
    background: #1a1a1a;
}

html[data-theme="light"] .tariff-card__btn--red {
    background: var(--accent);
    color: #fff;
}

html[data-theme="light"] .tariff-card__btn--disabled,
html[data-theme="light"] .tariff-card__btn--disabled:hover {
    color: rgba(0, 0, 0, 0.78);
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .tariff-card__divider::before,
html[data-theme="light"] .tariff-card__divider::after {
    background: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .tariff-card__divider span {
    font-family: 'Gilroy', 'Inter', sans-serif;
    color: rgba(0, 0, 0, 0.52);
    font-weight: 600;
}

html[data-theme="light"] .tariff-card__features li {
    font-family: 'Gilroy', 'Inter', sans-serif;
    color: rgba(0, 0, 0, 0.82);
    font-weight: 600;
}

html[data-theme="light"] .tariff-card__features a {
    border-bottom-color: rgba(255, 59, 48, 0.86);
}

html[data-theme="light"] .tariff-card__features a:hover {
    color: rgba(0, 0, 0, 0.96);
    border-bottom-color: rgba(255, 59, 48, 0.84);
}

html[data-theme="light"] .tariff-card__features li::before {
    background: rgba(0, 0, 0, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='rgba(0,0,0,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Glow card borders — black in light mode */
html[data-theme="light"] .glow-card::before {
    background: none;
    border-color: rgba(255, 59, 48, 0.72);
    box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.14), 0 0 18px rgba(255, 59, 48, 0.08);
}

html[data-theme="light"] .glow-card::after {
    background: radial-gradient(
        420px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.18) 0%,
        rgba(255, 59, 48, 0.08) 28%,
        transparent 58%
    );
}

/* Skill/project cards */
html[data-theme="light"] .skill-card,
html[data-theme="light"] .project-card,
html[data-theme="light"] .contact__link-icon {
    background: rgba(245, 245, 245, 0.8);
}

html[data-theme="light"] .form__group input,
html[data-theme="light"] .form__group textarea {
    background: rgba(245, 245, 245, 0.8);
}

/* Disclaimer */
html[data-theme="light"] .disclaimer {
    border-top-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .disclaimer p,
html[data-theme="light"] .disclaimer__content p,
html[data-theme="light"] #disclaimerTypewriter {
    color: rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] .disclaimer__date {
    color: rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="light"] .disclaimer__list {
    color: rgba(0, 0, 0, 0.3) !important;
}

/* Footer */
html[data-theme="light"] .footer {
    background: #000;
    border-top-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .footer__legal p,
html[data-theme="light"] .footer__legal a {
    font-family: 'Gilroy', 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

html[data-theme="light"] .footer__legal a:hover {
    color: rgba(255, 255, 255, 0.82);
}

/* Video player — keep dark */
html[data-theme="light"] .vp {
    background: #000;
}

/* Text wipe — dark color instead of white */
html[data-theme="light"] .text-wipe {
    background: linear-gradient(90deg, #1a1a1a 0%, #1a1a1a 50%, transparent 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
}

/* Mobile nav light */
@media (max-width: 768px) {
    html[data-theme="light"] .nav__links {
        background: rgba(245, 245, 242, 0.98);
        border-left-color: var(--border);
        box-shadow: -24px 0 48px rgba(0, 0, 0, 0.12);
    }

    html[data-theme="light"] .nav__mobile-toolbar {
        border-bottom-color: rgba(0, 0, 0, 0.08);
    }

    html[data-theme="light"] .nav__burger {
        border-color: rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    }

    html[data-theme="light"] .nav--menu-open .nav__burger {
        border-color: rgba(255, 59, 48, 0.24);
        background: rgba(255, 255, 255, 0.94);
    }

    html[data-theme="light"] .nav__close {
        border-color: rgba(0, 0, 0, 0.14);
        color: rgba(0, 0, 0, 0.72);
    }

    html[data-theme="light"] .nav__close:hover {
        color: #111;
    }
}

/* Simon photo swap helpers (dark mode = default) */
.simon__photo .simon-photo--light {
    display: none;
}

.simon__photo .simon-photo--dark {
    display: block;
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
    position: relative;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    padding: 0;
    flex-shrink: 0;
    line-height: 0;
}

.theme-toggle:hover {
    border-color: rgba(255, 59, 48, 0.75);
    background: rgba(255, 59, 48, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.28), 0 0 22px rgba(255, 59, 48, 0.2);
}

.theme-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%) scale(0.94);
    fill: none;
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease, transform 0.3s ease;
    display: block;
}

/* Sun icon hidden by default (dark mode shows moon) */
.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

/* Light mode: show sun, hide moon */
html[data-theme="light"] .theme-toggle {
    border-color: rgba(0, 0, 0, 0.14);
    background: transparent;
}

html[data-theme="light"] .theme-toggle:hover {
    border-color: rgba(255, 59, 48, 0.65);
    background: rgba(255, 59, 48, 0.06);
    box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.18), 0 0 20px rgba(255, 59, 48, 0.14);
}

html[data-theme="light"] .theme-toggle svg {
    stroke: rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

html[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

/* ===== МОБИЛЬНАЯ ОПТИМИЗАЦИЯ И КРОССБРАУЗЕРНОСТЬ ===== */

/* --- iOS Safari фиксы --- */
html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

/* iOS Safari: fix 100vh */
.intro-screen,
.hero {
    min-height: -webkit-fill-available;
}

/* iOS Safari: fix для sticky/fixed */
.nav {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* --- Кроссбраузерные фиксы backdrop-filter --- */
.nav.scrolled,
.nav__links {
    -webkit-backdrop-filter: blur(20px);
}

/* --- GPU-ускорение для анимаций --- */
.reveal,
.hero__content,
.hero__visual,
.hero__photo,
.simon__left,
.simon__right,
.step-header-anim,
.split-char {
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* --- Touch-устройства: убираем hover эффекты --- */
@media (hover: none) and (pointer: coarse) {
    .glow-card::before {
        display: block !important;
        opacity: 1 !important;
        border-color: rgba(255, 59, 48, 0.88);
        box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.22), 0 0 18px rgba(255, 59, 48, 0.18), 0 0 46px rgba(255, 59, 48, 0.08);
    }

    .glow-card::after {
        display: block !important;
        opacity: 0.9 !important;
        background: radial-gradient(
            360px circle at 50% 50%,
            rgba(255, 59, 48, 0.16) 0%,
            rgba(255, 59, 48, 0.06) 30%,
            transparent 64%
        );
    }

    .glow-card {
        box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.22), 0 0 20px rgba(255, 59, 48, 0.14), 0 0 54px rgba(255, 59, 48, 0.08);
    }

    .review-card.glow-card::after,
    .faq-card.glow-card::after {
        display: none !important;
    }

    .review-card.glow-card::before,
    .faq-card.glow-card::before {
        box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.22), 0 0 18px rgba(255, 59, 48, 0.16), 0 0 42px rgba(255, 59, 48, 0.08);
    }

    .review-card.glow-card,
    .faq-card.glow-card {
        box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.18), 0 0 18px rgba(255, 59, 48, 0.12), 0 0 42px rgba(255, 59, 48, 0.06);
    }

    .review-card__video,
    .faq-card__video {
        border-bottom: 1px solid var(--card-line);
        box-shadow: inset 0 0 0 1px var(--card-line);
    }

    .review-card__video .vp,
    .faq-card__video .vp,
    .step-one__video,
    .step-one__video .vp {
        box-shadow: inset 0 0 0 1px var(--card-line);
    }

    .step-one__video {
        border-color: rgba(255, 59, 48, 0.76);
        box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.18), 0 0 20px rgba(255, 59, 48, 0.16), 0 0 48px rgba(255, 59, 48, 0.08);
    }

    .prod-content-btn,
    .reviews-more-btn {
        border-color: rgba(255, 59, 48, 0.94);
        box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.18), 0 0 24px rgba(255, 59, 48, 0.24), 0 0 64px rgba(255, 59, 48, 0.12);
    }

    .prod-content-btn::before,
    .reviews-more-btn::before {
        opacity: 1 !important;
    }

    .prod-content-btn::after,
    .reviews-more-btn::after {
        opacity: 0.82 !important;
    }

    .ks-embed__play-circle {
        width: 66px;
        height: 66px;
    }

    .ks-embed__play svg {
        width: 24px;
        height: 24px;
        margin-left: 3px;
    }

    .hero__btn-uiverse:hover,
    .tariff-card__btn:hover,
    .btn:hover {
        transform: none;
    }

    /* Увеличиваем кликабельные зоны */
    .nav__links a {
        padding: 12px 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .tariff-card__btn,
    .btn,
    .hero__btn-uiverse {
        min-height: 48px;
    }

    .theme-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}

/* --- Улучшенные мобильные стили 480px --- */
@media (max-width: 480px) {
    .intro-prod-frame {
        --intro-mask-size-x: 90%;
        --intro-media-position-y: 50%;
        --intro-media-scale: 1.02;
        --intro-media-stretch-x: 1.22;
        --intro-poster-stretch-x: 1.24;
        --intro-media-width: 123%;
        --intro-poster-width: 125%;
        --intro-media-left: -10%;
        --intro-poster-left: -11%;
        --intro-media-shift-x: 6%;
        --intro-poster-shift-x: 6%;
        width: 96vw;
        aspect-ratio: 3.85 / 1;
    }

    .intro-prod-text {
        font-size: clamp(3.45rem, 14.8vw, 5.35rem);
    }

    .intro-prod-poster,
    .intro-prod-video {
        object-position: 50% var(--intro-media-position-y);
    }

    .intro-subtitle {
        top: calc(50% + clamp(2.7rem, 11vw, 5.2rem));
        font-size: 0.72rem;
        letter-spacing: 3px;
    }

    .hero__container {
        padding: 0 16px;
        gap: 32px;
    }

    .hero__visual {
        padding-top: 40px;
    }

    .hero__photo-wrapper {
        max-width: min(90vw, 330px);
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .hero__title-accent {
        font-size: inherit;
    }

    .simon__layout {
        gap: 16px;
    }

    .simon__photo {
        width: 100%;
    }

    .simon__photo picture img {
        border-radius: 16px;
    }

    .simon__bio {
        padding: 20px 16px;
    }

    .simon__stats {
        gap: 16px;
    }

    .section-arrow {
        width: 54px;
        height: 108px;
        margin: 10px auto 6px;
        position: relative;
        z-index: 2;
    }

    .section-arrow::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 108' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='27' y1='6' x2='27' y2='82' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23ff7a72' stop-opacity='0.14'/%3E%3Cstop offset='0.38' stop-color='%23ff5a52' stop-opacity='0.82'/%3E%3Cstop offset='1' stop-color='%23ff3b30'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M27 6V80' stroke='url(%23g)' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M15 68L27 80L39 68' stroke='%23ff3b30' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        filter: drop-shadow(0 0 12px rgba(255, 59, 48, 0.28)) drop-shadow(0 0 24px rgba(255, 59, 48, 0.14));
    }

    .section-arrow::after {
        bottom: 8px;
        width: 62px;
        height: 46px;
        filter: blur(8px);
    }

    .step-one__badge,
    .step-two__badge,
    .step-three__badge,
    .step-four__badge {
        font-size: 1.04rem;
    }

    .step-one__title {
        font-size: 1.72rem;
    }

    .step-one__subtitle {
        font-size: 1rem;
    }

    .review-card__text,
    .faq-card__text {
        padding: 20px 16px;
    }

    .tariffs__grid {
        padding: 0 16px;
    }

    .tariff-card {
        padding: 24px 20px;
    }

    .tariff-card--featured {
        padding: 104px 20px 24px;
    }

    .tariff-card__badge {
        top: 18px;
        left: 20px;
        right: 20px;
        transform: none;
        min-width: 0;
        width: auto;
        padding: 11px 16px 12px;
    }

    .tariff-card__price {
        font-size: 2rem;
    }

    .footer__inner {
        padding: 24px 16px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .disclaimer__content {
        padding: 0 16px;
    }

}

/* --- Очень маленькие экраны (320px) --- */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .hero__container {
        padding: 0 12px;
    }

    .hero__title {
        font-size: 1.6rem;
    }

    .hero__photo-wrapper {
        max-width: min(92vw, 290px);
    }

    .nav__logo-text {
        font-size: 0.75rem;
    }

    .nav__links {
        width: min(290px, calc(100vw - 16px));
        padding-inline: 18px;
    }

    .tariff-card__title {
        font-size: 1rem;
    }

    .tariff-card__price {
        font-size: 1.7rem;
    }

    .intro-prod-text {
        font-size: clamp(3.85rem, 18vw, 5.6rem);
        letter-spacing: 0.045em;
    }

    .intro-prod-frame {
        --intro-mask-size-x: 92%;
        --intro-media-scale: 1.03;
    }

    .intro-subtitle {
        font-size: 0.66rem;
        letter-spacing: 2.4px;
    }
}

/* --- Режим экономии анимаций --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Ландшафтная ориентация на телефонах --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .intro-screen {
        min-height: 100vh;
    }

    .hero__photo-wrapper {
        max-width: 200px;
    }

    .section {
        padding: 50px 0;
    }

    .intro-prod-frame {
        --intro-mask-size-x: 86.5%;
        --intro-media-position-y: 50%;
        --intro-media-scale: 0.98;
        --intro-media-stretch-x: 1.16;
        --intro-poster-stretch-x: 1.18;
        --intro-media-width: 115%;
        --intro-poster-width: 117%;
        --intro-media-left: -6%;
        --intro-poster-left: -7%;
        --intro-media-shift-x: 4%;
        --intro-poster-shift-x: 4%;
        width: min(84vw, 920px);
        aspect-ratio: 4.7 / 1;
    }

    .intro-prod-text {
        font-size: clamp(3.4rem, 12vw, 5.6rem);
    }

    .intro-subtitle {
        top: calc(50% + 3rem);
    }
}

/* --- Firefox specific --- */
@-moz-document url-prefix() {
    .hero__title-accent {
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* --- Плавный скролл на iOS --- */
@supports (-webkit-overflow-scrolling: touch) {
    body {
        -webkit-overflow-scrolling: touch;
    }

    .nav__links {
        -webkit-overflow-scrolling: touch;
    }
}

/* --- Безопасная зона (notch) для iPhone --- */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .nav {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .nav__links {
        padding-top: max(20px, env(safe-area-inset-top));
    }

    .hero__container {
        padding-left: max(32px, env(safe-area-inset-left));
        padding-right: max(32px, env(safe-area-inset-right));
    }
}

@media (max-width: 480px) {
    @supports (padding: env(safe-area-inset-bottom)) {
        .hero__container {
            padding-left: max(16px, env(safe-area-inset-left));
            padding-right: max(16px, env(safe-area-inset-right));
        }
    }
}

/* --- Оптимизация шрифтов --- */
@font-face {
    font-family: 'ClashGrotesk';
    font-display: swap;
}

@font-face {
    font-family: 'ClashDisplay';
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    font-display: swap;
}
