/* ========================================
   BIGOR STUDIO — COMPONENTS CSS
   ======================================== */

:root {
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --font-logo: 'Genos', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-chinese: 'Noto Sans SC', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

::selection { background: var(--primary-600); color: #F8FAFC; }

/* Dark Theme */
[data-theme="dark"] {
    --bg-gradient: radial-gradient(ellipse at top, #1e3a8a 0%, #0f172a 50%, #020617 100%);
    --bg-solid: #020617;
    --bg-footer: #020617;
    --bg-secondary: #0f172a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #F8FAFC;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(255, 255, 255, 0.1);
    --icon-bg: rgba(255, 255, 255, 0.04);
    --icon-color: #F8FAFC;
    --shadow-subtle: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Light Theme */
[data-theme="light"] {
    --bg-gradient: radial-gradient(ellipse at top, #dbeafe 0%, #eff6ff 50%, #f8fafc 100%);
    --bg-solid: #f8fafc;
    --bg-footer: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(15, 23, 42, 0.02);
    --text-primary: #0f172a;
    --text-secondary: rgba(15, 23, 42, 0.7);
    --text-muted: rgba(15, 23, 42, 0.5);
    --border-color: rgba(15, 23, 42, 0.15);
    --hover-bg: rgba(15, 23, 42, 0.05);
    --icon-bg: rgba(15, 23, 42, 0.03);
    --icon-color: #0f172a;
    --shadow-subtle: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* === BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    overflow-x: hidden; 
    background: var(--bg-solid);
}
body {
    font-family: var(--font-body);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    transition: background var(--transition-smooth), color var(--transition-smooth);
    overflow-x: hidden;
}

/* Thin scrollbar */
::-webkit-scrollbar {
    width: 3px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #0F172A;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1e293b;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #0F172A transparent;
}

/* === ЯЗЫКОВЫЕ ШРИФТЫ (RU=Manrope, EN=Genos, ZH=Noto Sans SC) === */
[data-lang-content="ru"] { font-family: var(--font-body); }
[data-lang-content="en"] { font-family: var(--font-logo); }
[data-lang-content="zh"] { font-family: var(--font-chinese); }

/* === HEADER === */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Абсолютный хедер (главная, плагин) */
.header--absolute {
    position: absolute;
    background: transparent;
}

/* При скролле на страницах с абсолютным хедером - становится липким с блюром */
.header--absolute.header--scrolled {
    position: fixed;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Сразу липкий хедер (остальные страницы) */
.header--fixed {
    position: fixed;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Отступ для контента на страницах с фиксированным хедером */
.has-fixed-header {
    padding-top: 80px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
}

.header__logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}
.header__logo-icon svg { width: 40px; height: 40px; }
.header__logo-icon svg path { fill: var(--icon-color); transition: fill var(--transition-smooth); }
.header__logo:hover .header__logo-icon { transform: scale(1.05); }

.header__logo-text {
    font-family: var(--font-logo);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
    transition: color var(--transition-smooth);
}

.header__right { display: flex; align-items: center; gap: 8px; }

.header__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}
.header__btn:hover { background: var(--hover-bg); border-color: var(--text-muted); color: var(--text-primary); }
.header__btn svg { width: 20px; height: 20px; }

/* Desktop only elements */
.header__desktop-only { display: flex; }

/* Theme Toggle */
.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle__icon { position: absolute; transition: all var(--transition-smooth); }
.theme-toggle__sun { opacity: 0; transform: translateY(20px) rotate(-90deg); }
.theme-toggle__moon { opacity: 1; transform: translateY(0) rotate(0); }
[data-theme="light"] .theme-toggle__sun { opacity: 1; transform: translateY(0) rotate(0); }
[data-theme="light"] .theme-toggle__moon { opacity: 0; transform: translateY(-20px) rotate(90deg); }

/* Language Dropdown */
.lang-dropdown { position: relative; }
.lang-dropdown__btn { gap: 6px; width: auto; padding: 0 14px; font-family: var(--font-body); font-size: 13px; font-weight: 600; }
.lang-dropdown__btn .chevron { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.lang-dropdown.active .lang-dropdown__btn .chevron { transform: rotate(180deg); }

.lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-solid);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 100;
}
.lang-dropdown__menu--up { top: auto; bottom: calc(100% + 8px); transform: translateY(10px); }
.lang-dropdown.active .lang-dropdown__menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-dropdown__item {
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    text-align: center;
}
.lang-dropdown__item:hover { color: var(--text-secondary); }
.lang-dropdown__item.active { background: rgba(59, 130, 246, 0.2); color: var(--text-primary); }

/* === DESKTOP NAV (скрывается на планшете/мобилке) === */
.header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 5px;
}

@media (max-width: 1024px) {
    .header__nav { display: none; }
}

/* Скрыть "BIGOR STUDIO": 1024-1300px и 0-340px */
@media (min-width: 1025px) and (max-width: 1300px) {
    .header__logo-text { display: none; }
}
@media (max-width: 340px) {
    .header__logo-text { display: none; }
}

.header__nav-item {
    position: relative;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all var(--transition-fast);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    white-space: nowrap;
}

.header__nav-item:hover {
    color: var(--text-primary);
    background: var(--hover-bg);
}

.header__nav-item svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.header__nav-item:hover svg,
.header__dropdown:hover .header__nav-item svg {
    transform: rotate(180deg);
}

/* Nav Dropdown */
.header__dropdown {
    position: relative;
}

.header__dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-solid);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    z-index: 1000;
}

.header__dropdown:hover .header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.header__dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.header__dropdown-item:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.header__dropdown-item svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.header__dropdown-item:hover svg {
    color: var(--primary-400);
}

/* Burger */
.header__burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
    position: relative;
}
.header__burger:hover { background: var(--hover-bg); }

.header__burger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
}
.header__burger-line:nth-child(1) { top: 15px; }
.header__burger-line:nth-child(2) { top: 21px; }
.header__burger-line:nth-child(3) { top: 27px; }

.header__burger.active .header__burger-line:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header__burger.active .header__burger-line:nth-child(2) { opacity: 0; }
.header__burger.active .header__burger-line:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* === BOTTOM BAR === */
.bottom-bar {
    display: none;
    position: fixed;
    bottom: -100px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-subtle);
}
.bottom-bar.visible { bottom: 16px; }

/* Скрываем bottom bar когда открыты меню */
body.menu-open .bottom-bar { bottom: -100px !important; }

/* Скрываем основной хедер когда меню открыто */
body.menu-open .header {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.bottom-bar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}
.bottom-bar__logo-icon {
    width: 44px;
    height: 44px;
    background: var(--icon-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bottom-bar__logo-icon svg { width: 40px; height: 40px; }
.bottom-bar__logo-icon svg path { fill: var(--icon-color); }
.bottom-bar__logo-text { font-family: var(--font-logo); font-size: 18px; font-weight: 600; letter-spacing: 1px; transition: color var(--transition-smooth); }

.bottom-bar__btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}
.bottom-bar__btn:hover { background: var(--hover-bg); border-color: var(--text-muted); color: var(--text-primary); }
.bottom-bar__btn svg { width: 20px; height: 20px; }

/* === FULLSCREEN MENU === */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-solid);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
}
.fullscreen-menu.active { opacity: 1; visibility: visible; }

.fullscreen-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 80px;
    flex-shrink: 0;
}

.fullscreen-menu__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 40px 40px;
}

.fullscreen-menu__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
}

.fullscreen-menu__logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fullscreen-menu__logo-icon svg { width: 40px; height: 40px; }
.fullscreen-menu__logo-icon svg path { fill: var(--icon-color); }

.fullscreen-menu__logo-text {
    font-family: var(--font-logo);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.fullscreen-menu__close {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}
.fullscreen-menu__close:hover { background: var(--hover-bg); color: var(--text-primary); }
.fullscreen-menu__close svg { width: 20px; height: 20px; }

.fullscreen-menu__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.fullscreen-menu__link {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.fullscreen-menu__link:hover { color: var(--primary-400); padding-left: 10px; }
.fullscreen-menu__link svg { width: 24px; height: 24px; opacity: 0.3; flex-shrink: 0; }
.fullscreen-menu__link.has-submenu svg { opacity: 0.6; }

.fullscreen-menu__cta {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #F8FAFC;
    text-decoration: none;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.fullscreen-menu__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.fullscreen-menu__controls { display: flex; gap: 6px; }

/* !!! FULLSCREEN MENU FOOTER ICONS - 35px (на 20% меньше стандартных 44px) - НЕ МЕНЯТЬ !!! */
.fullscreen-menu__btn {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}
.fullscreen-menu__btn:hover { background: var(--hover-bg); color: var(--text-primary); }
.fullscreen-menu__btn svg { width: 16px; height: 16px; }

/* Lang switcher - 35px height - НЕ МЕНЯТЬ */
.fullscreen-menu__lang-switcher {
    display: flex;
    gap: 6px;
}
.fullscreen-menu__lang-btn {
    height: 35px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}
.fullscreen-menu__lang-btn:hover {
    background: var(--hover-bg);
    color: var(--text-secondary);
}
.fullscreen-menu__lang-btn.active {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: #F8FAFC;
}

/* Socials - 35px - НЕ МЕНЯТЬ */
.fullscreen-menu__socials { display: flex; gap: 6px; }
.fullscreen-menu__socials a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}
.fullscreen-menu__socials a:hover {
    background: var(--hover-bg);
    color: var(--primary-400);
    border-color: var(--primary-400);
}
.fullscreen-menu__socials svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
/* !!! КОНЕЦ FULLSCREEN MENU FOOTER ICONS - НЕ МЕНЯТЬ !!! */

/* === FULLSCREEN SUBMENU === */
.fullscreen-submenu {
    position: fixed;
    inset: 0;
    background: var(--bg-solid);
    z-index: 1200;
    padding: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.fullscreen-submenu.active { transform: translateX(0); }

.fullscreen-submenu__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 40px;
    height: 80px;
    border-bottom: 1px solid var(--border-color);
}

.fullscreen-submenu__back {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.fullscreen-submenu__back:hover { background: var(--hover-bg); color: var(--text-primary); }
.fullscreen-submenu__back svg { width: 20px; height: 20px; }

.fullscreen-submenu__title { font-family: var(--font-body); font-size: 22px; font-weight: 600; color: var(--text-primary); }

.fullscreen-submenu__grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px;
    padding: 30px 40px 40px;
}

.fullscreen-submenu__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
}
.fullscreen-submenu__item:hover { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.3); }

.fullscreen-submenu__icon { width: 32px; height: 32px; color: var(--primary-400); }
.fullscreen-submenu__item-title { font-size: 14px; font-weight: 600; }
.fullscreen-submenu__item-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* === BOTTOM SHEET === */
.bottom-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.bottom-sheet-overlay.active { opacity: 1; visibility: visible; }

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: var(--bg-solid);
    border-radius: 24px 24px 0 0;
    max-height: 85vh;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.bottom-sheet.active { transform: translateY(0); }

.bottom-sheet__handle {
    padding: 12px;
    display: flex;
    justify-content: center;
    cursor: grab;
}
.bottom-sheet__handle span {
    width: 40px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
}

.bottom-sheet__content {
    padding: 0 20px 30px;
    overflow-y: auto;
    max-height: calc(85vh - 40px);
}

/* Main grid */
.bottom-sheet__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.bottom-sheet__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
    text-align: center;
}
.bottom-sheet__item:hover { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.3); }
.bottom-sheet__item svg { width: 24px; height: 24px; color: var(--primary-400); }

/* Submenus */
.bottom-sheet__submenu {
    display: none;
}
.bottom-sheet__submenu.active {
    display: block;
}

.bottom-sheet__submenu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 18px;
    font-weight: 600;
}

.bottom-sheet__back {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.bottom-sheet__back:hover { background: var(--hover-bg); }
.bottom-sheet__back svg { width: 20px; height: 20px; }

/* Services grid */
.bottom-sheet__services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.bottom-sheet__service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
}
.bottom-sheet__service-item:hover { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.3); }
.bottom-sheet__service-item svg { width: 28px; height: 28px; color: var(--primary-400); }
.bottom-sheet__service-title { font-size: 13px; font-weight: 600; }

/* Settings */
.bottom-sheet__settings { margin-bottom: 20px; }

.bottom-sheet__setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.bottom-sheet__theme-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}
.bottom-sheet__theme-toggle svg { width: 20px; height: 20px; }

.bottom-sheet__lang-switcher {
    display: flex;
    gap: 4px;
}

.bottom-sheet__lang-btn {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}
.bottom-sheet__lang-btn:hover { color: var(--text-secondary); }
.bottom-sheet__lang-btn.active { background: rgba(59, 130, 246, 0.2); color: var(--text-primary); border-color: var(--primary-500); }

/* CTA + Socials Row */
.bottom-sheet__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bottom-sheet__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #F8FAFC;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.bottom-sheet__socials {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bottom-sheet__socials a {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}
.bottom-sheet__socials a:hover {
    background: var(--hover-bg);
    color: var(--primary-400);
    border-color: var(--primary-400);
}
.bottom-sheet__socials svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* === HERO SECTION === */
.hero {
    min-height: 800px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 24px;
    overflow: hidden;
}

.hero__content {
    text-align: center;
    padding: 120px 0 80px;
    width: 100%;
}

.hero__title {
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    transition: color var(--transition-smooth);
}

.hero__title-line { display: block; white-space: nowrap; }
.hero__title-line--1, .hero__title-line--2 { font-size: 8vw; }

/* Шрифты по языкам: RU=Manrope, EN=Genos, ZH=Noto Sans SC */
.hero__title--ru { font-family: var(--font-body); }
.hero__title--en { font-family: var(--font-logo); }
.hero__title--zh { font-family: var(--font-chinese); }

/* Hero elements by language */
[data-lang-content="ru"] .hero__tagline { font-family: var(--font-body); }
[data-lang-content="en"] .hero__tagline { font-family: var(--font-logo); }
[data-lang-content="zh"] .hero__tagline { font-family: var(--font-chinese); }

[data-lang-content="ru"] .hero__btn { font-family: var(--font-body); }
[data-lang-content="en"] .hero__btn { font-family: var(--font-logo); }
[data-lang-content="zh"] .hero__btn { font-family: var(--font-chinese); }

.hero__slides { position: relative; width: 100%; height: 18vw; }

.hero__slide {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.hero__slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero__slide.exit { opacity: 0; transform: translateY(-30px); }

.hero__word-slider {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hero__word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    left: 0;
    white-space: nowrap;
}
.hero__word.active { opacity: 1; transform: translateY(0); position: relative; }
.hero__word.exit { opacity: 0; transform: translateY(-100%); position: absolute; }

.hero__tagline {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 75px;
    margin-bottom: 75px;
}

.hero__btn-wrapper { margin-top: 60px; position: relative; z-index: 10; }

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: #F8FAFC;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}
.hero__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.hero__btn:hover::before { opacity: 1; }
.hero__btn span { position: relative; z-index: 1; }
.hero__btn-arrow { width: 20px; height: 20px; position: relative; z-index: 1; transition: transform 0.2s ease; }
.hero__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4); color: #F8FAFC; }
.hero__btn:hover .hero__btn-arrow { transform: translateX(4px); stroke: #F8FAFC; }

.lang-content { display: none; }
.lang-content.active { display: inline; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .header { padding: 0 24px; }
    .header__burger { display: flex; }
    .header__desktop-only { display: none; }
    .bottom-bar { display: flex; }
    
    .hero { min-height: 600px; }
    
    /* На планшетах/мобильных хедер НЕ становится липким */
    .header--scrolled {
        position: absolute;
        backdrop-filter: none;
        box-shadow: none;
    }
    
    .fullscreen-menu__header { padding: 0 24px; }
    .fullscreen-menu__body { padding: 0 24px 40px; }
    .fullscreen-submenu__header { padding: 0 24px; }
    .fullscreen-submenu__grid { padding: 30px 24px 40px; }
}

@media (max-width: 768px) {
    .header { padding: 0 16px; height: 70px; }
    .header__logo-text { font-size: 18px; }
    .fullscreen-menu__link { font-size: 28px; }
    .bottom-sheet__grid { grid-template-columns: repeat(3, 1fr); }
    
    .fullscreen-menu__header { padding: 0 16px; height: 70px; }
    .fullscreen-menu__body { padding: 0 16px 30px; }
    .fullscreen-menu__logo-text { font-size: 18px; }
    .fullscreen-submenu__header { padding: 0 16px; height: 70px; }
    .fullscreen-submenu__grid { padding: 20px 16px 30px; }
}

@media (max-width: 480px) {
    .fullscreen-submenu__grid { grid-template-columns: 1fr; }
}

@media (max-width: 340px) {
    .header__logo-text { display: none; }
    .bottom-bar__logo-text { display: none; }
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border-color);
    padding: 0 40px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}
.footer__logo-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.footer__logo-icon svg { width: 40px; height: 40px; }
.footer__logo-icon svg path { fill: var(--text-primary); }
.footer__logo-text {
    font-family: var(--font-logo);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}
.footer__tagline {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 60px;
    margin-top: -6px;
}

/* Наведение на лого в футере - как в хедере */
.footer__logo:hover .footer__logo-icon { 
    transform: scale(1.05); 
}
.footer__logo:hover .footer__logo-text {
    color: var(--text-primary);
}

.footer__subscribe {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.footer__subscribe-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}
.footer__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}
.footer__form-row {
    display: flex;
    gap: 8px;
}
.footer__input {
    width: 280px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
}
.footer__input:focus { border-color: var(--primary-500); }
.footer__input::placeholder { color: var(--text-muted); }
.footer__submit {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border: none;
    border-radius: 10px;
    color: #F8FAFC;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.footer__submit:hover { 
    transform: translateY(-1px); 
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.footer__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: pointer;
    max-width: 400px;
    text-align: right;
}
.footer__checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--primary-500);
    cursor: pointer;
    flex-shrink: 0;
}
.footer__checkbox a {
    color: var(--primary-400);
    text-decoration: none;
}
.footer__checkbox a:hover {
    text-decoration: underline;
}

/* Form messages */
.footer__form-message {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
    display: none;
    margin-top: 4px;
}
.footer__form-message.show {
    display: block;
}
.footer__form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.footer__form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.footer__input.error {
    border-color: #ef4444 !important;
}
.footer__checkbox.error {
    color: #ef4444;
}
.footer__submit.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* === FOOTER SLIDE TO SUBSCRIBE === */
.footer__slide-submit {
    position: relative;
    height: 46px;
    width: 120px;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    user-select: none;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.footer__slide-submit:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.footer__slide-submit.shake {
    animation: footerSlideShake 0.5s ease;
}

.footer__slide-submit.error {
    border-color: #ef4444;
}

@keyframes footerSlideShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

.footer__slide-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.35));
    transition: width 0.1s ease;
}

.footer__slide-submit.success .footer__slide-track {
    width: 100% !important;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.35));
}

.footer__slide-text {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.footer__slide-submit.dragging .footer__slide-text,
.footer__slide-submit.submitting .footer__slide-text,
.footer__slide-submit.success .footer__slide-text {
    opacity: 0;
}

.footer__slide-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #22c55e;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.footer__slide-submit.success .footer__slide-success {
    opacity: 1;
}

.footer__slide-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 8px;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    z-index: 2;
}

.footer__slide-handle:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.footer__slide-handle:active {
    cursor: grabbing;
}

.footer__slide-submit.success .footer__slide-handle {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    cursor: default;
}

.footer__slide-handle svg {
    width: 16px;
    height: 16px;
    color: white;
}

.footer__slide-handle .icon-arrow {
    display: block;
}

.footer__slide-handle .icon-check {
    display: none;
}

.footer__slide-handle .footer__slide-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: footerSlideLoader 0.8s linear infinite;
}

@keyframes footerSlideLoader {
    to { transform: rotate(360deg); }
}

.footer__slide-submit.submitting .footer__slide-handle .icon-arrow {
    display: none;
}

.footer__slide-submit.submitting .footer__slide-handle .footer__slide-loader {
    display: block;
}

.footer__slide-submit.success .footer__slide-handle .icon-arrow,
.footer__slide-submit.success .footer__slide-handle .footer__slide-loader {
    display: none;
}

.footer__slide-submit.success .footer__slide-handle .icon-check {
    display: block;
}

/* Light theme */
[data-theme="light"] .footer__slide-submit {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .footer__slide-text {
    color: rgba(15, 23, 42, 0.5);
}

.footer__main {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr);
    gap: 30px;
    padding: 50px 0;
}

.footer__column-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}
.footer__links li { margin: 0; }
.footer__links a,
.footer__link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer__links a:hover,
.footer__link:hover { color: var(--primary-400); }

.footer__requisites-info {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Предотвращаем автоссылки iOS на цифры */
.footer__requisites-info,
.footer__requisites-info a,
.footer__bank-value,
.footer__bank-value a {
    color: var(--text-muted) !important;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
}

.footer__requisites-info strong {
    color: var(--text-secondary);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.footer__socials-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
    margin-top: 16px;
}
.footer__socials {
    display: flex;
    gap: 10px;
}
.footer__social {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.footer__social:hover {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: #F8FAFC;
}
.footer__social:hover svg {
    stroke: #F8FAFC;
}
.footer__social svg { 
    width: 18px; 
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.footer__payments-img {
    display: block;
    max-width: 85px;
    height: auto;
    margin-top: 16px;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.footer__payments-img:hover { opacity: 1; }

/* T-Bank надпись белая на тёмном фоне */
.footer__payments-img path[style*="fill:#333333"] {
    fill: #F8FAFC !important;
}

.footer__bank-details {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}
.footer__bank-row {
    display: flex;
    gap: 8px;
    margin-bottom: 2px;
}
.footer__bank-label {
    color: var(--text-muted);
}
.footer__bank-value {
    color: var(--text-muted);
}

/* Аккредитация и виджет Яндекса в нижнем футере */
.footer__badges {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer__accreditation {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-muted);
}
.footer__accreditation-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #22c55e;
    stroke-width: 2;
    flex-shrink: 0;
}
.footer__accreditation-text {
    color: var(--text-muted);
}
.footer__accreditation-number {
    color: var(--text-muted);
    margin-left: -4px;
}
.footer__yandex-widget {
    height: 50px;
    border: none;
}
.footer__yandex-widget.dark {
    display: block;
}
.footer__yandex-widget.light {
    display: none;
}
[data-theme="light"] .footer__yandex-widget.dark {
    display: none;
}
[data-theme="light"] .footer__yandex-widget.light {
    display: block;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}
.footer__copy {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}
.footer__legal {
    display: flex;
    gap: 24px;
    align-items: center;
}
.footer__legal-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
}
.footer__legal-link:hover { color: var(--primary-400); }

/* Языковые шрифты - ВЕСЬ футер меняет шрифт */
.footer[data-lang="ru"] { font-family: var(--font-body); }
.footer[data-lang="en"] { font-family: var(--font-logo); }
.footer[data-lang="zh"] { font-family: var(--font-chinese); }

/* Светлая тема футера */
[data-theme="light"] .footer {
    background: var(--bg-primary);
    border-top-color: var(--border-color);
}
[data-theme="light"] .footer__top,
[data-theme="light"] .footer__bottom {
    border-color: var(--border-color);
}
[data-theme="light"] .footer__logo-icon {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--border-color);
}
[data-theme="light"] .footer__logo-icon svg path {
    fill: var(--text-primary);
}
[data-theme="light"] .footer__input {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--border-color);
    color: var(--text-primary);
}
[data-theme="light"] .footer__social {
    border-color: var(--border-color);
    color: var(--text-muted);
}
/* На светлой теме T-Bank - надпись BANK тёмная, щит жёлтый */
[data-theme="light"] .footer__payments-img .tbank-text {
    fill: #333333;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer__main {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1024px) {
    .footer {
        padding: 0 24px;
    }
    .footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .footer__subscribe {
        align-items: flex-start;
        width: 100%;
    }
    .footer__form {
        align-items: flex-start;
        width: 100%;
        max-width: 500px;
    }
    .footer__form-row {
        width: 100%;
    }
    .footer__input {
        width: 100%;
    }
    .footer__checkbox {
        text-align: left;
    }
    .footer__tagline {
        display: none;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer__badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .footer {
        padding: 0 20px;
    }
    .footer__form-row {
        flex-direction: column;
        width: 100%;
    }
    .footer__input {
        width: 100%;
    }
    .footer__slide-submit {
        width: 100%;
    }
    .footer__slide-text {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
    .footer__main {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__bottom {
        flex-direction: column-reverse;
        gap: 12px;
    }
    .footer__badges {
        gap: 12px;
    }
    .footer__accreditation {
        font-size: 11px;
    }
}
@media (max-width: 480px) {
    .footer {
        padding: 0 16px;
    }
    .footer__main {
        grid-template-columns: 1fr;
    }
    .footer__badges {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===================================
   TOAST NOTIFICATIONS (Newsletter)
   =================================== */
.bigor-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateX(calc(100% + 24px));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    max-width: 320px;
}

.bigor-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.bigor-toast.hiding {
    transform: translateX(calc(100% + 24px));
    opacity: 0;
}

.bigor-toast--success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}
.bigor-toast--info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.bigor-toast--error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.bigor-toast__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.bigor-toast__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.bigor-toast__content {
    flex: 1;
    line-height: 1.5;
}

.bigor-toast__title {
    font-weight: 600;
    margin-bottom: 2px;
}

.bigor-toast__text {
    opacity: 0.9;
    font-size: 13px;
}

.bigor-toast__close {
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
    margin-top: 1px;
}
.bigor-toast__close:hover {
    background: rgba(255,255,255,0.3);
}
.bigor-toast__close svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

@media (max-width: 480px) {
    .bigor-toast {
        left: 16px;
        right: 16px;
        max-width: none;
        transform: translateY(-100px);
    }
    .bigor-toast.show {
        transform: translateY(0);
    }
    .bigor-toast.hiding {
        transform: translateY(-100px);
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    width: 100%;
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Desktop Layout */
.services-desktop {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(-30px);
    animation: servicesSlideRight 0.7s ease 0.2s forwards;
}

@keyframes servicesSlideRight {
    to { opacity: 1; transform: translateX(0); }
}

.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    transition: width 0.4s ease;
}

.service-item:hover::after,
.service-item.active::after {
    width: 100%;
}

.service-number {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    min-width: 36px;
    transition: color 0.3s;
}

.service-item:hover .service-number,
.service-item.active .service-number {
    color: var(--primary-500);
}

.service-name {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.service-item:hover .service-name,
.service-item.active .service-name {
    color: var(--text-primary);
}

.service-arrow {
    margin-left: auto;
    width: 20px;
    height: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
    color: var(--primary-500);
}

.service-item:hover .service-arrow,
.service-item.active .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Service Details Card */
.service-details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    position: sticky;
    top: 40px;
    opacity: 0;
    transform: translateX(30px);
    animation: servicesSlideLeft 0.7s ease 0.4s forwards;
}

@keyframes servicesSlideLeft {
    to { opacity: 1; transform: translateX(0); }
}

.service-content {
    display: none;
    animation: servicesFadeIn 0.4s ease;
}

.service-content.active {
    display: block;
}

@keyframes servicesFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-tag {
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.service-tag:hover {
    border-color: var(--primary-500);
    color: var(--primary-500);
}

.service-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* Link Button */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    margin-bottom: 32px;
}

.service-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    color: #fff;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* Visual Area */
.service-visual {
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-500) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(40px);
    animation: servicesGlow 4s ease-in-out infinite;
}

@keyframes servicesGlow {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

.icon-wrapper {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
    transition: transform 0.4s ease;
}

.service-content:hover .service-icon,
.accordion-item.open .service-icon {
    transform: scale(1.05) rotate(3deg);
}

.service-icon svg {
    width: 48px;
    height: 48px;
    color: #fff;
    stroke-width: 1.5;
}

/* Floating Tags */
.floating-tags {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-tag {
    position: absolute;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    animation: servicesFloat 5s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.float-tag:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.float-tag:nth-child(2) { top: 65%; left: 8%; animation-delay: 1.5s; }
.float-tag:nth-child(3) { top: 20%; right: 10%; animation-delay: 0.8s; }
.float-tag:nth-child(4) { top: 70%; right: 12%; animation-delay: 2.2s; }

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

/* ===== MOBILE ACCORDION ===== */
.services-mobile {
    display: none;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.accordion-header:hover .service-name,
.accordion-item.open .accordion-header .service-name {
    color: var(--text-primary);
}

.accordion-header:hover .service-number,
.accordion-item.open .accordion-header .service-number {
    color: var(--primary-500);
}

.accordion-icon {
    margin-left: auto;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
    color: var(--primary-500);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-content {
    max-height: 800px;
}

.accordion-inner {
    padding: 0 0 30px 0;
}

.accordion-inner .service-visual {
    height: 200px;
    margin-bottom: 20px;
}

.accordion-inner .service-tags {
    margin-bottom: 16px;
}

.accordion-inner .service-description {
    margin-bottom: 20px;
    font-size: 14px;
}

.accordion-inner .service-link {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-desktop {
        display: none;
    }

    .services-mobile {
        display: block;
    }

    .services-section {
        padding: 60px 24px;
    }
}

@media (max-width: 640px) {
    .services-section {
        padding: 40px 16px;
    }
}

/* Font utility classes */
.font-genos { font-family: var(--font-logo); }
.font-body { font-family: var(--font-body); }
.font-chinese { font-family: var(--font-chinese); }

/* Services Light Theme Overrides */
[data-theme="light"] .service-visual {
    background: radial-gradient(ellipse at top, #dbeafe 0%, #eff6ff 50%, #f8fafc 100%);
}

[data-theme="light"] .service-tag {
    background: radial-gradient(ellipse at top, #dbeafe 0%, #eff6ff 50%, #f8fafc 100%);
}

[data-theme="light"] .float-tag {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Services Section lang-content */
.services-section .lang-content { display: none; }
.services-section .lang-content.active { display: block; }

/* Bottom bar light theme */
[data-theme="light"] .bottom-bar {
    background: rgba(248, 250, 252, 0.85);
}

/* ==========================================================================
   TECH STACK SECTION
   ========================================================================== */

.tech-stack-section {
    padding: 80px 0;
}

.tech-stack-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.tech-stack-header {
    margin-bottom: 50px;
}

.tech-stack-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    animation: techFadeUp 0.7s ease forwards;
}

@keyframes techFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.tech-stack-title::after {
    content: '';
    display: block;
    margin-top: 16px;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 2px;
    animation: techLineExpand 0.8s ease 0.4s forwards;
}

@keyframes techLineExpand {
    to { width: 100px; }
}

.tech-stack-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: techFadeUp 0.6s ease 0.2s forwards;
}

.tech-stack-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: techFadeUp 0.7s ease 0.4s forwards;
}

/* Categories */
.tech-stack-categories {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 40px;
}

.tech-stack-category {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    border-radius: 0 12px 12px 0;
}

.tech-stack-category:hover {
    background: rgba(59, 130, 246, 0.05);
}

.tech-stack-category.active {
    border-left-color: var(--primary-500);
    background: rgba(59, 130, 246, 0.1);
}

.tech-stack-category.active .tech-stack-category-name {
    color: var(--primary-400);
}

.tech-stack-category-num {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    min-width: 28px;
}

.tech-stack-category.active .tech-stack-category-num {
    color: var(--primary-500);
}

.tech-stack-category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

/* Content */
.tech-stack-content {
    border-left: 1px solid var(--border-color);
    padding-left: 50px;
    min-height: 400px;
}

.tech-stack-panel {
    display: none;
    animation: techFadeIn 0.4s ease;
}

.tech-stack-panel.active {
    display: block;
}

@keyframes techFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.tech-stack-group {
    margin-bottom: 32px;
}

.tech-stack-group:last-child {
    margin-bottom: 0;
}

.tech-stack-group-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Tech Cards - синий стиль иконок */
.tech-stack-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: 12px;
    min-width: 155px;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-stack-card:hover {
    border-color: var(--primary-500);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.tech-stack-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
}

.tech-stack-card-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.tech-stack-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Light Theme */
[data-theme="light"] .tech-stack-card {
    background: radial-gradient(at center top, rgb(219, 234, 254) 0%, rgb(239, 246, 255) 50%, rgb(248, 250, 252) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tech-stack-card:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* Responsive */
@media (max-width: 1000px) {
    .tech-stack-wrapper {
        grid-template-columns: 1fr;
    }
    
    .tech-stack-categories {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding-right: 0;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 30px;
    }
    
    .tech-stack-category {
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 12px;
        padding: 12px 16px;
    }
    
    .tech-stack-category.active {
        border-bottom-color: var(--primary-500);
        border-left: none;
    }
    
    .tech-stack-content {
        border-left: none;
        padding-left: 0;
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .tech-stack-container {
        padding: 0 20px;
    }
    
    .tech-stack-section {
        padding: 60px 0;
    }
    
    .tech-stack-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 16px;
        margin-bottom: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .tech-stack-categories::-webkit-scrollbar {
        display: none;
    }
    
    .tech-stack-category {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 10px 14px;
    }
    
    .tech-stack-category-name {
        font-size: 14px;
    }
    
    .tech-stack-card {
        min-width: 140px;
        padding: 10px 14px;
    }
    
    .tech-stack-card-icon {
        width: 32px;
        height: 32px;
    }
    
    .tech-stack-card-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .tech-stack-card-name {
        font-size: 12px;
    }
}

/* ==========================================================================
   CASES SECTION - Two Column Layout
   ========================================================================== */

.cases-section {
    padding: 80px 0;
    overflow: hidden;
}

.cases-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    margin-bottom: 50px;
}

.cases-title {
    font-family: var(--font-body);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    animation: casesFadeUp 0.7s ease forwards;
}

@keyframes casesFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.cases-title::after {
    content: '';
    display: block;
    margin-top: 16px;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 2px;
    animation: casesLineExpand 0.8s ease 0.4s forwards;
}

@keyframes casesLineExpand {
    to { width: 100px; }
}

.cases-subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: casesFadeUp 0.6s ease 0.2s forwards;
}

/* Two column layout */
.cases-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: casesFadeUp 0.7s ease 0.4s forwards;
}

/* Left column - filters */
.cases-left {
    /* Ничего лишнего */
}

.cases-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cases-filter {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.cases-filter:hover {
    border-color: var(--primary-500);
    color: var(--text-secondary);
}

.cases-filter.active {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-color: var(--primary-500);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Right column - carousel (extends to right edge) */
.cases-right {
    overflow: hidden;
    margin-right: calc(-40px - (100vw - 1400px) / 2);
}

.cases-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    padding: 20px 0 20px 20px;
    margin-left: -20px;
    -webkit-overflow-scrolling: touch;
}

.cases-carousel::-webkit-scrollbar {
    display: none;
}

.cases-carousel.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Отступ справа у последней карточки */
.case-card:last-child {
    margin-right: 40px;
}

/* Case Card */
.case-card {
    flex: 0 0 360px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.case-card:hover {
    border-color: var(--primary-500);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), 0 10px 40px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .case-card {
    background: radial-gradient(at center top, rgb(219, 234, 254) 0%, rgb(239, 246, 255) 50%, rgb(248, 250, 252) 100%);
    box-shadow: none;
}

[data-theme="light"] .case-card:hover {
    border-color: var(--primary-500);
}

.case-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.case-card-image {
    position: relative;
    aspect-ratio: 16/11;
    overflow: hidden;
    background: var(--bg-secondary);
}

.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s ease;
}

.case-card:hover .case-card-image img {
    filter: brightness(1.05);
}

.case-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
}

.case-card-tags {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.case-card-tag {
    background: var(--bg-solid);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.case-card-content {
    padding: 20px;
}

.case-card-category {
    font-family: var(--font-logo);
    font-size: 11px;
    color: var(--primary-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-card-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.case-card-desc {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.case-card.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 1400px) {
    .cases-right {
        margin-right: -40px;
    }
}

@media (max-width: 1024px) {
    .cases-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }

    .cases-left {
        padding: 0 40px;
    }

    .cases-right {
        margin-left: 0;
        margin-right: 0;
    }

    .cases-right::before {
        display: none;
    }

    .cases-carousel {
        padding: 20px 0 20px 40px;
        margin-left: 0;
    }

    .case-card:last-child {
        margin-right: 40px;
    }

    .case-card {
        flex: 0 0 320px;
    }
}

@media (max-width: 768px) {
    .cases-section {
        padding: 60px 0;
    }

    .cases-header {
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .cases-left {
        padding: 0 20px;
    }

    .cases-filters {
        gap: 8px;
    }

    .cases-filter {
        padding: 10px 18px;
        font-size: 13px;
    }

    .cases-carousel {
        padding: 20px 0 20px 20px;
    }

    .case-card:last-child {
        margin-right: 20px;
    }

    .case-card {
        flex: 0 0 300px;
    }
}

@media (max-width: 480px) {
    .cases-header {
        padding: 0 16px;
        margin-bottom: 30px;
    }

    .cases-left {
        padding: 0 16px;
    }

    .cases-carousel {
        padding: 20px 0 20px 16px;
    }

    .case-card:last-child {
        margin-right: 16px;
    }

    .case-card {
        flex: 0 0 280px;
    }

    .cases-filter {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* =====================================================
   APPROACH SECTION - Наш подход
   ===================================================== */
.approach-section {
    background: var(--bg-footer);
    padding: 100px 0;
}

.approach-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.approach-header {
    margin-bottom: 60px;
}

.approach-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: approachFadeUp 0.7s ease forwards;
}

@keyframes approachFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.approach-title::after {
    content: '';
    display: block;
    margin-top: 16px;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 2px;
    animation: approachLineExpand 0.8s ease 0.4s forwards;
}

@keyframes approachLineExpand {
    to { width: 100px; }
}

.approach-subtitle {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 600px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: approachFadeUp 0.6s ease 0.2s forwards;
}

/* Content Grid */
.approach-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

/* Tabs */
.approach-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 40px;
    opacity: 0;
    transform: translateX(-30px);
    animation: approachSlideRight 0.7s ease 0.3s forwards;
}

@keyframes approachSlideRight {
    to { opacity: 1; transform: translateX(0); }
}

.approach-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.approach-tab:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--primary-500);
}

.approach-tab.active {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.approach-tab-number {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.6;
    min-width: 24px;
}

.approach-tab.active .approach-tab-number {
    opacity: 0.8;
}

.approach-tab-text {
    flex: 1;
}

/* Panels */
.approach-panels {
    min-height: 400px;
    opacity: 0;
    transform: translateX(30px);
    animation: approachSlideLeft 0.7s ease 0.5s forwards;
}

@keyframes approachSlideLeft {
    to { opacity: 1; transform: translateX(0); }
}

.approach-panel {
    display: none;
    animation: approachFadeIn 0.4s ease;
}

.approach-panel.active {
    display: block;
}

@keyframes approachFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.approach-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Panel Icon */
.approach-panel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 80px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.approach-panel-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Beam animation */
.approach-panel-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.03) 40%,
        rgba(59, 130, 246, 0.08) 50%,
        rgba(59, 130, 246, 0.03) 60%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: approachBeamSweep 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes approachBeamSweep {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.approach-panel-icon svg {
    width: 140px;
    height: 140px;
    color: var(--primary-400);
    position: relative;
    z-index: 1;
}

/* Panel Content */
.approach-panel-content {
    padding: 20px 0;
}

.approach-panel-number {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.approach-panel-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.approach-panel-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Features List */
.approach-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approach-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
}

.approach-feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.approach-feature-icon svg {
    width: 14px;
    height: 14px;
    color: var(--primary-400);
}

/* Light theme specific */
[data-theme="light"] .approach-section {
    background: var(--bg-primary);
}

[data-theme="light"] .approach-panel-icon {
    background: radial-gradient(at center top, rgb(219, 234, 254) 0%, rgb(239, 246, 255) 50%, rgb(248, 250, 252) 100%);
}

[data-theme="light"] .approach-panel-icon::before {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

/* Language-specific fonts for numbers */
html[data-lang="en"] .approach-tab-number,
html[data-lang="en"] .approach-panel-number {
    font-family: var(--font-logo); /* Genos */
}

html[data-lang="zh"] .approach-tab-number,
html[data-lang="zh"] .approach-panel-number {
    font-family: var(--font-chinese); /* Noto Sans SC */
}

/* Responsive */
@media (max-width: 1024px) {
    .approach-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .approach-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        position: static;
    }

    .approach-tab {
        flex: 1;
        min-width: 140px;
        justify-content: center;
        text-align: center;
        padding: 16px 20px;
    }

    .approach-tab-number {
        display: none;
    }
}

@media (max-width: 768px) {
    .approach-section {
        padding: 60px 0;
    }

    .approach-container {
        padding: 0 20px;
    }

    .approach-header {
        margin-bottom: 40px;
    }

    .approach-panel-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .approach-panel-icon {
        padding: 50px;
        order: -1;
    }

    .approach-panel-icon svg {
        width: 100px;
        height: 100px;
    }

    .approach-panel-title {
        font-size: 28px;
    }

    .approach-tab {
        min-width: auto;
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    .approach-container {
        padding: 0 16px;
    }

    .approach-tab {
        flex: 1 1 100%;
        padding: 14px 16px;
        font-size: 14px;
    }

    .approach-panel-icon {
        padding: 40px;
    }

    .approach-panel-icon svg {
        width: 80px;
        height: 80px;
    }

    .approach-panel-title {
        font-size: 24px;
    }

    .approach-panel-desc {
        font-size: 15px;
    }

    .approach-feature {
        font-size: 14px;
    }
}

/* ============================================
   INDUSTRIES SECTION
   Блок "Отрасли" — автоскролл карусель
   ============================================ */

.industries-section {
    background: var(--bg-primary);
    padding: 100px 0;
    overflow: hidden;
}

.industries-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.industries-header {
    margin-bottom: 50px;
}

.industries-header-top {
    margin-bottom: 24px;
}

.industries-title {
    font-family: var(--font-body);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    animation: industriesFadeUp 0.7s ease forwards;
}

@keyframes industriesFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.industries-title::after {
    content: '';
    display: block;
    margin-top: 20px;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    transform: scaleX(0);
    transform-origin: left;
    animation: industriesLineExpand 0.8s ease 0.4s forwards;
}

@keyframes industriesLineExpand {
    to { transform: scaleX(1); }
}

.industries-header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: industriesFadeUp 0.6s ease 0.3s forwards;
}

.industries-subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
}

/* Button (like why-btn) */
.industries-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: #F8FAFC;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.industries-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.industries-btn:hover::before { opacity: 1; }
.industries-btn span { position: relative; z-index: 1; }

.industries-btn-arrow { 
    width: 20px; 
    height: 20px; 
    position: relative; 
    z-index: 1; 
    transition: transform 0.2s ease; 
}

.industries-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4); 
    color: #F8FAFC;
}

.industries-btn:hover .industries-btn-arrow { 
    transform: translate(3px, -3px); 
}

/* Language-specific fonts for button */
html[data-lang="en"] .industries-btn { font-family: var(--font-logo); }
html[data-lang="zh"] .industries-btn { font-family: var(--font-chinese); }

/* Carousel */
.industries-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -40px;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(40px);
    animation: industriesCarouselReveal 0.8s ease 0.5s forwards;
}

@keyframes industriesCarouselReveal {
    to { opacity: 1; transform: translateY(0); }
}

.industries-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.industries-carousel::-webkit-scrollbar {
    display: none;
}

.industries-carousel.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.industries-carousel.dragging .industry-card {
    pointer-events: none;
}

/* Cards (like case-card) */
.industry-card {
    flex: 0 0 360px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.industry-card:hover {
    border-color: var(--primary-500);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), 0 10px 40px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .industry-card {
    background: radial-gradient(at center top, rgb(219, 234, 254) 0%, rgb(239, 246, 255) 50%, rgb(248, 250, 252) 100%);
    box-shadow: none;
}

[data-theme="light"] .industry-card:hover {
    border-color: var(--primary-500);
    box-shadow: none;
}

.industry-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.industry-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover .industry-card-image img {
    transform: scale(1.05);
}

.industry-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
}

.industry-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.industry-card-title {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

html[data-lang="en"] .industry-card-title { font-family: var(--font-logo); }
html[data-lang="zh"] .industry-card-title { font-family: var(--font-chinese); }

.industry-card-content {
    padding: 20px 24px;
}

.industry-card-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .industries-title::after {
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
        border-radius: 2px;
        margin-top: 16px;
    }

    .industries-header-bottom {
        flex-direction: column;
        gap: 24px;
    }

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

    .industry-card {
        flex: 0 0 320px;
    }
}

@media (max-width: 768px) {
    .industries-section {
        padding: 60px 0;
    }

    .industries-container {
        padding: 0 20px;
    }

    .industries-carousel-wrapper {
        margin: 0 -20px;
        padding: 0 20px;
    }

    .industry-card {
        flex: 0 0 280px;
    }

    .industry-card-image {
        height: 160px;
    }

    .industries-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   FAQ Section - "Остались вопросы?"
   ========================================= */

.faq-section {
    width: 100%;
    background: transparent;
}

.faq-section-inner {
    width: 100%;
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Header */
.faq-header {
    text-align: left;
    margin-bottom: 50px;
}

.faq-title {
    font-family: var(--font-body);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
    color: var(--text-primary);
}

.faq-title::after {
    content: '';
    display: block;
    margin-top: 16px;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 2px;
}

/* Убираем отдельную линию */
.faq-line {
    display: none;
}

.faq-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

/* Wrapper */
.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: stretch;
}

/* Form Card */
.faq-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px;
}

.faq-form {
    display: flex;
    flex-direction: column;
}

/* Form Row - поля в строку */
.faq-section .faq-form .form-row {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.faq-section .faq-form .form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.faq-section .faq-form .form-row .form-group {
    margin-bottom: 0;
}

/* Form Groups */
.faq-section .faq-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

/* Reset и стили для полей */
#faq-form input[type="text"],
#faq-form input[type="email"],
#faq-form textarea,
.faq-section .faq-form input[type="text"],
.faq-section .faq-form input[type="email"],
.faq-section .faq-form textarea,
.faq-section .faq-form .form-input:not(input[type="tel"]),
.faq-section .faq-form .form-textarea {
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    transition: all 0.3s ease;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Телефон - без фиксированного padding-left чтобы intl-tel-input управлял */
#faq-form input[type="tel"],
.faq-section .faq-form input[type="tel"] {
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding-top: 14px !important;
    padding-right: 16px !important;
    padding-bottom: 14px !important;
    /* padding-left управляется intl-tel-input динамически */
    color: var(--text-primary) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    transition: all 0.3s ease;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

#faq-form input[type="text"]:focus,
#faq-form input[type="email"]:focus,
#faq-form input[type="tel"]:focus,
#faq-form textarea:focus,
.faq-section .faq-form input[type="text"]:focus,
.faq-section .faq-form input[type="email"]:focus,
.faq-section .faq-form input[type="tel"]:focus,
.faq-section .faq-form textarea:focus,
.faq-section .faq-form .form-input:focus,
.faq-section .faq-form .form-textarea:focus {
    outline: none !important;
    border-color: var(--primary-500) !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

#faq-form input::placeholder,
#faq-form textarea::placeholder,
.faq-section .faq-form input::placeholder,
.faq-section .faq-form textarea::placeholder,
.faq-section .faq-form .form-input::placeholder,
.faq-section .faq-form .form-textarea::placeholder {
    color: var(--text-muted) !important;
    font-family: var(--font-body) !important;
    opacity: 1 !important;
}

#faq-form input.error,
#faq-form textarea.error,
.faq-section .faq-form input.error,
.faq-section .faq-form textarea.error,
.faq-section .faq-form .form-input.error,
.faq-section .faq-form .form-textarea.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
}

.faq-section .faq-form textarea,
.faq-section .faq-form .form-textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

/* Field errors */
.faq-section .faq-form .field-error {
    display: none;
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
}

.faq-section .faq-form .field-error.show,
.faq-section .faq-form .form-group.error .field-error {
    display: block;
}

/* Checkbox */
.faq-section .faq-form .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    cursor: pointer;
}

.faq-section .faq-form .form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--primary-500);
    cursor: pointer;
    flex-shrink: 0;
}

.faq-section .faq-form .checkbox-text {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.faq-section .faq-form .checkbox-text a {
    color: var(--primary-400);
    text-decoration: none;
}

.faq-section .faq-form .checkbox-text a:hover {
    text-decoration: underline;
}

.faq-section .faq-form .form-checkbox.error .checkbox-text {
    color: #ef4444;
}

/* intl-tel-input fix for FAQ */
.faq-section .faq-form .iti {
    width: 100%;
    display: block;
}

.faq-section .faq-form .iti__flag-container {
    z-index: 10;
}

/* Responsive для form-row */
@media (max-width: 900px) {
    .faq-section .faq-form .form-row-3 {
        grid-template-columns: 1fr 1fr;
    }
    .faq-section .faq-form .form-row-3 .form-group:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .faq-section .faq-form .form-row,
    .faq-section .faq-form .form-row-3 {
        grid-template-columns: 1fr;
    }
    .faq-section .faq-form .form-row-3 .form-group:last-child {
        grid-column: auto;
    }
}

/* Contacts Card */
.faq-contacts-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-contacts-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Contact Items */
.faq-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.faq-contact-item:last-child {
    margin-bottom: 0;
}

.faq-contact-item:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-contact-item:hover .faq-contact-icon {
    background: var(--primary-500);
    color: white;
}

.faq-contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-500);
    transition: all 0.3s ease;
}

.faq-contact-icon svg {
    width: 24px;
    height: 24px;
}

.faq-contact-info {
    flex: 1;
}

.faq-contact-label {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 4px;
}

.faq-contact-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Genos font for EN contact values */
html[data-lang="en"] .faq-contact-value {
    font-family: 'Genos', var(--font-body);
}

/* Noto Sans SC for ZH contact values */
html[data-lang="zh"] .faq-contact-value {
    font-family: 'Noto Sans SC', var(--font-chinese);
}

/* Light theme */
[data-theme="light"] .faq-section {
    background: transparent;
}

[data-theme="light"] .faq-form-card,
[data-theme="light"] .faq-contacts-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .faq-section .faq-form input[type="text"],
[data-theme="light"] .faq-section .faq-form input[type="email"],
[data-theme="light"] .faq-section .faq-form input[type="tel"],
[data-theme="light"] .faq-section .faq-form textarea,
[data-theme="light"] .faq-section .faq-form .form-input,
[data-theme="light"] .faq-section .faq-form .form-textarea {
    background: rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .faq-contact-item:hover {
    background: rgba(59, 130, 246, 0.08);
}

/* Responsive */
@media (max-width: 1024px) {
    .faq-section-inner {
        padding: 60px 24px;
    }
    
    .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-form-card {
        order: 1;
    }
    
    .faq-contacts-card {
        order: 2;
    }
}

@media (max-width: 640px) {
    .faq-section-inner {
        padding: 50px 16px;
    }
    
    .faq-form-card,
    .faq-contacts-card {
        padding: 24px;
        border-radius: 16px;
    }
}

/* ============================================
   WINTER MODE - Новогодний режим
   ============================================ */

/* Snow Container */
.winter-snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.winter-snow.hidden {
    opacity: 0;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    animation: snowfall linear infinite;
    user-select: none;
}

[data-theme="light"] .snowflake {
    color: var(--primary-500);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

@keyframes snowfall {
    0% {
        transform: translateY(-20px) translateX(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) translateX(15px) rotate(180deg);
    }
    100% {
        transform: translateY(105vh) translateX(-15px) rotate(360deg);
        opacity: 0.6;
    }
}

/* Ice/Frost Container */
.winter-frost {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9997;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.winter-frost.hidden {
    opacity: 0;
}

.winter-frost__left,
.winter-frost__right {
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 100%
    );
}

.winter-frost__left {
    left: 0;
}

.winter-frost__right {
    right: 0;
    transform: scaleX(-1);
}

[data-theme="light"] .winter-frost__left,
[data-theme="light"] .winter-frost__right {
    background: linear-gradient(90deg,
        rgba(59, 130, 246, 0.05) 0%,
        transparent 100%
    );
}

.winter-frost__canvas {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    pointer-events: none;
}

.winter-frost__canvas--left {
    left: 0;
}

.winter-frost__canvas--right {
    right: 0;
    transform: scaleX(-1);
}

/* Winter Toggle Button */
.winter-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

[data-theme="light"] .winter-toggle {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.1);
}

.winter-toggle:hover {
    background: rgba(147, 197, 253, 0.15);
    border-color: rgba(147, 197, 253, 0.3);
    transform: scale(1.05);
}

.winter-toggle.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(147, 197, 253, 0.2));
    border-color: rgba(147, 197, 253, 0.5);
    box-shadow: 0 0 20px rgba(147, 197, 253, 0.4);
}

.winter-toggle svg {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: all 0.3s ease;
}

.winter-toggle.active svg {
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(147, 197, 253, 1));
    animation: winterToggleSpin 8s linear infinite;
}

[data-theme="light"] .winter-toggle.active svg {
    color: var(--primary-500);
}

@keyframes winterToggleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile menu winter toggle */
.fullscreen-menu__btn.winter-toggle {
    width: 44px;
    height: 44px;
}

.fullscreen-menu__btn.winter-toggle svg {
    width: 20px;
    height: 20px;
}

/* ==================== PLUGIN PAGE ==================== */
.plugin-page {
    min-height: 100vh;
}

.plugin-empty {
    text-align: center;
    padding: 200px 20px;
}

.plugin-empty h1 {
    font-family: var(--font-logo);
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.plugin-empty p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==================== PLUGIN FEATURES SECTION ==================== */
.plugin-features-section {
    padding: 80px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.plugin-features-header {
    margin-bottom: 60px;
    text-align: left;
}

.plugin-features-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    animation: featuresFadeUp 0.7s ease forwards;
}

.plugin-features-title::after {
    content: '';
    display: block;
    margin-top: 12px;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 2px;
    animation: featuresLineExpand 0.8s ease 0.4s forwards;
}

@keyframes featuresLineExpand {
    to { width: 120px; }
}

@keyframes featuresFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.plugin-features-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: featuresFadeUp 0.6s ease 0.2s forwards;
}

/* Шрифты заголовка по языкам */
[data-lang-content="ru"].active ~ .plugin-features-header .plugin-features-title,
.plugin-features-title [data-lang-content="ru"] { font-family: var(--font-body); }
[data-lang-content="en"].active ~ .plugin-features-header .plugin-features-title,
.plugin-features-title [data-lang-content="en"] { font-family: var(--font-logo); }
[data-lang-content="zh"].active ~ .plugin-features-header .plugin-features-title,
.plugin-features-title [data-lang-content="zh"] { font-family: var(--font-chinese); }

.plugin-features-subtitle [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-features-subtitle [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-features-subtitle [data-lang-content="zh"] { font-family: var(--font-chinese); }

/* Desktop Layout */
.plugin-features-desktop {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.plugin-features-mobile {
    display: none;
}

/* Features List (left) */
.plugin-features-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plugin-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plugin-feature-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

.plugin-feature-item.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.plugin-feature-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-500);
    min-width: 32px;
}

.plugin-feature-name {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.plugin-feature-pro-badge {
    padding: 3px 8px;
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.plugin-feature-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.plugin-feature-item.active .plugin-feature-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary-500);
}

/* Feature Details (right) */
.plugin-feature-details {
    position: relative;
    min-height: 400px;
}

.plugin-feature-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.4s ease;
}

.plugin-feature-content.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.plugin-feature-pro-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 100px;
    margin-bottom: 24px;
}

.plugin-feature-pro-label svg {
    width: 16px;
    height: 16px;
    color: #eab308;
}

.plugin-feature-pro-label span {
    font-size: 12px;
    font-weight: 600;
    color: #eab308;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plugin-feature-detail-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.plugin-feature-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 40px;
    max-width: 500px;
}

/* Visual */
.plugin-feature-visual {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plugin-feature-visual .visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: featureGlow 4s ease-in-out infinite;
}

.plugin-feature-visual .visual-glow.pro {
    background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, transparent 60%);
}

@keyframes featureGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.plugin-feature-visual .icon-wrapper {
    position: relative;
    z-index: 1;
}

.plugin-feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.plugin-feature-icon.pro {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    box-shadow: 0 20px 60px rgba(234, 179, 8, 0.3);
}

.plugin-feature-icon svg {
    width: 48px;
    height: 48px;
    color: #fff;
    stroke-width: 1.5;
}

/* Mobile Cards */
@media (max-width: 900px) {
    .plugin-features-section {
        padding: 60px 20px;
    }
    
    .plugin-features-desktop {
        display: none;
    }
    
    .plugin-features-mobile {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .plugin-feature-card {
        display: flex;
        gap: 16px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 16px;
    }
    
    .plugin-feature-card.pro {
        border-color: rgba(234, 179, 8, 0.2);
    }
    
    .plugin-feature-card-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .plugin-feature-card-icon.pro {
        background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    }
    
    .plugin-feature-card-icon svg {
        width: 24px;
        height: 24px;
        color: #fff;
    }
    
    .plugin-feature-card-content {
        flex: 1;
    }
    
    .plugin-feature-card-header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .plugin-feature-card-header h4 {
        font-size: 16px;
        font-weight: 600;
        color: var(--text-primary);
        margin: 0;
    }
    
    .plugin-feature-card p {
        font-size: 14px;
        line-height: 1.6;
        color: var(--text-secondary);
        margin: 0;
    }
}


/* ==================== PLUGIN SCREENSHOTS SECTION ==================== */
.plugin-screenshots-section {
    padding: 80px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header - like features */
.plugin-screenshots-header {
    margin-bottom: 60px;
    text-align: left;
}

.plugin-screenshots-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    animation: screenshotsFadeUp 0.7s ease forwards;
}

.plugin-screenshots-title::after {
    content: '';
    display: block;
    margin-top: 12px;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 2px;
    animation: screenshotsLineExpand 0.8s ease 0.4s forwards;
}

@keyframes screenshotsLineExpand {
    to { width: 120px; }
}

@keyframes screenshotsFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.plugin-screenshots-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: screenshotsFadeUp 0.6s ease 0.2s forwards;
}

/* Title fonts by language */
.plugin-screenshots-title [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-screenshots-title [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-screenshots-title [data-lang-content="zh"] { font-family: var(--font-chinese); }

.plugin-screenshots-subtitle [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-screenshots-subtitle [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-screenshots-subtitle [data-lang-content="zh"] { font-family: var(--font-chinese); }

.screenshot-card-caption h4 [data-lang-content="ru"] { font-family: var(--font-body); }
.screenshot-card-caption h4 [data-lang-content="en"] { font-family: var(--font-logo); }
.screenshot-card-caption h4 [data-lang-content="zh"] { font-family: var(--font-chinese); }

.screenshot-card-caption p [data-lang-content="ru"] { font-family: var(--font-body); }
.screenshot-card-caption p [data-lang-content="en"] { font-family: var(--font-logo); }
.screenshot-card-caption p [data-lang-content="zh"] { font-family: var(--font-chinese); }

/* Desktop Grid - 4 columns */
.plugin-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Mobile Carousel hidden on desktop */
.plugin-screenshots-carousel {
    display: none;
}

/* Screenshot Card */
.plugin-screenshot-card {
    transition: transform 0.3s ease;
}

.plugin-screenshot-card:hover {
    transform: translateY(-6px);
}

.screenshot-card-image {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.screenshot-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.plugin-screenshot-card:hover .screenshot-card-image img {
    transform: scale(1.05);
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
}

.screenshot-placeholder svg {
    width: 40px;
    height: 40px;
    opacity: 0.3;
}

.screenshot-placeholder span {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.4;
}

.screenshot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plugin-screenshot-card:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

.screenshot-card-caption {
    padding: 16px 4px;
}

.screenshot-card-caption h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.screenshot-card-caption p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Lightbox */
.plugin-screenshots-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.plugin-screenshots-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.plugin-screenshots-lightbox .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.plugin-screenshots-lightbox .lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.plugin-screenshots-lightbox .lightbox-prev,
.plugin-screenshots-lightbox .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.plugin-screenshots-lightbox .lightbox-prev:hover,
.plugin-screenshots-lightbox .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.plugin-screenshots-lightbox .lightbox-prev { left: 20px; }
.plugin-screenshots-lightbox .lightbox-next { right: 20px; }

.plugin-screenshots-lightbox .lightbox-prev svg,
.plugin-screenshots-lightbox .lightbox-next svg { width: 24px; height: 24px; }

.plugin-screenshots-lightbox .lightbox-content img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
}

/* Mobile - Carousel like cases */
@media (max-width: 900px) {
    .plugin-screenshots-section {
        padding: 60px 0;
        max-width: none;
    }
    
    .plugin-screenshots-header {
        padding: 0 24px;
        margin-bottom: 40px;
    }
    
    .plugin-screenshots-grid {
        display: none;
    }
    
    .plugin-screenshots-carousel {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scrollbar-width: none;
        cursor: grab;
        padding: 10px 24px 20px;
        -webkit-overflow-scrolling: touch;
    }
    
    .plugin-screenshots-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .plugin-screenshots-carousel.dragging {
        cursor: grabbing;
        scroll-behavior: auto;
    }
    
    .plugin-screenshots-carousel .plugin-screenshot-card {
        flex: 0 0 280px;
    }
    
    .plugin-screenshots-carousel .plugin-screenshot-card:last-child {
        margin-right: 24px;
    }
    
    .plugin-screenshots-carousel .screenshot-card-image {
        aspect-ratio: 16/11;
    }
}

@media (max-width: 600px) {
    .plugin-screenshots-carousel .plugin-screenshot-card {
        flex: 0 0 260px;
    }
    
    /* Mobile lightbox adjustments */
    .plugin-screenshots-lightbox .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .plugin-screenshots-lightbox .lightbox-prev,
    .plugin-screenshots-lightbox .lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .plugin-screenshots-lightbox .lightbox-prev { left: 10px; }
    .plugin-screenshots-lightbox .lightbox-next { right: 10px; }
    
    .plugin-screenshots-lightbox .lightbox-prev svg,
    .plugin-screenshots-lightbox .lightbox-next svg { width: 20px; height: 20px; }
    
    .plugin-screenshots-lightbox .lightbox-content img {
        max-width: 95vw;
        max-height: 80vh;
        border-radius: 8px;
    }
}

/* Carousel screenshot overlay (tap to enlarge indicator) */
.plugin-screenshots-carousel .screenshot-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.plugin-screenshots-carousel .screenshot-overlay svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.plugin-screenshots-carousel .screenshot-card-image {
    position: relative;
    overflow: hidden;
}


/* ==================== PLUGIN PRICING SECTION ==================== */
.plugin-pricing-section {
    padding: 80px 24px;
    background: var(--bg-footer);
}

.plugin-pricing-section > .plugin-pricing-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header - like features */
.plugin-pricing-header {
    margin-bottom: 60px;
    text-align: left;
}

.plugin-pricing-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    animation: pricingFadeUp 0.7s ease forwards;
}

.plugin-pricing-title::after {
    content: '';
    display: block;
    margin-top: 12px;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 2px;
    animation: pricingLineExpand 0.8s ease 0.4s forwards;
}

@keyframes pricingLineExpand {
    to { width: 120px; }
}

@keyframes pricingFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.plugin-pricing-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: pricingFadeUp 0.6s ease 0.2s forwards;
}

/* Title fonts by language */
.plugin-pricing-title [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-pricing-title [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-pricing-title [data-lang-content="zh"] { font-family: var(--font-chinese); }

.plugin-pricing-subtitle [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-pricing-subtitle [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-pricing-subtitle [data-lang-content="zh"] { font-family: var(--font-chinese); }

.pricing-features [data-lang-content="ru"] { font-family: var(--font-body); }
.pricing-features [data-lang-content="en"] { font-family: var(--font-logo); }
.pricing-features [data-lang-content="zh"] { font-family: var(--font-chinese); }

.pricing-btn [data-lang-content="ru"] { font-family: var(--font-body); }
.pricing-btn [data-lang-content="en"] { font-family: var(--font-logo); }
.pricing-btn [data-lang-content="zh"] { font-family: var(--font-chinese); }

.plugin-pricing-guarantee [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-pricing-guarantee [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-pricing-guarantee [data-lang-content="zh"] { font-family: var(--font-chinese); }

.pricing-popular-badge [data-lang-content="ru"] { font-family: var(--font-body); }
.pricing-popular-badge [data-lang-content="en"] { font-family: var(--font-logo); }
.pricing-popular-badge [data-lang-content="zh"] { font-family: var(--font-chinese); }

.toggle-btn [data-lang-content="ru"] { font-family: var(--font-body); }
.toggle-btn [data-lang-content="en"] { font-family: var(--font-logo); }
.toggle-btn [data-lang-content="zh"] { font-family: var(--font-chinese); }

[data-lang-content="ru"] .price-amount { font-family: var(--font-body); }
[data-lang-content="en"] .price-amount { font-family: var(--font-logo); }
[data-lang-content="zh"] .price-amount { font-family: var(--font-chinese); }

[data-lang-content="ru"] .price-period { font-family: var(--font-body); }
[data-lang-content="en"] .price-period { font-family: var(--font-logo); }
[data-lang-content="zh"] .price-period { font-family: var(--font-chinese); }

/* Plan names (FREE/PRO) by page language */
html[data-lang="ru"] .pricing-plan-name { font-family: var(--font-body); }
html[data-lang="en"] .pricing-plan-name { font-family: var(--font-logo); }
html[data-lang="zh"] .pricing-plan-name { font-family: var(--font-chinese); }

/* Pricing Grid - 2 columns */
.plugin-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
}

.plugin-pricing-card {
    position: relative;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Beam effect for dark theme */
.plugin-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.03) 40%,
        rgba(59, 130, 246, 0.08) 50%,
        rgba(59, 130, 246, 0.03) 60%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: pricingBeamSweep var(--pricing-beam-speed, 8s) ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.plugin-pricing-card.pro::before {
    animation-delay: calc(var(--pricing-beam-speed, 8s) / 2);
}

@keyframes pricingBeamSweep {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* Ensure content is above beam */
.plugin-pricing-card > * {
    position: relative;
    z-index: 2;
}

/* Top gradient line on hover */
.plugin-pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400), var(--primary-300));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 3;
}

.plugin-pricing-card:hover::after {
    transform: scaleX(1);
}

.plugin-pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.plugin-pricing-card.pro {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.plugin-pricing-card.pro:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.pricing-popular-badge {
    position: absolute;
    top: -1px;
    left: 24px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

.pricing-card-header {
    margin-bottom: 24px;
}

.pricing-plan-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.pricing-toggle {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    margin-bottom: 16px;
}

.toggle-btn {
    flex: 1;
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.toggle-btn.active {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.toggle-save {
    position: absolute;
    top: -8px;
    right: -4px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    background: #22c55e;
    color: #fff;
    border-radius: 4px;
}

.pricing-price {
    margin-bottom: 8px;
}

.price-monthly, .price-yearly {
    display: none;
}

.price-monthly.active, .price-yearly.active {
    display: block;
}

.price-amount {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    font-size: 15px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    color: #22c55e;
    flex-shrink: 0;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    cursor: pointer;
}

.pricing-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Download button with fill animation */
.pricing-download-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-download-btn .btn-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transition: width 0.1s ease;
    z-index: 0;
}

.pricing-download-btn.loading .btn-fill {
    animation: fillProgress 1.5s ease-out forwards;
}

@keyframes fillProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

.pricing-download-btn .btn-text {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.pricing-download-btn .btn-arrow {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pricing-download-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.pricing-download-btn.loading {
    pointer-events: none;
}

.pricing-download-btn.loading .btn-text {
    color: #fff;
}

.pricing-download-btn.loading .btn-arrow {
    opacity: 0;
    transform: translateX(10px);
}

.pricing-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff !important;
    border: none;
}

.pricing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    color: #fff !important;
}

/* Download Form */
.pricing-download-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}

.pricing-download-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s;
    outline: none;
}

.pricing-download-input::placeholder {
    color: var(--text-muted);
}

.pricing-download-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pricing-subscribe-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

.pricing-subscribe-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-500);
    cursor: pointer;
}

.pricing-download-form .pricing-btn {
    gap: 10px;
}

.pricing-download-form .btn-icon {
    width: 18px;
    height: 18px;
}

.pricing-download-form .btn-spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pricing-download-count {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin: 4px 0 0;
}

/* Light theme download form */
[data-theme="light"] .pricing-download-input {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

[data-theme="light"] .pricing-download-input:focus {
    border-color: var(--primary);
    background: #fff;
}

/* Payment Modal */
.pricing-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.pricing-modal {
    background: var(--bg-card, #12121a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

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

.pricing-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
}

.pricing-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.pricing-modal-close svg {
    width: 18px;
    height: 18px;
}

.pricing-modal-header {
    padding: 28px 28px 0;
}

.pricing-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-modal-body {
    padding: 24px 28px 28px;
}

.pricing-modal-plan-select {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.plan-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.plan-option:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.plan-option.selected {
    border-color: var(--primary-500);
    background: rgba(59, 130, 246, 0.1);
}

.plan-option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.plan-option.selected .plan-option-radio {
    border-color: var(--primary-500);
}

.plan-option.selected .plan-option-radio::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--primary-500);
    border-radius: 50%;
}

.plan-option-content {
    flex: 1;
}

.plan-option-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.plan-option-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border-radius: 20px;
}

.plan-option-price {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-modal-email {
    margin-bottom: 20px;
}

.pricing-modal-email label {
    display: none;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pricing-modal-email label.lang-content.active {
    display: block;
}

.pricing-modal-email input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s;
}

.pricing-modal-email input::placeholder {
    color: var(--text-muted);
}

.pricing-modal-email input:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pricing-modal-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.pricing-modal-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.pricing-modal-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.pricing-modal-note svg {
    width: 14px;
    height: 14px;
    color: #22c55e;
}

/* Light theme modal */
[data-theme="light"] .pricing-modal {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .plan-option {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .plan-option:hover {
    background: rgba(59, 130, 246, 0.05);
}

[data-theme="light"] .pricing-modal-email input {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

/* TBank logo in light theme - make BANK text dark */
[data-theme="light"] .pricing-modal-note .tbank-logo g:last-child {
    fill: #1a1a1a;
}

.plugin-pricing-guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 16px 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    font-size: 14px;
    color: #22c55e;
    max-width: 400px;
}

.plugin-pricing-guarantee svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Light theme - gradient background */
[data-theme="light"] .plugin-pricing-section {
    background: transparent;
}

[data-theme="light"] .plugin-pricing-card {
    background: radial-gradient(at center top, rgb(219, 234, 254) 0%, rgb(239, 246, 255) 50%, rgb(248, 250, 252) 100%);
    border-color: rgba(59, 130, 246, 0.15);
}

[data-theme="light"] .plugin-pricing-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.1);
}

[data-theme="light"] .plugin-pricing-card.pro {
    background: radial-gradient(at center top, rgb(199, 224, 254) 0%, rgb(224, 239, 255) 50%, rgb(243, 248, 252) 100%);
    border-color: var(--primary-500);
}

[data-theme="light"] .plugin-pricing-card.pro:hover {
    border-color: var(--primary-600);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

/* Brighter beam for light theme */
[data-theme="light"] .plugin-pricing-card::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.06) 40%,
        rgba(59, 130, 246, 0.15) 50%,
        rgba(59, 130, 246, 0.06) 60%,
        transparent 100%
    );
}

@media (max-width: 768px) {
    .plugin-pricing-section {
        padding: 60px 20px;
    }
    
    .plugin-pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== PLUGIN FAQ SECTION ==================== */
.plugin-faq-section {
    padding: 80px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header - like features */
.plugin-faq-header {
    margin-bottom: 60px;
    text-align: left;
}

.plugin-faq-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    animation: faqFadeUp 0.7s ease forwards;
}

.plugin-faq-title::after {
    content: '';
    display: block;
    margin-top: 12px;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 2px;
    animation: faqLineExpand 0.8s ease 0.4s forwards;
}

@keyframes faqLineExpand {
    to { width: 120px; }
}

@keyframes faqFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.plugin-faq-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: faqFadeUp 0.6s ease 0.2s forwards;
}

/* Title fonts by language */
.plugin-faq-title [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-faq-title [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-faq-title [data-lang-content="zh"] { font-family: var(--font-chinese); }

.plugin-faq-subtitle [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-faq-subtitle [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-faq-subtitle [data-lang-content="zh"] { font-family: var(--font-chinese); }

.faq-question [data-lang-content="ru"] { font-family: var(--font-body); }
.faq-question [data-lang-content="en"] { font-family: var(--font-logo); }
.faq-question [data-lang-content="zh"] { font-family: var(--font-chinese); }

.faq-answer [data-lang-content="ru"] { font-family: var(--font-body); }
.faq-answer [data-lang-content="en"] { font-family: var(--font-logo); }
.faq-answer [data-lang-content="zh"] { font-family: var(--font-chinese); }

.faq-answer p [data-lang-content="ru"] { font-family: var(--font-body); }
.faq-answer p [data-lang-content="en"] { font-family: var(--font-logo); }
.faq-answer p [data-lang-content="zh"] { font-family: var(--font-chinese); }

.support-card h3 [data-lang-content="ru"] { font-family: var(--font-body); }
.support-card h3 [data-lang-content="en"] { font-family: var(--font-logo); }
.support-card h3 [data-lang-content="zh"] { font-family: var(--font-chinese); }

.support-card p [data-lang-content="ru"] { font-family: var(--font-body); }
.support-card p [data-lang-content="en"] { font-family: var(--font-logo); }
.support-card p [data-lang-content="zh"] { font-family: var(--font-chinese); }

.support-hours [data-lang-content="ru"] { font-family: var(--font-body); }
.support-hours [data-lang-content="en"] { font-family: var(--font-logo); }
.support-hours [data-lang-content="zh"] { font-family: var(--font-chinese); }

/* FAQ Grid - 2 columns */
.plugin-faq-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.plugin-faq-questions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-500);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    margin: 0;
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Support Card */
.plugin-faq-support {
    position: sticky;
    top: 100px;
}

.support-card {
    padding: 32px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
}

.support-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.support-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.support-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.support-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 24px;
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.support-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-link.telegram .support-link-icon {
    background: rgba(0, 136, 204, 0.15);
}

.support-link.email .support-link-icon {
    background: rgba(59, 130, 246, 0.15);
}

.support-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.support-link.telegram svg { color: #0088cc; }
.support-link.email svg { color: var(--primary-500); }

.support-link-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.support-link-text span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.support-link-text small {
    font-size: 12px;
    color: var(--text-muted);
}

.support-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: var(--text-muted);
}

.support-hours svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 900px) {
    .plugin-faq-section {
        padding: 60px 20px;
    }
    
    .plugin-faq-grid {
        grid-template-columns: 1fr;
    }
    
    .plugin-faq-support {
        position: static;
    }
}

/* ==================== PLUGIN CHANGELOG SECTION ==================== */
.plugin-changelog-section {
    padding: 80px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.plugin-changelog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Block Headers - like features */
.changelog-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.changelog-header svg {
    width: 32px;
    height: 32px;
    color: var(--primary-500);
}

.changelog-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: changelogFadeUp 0.7s ease forwards;
}

@keyframes changelogFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Changelog List */
.plugin-changelog-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.plugin-changelog-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: border-color 0.3s ease;
}

.plugin-changelog-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.plugin-changelog-item.latest {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.changelog-version {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.version-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.version-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    background: var(--primary-500);
    color: #fff;
    border-radius: 100px;
    text-transform: uppercase;
}

.changelog-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.changelog-changes {
    margin: 0;
    padding: 0;
    list-style: none;
}

.changelog-changes li {
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

.changelog-changes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-500);
}

/* Roadmap */
.plugin-roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.plugin-roadmap-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.roadmap-status {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.roadmap-content {
    flex: 1;
}

.roadmap-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.roadmap-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.roadmap-quarter {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Roadmap quarter by page language */
html[data-lang="ru"] .roadmap-quarter { font-family: var(--font-body); }
html[data-lang="en"] .roadmap-quarter { font-family: var(--font-logo); }
html[data-lang="zh"] .roadmap-quarter { font-family: var(--font-chinese); }

@media (max-width: 900px) {
    .plugin-changelog-section {
        padding: 60px 20px;
    }
    
    .plugin-changelog-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 600px) {
    .plugin-roadmap-item {
        flex-wrap: wrap;
    }
    
    .roadmap-quarter {
        width: 100%;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ==================== PLUGIN PAGE LANGUAGE FONTS ==================== */
/* Changelog */
.changelog-header h2 [data-lang-content="ru"] { font-family: var(--font-body); }
.changelog-header h2 [data-lang-content="en"] { font-family: var(--font-logo); }
.changelog-header h2 [data-lang-content="zh"] { font-family: var(--font-chinese); }

.changelog-changes [data-lang-content="ru"] { font-family: var(--font-body); }
.changelog-changes [data-lang-content="en"] { font-family: var(--font-logo); }
.changelog-changes [data-lang-content="zh"] { font-family: var(--font-chinese); }

.version-badge [data-lang-content="ru"] { font-family: var(--font-body); }
.version-badge [data-lang-content="en"] { font-family: var(--font-logo); }
.version-badge [data-lang-content="zh"] { font-family: var(--font-chinese); }

/* Version number by page language */
html[data-lang="ru"] .version-number { font-family: var(--font-body); }
html[data-lang="en"] .version-number { font-family: var(--font-logo); }
html[data-lang="zh"] .version-number { font-family: var(--font-chinese); }

/* Roadmap */
.roadmap-status [data-lang-content="ru"] { font-family: var(--font-body); }
.roadmap-status [data-lang-content="en"] { font-family: var(--font-logo); }
.roadmap-status [data-lang-content="zh"] { font-family: var(--font-chinese); }

.roadmap-content h4 [data-lang-content="ru"] { font-family: var(--font-body); }
.roadmap-content h4 [data-lang-content="en"] { font-family: var(--font-logo); }
.roadmap-content h4 [data-lang-content="zh"] { font-family: var(--font-chinese); }

.roadmap-content p [data-lang-content="ru"] { font-family: var(--font-body); }
.roadmap-content p [data-lang-content="en"] { font-family: var(--font-logo); }
.roadmap-content p [data-lang-content="zh"] { font-family: var(--font-chinese); }

/* Features */
.plugin-feature-item [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-feature-item [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-feature-item [data-lang-content="zh"] { font-family: var(--font-chinese); }

.plugin-feature-card h3 [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-feature-card h3 [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-feature-card h3 [data-lang-content="zh"] { font-family: var(--font-chinese); }

.plugin-feature-card p [data-lang-content="ru"] { font-family: var(--font-body); }
.plugin-feature-card p [data-lang-content="en"] { font-family: var(--font-logo); }
.plugin-feature-card p [data-lang-content="zh"] { font-family: var(--font-chinese); }

.feature-badge [data-lang-content="ru"] { font-family: var(--font-body); }
.feature-badge [data-lang-content="en"] { font-family: var(--font-logo); }
.feature-badge [data-lang-content="zh"] { font-family: var(--font-chinese); }
