/* 
========================================================================================
   VoyageTeam Platform Design System (CSS)
   Премиальная темная тема с использованием HSL, эффектами Glassmorphism и Neon Glow.
========================================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Переменные дизайн-системы (Премиальная темная тема) */
:root {
    --bg-primary: #080b11;      /* Глубокий космический темный фон */
    --bg-secondary: #0f131a;    /* Темно-синие карточки */
    --bg-glass: rgba(15, 19, 26, 0.65);
    
    --accent-orange: #ff6b00;   /* Яркий неоновый оранжевый */
    --accent-orange-glow: rgba(255, 107, 0, 0.12);
    --accent-orange-hover: #ff8833;
    
    --accent-cyan: #00f0ff;     /* Яркий неоновый бирюзовый / циановый */
    --accent-cyan-glow: rgba(0, 240, 255, 0.08);
    
    --text-main: #f3f4f6;       /* Светло-серый текст */
    --text-muted: #9ca3af;      /* Приглушенный серый */
    --border-color: rgba(255, 255, 255, 0.08); 
    --border-glow: rgba(255, 107, 0, 0.25);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Сброс базовых стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Декоративные фоновые свечения */
body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-orange-glow) 0%, rgba(252, 250, 242, 0) 70%);
    top: -200px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-cyan-glow) 0%, rgba(252, 250, 242, 0) 75%);
    bottom: 200px;
    left: -200px;
    z-index: -1;
    pointer-events: none;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 1. Header (Шапка) с эффектом Liquid Glass (ProTech Style) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    background: linear-gradient(135deg, rgba(15, 19, 26, 0.8) 0%, rgba(8, 11, 17, 0.65) 100%);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
    padding-top: env(safe-area-inset-top);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 1.5rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-orange);
}

.logo-text {
    color: var(--text-main) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-orange) !important;
}

/* ==========================================
   Central Liquid Glass Pill Menu (ProTech)
   ========================================== */
.portal-nav-pill {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(15, 19, 26, 0.7) 0%, rgba(8, 11, 17, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    padding: 0.35rem 0.5rem;
    border-radius: 40px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    margin: 0 auto; /* Perfect centering */
    position: relative; /* Establish local coordinate context for indicator */
}

/* Скользящий задний фон для активного пункта (Liquid Glass) */
.nav-indicator-pill {
    position: absolute;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #f57c22 100%);
    box-shadow: 0 4px 15px rgba(232, 92, 15, 0.22);
    border-radius: 30px;
    z-index: 1;
    pointer-events: none;
    transition: left 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                top 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity 1s ease-in-out;
    opacity: 0;
}

.nav-pill-item {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted) !important;
    padding: 0.55rem 1.25rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    position: relative;
    z-index: 2; /* Render text labels on top of the orange slider */
}

.nav-pill-item:hover {
    color: var(--accent-orange) !important;
    background: rgba(232, 92, 15, 0.05);
    transform: translateY(-1px);
}

.nav-pill-item.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #f57c22 100%);
    box-shadow: 0 4px 15px rgba(232, 92, 15, 0.22);
}

/* Active styles override when JS loads the dynamic indicator */
.portal-nav-pill.js-active .nav-pill-item.active {
    background: transparent !important;
    box-shadow: none !important;
}

.nav-pill-item.active-text {
    color: #ffffff !important;
}

/* Right Action Header Pill Button (Maximum Contrast Solid Premium Blueprint) */
.btn-header-pill {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #0d3e6d 100%);
    border: none;
    color: #ffffff !important; /* Strict white text color for maximum visibility */
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none !important;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(23, 88, 148, 0.2);
    display: inline-block;
}

.btn-header-pill:hover {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #f57c22 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(232, 92, 15, 0.3);
    transform: translateY(-2px);
}

/* 2. Hero-секция */
.hero {
    padding: 180px 0 100px 0;
    text-align: center;
    position: relative;
}

.hero-tag {
    display: inline-block;
    background: rgba(232, 92, 15, 0.08);
    border: 1px solid rgba(232, 92, 15, 0.15);
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0c3156 30%, #175894 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #d1500a 100%);
    border: none;
    color: #fff;
    padding: 1rem 2.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(232, 92, 15, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(232, 92, 15, 0.4);
}

.btn-secondary {
    background: rgba(23, 88, 148, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 1rem 2.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(23, 88, 148, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(23, 88, 148, 0.1);
}

/* 3. Разделы и Сетка карточек продуктов (Services) */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h1,
.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.section-title h1 span,
.section-title h2 span {
    color: var(--accent-orange);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.services {
    padding: 80px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(12, 49, 86, 0.03);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
    opacity: 0;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 35px rgba(12, 49, 86, 0.08), 0 0 15px rgba(232, 92, 15, 0.05);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 4. Отзывы (Reviews Section) */
.reviews-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0f131a 50%, var(--bg-primary) 100%);
    padding: 100px 0;
}

.reviews-section .section-title p {
    color: #94a3b8 !important; /* Светло-серый подзаголовок по требованию заказчика */
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #0f131a;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(12, 49, 86, 0.03);
    animation: fadeIn 0.6s ease-out both;
}

.review-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 12px 35px rgba(232, 92, 15, 0.08);
}

.review-content {
    font-size: 1rem;
    color: #0f172a; /* Глубокий темно-синий для максимальной читаемости текста отзыва */
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
}

.review-content::before {
    content: '“';
    font-size: 4rem;
    color: rgba(232, 92, 15, 0.1);
    position: absolute;
    top: -25px;
    left: -10px;
    font-family: serif;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(23, 88, 148, 0.08);
    padding-top: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-orange);
}

.review-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a; /* Темный цвет для имени автора */
}

.review-info p {
    font-size: 0.8rem;
    color: #475569; /* Серый контрастный цвет для должности */
}

.review-date {
    margin-left: auto;
    font-size: 0.8rem;
    color: #64748b; /* Контрастная дата */
}

/* Загрузчик (Spinner) */
.loader {
    text-align: center;
    grid-column: 1 / -1;
    padding: 3rem;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

/* 5. Форма заказа (Order Form Section) */
.order-section {
    padding: 100px 0 140px 0;
}

.order-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #0f131a;
    border: 1px solid var(--border-color);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(12, 49, 86, 0.05);
    position: relative;
}

.order-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--accent-orange), transparent, var(--accent-cyan));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.15;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background: #0f131a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.15);
    background: #161b22;
}

.btn-form {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* 6. Footer (Подвал) */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    background: #091526;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent-orange);
}

/* Toast Уведомления */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    min-width: 300px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-orange);
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding-left: 1rem;
}

.toast-close:hover {
    color: var(--text-main);
}

/* Анимации */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   ПОЛНАЯ АДАПТИВНОСТЬ — Mobile First Design System
   Поддержка: 320px (мин. iPhone SE) → 1440px+ (большие мониторы)
   ========================================================================== */

/* ---- Планшеты горизонтальные / небольшие десктопы (≤ 1024px) ---- */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* ---- Планшеты вертикальные (≤ 768px) ---- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    /* Header */
    .header-container {
        height: 64px;
        gap: 0.4rem;
    }

    /* Logo — только SVG иконка, текст скрываем */
    .logo-text {
        display: none !important;
    }

    /* Hide desktop menu elements on tablet/mobile */
    nav.portal-nav-pill,
    .header-right-action .btn-header-pill {
        display: none !important;
    }

    /* Hero */
    .hero {
        padding: 120px 0 60px 0;
    }
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
        line-height: 1.25;
    }
    .hero-tag {
        font-size: 0.78rem;
        padding: 0.35rem 1rem;
    }
    .hero p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 0.85rem;
        padding: 0 1rem;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    /* Sections */
    .services {
        padding: 60px 0;
    }
    .reviews-section {
        padding: 60px 0;
    }
    .order-section {
        padding: 60px 0 80px 0;
    }

    .section-title {
        margin-bottom: 2.5rem;
    }
    .section-title h1,
    .section-title h2 {
        font-size: 1.9rem;
    }
    .section-title p {
        font-size: 0.95rem;
    }

    /* Cards grid — 1 column */
    .grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .card {
        padding: 1.75rem;
    }

    /* Reviews grid — 1 column */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .review-card {
        padding: 1.5rem;
    }

    /* Order form */
    .order-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    /* Footer */
    footer {
        padding: 2rem 0;
    }

    /* Universe control panel */
    .universe-control {
        bottom: 16px;
        right: 16px;
    }
    .universe-panel {
        width: 240px;
        right: -8px;
    }

    /* Blog adaptive layout */
    .ceo-blog-item {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .item-num {
        font-size: 2.2rem !important;
    }
}

/* ---- Мобильные (≤ 480px — iPhone и Android стандарт) ---- */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    /* Header */
    .header-container {
        height: 60px;
        gap: 0.25rem;
    }

    nav.portal-nav-pill {
        padding: 0.15rem 0.2rem;
        gap: 0.05rem;
    }

    .nav-pill-item {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.7rem !important;
    }

    /* Hero */
    .hero {
        padding: 100px 0 50px 0;
    }
    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    .hero p {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    .hero-actions {
        padding: 0 0.5rem;
        gap: 0.75rem;
    }

    /* Sections */
    .section-title h1,
    .section-title h2 {
        font-size: 1.7rem;
    }
    .section-title p {
        font-size: 0.88rem;
    }

    .card {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }
    .card-icon {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .card h3 {
        font-size: 1.2rem;
    }

    .review-card {
        padding: 1.25rem;
    }

    /* Order form */
    .order-wrapper {
        padding: 1.75rem 1.25rem;
        border-radius: 14px;
    }
    .form-control {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    .btn-form {
        padding: 1rem;
        font-size: 1rem;
    }
    .code-inputs {
        gap: 0.35rem !important;
    }
    .code-inputs input {
        width: 2.3rem !important;
        height: 3rem !important;
        font-size: 1.2rem !important;
    }
}

/* ---- Самые маленькие устройства (≤ 360px — старые Android) ---- */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.65rem;
    }
    .nav-pill-item {
        padding: 0.3rem 0.4rem !important;
        font-size: 0.65rem !important;
    }
    .section-title h1,
    .section-title h2 {
        font-size: 1.5rem;
    }
}

/* ---- Большие мониторы (≥ 1280px) ---- */
@media (min-width: 1280px) {
    .hero h1 {
        font-size: 4.2rem;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- Широкие мониторы (≥ 1600px) ---- */
@media (min-width: 1600px) {
    .hero h1 {
        font-size: 4.8rem;
    }
    .container {
        max-width: 1400px;
    }
}

/* 
========================================================================================
   7. АНИМАЦИИ ПЛАВНОГО ПОЯВЛЕНИЯ В СТИЛЕ APPLE (SCROLL-REVEAL SYSTEM)
========================================================================================
*/

/* 1. Стандартное скольжение снизу вверх с плавным затуханием */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Премиальное появление с эффектом расфокусировки и легкого масштабирования */
.reveal-blur {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.97);
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: filter, transform, opacity;
}

.reveal-blur.revealed {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* 3. Боковое появление (Слева направо) */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* 4. Боковое появление (Справа налево) */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* 5. Эффект раскрытия текста "из-под шторки" (Text Mask Reveal) */
.text-mask-container {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}

.reveal-text-mask {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.reveal-text-mask.revealed {
    transform: translateY(0);
}

/* Различные задержки (Staggered Delays) для каскадного появления */
.delay-50 { transition-delay: 50ms; }
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-350 { transition-delay: 350ms; }
.delay-400 { transition-delay: 400ms; }
.delay-450 { transition-delay: 450ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }
.delay-700 { transition-delay: 700ms; }

/* Мягкое появление картинок и логотипов */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ========================================================================================
   8. UNIVERSE CONTROL SETTINGS PANEL (ProTech Glassmorphism)
   ======================================================================================== */
.universe-control {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.universe-toggle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(215, 235, 255, 0.45) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(12, 49, 86, 0.1);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.universe-toggle-btn:hover {
    transform: rotate(45deg) scale(1.08);
    box-shadow: 0 12px 40px rgba(232, 92, 15, 0.18);
}

.universe-panel {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 280px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(225, 240, 255, 0.65) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 12px 40px rgba(12, 49, 86, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.95);
    display: none;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.universe-panel.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.universe-panel h4 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0c3156;
    border-bottom: 1px solid rgba(23, 88, 148, 0.1);
    padding-bottom: 0.5rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.control-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #506680;
    display: flex;
    justify-content: space-between;
}

.control-group input[type="range"] {
    width: 100%;
    accent-color: #e85c0f;
    cursor: pointer;
}

.perf-warning {
    font-size: 0.7rem;
    font-weight: 500;
    color: #175894;
    min-height: 28px;
    background: rgba(23, 88, 148, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    line-height: 1.2;
}




/* ==========================================================================
   ENTERPRISE FOOTER STYLE SYSTEM (GitHub Dark Premium Style)
   ========================================================================== */
.enterprise-footer {
    background-color: #0d1117; /* GitHub Dark main background */
    border-top: 1px solid #21262d; /* GitHub Dark border color */
    color: #c9d1d9; /* GitHub Dark text color */
    padding: 5rem 2rem 3rem 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 14px;
    position: relative;
    z-index: 10;
    text-align: left !important; /* Force left-align */
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    align-items: start;
    text-align: left !important;
}

/* Left Side: Subscriptions */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left !important;
}

.footer-logo-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-align: left !important;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.footer-sub-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-align: left !important;
}

.footer-sub-desc {
    color: #8b949e;
    line-height: 1.5;
    margin: 0;
    font-size: 13px;
    text-align: left !important;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
    text-align: left !important;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    background: #0d1117;
    border: 1px solid #30363d; /* Thin gray border */
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.3);
}

.newsletter-btn {
    background-color: #ff6b00;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.newsletter-btn:hover {
    background-color: #e05e00;
}

.newsletter-agreement {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    text-align: left !important;
}

.newsletter-checkbox {
    accent-color: #ff6b00;
    margin-top: 0.2rem;
}

.newsletter-agreement-text {
    font-size: 12px;
    color: #8b949e;
    line-height: 1.4;
    text-align: left !important;
}

/* Right Side: Columns Links Grid */
.footer-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left !important;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left !important;
}

.footer-column-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff; /* pure white header */
    margin: 0;
    text-transform: none; /* keep original text case */
    text-align: left !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px; /* spacing between items */
    text-align: left !important;
}

.footer-links li {
    text-align: left !important;
}

.footer-links a,
.enterprise-footer a {
    color: #9ca3af !important; /* gentle light-gray links */
    text-decoration: none !important; /* no underlines */
    font-size: 14px;
    transition: color 0.2s ease;
    display: inline-block;
    text-align: left !important;
}

.footer-links a:hover,
.enterprise-footer a:hover {
    color: #ffffff !important; /* elegant pure white hover */
}

/* Bottom Copyright Bar */
.footer-bottom {
    margin-top: 4rem;
    border-top: 1px solid #21262d;
    padding-top: 1.5rem;
}

.footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-copy {
    font-size: 12px;
    color: #8b949e;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon-link {
    color: #8b949e !important;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-svg {
    width: 20px;
    height: 20px;
}

.social-icon-link:hover {
    color: #ffffff !important; /* white hover on social icons too */
}

/* Responsive Overrides (6 брейкпоинтов) */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-bottom-container {
        flex-direction: column-reverse;
        text-align: left;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-right {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .newsletter-input-group {
        flex-direction: column;
        gap: 0.6rem;
    }
    .newsletter-btn {
        width: 100%;
    }
}

/* ==========================================================================
   CEO BLOG STYLE SYSTEM
   ========================================================================== */
.ceo-blog-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0f131a 100%);
    position: relative;
}

.ceo-blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 15px 40px rgba(12, 49, 86, 0.04);
}

.ceo-blog-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(23, 88, 148, 0.08);
    padding-bottom: 1.5rem;
}

.ceo-avatar-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-cyan) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(232, 92, 15, 0.15);
}

.ceo-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ceo-author-details h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.ceo-title {
    font-size: 0.9rem;
    color: var(--accent-orange);
    font-weight: 600;
}

.ceo-blog-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ceo-blog-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.ceo-blog-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
}

.item-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(232, 92, 15, 0.2);
    line-height: 1;
    transition: var(--transition-smooth);
}

.ceo-blog-item:hover .item-num {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.item-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-content h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.item-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.item-content ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.item-content li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.item-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.item-content code {
    background: rgba(23, 88, 148, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
    color: var(--accent-cyan);
}

.ceo-blog-footer {
    margin-top: 4rem;
    border-top: 1px solid rgba(23, 88, 148, 0.08);
    padding-top: 2rem;
    text-align: center;
}

.ceo-blog-signature {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    font-style: italic;
}

/* Responsive overrides for CEO Blog */
@media (max-width: 768px) {
    .ceo-blog-card {
        padding: 2rem 1.5rem;
    }
    .ceo-blog-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .item-num {
        font-size: 2.2rem;
    }
    .item-content h4 {
        font-size: 1.25rem;
    }
    .ceo-blog-intro {
        font-size: 1.05rem;
    }
}

/* ========================================================================================
   VoyageTeam Redesign UI Elements (Dashboard Mock & Hero Pill)
   ======================================================================================== */
.hero-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.25);
    color: var(--accent-orange);
    padding: 0.45rem 1.15rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.dashboard-mock {
    width: 100%;
    max-width: 950px;
    margin: 4.5rem auto 0;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dashboard-chrome-bar {
    display: flex;
    align-items: center;
    background: #161b22;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 1.5rem;
}

.chrome-dots {
    display: flex;
    gap: 0.45rem;
}

.chrome-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.chrome-dot.red { background: #ff5f56; }
.chrome-dot.yellow { background: #ffbd2e; }
.chrome-dot.green { background: #27c93f; }

.chrome-address-bar {
    flex: 1;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.3rem 1rem;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 400px;
}

.dashboard-content {
    padding: 2rem;
    background: #080b11;
}

.dashboard-header-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dashboard-title-group h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
}

.dashboard-title-group p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.dashboard-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--accent-orange);
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dashboard-live-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-orange);
    animation: pulse-glow 1.5s infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 1; }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.dashboard-card {
    background: #0f131a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
}

.dashboard-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.dashboard-card-value {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.dashboard-card-delta {
    font-size: 0.75rem;
    font-weight: 600;
}
.dashboard-card-delta.up { color: #4caf50; }
.dashboard-card-delta.down { color: #ff5252; }
.dashboard-card-delta.neutral { color: var(--text-muted); }

.dashboard-chart-area {
    background: #0f131a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.dashboard-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
}

.chart-title {
    color: #fff;
    font-weight: 600;
}

.chart-ranges {
    display: flex;
    gap: 0.75rem;
    color: var(--text-muted);
}

.chart-range {
    cursor: pointer;
}
.chart-range.active {
    color: var(--accent-orange);
    font-weight: 700;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-header-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* 
========================================================================================
   VoyageTeam Light Theme - Warm Cream & Glassmorphism
========================================================================================
*/

:root.light-theme {
    --bg-primary: #fdfbf7;      /* Теплый кремовый фон */
    --bg-secondary: #ffffff;    /* Белые глянцевые карточки */
    --bg-glass: rgba(255, 255, 255, 0.75);
    
    --accent-orange: #ff6b00;   /* Фирменный оранжевый */
    --accent-orange-glow: rgba(255, 107, 0, 0.08);
    --accent-orange-hover: #e05e00;
    
    --accent-cyan: #175894;     /* Темно-синий для лучшего контраста на светлом */
    --accent-cyan-glow: rgba(23, 88, 148, 0.06);
    
    --text-main: #0f172a;       /* Очень темно-серый (slate-900) для идеального контраста */
    --text-muted: #475569;      /* Slate-600 */
    --border-color: rgba(15, 23, 42, 0.08); 
    --border-glow: rgba(255, 107, 0, 0.2);
}

/* Специфичные стили для светлой темы */
:root.light-theme body {
    background-color: var(--bg-primary);
    color: var(--text-main);
}

:root.light-theme header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(253, 251, 247, 0.75) 100%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

:root.light-theme .logo-text {
    color: #0f172a !important;
}

:root.light-theme .portal-nav-pill {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(253, 251, 247, 0.6) 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 8px 32px rgba(0, 0, 0, 0.05) !important;
}

:root.light-theme .nav-pill-item {
    color: #475569 !important;
}

:root.light-theme .nav-pill-item:hover {
    color: var(--accent-orange) !important;
    background: rgba(255, 107, 0, 0.05) !important;
}

:root.light-theme .nav-pill-item.active-text {
    color: #ffffff !important;
}

:root.light-theme .nav-pill-item.active {
    color: #ffffff !important;
}

:root.light-theme .hero h1 {
    background: linear-gradient(135deg, #0f172a 30%, #1e293b 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #0f172a !important;
}

:root.light-theme .hero p {
    color: #475569 !important;
}

:root.light-theme .hero-actions .btn-secondary {
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
}

:root.light-theme .hero-actions .btn-secondary:hover {
    border-color: var(--accent-orange) !important;
    color: var(--accent-orange) !important;
}

:root.light-theme .card {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

:root.light-theme .card:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(255, 107, 0, 0.3) !important;
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.1) !important;
}

:root.light-theme .card h3 {
    color: #0f172a !important;
}

:root.light-theme .card p {
    color: #475569 !important;
}

:root.light-theme .ceo-blog-card {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 20px 50px rgba(0, 0, 0, 0.03) !important;
}

:root.light-theme .ceo-blog-item {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

:root.light-theme .ceo-blog-item h4 {
    color: #0f172a !important;
}

:root.light-theme .ceo-blog-item p, :root.light-theme .ceo-blog-item li, :root.light-theme .ceo-blog-item ul strong, :root.light-theme .ceo-blog-intro p {
    color: #475569 !important;
}

:root.light-theme .ceo-author-details h3 {
    color: #0f172a !important;
}

:root.light-theme .ceo-avatar-fallback {
    background: var(--accent-orange) !important;
    color: #ffffff !important;
}

:root.light-theme .btn-secondary {
    background: rgba(15, 23, 42, 0.03) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: #0f172a !important;
}

:root.light-theme .btn-secondary:hover {
    background: rgba(15, 23, 42, 0.06) !important;
    border-color: var(--accent-orange) !important;
    color: var(--accent-orange) !important;
}

:root.light-theme .review-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

:root.light-theme .review-card .review-content {
    color: #1f2937 !important;
}

:root.light-theme .review-card .review-info h4 {
    color: #0f172a !important;
}

:root.light-theme .review-card .review-info p {
    color: #475569 !important;
}

:root.light-theme .section-title h1,
:root.light-theme .section-title h2 {
    color: #0f172a !important;
}

:root.light-theme .section-title p {
    color: #475569 !important;
}

:root.light-theme .enterprise-footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

:root.light-theme .footer-logo-text {
    color: #0f172a !important;
}

:root.light-theme .footer-sub-title {
    color: #0f172a !important;
}

:root.light-theme .footer-sub-desc {
    color: #475569 !important;
}

:root.light-theme .footer-column-title {
    color: #0f172a !important;
}

:root.light-theme .footer-links a {
    color: #475569 !important;
}

:root.light-theme .footer-links a:hover {
    color: var(--accent-orange) !important;
}

:root.light-theme .footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
}

:root.light-theme .footer-copy {
    color: #475569 !important;
}

:root.light-theme .social-icon-link {
    color: #475569 !important;
}

:root.light-theme .social-icon-link:hover {
    color: var(--accent-orange) !important;
}

:root.light-theme .newsletter-input {
    background: rgba(15, 23, 42, 0.03) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: #0f172a !important;
}

:root.light-theme .newsletter-input:focus {
    border-color: var(--accent-orange) !important;
    background: #ffffff !important;
}

:root.light-theme .newsletter-agreement-text {
    color: #475569 !important;
}

:root.light-theme .universe-panel {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

:root.light-theme .universe-panel h4 {
    color: #0f172a !important;
}

:root.light-theme .universe-panel label {
    color: #475569 !important;
}

/* Сохраняем темные стили для мок-панели на первом экране */
:root.light-theme .dashboard-mock {
    background: rgba(15, 19, 26, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
}

:root.light-theme .dashboard-chrome-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

:root.light-theme .chrome-address-bar {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Стили формы заказа в светлой теме */
:root.light-theme .order-wrapper {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05) !important;
}

:root.light-theme .form-control {
    background: #f8fafc !important; /* Светло-серый фон инпута */
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: var(--text-main) !important;
}

:root.light-theme .form-control::placeholder {
    color: #94a3b8 !important; /* Slate-400 */
}

:root.light-theme .form-control:focus {
    background: #ffffff !important;
    border-color: var(--accent-orange) !important;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.1) !important;
}

:root.light-theme .checkbox-group {
    background: rgba(15, 23, 42, 0.02) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
}

:root.light-theme .checkbox-group a {
    color: var(--accent-cyan) !important;
}

:root.light-theme .verification-section h3 {
    color: var(--text-main) !important;
}


/* ==========================================
   Mobile Hamburger Menu & Overlay (Premium)
   ========================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 210;
    position: relative;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: left center;
}

/* Hamburger animation on active */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(-2px);
    background-color: var(--accent-orange);
}
.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(2px);
    background-color: var(--accent-orange);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(8, 11, 17, 0.96) 0%, rgba(15, 19, 26, 0.99) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 190;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-20px);
}

:root.light-theme .mobile-menu-overlay {
    background: linear-gradient(135deg, rgba(253, 251, 247, 0.97) 0%, rgba(255, 255, 255, 0.99) 100%);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 75%;
    width: 100%;
    padding: 2rem;
    max-width: 400px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    align-items: center;
    width: 100%;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main) !important;
    text-decoration: none;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(15px);
}

.mobile-menu-overlay.active .mobile-nav-link {
    animation: fadeInSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger animation delay */
.mobile-menu-overlay.active .mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(6) { animation-delay: 0.35s; }

.mobile-nav-link:hover {
    color: var(--accent-orange) !important;
    transform: scale(1.05);
}

.mobile-nav-link.button-link {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #f57c22 100%);
    color: #ffffff !important;
    padding: 0.85rem 2.5rem;
    border-radius: 30px;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(232, 92, 15, 0.25);
    margin-top: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.mobile-contact-link {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.mobile-socials {
    display: flex;
    gap: 1.5rem;
}

.mobile-socials a {
    color: var(--accent-cyan) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide regular navigation on mobile, show hamburger button */
@media (max-width: 768px) {
    nav.portal-nav-pill {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
    }
    .header-right-action .btn-header-pill {
        display: none !important;
    }
}

