/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    /* Colors - Base */
    --bg-primary: #0A0A0F;
    --bg-secondary: #12121A;
    --bg-tertiary: #1A1A2E;
    
    /* Colors - Accents */
    --accent-cyan: #00D9FF;
    --accent-cyan-hover: #00B8D9;
    --accent-purple: #7B2FFF;
    --accent-purple-hover: #6415E0;
    --accent-green: #00FF9D;
    --accent-green-hover: #00CC7A;
    
    /* Colors - Text */
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B0;
    --text-tertiary: #6B6B7B;
    
    /* Typography */
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 2px;
}

.highlight-text {
    color: var(--accent-cyan);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 217, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-cyan);
}

.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
}

.btn-full {
    width: 100%;
}

/* ============================================
   NEURAL BACKGROUND
   ============================================ */
#neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;           /* Подбирайте под ваш дизайн */
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

/* Адаптив для логотипа */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 180px;
    }
}



.logo-main {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    align-self: center;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-cyan);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width var(--transition-medium);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   AI AVATAR
   ============================================ */
.hero-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar-container {
    position: relative;
    width: 300px;
    height: 400px;
    transition: transform var(--transition-medium);
}

.avatar-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 200px;
    background: linear-gradient(180deg, #2A2A3E, #1A1A2E);
    border-radius: 90px 90px 60px 60px;
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3),
                inset 0 0 20px rgba(0, 217, 255, 0.1);
    z-index: 2;
}

.avatar-face {
    position: relative;
    width: 100%;
    height: 100%;
}

.avatar-eyes {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

.eye {
    width: 50px;
    height: 50px;
    background: #0A0A0F;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

.pupil {
    width: 20px;
    height: 20px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: transform 0.1s ease;
}

.avatar-mouth {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
}

.mouth-line {
    width: 100%;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: breathe 3s infinite ease-in-out;
}

.avatar-antenna {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.antenna-base {
    width: 40px;
    height: 20px;
    background: #2A2A3E;
    border-radius: 5px 5px 0 0;
}

.antenna-stick {
    width: 6px;
    height: 30px;
    background: var(--accent-cyan);
}

.antenna-light {
    width: 16px;
    height: 16px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan);
    animation: blink 2s infinite;
}

.avatar-body {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 220px;
    background: linear-gradient(180deg, #1A1A2E, #0F0F1A);
    border-radius: 40px 40px 60px 60px;
    border: 3px solid var(--accent-purple);
    box-shadow: 0 0 30px rgba(123, 47, 255, 0.3),
                inset 0 0 20px rgba(123, 47, 255, 0.1);
    z-index: 1;
}

.body-chest {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 80px;
}

.chest-panel {
    width: 100%;
    height: 100%;
    background: #0A0A0F;
    border-radius: 10px;
    border: 2px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-light {
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 5px;
    opacity: 0.8;
    animation: glow 2s infinite;
}

.avatar-arms {
    position: absolute;
    top: 60px;
    width: 100%;
}

.arm {
    position: absolute;
    width: 40px;
    height: 120px;
    background: linear-gradient(180deg, #2A2A3E, #1A1A2E);
    border-radius: 20px;
    border: 2px solid var(--text-tertiary);
}

.arm-left {
    left: -30px;
    transform: rotate(10deg);
}

.arm-right {
    right: -30px;
    transform: rotate(-10deg);
}

.avatar-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 60px;
    background: radial-gradient(ellipse, rgba(0, 217, 255, 0.4), transparent 70%);
    filter: blur(20px);
    animation: pulse 3s infinite;
}

.avatar-hint {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ============================================
   PHILOSOPHY SECTION - UPDATED
   ============================================ */
.philosophy {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-lead {
    font-size: 20px;
    line-height: 2;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-secondary);
}

.philosophy-lead .highlight-text {
    color: var(--accent-cyan);
    font-weight: 500;
    position: relative;
}

.philosophy-lead .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.philosophy-card {
    background: var(--bg-tertiary);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.philosophy-card:hover::before {
    transform: scaleX(1);
}

.philosophy-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.15);
}

/* ============================================
   NEURAL ICONS
   ============================================ */
.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Уменьшаем иконку */
.case-neural-icon {
    width: 100px;           /* Было: 100px */
    height: 100px;          /* Было: 100px */
    margin-bottom: 12px;   /* Добавлено: отступ до текста */
}

.neural-icon {
    width: 80px;
    height: 80px;
}

/* Узлы иконки */
.neural-node {
    fill: var(--accent-cyan);
    transition: all var(--transition-medium);
}

.neural-line {
    stroke: var(--accent-cyan);
    stroke-width: 1.5;
    opacity: 0.6;
}

.neural-line-dashed {
    stroke: var(--accent-purple);
    stroke-width: 1.5;
    stroke-dasharray: 4, 4;
    opacity: 0.8;
}

/* Пульсация */
.neural-pulse {
    fill: var(--accent-cyan);
    animation: neuralPulse 2s infinite;
    opacity: 0.4;
}

@keyframes neuralPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.4; 
    }
    50% { 
        transform: scale(1.5); 
        opacity: 0.8; 
    }
}

/* Текст под иконкой */
.placeholder-label {
    display: block;
    font-size: 20px;
    font-weight: 600;      /* Увеличили жирность */
    color: var(--text-primary);
    margin-top: 8px;       /* Отступ сверху */
    text-align: center;
    letter-spacing: 0.3px;
}


/* Hover animation for icons */
.philosophy-card:hover .neural-node {
    fill: var(--text-primary);
    transition: fill var(--transition-medium);
}

.philosophy-card:hover .neural-line {
    stroke: var(--text-primary);
    transition: stroke var(--transition-medium);
}

.philosophy-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.philosophy-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.tech-stack-section {
    padding: 100px 0;
    
    position: relative;
}

.tech-stack-section .section-title {
    text-align: center;
    margin-bottom: 16px;
}

.tech-stack-section .section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;

}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-category {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.tech-category:hover {
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.tech-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-category-icon {
    font-size: 32px;
    line-height: 1;
}

.tech-category-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 8px;
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

/* Адаптив */
@media (max-width: 1024px) {
    .tech-stack-section {
        padding: 80px 0;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tech-stack-section {
        padding: 60px 0;
    }
    
    .tech-stack-section .section-subtitle {
        margin-bottom: 40px;
        font-size: 14px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tech-category {
        padding: 24px;
    }
    
    .tech-category-header h3 {
        font-size: 16px;
    }
    
    .tech-category-icon {
        font-size: 28px;
    }
    
    .tech-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .tech-stack-section {
        padding: 50px 0;
    }
    
    .tech-list {
        gap: 8px;
    }
    
    .tech-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* ============================================
   RESPONSIVE - PHILOSOPHY
   ============================================ */
@media (max-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-lead {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .philosophy-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        width: 80px;
        height: 80px;
    }
    
    .neural-icon {
        width: 60px;
        height: 60px;
    }
    
    .philosophy-quote {
        padding: 25px;
    }
    
    .philosophy-quote p {
        font-size: 16px;
    }
}

/* ============================================
   DIRECTIONS SECTION - COMPLETE STYLES
   ============================================ */

.directions {
    padding: var(--section-padding) 0;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.direction-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.direction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.direction-ai-agents::before {
    background: linear-gradient(90deg, var(--accent-green), transparent);
}

.direction-rag::before {
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

.direction-analytics::before {
    background: linear-gradient(90deg, var(--accent-purple), transparent);
}

.direction-card:hover::before {
    transform: scaleX(1);
}

.direction-card:hover {
    transform: translateY(-10px);
}

.direction-ai-agents:hover {
    border-color: var(--accent-green);
    box-shadow: 0 10px 40px rgba(0, 255, 157, 0.2);
}

.direction-rag:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
}

.direction-analytics:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 10px 40px rgba(123, 47, 255, 0.2);
}

/* ============================================
   DIRECTION ICON WRAPPER
   ============================================ */

.direction-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium);
}

.direction-card:hover .direction-icon-wrapper {
    background: var(--bg-primary);
}

.direction-ai-agents:hover .direction-icon-wrapper {
    border-color: var(--accent-green);
}

.direction-rag:hover .direction-icon-wrapper {
    border-color: var(--accent-cyan);
}

.direction-analytics:hover .direction-icon-wrapper {
    border-color: var(--accent-purple);
}

/* ============================================
   NEURAL ICON STYLES
   ============================================ */

.direction-icon {
    width: 80px;
    height: 80px;
    display: block;
    overflow: visible;
}

.direction-icon .neural-node {
    fill: var(--accent-cyan);
    transition: fill var(--transition-medium);
}

.direction-icon .neural-line {
    stroke: var(--accent-cyan);
    stroke-width: 1.5;
    opacity: 0.6;
    transition: stroke var(--transition-medium);
}

/* ============================================
   DIRECTION-SPECIFIC COLORS
   ============================================ */

.direction-ai-agents .neural-node,
.direction-ai-agents .neural-line,
.direction-ai-agents .neural-pulse,
.direction-ai-agents .neural-scan-line {
    fill: var(--accent-green);
    stroke: var(--accent-green);
}

.direction-ai-agents .neural-pulse {
    fill: var(--accent-green);
}

.direction-rag .neural-node,
.direction-rag .neural-line,
.direction-rag .neural-pulse {
    fill: var(--accent-cyan);
    stroke: var(--accent-cyan);
}

.direction-rag .neural-pulse {
    fill: var(--accent-cyan);
}

.direction-analytics .neural-node,
.direction-analytics .neural-line,
.direction-analytics .neural-pulse,
.direction-analytics .neural-orbit {
    fill: var(--accent-purple);
    stroke: var(--accent-purple);
}

.direction-analytics .neural-pulse {
    fill: var(--accent-purple);
}

/* ============================================
   NEURAL ICON ANIMATIONS
   ============================================ */

/* Pulse Animation (All) */
.neural-pulse {
    fill: var(--accent-cyan);
    animation: neuralPulse 2s infinite ease-in-out;
}

@keyframes neuralPulse {
    0%, 100% {
        opacity: 1;
        r: 4;
    }
    50% {
        opacity: 0.4;
        r: 6;
    }
}

/* Scan Line Animation (MedTech) */
.neural-scan-line {
    stroke: var(--accent-green);
    stroke-width: 2;
    opacity: 0.3;
    stroke-dasharray: 60, 60;
    animation: scanMove 3s infinite ease-in-out;
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes scanMove {
    0%, 100% {
        opacity: 0.2;
        stroke-dashoffset: 0;
    }
    50% {
        opacity: 0.8;
        stroke-dashoffset: -60;
    }
}

/* Orbit Animation (Personal) */
.neural-orbit {
    fill: none;
    stroke: var(--accent-purple);
    stroke-width: 1;
    opacity: 0.3;
    stroke-dasharray: 20, 15;
    animation: orbitRotate 10s infinite linear;
    transform-box: fill-box;
    transform-origin: center;
}

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

/* Node Glow Animation (Business) */
.direction-rag .neural-node {
    animation: nodeGlow 3s infinite ease-in-out;
}

.direction-rag .neural-node:nth-child(odd) {
    animation-delay: 0.5s;
}

.direction-rag .neural-node:nth-child(even) {
    animation-delay: 1s;
}

@keyframes nodeGlow {
    0%, 100% {
        fill: var(--accent-cyan);
        opacity: 1;
    }
    50% {
        fill: var(--text-primary);
        opacity: 0.6;
    }
}

/* ============================================
   HOVER EFFECTS - ENHANCED
   ============================================ */

/* MedTech hover - scan line speeds up */
.direction-ai-agents:hover .neural-scan-line {
    animation-duration: 1.5s;
    opacity: 0.6;
}

/* Business hover - nodes glow brighter */
.direction-rag:hover .neural-node {
    animation: nodeGlowHover 1s infinite ease-in-out;
}

@keyframes nodeGlowHover {
    0%, 100% {
        fill: var(--text-primary);
        opacity: 1;
    }
    50% {
        fill: var(--accent-cyan);
        opacity: 0.8;
    }
}

/* Personal hover - orbit rotates faster */
.direction-analytics:hover .neural-orbit {
    animation-duration: 5s;
    opacity: 0.6;
}

/* Icon hover - nodes and lines turn white */
.direction-card:hover .neural-node {
    fill: var(--text-primary);
}

.direction-card:hover .neural-line {
    stroke: var(--text-primary);
}

/* ============================================
   DIRECTION CARD CONTENT
   ============================================ */

.direction-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-primary);
}

.direction-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.direction-features {
    margin-bottom: 30px;
}

.direction-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    padding-left: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.direction-features li::before {
    content: '◈';
    position: absolute;
    left: 0;
    font-size: 12px;
}

.direction-ai-agents .direction-features li::before {
    color: var(--accent-green);
}

.direction-rag .direction-features li::before {
    color: var(--accent-cyan);
}

.direction-analytics .direction-features li::before {
    color: var(--accent-purple);
}

.direction-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.direction-ai-agents .direction-link {
    color: var(--accent-green);
}

.direction-rag .direction-link {
    color: var(--accent-cyan);
}

.direction-analytics .direction-link {
    color: var(--accent-purple);
}

.direction-link:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

/* ============================================
   RESPONSIVE - DIRECTIONS
   ============================================ */

@media (max-width: 1024px) {
    .directions-grid {
        grid-template-columns: 1fr;
    }
    
    .direction-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .direction-icon {
        width: 60px;
        height: 60px;
    }
    
    .direction-card {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .direction-card {
        padding: 30px 25px;
    }
    
    .direction-icon-wrapper {
        width: 90px;
        height: 90px;
    }
    
    .direction-icon {
        width: 50px;
        height: 50px;
    }
    
    .direction-card h3 {
        font-size: 20px;
    }
    
    .direction-description {
        font-size: 14px;
    }
    
    .direction-features li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .direction-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .direction-icon {
        width: 45px;
        height: 45px;
    }
    
    .direction-card {
        padding: 25px 20px;
    }
}

/* ============================================
   SVG RENDERING FIXES
   ============================================ */

/* Force animation rendering */
.neural-scan-line,
.neural-orbit,
.neural-pulse,
.neural-node {
    will-change: transform, opacity, stroke-dashoffset;
    backface-visibility: hidden;
}

/* Safari fix */
@supports (-webkit-appearance: none) {
    .neural-orbit {
        -webkit-transform-origin: center;
        transform-origin: center;
    }
}

/* Firefox fix */
@-moz-document url-prefix() {
    .neural-scan-line {
        transform-origin: 50% 50%;
    }
}

/* ============================================
   CASES SECTION - CLEANED & CENTERED
   ============================================ */
.cases {
    padding: 100px 0;
    background: var(--bg-primary);
}

.cases .section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* Сетка карточек: 4 колонки, центрированная */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
}

/* Карточка кейса */
.case-card {
    background: var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.15);
}

/* Цвета границ при наведении по категориям */
.case-card[data-category="personal"]:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(123, 47, 255, 0.15);
}

.case-card[data-category="rag"]:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.15);
}

.case-card[data-category="agents"]:hover {
    border-color: var(--accent-green);
    box-shadow: 0 20px 40px rgba(0, 255, 157, 0.15);
}

/* Изображение кейса */
.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 217, 255, 0.1) 0%, 
        rgba(123, 47, 255, 0.1) 100%);
    padding: 20px;
}

.placeholder-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 15px;
    text-align: center;
}

/* SVG иконки в карточках */
.case-neural-icon {
    width: 100px;
    height: 100px;
}

.neural-node {
    fill: var(--accent-cyan);
    transition: fill var(--transition-medium);
}

.neural-line {
    stroke: var(--accent-cyan);
    stroke-width: 1.5;
    opacity: 0.6;
    transition: all var(--transition-medium);
}

.neural-pulse {
    fill: none;
    stroke: var(--accent-cyan);
    stroke-width: 2;
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { r: 4; opacity: 0.8; }
    50% { r: 8; opacity: 0.3; }
    100% { r: 4; opacity: 0; }
}

/* Ховер-эффекты для SVG */
.case-card:hover .neural-node {
    fill: var(--accent-purple);
}

.case-card:hover .neural-line {
    stroke: var(--accent-purple);
    opacity: 0.9;
}

/* Astro AI: лунная иконка */
.astro-moon {
    fill: #FFD93D;
    filter: drop-shadow(0 0 8px rgba(255, 217, 61, 0.6));
}

.case-card[data-category="personal"]:hover .astro-moon {
    fill: var(--accent-purple);
    filter: drop-shadow(0 0 12px var(--accent-purple));
}

/* Оверлей с кнопкой */
.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.case-image:hover .case-overlay {
    opacity: 1;
}

.case-view-btn {
    padding: 12px 32px;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.case-image:hover .case-view-btn {
    transform: translateY(0);
}

/* Контент карточки */
.case-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
    align-self: flex-start;
}

.tag-personal {
    background: rgba(123, 47, 255, 0.1);
    color: var(--accent-purple);
    border: 1px solid var(--accent-purple);
}

.tag-business {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.tag-medtech {
    background: rgba(0, 255, 157, 0.1);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.case-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    flex-shrink: 0;
}

.case-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Технологический стек */
.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.case-tech span {
    padding: 6px 12px;
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1400px) {
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .case-image {
        height: 200px;
    }
    
    .case-neural-icon {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .cases {
        padding: 80px 0;
    }
    
    .cases .section-title {
        margin-bottom: 40px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .case-image {
        height: 180px;
    }
    
    .case-neural-icon {
        width: 80px;
        height: 80px;
    }
    
    .neural-node { r: 2; }
    .neural-line { stroke-width: 1; }
    
    .placeholder-label {
        font-size: 13px;
    }
    
    .case-title {
        font-size: 17px;
    }
    
    .case-content {
        padding: 20px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 80px 0;
    background: var(--bg-primary);
}

.contact .container {
    max-width: 900px;
    margin: 0 auto;
}

.contact .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Contact details - 3 колонки */
.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
    text-decoration: none;
}

.contact-item:hover {
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 32px;
    line-height: 1;
}

.contact-item a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent-cyan);
}

/* Адаптив */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact .section-title {
        margin-bottom: 40px;
    }
    
    .contact-info h3 {
        font-size: 20px;
    }
    
    .contact-info > p {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    /* На мобильных: 1 колонка */
    .contact-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-item {
        flex-direction: row;
        justify-content: center;
        padding: 16px;
    }
    
    .contact-icon {
        font-size: 24px;
    }
    
    .contact-item a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
    }
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
}

.footer-text {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes breathe {
    0%, 100% { width: 60px; }
    50% { width: 70px; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

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

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-avatar {
        order: 1;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .directions-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .avatar-container {
        width: 220px;
        height: 300px;
    }
    
    .avatar-head {
        width: 130px;
        height: 150px;
    }
    
    .avatar-body {
        width: 150px;
        height: 170px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .cases-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   UTILITY CLASSES FOR JS
   ============================================ */
.case-card.hidden {
    display: none;
}

.case-card.fade-in {
    animation: fadeInUp 0.5s ease;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */

.partners-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.partner-card:hover {
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.partner-logo {
    width: 140px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.partner-card:hover .partner-logo img {
    opacity: 1;
}

.partner-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-name {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Адаптив */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
    }
    
    .partner-card {
        padding: 30px 24px;
    }
    
    .partner-logo {
        width: 140px;
        height: 140px;
    }
    
    .partner-label {
        font-size: 12px;
    }
    
    .partner-name {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 50px 0;
    }
    
    .partner-logo {
        width: 120px;
        height: 120px;
    }
}

/* Обрезаем всё, что выходит за пределы секции */
.cases {
    overflow: hidden;
    position: relative;
}

/* Слайдер-трек: выстраиваем в ряд, запрещаем перенос */
.cases-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 2rem;
    will-change: transform;
    /* Уберите overflow: hidden, если он был добавлен через JS ранее */
}

/* Карточка: фиксированная ширина, запрет на сжатие/растяжение */
.case-card {
    flex: 0 0 380px !important;
    max-width: 380px;
    width: 380px;
    /* Ваши существующие стили карточки остаются ниже */
}



/* ============================================
   🤖 АНИМАЦИЯ РОБОТА + ФИКС МОБИЛЬНОЙ ВЕРСТКИ
   ============================================ */

/* Базовая анимация парения (для всех экранов) */
@keyframes robotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.avatar-container {
    animation: robotFloat 4s ease-in-out infinite;
    will-change: transform; /* Оптимизация рендера */
}

/* ============================================
   АДАПТИВНОСТЬ (MOBILE)
   ============================================ */

@media (max-width: 768px) {
    /* 1. БЛОК КЕЙСОВ: друг под другом */
    
    .cases-grid {
        flex-direction: column !important;
        grid-template-columns: 1fr !important; /* На случай, если используется grid */
        align-items: center !important;
        height: auto !important;
        overflow: visible !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .case-card {
        width: 100% !important;
        max-width: 450px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 0 0 500px !important;
    }

    .case-card {
        cursor: pointer;
        position: relative;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .case-card:active {
        transform: scale(0.98);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    /* Ссылка "Подробнее" остаётся кликабельной */
    .case-link {
        pointer-events: auto;
        z-index: 2;
        position: relative;
    }
    
    

    /* 🔹 РОБОТ: пропорциональное уменьшение без искажений */
    
    .hero-content {
        gap: 20px;
        padding: 30px 15px;
    }
    
    .hero-avatar {
        order: 1; /* Робот всё равно первый */
    }
    
    .avatar-container {
        max-width: 280px;
        /* Комбинируем масштаб + анимацию */
        animation: robotFloatMobile 3.5s ease-in-out infinite;
    }

    .hero-text {
        order: 2; /* Текст второй */
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
    }

    /* 1. Уменьшаем зазор между головой и телом */
    .avatar-head {
        margin-bottom: -12px !important;
    }
    .avatar-body {
        margin-top: -8px !important;
    }

    .mouth-line {
        margin-top: 30px !important;
    }

    /* 2. Уменьшаем глаза (пропорционально с зрачками) */
    .eye {
        width: 30px !important;
        height: 30px !important;
    }
    .eye .pupil {
        width: 10px !important;
        height: 10px !important;
    }

    /* 3. Поднимаем руки */
    .avatar-arms {
        transform: translateY(-30px) !important;
        position: relative;
        z-index: 2; /* Чтобы руки корректно накладывались на тело */
    }

    /* Анимация специально для мобильных (масштаб + парение) */
@keyframes robotFloatMobile {
    0%, 100% { transform: scale(0.9) translateY(0); }
    50% { transform: scale(0.9) translateY(-8px); }
}
}

/* ============================================
   LOGO & FAVICON STYLES
   ============================================ */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 6px; /* слегка скруглим углы */
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    line-height: 1.2;
}

.logo-text span {
    color: var(--accent-cyan, #00D9FF);
}

/* Адаптив для мобильных: чуть уменьшаем логотип */
@media (max-width: 768px) {
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    .logo-text {
        font-size: 1.05rem;
    }
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.footer {
    background: var(--bg-primary, #0a0a0f);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content span{
    display: flex;
    flex-direction: column;
    align-items: center; /* По умолчанию слева */
    gap: 8px;
    margin-top: 10 px;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    letter-spacing: 0.02em;
}

.logo-sub {
    font-size: 0.95rem;
    color: var(--text-secondary, #8b8b9a);
    line-height: 1.5;
    max-width: 600px;
}

/* ============================================
   MOBILE ADAPTATION
   ============================================ */
@media (max-width: 768px) {
    .footer {
        padding: 24px 16px;
    }

    .footer-content {
        align-items: center; /* Центрирование по горизонтали */
        text-align: center;  /* Центрирование текста */
    }

    .logo-main {
        font-size: 1.1rem;
    }

    .logo-sub {
        font-size: 0.85rem;
        max-width: 100%;
        padding: 0 8px;
    }
}