/* ─── CUSTOM BRAND FONTS ───────────────────────────────────────── */
@font-face {
    font-family: 'Carelia';
    src: url('../fonts/Carelia-Upright.woff2') format('woff2'),
        url('../fonts/Carelia-Upright.woff') format('woff'),
        url('../fonts/Carelia-Upright.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Carelia';
    src: url('../fonts/Carelia-Italic.woff2') format('woff2'),
        url('../fonts/Carelia-Italic.woff') format('woff'),
        url('../fonts/Carelia-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: block;
}

/* ─── VOGUE / EDITORIAL DESIGN TOKENS ──────────────────────────── */
:root {
    /* Primitives */
    --color-black: #000000;
    --color-offwhite: #F8F6F2;
    --color-muted: #666666;
    --color-accent: #ff007f;
    --color-tg: #0088cc;
    --color-green: #34C759;

    /* Semantic */
    --bg: var(--color-offwhite);
    --text: var(--color-black);

    /* Typography */
    --font-display: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    /* Поменяли на Outfit для премиальности */
    --font-serif: 'Carelia', serif;
    --font-mono: 'Fira Code', monospace;
    /* Настоящий моно из воркфлоу */

    /* Easing curves */
    --ease-snappy: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
}

/* ─── RESET & BASE ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-offwhite);
    color: var(--color-black);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

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

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

.container-fluid {
    width: 100%;
    padding: 0 60px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .container-fluid {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .container-fluid {
        padding: 0 16px;
    }
}

/* ─── ULTRA KINETIC IMAGE INTRO ───────────────────────────────── */
.intro-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s var(--ease-expo);
}

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

.intro-typing-wrap {
    text-align: center;
    z-index: 10;
    max-width: 90vw;
}

.intro-text {
    font-family: 'Carelia', serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(3rem, 15vw, 10rem);
    color: #fff;
    letter-spacing: -0.01em;
    border-right: 6px solid var(--color-accent);
    padding-right: 12px;
    animation: blink-cursor 0.4s infinite step-end;
    filter: drop-shadow(0 0 30px rgba(255, 0, 127, 0.3));
    line-height: 1;
    white-space: nowrap;
    text-transform: lowercase;
}

@keyframes blink-cursor {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--color-accent)
    }
}

/* ─── TYPOGRAPHY CORE ────────────────────────────────────────── */
.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.mono-label {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    /* Сильное разряжение букв из воркфлоу */
    color: var(--color-muted);
    display: inline-flex;
    align-items: center;
    margin-bottom: 32px;
    opacity: 0.7;
}

/* Убираем скобки для чистоты */
.mono-label::before,
.mono-label::after {
    display: none;
}

.intro-slides {
    position: absolute;
    inset: 0;
    display: none;
    overflow: hidden;
}

.intro-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    will-change: opacity, transform, filter;
}

.intro-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback & Custom Slide Styles */
.css-slide {
    background-size: cover;
    background-position: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.bg-neon-red {
    background: #ff0000;
}

.bg-gradient-saas {
    background: linear-gradient(135deg, #6e45e2 0%, #88d3ce 100%);
}

.kinetic-text {
    font-family: var(--font-display);
    font-weight: 950;
    line-height: 0.85;
    letter-spacing: -0.06em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.color-white {
    color: #fff;
}

.text-upper {
    text-transform: uppercase;
}

.text-xl9 {
    font-size: clamp(4rem, 15vw, 12rem);
}

.text-xl5 {
    font-size: clamp(3rem, 10vw, 8rem);
}

/* Conversion Arrow for Slide 6 */
.conversion-arrow {
    width: 4px;
    height: 60vh;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.conversion-arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 40px solid #fff;
}

/* Phone Frame for Slide 7 */
.floating-phone-frame {
    width: 280px;
    height: 560px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    padding: 15px;
    margin-bottom: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-ui {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.phone-header {
    height: 40px;
    background: #222;
    border-radius: 10px;
    width: 60%;
}

.phone-item {
    height: 100px;
    background: #222;
    border-radius: 15px;
}

/* Image Transitions */
.intro-slide[data-anim="glitch"] {
    transform: scale(1.1);
    filter: contrast(1.5);
    transition: opacity 0.4s ease, transform 0.6s var(--ease-snappy);
}

.intro-slide[data-anim="glitch"].--active {
    opacity: 1;
    transform: scale(1);
}

.intro-slide[data-anim="power-in"] {
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.5s var(--ease-expo), transform 0.7s var(--ease-snappy);
}

.intro-slide[data-anim="power-in"].--active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.intro-slide[data-anim="sharp-reveal"] {
    transform: scale(1.05);
    filter: blur(10px);
    transition: opacity 0.4s ease, filter 0.5s ease, transform 0.8s var(--ease-expo);
}

.intro-slide[data-anim="sharp-reveal"].--active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.intro-slide[data-anim="strobe-fast"] {
    transition: opacity 0.1s linear;
}

.intro-slide[data-anim="strobe-fast"].--active {
    opacity: 1;
    animation: strobe-img 0.05s steps(2) infinite;
}

@keyframes strobe-img {
    0% {
        filter: invert(1);
    }

    100% {
        filter: invert(0);
    }
}

.intro-slide[data-anim="zoom"] {
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.8s var(--ease-expo);
}

.intro-slide[data-anim="zoom"].--active {
    opacity: 1;
    transform: scale(1);
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.text-display {
    font-size: clamp(2.9rem, 12vw, 9.8rem);
    text-align: center;
    width: 100%;
    display: block;
    margin: 0 auto 12px; /* Tightened gap further */
    line-height: 1.15;
    letter-spacing: -0.06em;
    /* Reserve stable height for ~2.2 lines to prevent layout shift while keeping it tight */
    min-height: calc(clamp(2.9rem, 12vw, 9.8rem) * 1.15 * 2.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.hero .hero__card {
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centering subtitle and button relative to headline */
}

@media (min-width: 1024px) {
    .text-display {
        margin-bottom: 8px; /* Even tighter on desktop */
    }
}

.text-headline {
    font-size: clamp(2.64rem, 8.4vw, 6.6rem);
    line-height: 0.95;
    margin-top: 0;
    margin-bottom: 40px;
}

.text-headline.--legal-title {
    font-size: clamp(1.8rem, 7.5vw, 6.5rem);
    line-height: 1.1;
}

.text-sub {
    font-family: var(--font-body);
    /* Outfit */
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: var(--color-muted);
    max-width: 600px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    padding: 0 24px;
    text-align: center; /* Centered subtitles under the centered headlines */
}

/* ─── ANIMATIONS ────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-snappy), transform 0.8s var(--ease-snappy);
    will-change: opacity, transform;
}

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

.stagger-group>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-snappy), transform 0.6s var(--ease-snappy);
    will-change: opacity, transform;
}

.stagger-group.--visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform 0.2s var(--ease-snappy), background 0.2s ease, color 0.2s ease;
    will-change: transform;
    border-radius: 100px;
}

.btn--black {
    background: var(--color-black);
    color: var(--color-offwhite);
}

.btn--black:hover {
    transform: translateY(-2px);
    background: #222;
}

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

.btn--outline:hover {
    background: var(--color-black);
    color: var(--color-offwhite);
}

.btn--accent {
    background: var(--color-accent);
    color: var(--color-black);
    border: 1.5px solid var(--color-accent);
}

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

/* ─── HEADER ────────────────────────────────────────────────────── */
.header-wrapper {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1500px;
    height: 48px;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 40px; /* Floating pill shape from constructor */
    z-index: 2000;
    display: flex;
    align-items: center;
    padding: 0 16px;
    transition: all 0.6s var(--ease-snappy);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

body:not(.loading) .header-wrapper {
    opacity: 1;
    pointer-events: all;
}

.header-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-png {
    height: 18px; /* Slightly more elegant size */
    width: auto;
    display: block;
    filter: none !important; /* Keep original black logo */
    object-fit: contain;
}

/* Logo text/dot removed in favor of SVG */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.header-btn {
    height: 32px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.03);
    color: var(--color-black);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s var(--ease-snappy);
    cursor: pointer;
    font-family: var(--font-display);
}

.header-btn i,
.header-btn svg,
.header-btn lucide-icon {
    color: var(--color-black) !important;
    width: 14px;
    height: 14px;
}

.header-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: scale(1.02);
}

.header-btn--create {
    background: var(--color-black) !important;
    color: #fff !important;
    border: none !important;
    padding: 0 20px;
    font-weight: 800;
    font-size: 0.75rem;
    font-style: normal;
    font-family: var(--font-display);
    height: 32px;
}

.header-btn--create span {
   color: #fff !important;
}

.header-btn--create:hover {
    background: #222 !important;
    transform: scale(1.05);
}

/* The following rules are removed as they are replaced by the new header structure */
/*
.header-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-black);
    color: var(--color-offwhite);
    height: 52px;
    border-radius: 12px;
    padding: 0 16px 0 24px;
    width: 100%;
    max-width: 1100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.header__logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
    text-transform: lowercase;
}

.header__logo span {
    color: var(--color-accent);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(248, 246, 242, 0.6);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-offwhite);
}

.menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-offwhite);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-snappy);
}

.menu-btn:hover {
    background: var(--color-offwhite);
    color: var(--color-black);
    transform: scale(1.05);
}
*/

/* ─── SECTIONS ──────────────────────────────────────────────────── */
/* ─── SECTIONS ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding-top: 210px;
    padding-bottom: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: transparent;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero {
        text-align: left;
        align-items: flex-start;
        padding-top: 190px;
        padding-bottom: 120px;
    }

    .hero__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 60px;
    }

    .hero__text-side {
        flex: 1;
        max-width: 760px; /* Увеличенная ширина под одну строчку */
        container-type: inline-size;
        display: flex;
        flex-direction: column;
    }

    .hero__text-side .mono-label {
        align-self: center;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 24px;
    }

    /* Fluid typography relative to container */
    @container (min-width: 300px) {
    }

    .hero__media-side {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero .mono-label {
        margin-left: 0;
    }
}

.hero-sparkles,
.hero-sparkles-mask {
    display: none !important;
}

.hero__card {
    margin-top: 32px;
    /* Уменьшаем отступ сверху (было 48px) */
    position: relative;
    z-index: 10;
}

@media (max-width: 1023px) {
    .hero__media-side {
        margin-top: 32px;
        /* Центрируем описание между заголовком и скринами */
    }
}

.storyboard {
    width: 90%;
    max-width: 260px;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.carousel-window {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
}

/* Удаляем лишние элементы мокапа для минимализма */


.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.carousel-item img {
    width: 100%;
    height: auto;
    /* Высота подстраивается под контент */
    display: block;
}


.storyboard-info {
    margin-top: 24px;
    text-align: center;
    padding: 0 16px;
}

.storyboard__text {
    margin-bottom: 24px;
    min-height: 60px;
}

.storyboard__text h3 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--color-black);
    font-weight: 900;
    margin-bottom: 4px;
}

.storyboard__text h3 span.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}

.storyboard__text p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--color-muted);
    font-weight: 400;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    /* Прямо под скринами */
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot.--active {
    width: 24px;
    border-radius: 4px;
    background: var(--color-black);
    transform: none;
}

@media (max-width: 480px) {
    .storyboard {
        max-width: 280px;
    }
}

.no-platform-section {
    padding: 64px 0 100px;
    background: transparent;
    color: inherit;
    text-align: center;
}

@media (min-width: 1024px) {
    .no-platform-layout {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 80px;
    }

    .no-platform-header {
        flex: 1;
        margin-bottom: 0;
    }

    .video-mockup {
        flex: 1;
        margin-top: 0;
        max-width: 400px;
    }
}



.no-platform-header {
    margin-bottom: 60px;
}

.no-platform-title {
    font-size: clamp(2.2rem, 8vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-top: 0;
    margin-bottom: 40px;
}

.logo-png.invert {
    filter: invert(1);
}

.cross-out {
    position: relative;
    display: inline-block;
    color: rgba(0, 0, 0, 0.3);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.cross-out::after {
    content: '';
    position: absolute;
    left: -2%;
    top: 55%;
    width: 0;
    height: 3px;
    background: var(--color-accent);
    transition: width 0.8s var(--ease-expo);
    pointer-events: none;
}

.no-platform-section.--visible .cross-out::after {
    width: 104%;
}

.cross-out.--t1::after {
    transition-delay: 0.6s;
}

.cross-out.--t2::after {
    transition-delay: 0.9s;
}

.platform-tg {
    color: var(--color-tg);
    opacity: 1;
    font-weight: 950;
    font-style: normal;
}

.video-mockup {
    width: 90%;
    max-width: 320px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    margin: 40px auto 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.video-mockup video {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 480px) {
    .video-mockup {
        max-width: 280px;
    }
}

.video-overlay-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-overlay-play:hover {
    background: rgba(0, 0, 0, 0.2);
}

.play-icon-circle {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: transform 0.3s var(--ease-spring);
}

.video-overlay-play:hover .play-icon-circle {
    transform: scale(1.1);
}

.section {
    padding: 100px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#tariffs {
    border-top: none;
}

.section__header {
    margin-bottom: 60px;
    text-align: center;
}

/* ─── TARIFFS ───────────────────────────────────────────────────── */
.tariffs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tariff-row {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 20px;
    gap: 32px;
    transition: all 0.6s var(--ease-spring);
}

.tariff-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

/* Full-width background trick for highlighted tiers */
.tariff-row.--highlight {
    background: rgba(255, 0, 127, 0.04);
    border-color: rgba(255, 0, 127, 0.1);
}

.tariff-row:first-child,
.tariff-row:last-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tariff-name-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tariff-name {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 950;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--color-black);
}

.tariff-name .serif-italic {
    text-transform: none;
    font-size: 1.1em;
    letter-spacing: -0.02em;
}

.tariff-tag {
    font-family: var(--font-mono);
    /* Fira Code */
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-muted);
    opacity: 0.8;
}

.tariff-tag.accent {
    color: var(--color-accent);
    opacity: 1;
}

.tariff-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    /* Чуть крупнее */
    color: var(--color-muted);
    line-height: 1.4;
    font-weight: 500;
    /* Более плотные начертания для Outfit */
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-list li::before {
    content: "—";
    /* Более эдиториал тире */
    position: absolute;
    left: 0;
    color: var(--color-accent);
    opacity: 0.8;
}

.tariff-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.btn-premium {
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 950;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s var(--ease-snappy);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-premium:hover {
    transform: translateY(-2px);
    background: var(--color-accent);
    box-shadow: 0 10px 20px rgba(255, 0, 127, 0.2);
}

/* ─── GIVEAWAY ──────────────────────────────────────────────────── */
/* ─── PREMIUM GIVEAWAY & GROWTH GRID (AWWWARDS STYLE) ────────── */
.giveaway-stark {
    width: 100%;
    padding: 100px 0;
    background: transparent;
    color: inherit;
    position: relative;
    overflow: hidden;
}

/* Background Kinetic Label */
.giveaway-stark::after {
    content: "10K";
    position: absolute;
    top: 10%;
    right: -5%;
    font-family: var(--font-display);
    font-size: 40vw;
    font-weight: 950;
    color: rgba(0, 0, 0, 0.02);
    line-height: 0.8;
    pointer-events: none;
    z-index: 0;
}

.giveaway-header {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.giveaway-title {
    font-size: clamp(2.5rem, 8.5vw, 9rem);
    font-family: var(--font-display);
    font-weight: 950;
    line-height: 0.85;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 40px;
}

.giveaway-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-family: var(--font-display);
    font-weight: 500;
    max-width: 800px;
    opacity: 0.6;
    line-height: 1.2;
    text-align: center;
}

.giveaway-header .mono-label {
    text-align: center;
}

.growth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    position: relative;
    z-index: 2;
    border: none;
}

.growth-card {
    position: relative;
    background: transparent;
    border: none;
    margin: 0;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    transition: transform 0.6s var(--ease-spring);
    overflow: hidden;
}

.growth-card .btn {
    margin-top: auto;
}

.growth-card:hover {
    transform: translateY(-8px);
}

.growth-card.--wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

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

.growth-card.--tall {
    grid-row: span 2;
    justify-content: center;
}

.growth-card__label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    text-transform: uppercase;
}

.growth-card__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.05em;
}

.growth-card__text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.4;
    opacity: 0.5;
    font-weight: 500;
    max-width: 400px;
}

@media (max-width: 1024px) {
    .growth-grid {
        grid-template-columns: 1fr;
    }

    .growth-card.--wide {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }

    .growth-card {
        padding: 16px 12px;
    }
}

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

    .growth-card.--wide {
        grid-column: span 1;
    }

    .growth-card {
        padding: 12px 12px;
    }
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer-stark {
    background: var(--color-offwhite);
    color: var(--color-black);
    padding: 100px 0 60px 0;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 950;
    font-size: 3rem;
    letter-spacing: -0.06em;
    text-transform: lowercase;
    margin-bottom: 24px;
}

.footer-logo span {
    color: var(--color-accent);
}

.footer-slogan {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    max-width: 380px;
}

.footer-h4 {
    font-family: var(--font-display);
    font-weight: 950;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 32px;
    color: var(--color-black);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-link {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s var(--ease-smooth);
}

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

.footer-legal-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.5);
}

.footer-bottom-nav {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-nav-item {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}

.footer-nav-item:hover {
    color: var(--color-black);
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ─── MODAL ─────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: #F8F6F2;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s var(--ease-expo);
    overflow-y: auto;
    padding: 20px;
}

.modal-overlay.--open {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 100%;
    max-width: 900px;
    padding: 80px 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.--open .modal {
    transform: translateY(0);
}

.modal__close {
    position: fixed;
    top: 40px;
    right: 40px;
    background: #000;
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.4s var(--ease-snappy);
    z-index: 10001;
}

.modal__close:hover {
    transform: rotate(90deg) scale(1.1);
}

.modal__title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 14vw, 7.5rem);
    font-weight: 950;
    line-height: 0.8;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 40px;
}

.modal__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: #000;
    font-weight: 600;
    line-height: 1.25;
    max-width: 520px;
    margin-bottom: 80px;
}

.modal__quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.action-pill {
    padding: 20px 36px;
    border: 2px solid #000;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.85rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s var(--ease-snappy);
}

.action-pill:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.modal__mini-label {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: rgba(0, 0, 0, 0.25);
    margin-bottom: 48px;
    text-transform: uppercase;
}

.modal__form-v3 {
    max-width: 550px;
}

.modal__field {
    margin-bottom: 56px;
}

.modal__field-label {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.8rem;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.modal__field-input {
    width: 100%;
    padding: 16px 0;
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid rgba(0, 0, 0, 0.06) !important;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.8rem;
    color: #000;
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

.modal__field-input:focus {
    outline: none;
    border-bottom-color: #000 !important;
}

.modal__submit-btn {
    width: 100%;
    padding: 28px;
    background: #000;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    border: none;
    transition: all 0.4s var(--ease-spring);
}

.modal__submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* ─── FIXED TAB BAR (DUAL MODE) ─────────────────────────────── */
.fixed-tab-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 2000;
    transition: transform 0.6s var(--ease-expo), opacity 0.6s ease;
    opacity: 0;
}

.fixed-tab-bar.--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.tabs-container {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    padding: 4px;
    border-radius: 100px;
    display: flex;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 95vw;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.tabs-container::-webkit-scrollbar {
    display: none;
}

.tab {
    position: relative;
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2;
    white-space: nowrap;
}

.tab--active {
    color: #fff;
}

.tab-bubble {
    position: absolute;
    height: calc(100% - 12px);
    background: var(--color-accent);
    border-radius: 100px;
    top: 6px;
    left: 6px;
    z-index: 1;
    transition: all 0.6s var(--ease-expo);
}

.tabs-group {
    display: flex;
    transition: transform 0.6s var(--ease-expo), opacity 0.3s ease;
}

.tabs-group.--hidden {
    display: none;
}

/* ─── PREMIUM LEGAL BENTO (AWWWARDS STYLE) ────────────────── */
.kinetic-legal-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.kinetic-legal-section::before {
    content: "05";
    position: absolute;
    top: 5%;
    left: -2%;
    font-family: var(--font-display);
    font-size: 30vw;
    font-weight: 950;
    color: rgba(0, 0, 0, 0.02);
    line-height: 0.8;
    pointer-events: none;
    z-index: 0;
}

.legal-bento-premium {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
        "main info1"
        "main info2";
    margin-top: 32px;
    position: relative;
    z-index: 2;
    border: none;
    gap: 32px;
}

.legal-card-v2 {
    position: relative;
    background: transparent;
    padding: 32px 0;
    border: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    transition: transform 0.6s var(--ease-spring);
}

.legal-card-v2:hover {
    transform: translateY(-8px);
}

.legal-card-v2--main {
    grid-area: main;
    justify-content: center;
    padding: 100px 80px;
}

.legal-card-v2:nth-child(2) {
    grid-area: info1;
    padding: 40px;
}

.legal-card-v2:nth-child(3) {
    grid-area: info2;
    padding: 40px;
}

/* Cleaned up legacy card decorators */

.card-label {
    font-family: var(--font-mono);
    /* Fira Code */
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    text-transform: uppercase;
}

/* Removed icon styles */

.legal-card__title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

@media (max-width: 1024px) {
    .legal-bento-premium {
        grid-template-columns: 1fr;
        grid-template-areas: none; /* Stack vertically */
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Standardize all cards to have the same padding and no border-right on mobile */
    .legal-card-v2, 
    .legal-card-v2--main, 
    .legal-card-v2:nth-child(2), 
    .legal-card-v2:nth-child(3) {
        border-right: none;
        padding: 40px 0 !important; /* Force uniform padding */
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .legal-card-v2:last-child {
        border-bottom: none;
    }
}

.giveaway-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Sync Legal Cards with Growth Cards */
.legal-card-v2 .card-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.legal-card-v2 .legal-card__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 16px;
}

.legal-card-v2 .legal-card__text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.4;
    opacity: 0.5;
    font-weight: 500;
    max-width: 500px;
    text-align: left; /* Reset justify to match growth cards */
}

.legal-card-v2 .card-meta {
    font-size: 0.75rem;
    opacity: 0.4;
    margin-top: 12px;
}

/* ─── PREMIUM MODAL OVERHAUL ─────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(40px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s var(--ease-expo);
}

.modal-overlay.--open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #fff;
    border-radius: 24px;
    width: 600px;
    max-width: 95vw;
    position: relative;
    padding: 60px 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.98);
    transition: all 0.7s var(--ease-expo);
    overflow: hidden;
}

.modal-overlay.--open .modal {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal__close:hover {
    background: #000;
    color: #fff;
}

.modal__header {
    text-align: center;
    margin-bottom: 40px;
}

.modal__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-top: 12px;
}

.modal__subtitle {
    font-size: 1rem;
    color: var(--color-muted);
    margin-top: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.modal__pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.contact-pill {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s var(--ease-expo);
}

.contact-pill.--phone {
    background: #000;
    color: #fff;
}

.contact-pill.--tg {
    background: #0088CC;
    color: #fff;
}

.contact-pill.--wa {
    background: #25D366;
    color: #fff;
}

.contact-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.modal__form-wrap {
    background: rgba(0, 0, 0, 0.02);
    padding: 32px;
    border-radius: 20px;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    height: 60px;
    padding: 24px 20px 8px;
    border: 2px solid transparent;
    background: #fff;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #000;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #000;
    outline: none;
}

.form-label {
    position: absolute;
    left: 20px;
    top: 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: 10px;
    font-size: 0.65rem;
    color: #000;
}

.btn-submit-premium {
    height: 60px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 16px;
    font-family: var(--font-display);
    font-weight: 950;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s var(--ease-snappy);
    margin-top: 8px;
}

.btn-submit-premium:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .modal__header {
        margin-bottom: 24px;
    }

    .modal__pills {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-pill {
        height: 50px;
        font-size: 0.7rem;
    }

    .modal__form-wrap {
        padding: 20px;
    }

    .modal__close {
        top: 16px;
        right: 16px;
    }

    .btn-submit-premium {
        height: 56px;
        font-size: 0.9rem;
    }
}


/* ─── REVEAL ANIMATIONS ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s var(--ease-expo);
    will-change: transform, opacity;
}

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

.stagger-group>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-expo);
}

.stagger-group.--visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

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

    .hero,
    .section,
    .no-platform-section,
    .kinetic-legal-section {
        padding: 80px 0;
    }

    .no-platform-header {
        margin-bottom: 32px;
        /* Было 60px */
    }



    .giveaway-stark {
        height: auto;
        min-height: auto;
        padding: 80px 0;
    }

    .no-platform-section {
        padding: 40px 0 80px !important;
    }

    .text-display {
        font-size: clamp(2.9rem, 13.2vw, 5.04rem) !important;
        margin: 0 auto 32px !important;
    }

    .text-headline,
    .no-platform-title {
        margin-top: 0 !important;
        margin-bottom: 32px !important;
        text-align: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .giveaway-title {
        font-size: clamp(1.8rem, 6.2vw, 4rem) !important;
        margin-top: 0 !important;
        margin-bottom: 32px !important;
        text-align: center !important;
    }

    .growth-card .btn {
        width: 100% !important;
    }

    .section__header {
        text-align: center;
        margin-bottom: 40px;
    }

    .giveaway-header .mono-label,
    .giveaway-subtitle {
        text-align: center;
    }

    .giveaway-subtitle {
        max-width: 100%;
    }

    .tariffs-list {
        grid-template-columns: 1fr;
    }

    .tariff-row {
        padding: 32px 24px;
        gap: 24px;
    }

    .tariff-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .btn-premium {
        width: 100%;
    }

    .infra-card {
        padding: 30px;
    }
}

/* Cycling Text Animation */
.cycling-text {
    display: inline-block;
    text-align: center;
    padding: 0 12px;
    white-space: nowrap;
    /* Возвращаем родной ease для плавности и ставим 0.6с (помедленнее) */
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.cycling-text.fade-out {
    opacity: 0;
    transform: translateY(10px);
    /* Плавно вниз - как в оригинале */
}

.cycling-text.fade-in {
    opacity: 0;
    transform: translateY(-10px);
    /* Плавно сверху - как в оригинале */
}
/* Aggressive Override to Force 3-Line Grid on All Viewports */
.text-display {
    display: block !important;
    text-align: center !important;
    font-size: clamp(2.2rem, 8vw, 6.2rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.05em !important;
    width: 100% !important;
}

.text-display > span {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    position: relative !important;
    line-height: inherit !important;
    white-space: nowrap !important; /* Насильно вытягиваем в одну строку */
    margin: 0 !important;
    padding: 0 !important;
}

.text-display span:nth-child(2) {
    margin-top: 4px !important; /* Чуть уменьшенный отступ для второй строки от первой */
}

@media (min-width: 1024px) {
    .text-display {
        font-size: clamp(2.9rem, 12vw, 9.8rem) !important;
    }
}

.latin-text {
    letter-spacing: 0 !important; /* Убираем слипание букв англ текста */
}

/* Kinetic Typography Horizontal Slide */
.hero-slide-out {
    opacity: 0 !important;
    transform: translateX(-40px) !important;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-slide-in {
    opacity: 0 !important;
    transform: translateX(40px) !important;
    transition: none !important;
}
