/* ==================== DESIGN TOKENS ==================== */
:root {
    /* Colors */
    --color-bg: #FDFCF5;
    --color-bg-card: #FFFFFF;
    --color-bg-section: #F9F8F2;
    --color-text-primary: #2A2A28;
    --color-text-secondary: #7A7A72;
    --color-text-muted: #B0B0A8;
    --color-accent: #FFF1C6;
    --color-accent-hover: #F5E5A8;
    --color-border: rgba(0, 0, 0, 0.08);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-h1: clamp(28px, 4.5vw, 52px);
    --font-size-h2: clamp(22px, 3vw, 32px);
    --font-size-body: 16px;
    --font-size-caption: 14px;
    --font-size-button: 15px;
    --font-size-micro: 13px;

    /* Spacing (4px grid) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --section-padding: clamp(56px, 8vw, 96px);

    /* Radii */
    --radius-card: 20px;
    --radius-pill: 999px;

    /* Transitions */
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
}

body.no-scroll {
    overflow: hidden;
}

/* ==================== RESET ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    line-height: 1.5;
    color: var(--color-text-primary);
    background: var(--color-bg);
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

/* ==================== NOISE OVERLAY ==================== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==================== SPLASH ==================== */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(253, 252, 245, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out), backdrop-filter 0.8s var(--ease-out);
}

.splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}



.bee-3d {
    width: 144px;
    height: 144px;
    opacity: 0.7;
    --poster-color: transparent;
}

model-viewer::part(default-progress-bar) {
    display: none;
}

model-viewer::part(default-progress-mask) {
    display: none;
}

.splash__brand {
    position: relative;
    display: inline-block;
    /* Helps with width: 100% animation */
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--color-accent);
}

/* Semi-transparent glow behind the splash logo to separate it from 3D particles */
.splash__brand::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 180%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(253, 252, 245, 0.8) 0%, rgba(253, 252, 245, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* Logo Image Styles */
.logo-image {
    display: block;
    width: auto;
    max-width: none;
    /* Prevent squishing inside animated containers */
}

.brand-logo-img {
    height: clamp(80px, 10vw, 140px);
    /* Адаптивный: 80px на малых экранах, до 140px на больших */
}

.header-logo-img {
    height: clamp(45px, 6vw, 100px);
    /* Адаптивный: 45px на 13" ноуте, до 100px на 32" мониторе */
}

.footer-logo-img {
    height: clamp(50px, 6.5vw, 100px);
    /* Адаптивный: 50px на малых экранах, до 100px на больших */
}

.brand-text-base {
    color: var(--color-accent);
    opacity: 0.4;
}

.brand-text-fill {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-text-primary);
    /* Fill color black */
    overflow: hidden;
    white-space: nowrap;
    width: 0%;
    /* JS will animate this to 100% */
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== PAGE OPACITY ==================== */
.page {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s var(--ease-out);
}

.page.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md) var(--space-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(253, 252, 245, 0.8);
    border-bottom: 0.5px solid var(--color-border);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.header.visible {
    opacity: 1;
    transform: translateY(0);
}

.header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.header__lang {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.lang-btn {
    font-size: var(--font-size-caption);
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.lang-btn--active {
    color: var(--color-text-primary);
    background: rgba(0, 0, 0, 0.04);
}

.lang-btn:hover {
    color: var(--color-text-primary);
}

.lang-divider {
    color: var(--color-text-muted);
    font-size: 12px;
}

.header__login {
    font-size: var(--font-size-caption);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: opacity var(--duration-fast);
}

.header__login:hover {
    opacity: 0.7;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-button);
    font-weight: 500;
    letter-spacing: -0.01em;
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    transition: all var(--duration-normal) var(--ease-out);
    cursor: pointer;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-text-primary);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.4);
    color: var(--color-text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--color-text-primary);
}

.btn--large {
    padding: 14px 32px;
    font-size: 16px;
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
}

.hero__content {
    max-width: 700px;
    opacity: 0;
    transition: opacity 0.8s var(--ease-out);
    animation: levitate 6s ease-in-out infinite;
}

.hero__content.visible {
    opacity: 1;
}

.hero__title {
    font-size: var(--font-size-h1);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

/* Background Particles container */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particles-bg canvas {
    width: 100%;
    height: 100%;
    outline: none;
}

@keyframes levitate {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes shadow-breathe {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) scale(0.7);
        opacity: 0.5;
    }
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: -0.01em;
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.scroll-down-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    border: 1px solid var(--color-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform var(--duration-fast), background-color var(--duration-fast);
}

.scroll-down-btn:hover {
    transform: translateY(1px);
    background-color: rgba(255, 255, 255, 0.16);
}

.scroll-down-btn svg {
    width: 12px;
    height: 12px;
    color: #ffd95a;
    filter: drop-shadow(0 0 2px rgba(255, 217, 90, 0.65));
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.hero__micro {
    font-size: var(--font-size-micro);
    color: var(--color-text-muted);
    letter-spacing: -0.01em;
}

/* ==================== SECTIONS ==================== */
.section {
    padding: var(--section-padding) var(--space-lg);
    scroll-margin-top: 15vh;
    /* Center section slightly when jumping from anchor links */
}

/* Full-width Glass Panel Section */
.glass-panel-section {
    background: rgba(253, 252, 245, 0.4);
    border: 0.5px solid var(--color-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-card);
    margin: 0 var(--space-lg);
    /* Padding on sides to keep it separate from window edges */
}

.section__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section__center {
    text-align: center;
}

.section__title {
    font-size: var(--font-size-h2);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2xl);
    text-align: center;
}

/* Blur-up animation for sections */
.section__inner {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(8px);
    transition: all 0.8s var(--ease-out);
}

.section__inner.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* ==================== CARDS ROW (Problem/Solution) ==================== */
.cards-swiper {
    margin-top: clamp(-350px, -20vh, -150px);
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: visible !important;
    perspective: 1500px;
    /* Для 3D эффекта на мобилках */
}

/* Десктоп: обычный ряд */
.cards-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    position: relative;
    margin-top: -260px;
}

@media (min-width: 1700px) {
    .cards-row {
        margin-top: -320px;
    }
}

.card {
    background: var(--color-bg-card);
    border: 0.5px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: var(--space-xl);
    transition: all var(--duration-normal) var(--ease-out);
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: calc(50% - 15px);
    max-width: 500px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .cards-swiper {
        margin-top: -40px;
        height: auto;
        display: block;
    }

    .cards-row {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .card {
        position: relative;
        width: 100%;
        left: auto;
        top: auto;
        margin-left: 0;
        margin-top: 0;
        max-width: none;
        transform: none !important;
        opacity: 1 !important;
    }
}

.swiper-pagination-bullet {
    background: var(--color-text-muted);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--color-accent) !important;
    opacity: 1;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.15);
}

.card__icon {
    font-size: 28px;
    margin-bottom: var(--space-md);
}

.card__title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.card__text {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==================== STEPS (How it works) ==================== */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.step {
    text-align: center;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--color-accent);
    /* 1px accent border for circle */
    border-radius: 50%;
    margin: 0 auto var(--space-md);

    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: -0.04em;
    line-height: 1;

    /* Обводка самого текста */
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .steps-row {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.step__title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.step__text {
    font-size: var(--font-size-caption);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ==================== FEATURES GRID ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.feature {
    background: var(--color-bg-card);
    border: 0.5px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: var(--space-xl);
    transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-normal);
}

.feature:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.15);
}

.feature__icon {
    font-size: 24px;
    margin-bottom: var(--space-md);
}

.feature__title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.feature__text {
    font-size: var(--font-size-caption);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.feature--suggestion {
    text-align: left;
    cursor: pointer;
}

.feature--suggestion:hover .feature__text--linklike {
    color: rgba(102, 77, 50, 0.96);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.feature__text--linklike {
    color: rgba(110, 86, 58, 0.84);
    font-weight: 600;
}

.feature--desktop-only {
    display: block;
}

/* ==================== PRICING ==================== */
.pricing-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-bg-card);
    border: 0.5px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: var(--space-2xl) var(--space-2xl);
    max-width: 400px;
    margin: 0 auto;
}

.pricing-card__price {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.pricing-card__period {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-muted);
}

.pricing-card__list {
    margin-bottom: var(--space-xl);
    text-align: left;
}

.pricing-card__list li {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    padding: var(--space-sm) 0;
    border-bottom: 0.5px solid var(--color-border);
}

.pricing-card__list li:last-child {
    border-bottom: none;
}

.pricing-card__list li::before {
    content: "✓ ";
    color: var(--color-accent);
    font-weight: 600;
}

.pricing-card__note {
    margin-top: var(--space-md);
    font-size: var(--font-size-micro);
    color: var(--color-text-muted);
}

/* ==================== FAQ ==================== */
.faq-list {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: rgba(253, 252, 245, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    margin-bottom: var(--space-md);
    padding: 0 var(--space-lg);
    transition: background var(--duration-normal);
}

.faq-item:hover {
    background: rgba(253, 252, 245, 0.8);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.faq-item__question {
    font-size: var(--font-size-body);
    font-weight: 500;
    letter-spacing: -0.01em;
    padding: var(--space-lg) 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color var(--duration-fast);
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::after {
    content: "+";
    font-size: 20px;
    font-weight: 300;
    color: var(--color-text-muted);
    transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item[open] .faq-item__question::after {
    transform: rotate(45deg);
}

.faq-item__question:hover {
    color: var(--color-text-secondary);
}

.faq-item__answer {
    font-size: var(--font-size-caption);
    color: var(--color-text-secondary);
    line-height: 1.6;
    padding-bottom: var(--space-lg);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: var(--space-2xl) var(--space-lg);
    border-top: 0.5px solid var(--color-border);
}

.footer__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__brand {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.footer__links {
    display: flex;
    gap: var(--space-lg);
}

.footer__links a {
    font-size: var(--font-size-caption);
    color: var(--color-text-muted);
    transition: color var(--duration-fast);
}

.footer__links a:hover {
    color: var(--color-text-primary);
}

.footer__copy {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ==================== SCROLL TO TOP (Mobile) ==================== */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-md);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(10px);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity var(--duration-normal), transform var(--duration-normal), visibility var(--duration-normal);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: #ffd95a;
    filter: drop-shadow(0 0 2px rgba(255, 217, 90, 0.65));
}

@media (max-width: 768px) {
    .scroll-down-btn {
        display: none;
    }
}

/* ==================== AUTH GATE ==================== */
body.auth-gate-open {
    overflow: hidden;
}

.auth-gate {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.auth-gate.is-open {
    display: flex;
}

.auth-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(59, 44, 29, 0.22);
    backdrop-filter: blur(14px) saturate(1.02) brightness(1.02);
    -webkit-backdrop-filter: blur(14px) saturate(1.02) brightness(1.02);
}

.auth-gate__panel {
    position: relative;
    width: min(560px, calc(100% - 18px));
    max-height: min(90svh, 760px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.34) 0%, rgba(238, 225, 205, 0.18) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 40px rgba(94, 71, 44, 0.14);
    padding: 22px 18px 18px;
    text-align: center;
    scrollbar-width: thin;
    scrollbar-color: rgba(189, 150, 93, 0.52) rgba(255, 255, 255, 0.12);
}

.auth-gate__panel::-webkit-scrollbar {
    width: 6px;
}

.auth-gate__panel::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.auth-gate__panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(189, 150, 93, 0.5);
}

.auth-gate__panel::-webkit-scrollbar-thumb:hover {
    background: rgba(189, 150, 93, 0.68);
}

.auth-gate__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    color: rgba(96, 73, 46, 0.86);
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-gate__kicker {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(116, 87, 54, 0.62);
    margin-bottom: 6px;
}

.auth-gate__title {
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 500;
    margin-bottom: 8px;
}

.auth-gate__subtitle {
    color: rgba(72, 54, 35, 0.68);
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 16px;
}

.auth-gate__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
    padding: 3px;
    margin-bottom: 14px;
}

.auth-gate__tab {
    min-height: 36px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(110, 86, 58, 0.68);
    transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.auth-gate__tab.is-active {
    background: rgba(227, 200, 160, 0.34);
    color: rgba(84, 64, 42, 0.92);
}

.auth-gate__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-gate__form[hidden] {
    display: none !important;
}

.auth-gate__social {
    margin-bottom: 12px;
}

.auth-gate__google {
    width: 100%;
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.2);
    color: rgba(84, 64, 42, 0.88);
    font-size: 14px;
    font-weight: 600;
    transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.auth-gate__google:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.auth-gate__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: rgba(110, 86, 58, 0.68);
    text-align: center;
}

.auth-gate__field input {
    min-height: 40px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid transparent;
    background: transparent;
    padding: 6px 2px 10px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: rgba(102, 77, 50, 0.62);
    transition: border-color 180ms ease, color 180ms ease;
}

.auth-gate__field input::placeholder {
    color: rgba(110, 86, 58, 0.56);
}

.auth-gate__field input:focus {
    outline: none;
    border-bottom-color: rgba(183, 145, 90, 0.78);
    color: rgba(102, 77, 50, 0.9);
}

.auth-gate__field input:not(:placeholder-shown) {
    border-bottom-color: rgba(183, 145, 90, 0.62);
    color: rgba(102, 77, 50, 0.86);
}

.auth-gate__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.42;
    color: rgba(73, 64, 52, 0.88);
    margin-top: 4px;
    text-align: left;
}

.auth-gate__consent input {
    margin-top: 3px;
}

.auth-gate__consent a {
    color: rgba(138, 104, 64, 0.94);
    text-decoration: underline;
}

.auth-gate__submit {
    margin-top: 4px;
    min-height: 42px;
}

.auth-gate__error {
    color: #9a3a2f;
    font-size: 13px;
    margin-top: 10px;
}

.auth-gate__meta {
    margin-top: 8px;
    font-size: 11px;
    color: rgba(99, 84, 65, 0.64);
}

/* ==================== CONTACT MODAL ==================== */
body.contact-modal-open {
    overflow: hidden;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.contact-modal.is-open {
    display: flex;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(59, 44, 29, 0.22);
    backdrop-filter: blur(14px) saturate(1.02) brightness(1.02);
    -webkit-backdrop-filter: blur(14px) saturate(1.02) brightness(1.02);
}

.contact-modal__panel {
    position: relative;
    width: min(420px, calc(100% - 18px));
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.34) 0%, rgba(238, 225, 205, 0.18) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 40px rgba(94, 71, 44, 0.14);
    padding: 18px 16px 16px;
    text-align: center;
}

.contact-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    color: rgba(96, 73, 46, 0.86);
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-modal__kicker {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(116, 87, 54, 0.62);
}

.contact-modal__title {
    margin: 0;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.1;
    font-weight: 500;
    color: var(--color-text-primary);
}

.contact-modal__actions {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.contact-modal__social {
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.2);
    color: rgba(84, 64, 42, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.contact-modal__social:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.contact-modal__social svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-modal__email-row {
    margin-top: 12px;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.18);
    padding: 6px 6px 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.contact-modal__email-label {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(84, 64, 42, 0.88);
}

.contact-modal__email-label svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-modal__email-label span {
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-modal__copy-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    color: rgba(102, 77, 50, 0.82);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.contact-modal__copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: rgba(102, 77, 50, 0.94);
}

.contact-modal__copy-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-modal__copy-btn .icon-check {
    display: none;
}

.contact-modal__copy-btn.is-copied .icon-copy {
    display: none;
}

.contact-modal__copy-btn.is-copied .icon-check {
    display: block;
}

/* ==================== SUGGESTION MODAL ==================== */
body.suggestion-modal-open {
    overflow: hidden;
}

.suggestion-modal {
    position: fixed;
    inset: 0;
    z-index: 230;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.suggestion-modal.is-open {
    display: flex;
}

.suggestion-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(59, 44, 29, 0.22);
    backdrop-filter: blur(14px) saturate(1.02) brightness(1.02);
    -webkit-backdrop-filter: blur(14px) saturate(1.02) brightness(1.02);
}

.suggestion-modal__panel {
    position: relative;
    width: min(560px, calc(100% - 18px));
    max-height: min(90svh, 760px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.34) 0%, rgba(238, 225, 205, 0.18) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 40px rgba(94, 71, 44, 0.14);
    padding: 20px 18px 16px;
    text-align: center;
    scrollbar-width: thin;
    scrollbar-color: rgba(189, 150, 93, 0.52) rgba(255, 255, 255, 0.12);
}

.suggestion-modal__panel::-webkit-scrollbar {
    width: 6px;
}

.suggestion-modal__panel::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.suggestion-modal__panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(189, 150, 93, 0.5);
}

.suggestion-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    color: rgba(96, 73, 46, 0.86);
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.suggestion-modal__kicker {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(116, 87, 54, 0.62);
}

.suggestion-modal__title {
    margin: 0;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.1;
    font-weight: 500;
}

.suggestion-modal__form {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.suggestion-modal__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: rgba(110, 86, 58, 0.72);
    text-align: left;
}

.suggestion-modal__field input,
.suggestion-modal__field textarea {
    min-height: 40px;
    border: none;
    border-bottom: 1px solid transparent;
    background: transparent;
    padding: 8px 2px 10px;
    font-size: 15px;
    color: rgba(102, 77, 50, 0.86);
    outline: none;
    transition: border-color 180ms ease;
}

.suggestion-modal__field textarea {
    min-height: 94px;
    resize: vertical;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    padding: 10px;
}

.suggestion-modal__field input:focus {
    border-bottom-color: rgba(183, 145, 90, 0.78);
}

.suggestion-modal__field textarea:focus {
    border-color: rgba(183, 145, 90, 0.78);
}

.suggestion-modal__messengers {
    margin: 4px 0 2px;
    border: 0;
    padding: 0;
    text-align: left;
}

.suggestion-modal__messengers legend {
    font-size: 13px;
    color: rgba(110, 86, 58, 0.72);
    margin-bottom: 6px;
}

.suggestion-modal__messengers label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 14px;
    font-size: 14px;
    color: rgba(84, 64, 42, 0.9);
}

.suggestion-modal__submit {
    margin-top: 4px;
    min-height: 42px;
}

.suggestion-modal__status {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 4px;
}

.suggestion-modal__status.is-success {
    color: rgba(60, 107, 68, 0.92);
}

.suggestion-modal__status.is-error {
    color: #9a3a2f;
}

@media (max-width: 480px) {
    .contact-modal__panel {
        width: calc(100% - 12px);
    }

    .suggestion-modal__panel {
        width: calc(100% - 12px);
    }
}

/* ==================== ULTRAWIDE DESKTOP (≥1920px) ==================== */
@media (min-width: 1920px) {
    .header__inner {
        max-width: 1400px;
    }

    .section__inner {
        max-width: 1200px;
    }

    .hero__content {
        max-width: 800px;
    }

    .footer__inner {
        max-width: 1200px;
    }

    .faq-list {
        max-width: 700px;
    }
}

/* ==================== SMALL DESKTOP / LAPTOP (≤1280px) ==================== */
@media (max-width: 1280px) {
    :root {
        --section-padding: clamp(40px, 6vw, 72px);
    }

    .header {
        padding: var(--space-sm) var(--space-md);
    }

    .hero {
        padding: var(--space-3xl) var(--space-md) var(--space-2xl);
    }

    .hero__content {
        max-width: 560px;
    }

    .cards-row {
        margin-top: -90px;
    }

    .card {
        padding: var(--space-lg);
    }

    .pricing-card {
        padding: var(--space-xl) var(--space-xl);
    }

    .pricing-card__price {
        font-size: 40px;
    }

    .step__number {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .feature {
        padding: var(--space-lg);
    }

    .glass-panel-section {
        margin: 0 var(--space-md);
    }
}

/* ==================== MOBILE (≤768px) ==================== */
@media (max-width: 1536px) {
    .cards-row {
        margin-top: -200px;
    }
}

@media (max-width: 1366px) {
    .cards-row {
        margin-top: -130px;
    }
}

@media (max-height: 900px) and (min-width: 1025px) {
    .cards-row {
        margin-top: -60px;
    }
}

@media (max-width: 1280px) and (min-width: 1025px) {
    .cards-row {
        margin-top: -90px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .cards-row {
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .header__login {
        display: none;
    }

    .hero {
        min-height: 100svh;
        padding-top: calc(var(--space-4xl) + 56px);
        padding-bottom: var(--space-3xl);
    }

    .hero__content {
        margin-top: 64px;
    }

    .cards-row {
        grid-template-columns: 1fr;
        margin-top: -80px;
    }

    .steps-row {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature--desktop-only {
        display: none;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__links {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .desktop-only {
        display: none;
    }

    .hero__title {
        font-size: clamp(28px, 7vw, 40px);
    }

    .auth-gate__panel {
        width: calc(100% - 12px);
        max-height: calc(100svh - 12px);
        border-radius: 22px;
        padding: 18px 14px 16px;
    }

    .auth-gate__title {
        font-size: clamp(22px, 7vw, 30px);
    }

    .auth-gate__subtitle {
        margin-bottom: 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    #cta-header {
        display: none;
    }

    .header__mobile-cta {
        padding: 6px 10px;
        font-size: 12px;
        margin-right: 4px;
        white-space: nowrap;
    }

    .brand-logo-img {
        height: 100px;
    }

    .header-logo-img {
        height: 65px;
        max-width: none;
    }

    .footer-logo-img {
        height: 70px;
    }

    .footer {
        padding-bottom: calc(var(--space-2xl) + 60px);
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn--large {
        width: 100%;
    }
}

/* ==================== TRANSITION OVERLAY ==================== */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #fffef5 0%, #f5ecd5 100%);
    /* Warm premium sand background */
    z-index: 200;
    /* Above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s var(--ease-out);
}

.transition-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.transition-text {
    font-family: var(--font-family);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    color: #4a4336;
    /* Darker warm sand color */
    letter-spacing: 0.4em;
    /* Широко при появлении */
    filter: blur(12px);
    /* Сильно размыто как дым */
    opacity: 0;
    transform: scale(0.95);
    transition:
        filter 2.5s cubic-bezier(0.1, 0, 0.2, 1),
        opacity 2s ease-out,
        letter-spacing 3s cubic-bezier(0.1, 0, 0.2, 1),
        transform 2.5s var(--ease-out);
    text-transform: lowercase;
    text-shadow: 0 0 20px rgba(74, 67, 54, 0);
}

.transition-overlay.active .transition-text {
    filter: blur(0);
    opacity: 0.8;
    letter-spacing: 0.15em;
    transform: scale(1);
    text-shadow: 0 0 30px rgba(74, 67, 54, 0.2);
    animation: smoke-glow 4s ease-in-out infinite alternate;
}

@keyframes smoke-glow {
    0% {
        text-shadow: 0 0 20px rgba(74, 67, 54, 0.1);
        opacity: 0.7;
    }

    100% {
        text-shadow: 0 0 40px rgba(74, 67, 54, 0.3);
        opacity: 0.9;
    }
}
