/* Sport IT Tech - Оптимизированный CSS v2.0 */
/* Mobile-first, минимизированный, кросс-браузерный */

:root {
    --primary: #2563eb; --primary-dark: #1d4ed8; --secondary: #7c3aed;
    --accent: #f59e0b; --text: #1f2937; --text-light: #6b7280;
    --bg: #fff; --bg-light: #f9fafb; --bg-dark: #111827;
    --border: #e5e7eb; --success: #10b981;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius: 0.5rem; --radius-lg: 0.75rem;
    --space-sm: 1rem; --space: 1.5rem; --space-lg: 2rem; --space-xl: 3rem;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ===== БАЗОВЫЕ КОМПОНЕНТЫ ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--space); }
.section { padding: var(--space-xl) 0; }
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-title { font-size: 1.75rem; font-weight: 700; margin-bottom: var(--space-sm); line-height: 1.2; }
.section-subtitle { color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.98); 
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); z-index: 1000;
    padding: 1rem 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--space); }
.logo { display: flex; flex-direction: column; text-decoration: none; z-index: 1001; }
.logo-text { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.logo-tagline { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; font-weight: 500; }

/* Мобильное меню */
.menu-toggle { 
    display: block; background: none; border: none; font-size: 1.5rem; 
    cursor: pointer; color: var(--text); padding: 0.5rem; border-radius: var(--radius);
    transition: all 0.2s; z-index: 1001; -webkit-appearance: none; appearance: none;
}
.menu-toggle:hover { background: var(--bg-light); color: var(--primary); }
.menu-toggle i { transition: transform 0.3s; }
.menu-toggle.active i { transform: rotate(90deg); }

.nav-links { 
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 5rem var(--space) var(--space); flex-direction: column; gap: 1.5rem;
    z-index: 1000; overflow-y: auto;
}
.nav-links.active { 
    display: flex; animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.nav-links a { 
    text-decoration: none; color: var(--text); font-weight: 600; font-size: 1.125rem;
    padding: 0.75rem 0; border-bottom: 1px solid var(--border); transition: all 0.2s;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-links a:last-child { border-bottom: none; }
.nav-links a:hover { color: var(--primary); padding-left: 0.5rem; }
.nav-links a::after { content: '→'; color: var(--primary); opacity: 0; transition: opacity 0.2s; }
.nav-links a:hover::after { opacity: 1; }

.nav-cta { margin-top: 2rem; padding: 1rem; background: var(--bg-light); border-radius: var(--radius-lg); text-align: center; }
.nav-cta .btn { width: 100%; justify-content: center; }

/* Десктоп меню */
@media (min-width: 768px) {
    .navbar { padding: 1.25rem 0; }
    .nav-content { padding: 0 var(--space-lg); }
    .menu-toggle { display: none; }
    .nav-links { 
        display: flex; position: static; flex-direction: row; gap: 2rem; 
        background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
        padding: 0; animation: none;
    }
    .nav-links a { 
        font-size: 1rem; font-weight: 500; padding: 0; border-bottom: none;
        position: relative;
    }
    .nav-links a:hover { padding-left: 0; }
    .nav-links a::after { 
        content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
        height: 2px; background: var(--primary); transform: scaleX(0);
        transition: transform 0.2s;
    }
    .nav-links a:hover::after { transform: scaleX(1); }
    .nav-links a::after { content: none; }
    .nav-cta { display: none; }
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: var(--space-sm) var(--space-lg); font-weight: 600;
    text-decoration: none; border-radius: var(--radius);
    border: 2px solid transparent; cursor: pointer;
    transition: all 0.2s; white-space: nowrap; gap: var(--space-xs);
    -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: white; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover, .btn-secondary:focus { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-large { padding: var(--space) var(--space-xl); font-size: 1.125rem; }
.btn-xlarge { padding: var(--space-lg) var(--space-2xl); font-size: 1.25rem; border-radius: var(--radius-lg); }

/* ===== HERO СЕКЦИЯ ===== */
.hero {
    padding-top: calc(var(--space-xl) + 60px); padding-bottom: var(--space-xl);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
@media (min-width: 768px) {
    .hero { padding-top: calc(var(--space-xl) + 80px); min-height: 100vh; display: flex; align-items: center; }
}
.hero-content { display: flex; flex-direction: column; gap: var(--space-xl); }
@media (min-width: 1024px) { .hero-content { flex-direction: row; align-items: center; } }
.hero-text { flex: 1; }
.hero-title { 
    font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: var(--space);
}
@media (min-width: 768px) { .hero-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3rem; } }
.highlight { color: var(--primary); position: relative; }
.highlight::after {
    content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
    height: 6px; background: rgba(37,99,235,0.2); z-index: -1;
}
.hero-subtitle { color: var(--text-light); margin-bottom: var(--space-xl); max-width: 600px; }
.hero-cta { display: flex; flex-direction: column; gap: var(--space); margin-bottom: var(--space-xl); }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
.hero-stats { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-xl); }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--space); background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform 0.3s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-number { font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { color: var(--text-light); margin-top: 0.25rem; font-size: 0.875rem; }

.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.phone-mockup {
    position: relative;
    width: 240px; height: 480px;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@media (min-width: 768px) { .phone-mockup { width: 280px; height: 560px; } }

.phone-frame {
    width: 100%; height: 100%; background: #1f2937;
    border-radius: 40px; padding: 12px; position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.phone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 20px; background: #1f2937;
    border-bottom-left-radius: 15px; border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%; height: 100%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px; overflow: hidden; position: relative;
}

.app-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

.app-logo {
    font-weight: 800; font-size: 18px; color: white;
}
.app-logo span { color: #f59e0b; }

.app-time {
    color: white; font-size: 14px; font-weight: 600;
}

.app-content {
    padding: 20px;
}

.tournament-card {
    background: rgba(255, 255, 255, 0.95); border-radius: 20px;
    padding: 20px; margin-bottom: 20px; position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tournament-badge {
    position: absolute; top: -8px; right: 20px;
    background: #10b981; color: white; padding: 4px 12px;
    border-radius: 12px; font-size: 12px; font-weight: 700;
}

.tournament-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 15px;
}

.tournament-title {
    font-weight: 700; font-size: 16px; color: #1f2937;
}

.tournament-prize {
    display: flex; align-items: center; gap: 6px;
    color: #f59e0b; font-weight: 600; font-size: 14px;
}

.tournament-progress {
    margin-bottom: 15px;
}

.progress-info {
    display: flex; justify-content: space-between;
    margin-bottom: 8px; font-size: 12px; color: #6b7280;
}

.progress-bar {
    height: 8px; background: #e5e7eb; border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%; background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

.tournament-action {
    text-align: center;
}

.app-button {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white; border: none; padding: 12px 24px;
    border-radius: 12px; font-weight: 600; font-size: 14px;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 8px; width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.app-button:hover {
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.stats-card {
    background: rgba(255, 255, 255, 0.9); border-radius: 16px;
    padding: 15px; margin-bottom: 20px;
}

.stats-row {
    display: flex; justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 20px; font-weight: 800; color: #3b82f6;
    line-height: 1;
}

.stat-label {
    font-size: 11px; color: #6b7280; margin-top: 4px;
}

.app-nav {
    display: flex; justify-content: space-around;
    background: rgba(255, 255, 255, 0.95); border-radius: 20px;
    padding: 12px; position: absolute; bottom: 20px;
    left: 20px; right: 20px;
}

.nav-item {
    display: flex; flex-direction: column; align-items: center;
    color: #9ca3af; font-size: 10px; transition: color 0.2s;
}
.nav-item.active { color: #3b82f6; }
.nav-item i { font-size: 16px; margin-bottom: 4px; }

.floating-element {
    position: absolute; width: 40px; height: 40px;
    background: white; border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #3b82f6; font-size: 18px;
    animation: float-element 4s ease-in-out infinite;
}

.element-1 {
    top: -20px; right: -20px; animation-delay: 0s;
}
.element-2 {
    bottom: 30px; left: -30px; animation-delay: 1s;
}
.element-3 {
    bottom: -15px; right: 40px; animation-delay: 2s;
}

@keyframes float-element {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* ===== ДЛЯ КОГО ===== */
.for-whom { background: var(--bg-light); }
.audience-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 768px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: repeat(4, 1fr); } }
.audience-card {
    background: white; border-radius: var(--radius-lg); padding: var(--space);
    box-shadow: var(--shadow); border: 1px solid var(--border);
    transition: transform 0.3s; position: relative; overflow: hidden;
}
.audience-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.audience-icon {
    width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.5rem; margin-bottom: var(--space);
}
.audience-title { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--space-sm); }
.audience-description { color: var(--text-light); margin-bottom: var(--space); line-height: 1.6; }
.audience-benefits { list-style: none; }
.audience-benefits li { display: flex; align-items: center; margin-bottom: 0.5rem; }
.audience-benefits i { color: var(--success); margin-right: 0.5rem; }

/* ===== КАК РАБОТАЕТ ===== */
.steps { display: flex; flex-direction: column; gap: var(--space-xl); margin-bottom: var(--space-xl); }
@media (min-width: 768px) { .steps { flex-direction: row; flex-wrap: wrap; justify-content: center; } .step { flex: 1; min-width: 250px; } }
.step { display: flex; gap: var(--space); }
.step-number {
    flex-shrink: 0; width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700;
}
.step-title { font-weight: 700; margin-bottom: 0.25rem; }
.step-description { color: var(--text-light); line-height: 1.6; }

.features { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); margin-top: var(--space-xl); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature {
    text-align: center; padding: var(--space); background: white;
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    transition: transform 0.3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2rem; color: var(--primary); margin-bottom: var(--space); }
.feature-title { font-weight: 700; margin-bottom: 0.5rem; }
.feature-description { color: var(--text-light); }

/* ===== КЕЙСЫ ===== */
.cases { background: var(--bg-light); }
.case-studies { display: flex; flex-direction: column; gap: var(--space-xl); }
.case-featured {
    background: white; border-radius: var(--radius-lg); padding: var(--space-xl);
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    display: flex; flex-direction: column;
}
.case-badge {
    display: inline-block; background: var(--accent); color: white;
    padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.875rem;
    font-weight: 600; margin-bottom: var(--space);
}
.case-client { display: flex; align-items: center; gap: var(--space); margin-bottom: var(--space); }
.client-logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.client-industry { color: var(--text-light); }
.case-title { font-size: 1.5rem; font-weight: 700; margin-bottom: var(--space); }
.case-description { color: var(--text-light); margin-bottom: var(--space-xl); line-height: 1.6; }
.case-results { display: flex; gap: var(--space-xl); }
@media (max-width: 767px) { .case-results { flex-direction: column; gap: var(--space); } }
.result { display: flex; flex-direction: column; align-items: center; }
.result-number { font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.result-label { color: var(--text-light); font-size: 0.875rem; }

.case-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card { 
    background: white; border-radius: var(--radius-lg); padding: var(--space); 
    box-shadow: var(--shadow); border: 1px solid var(--border);
    display: flex; flex-direction: column;
}
.case-content { flex: 1; display: flex; flex-direction: column; }
.case-buttons { margin-top: auto; padding-top: var(--space); }
.case-button {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; background: var(--primary); color: white;
    padding: 10px 20px; border-radius: var(--radius);
    text-decoration: none; font-weight: 600; font-size: 0.875rem;
    transition: all 0.3s; border: 2px solid transparent;
    width: 100%; text-align: center;
}
.case-button:hover {
    background: white; color: var(--primary);
    border-color: var(--primary); transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.case-button i { font-size: 0.875rem; }

/* ===== ПРЕИМУЩЕСТВА ===== */
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.advantages-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .advantages-container {
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
}

.advantages-left,
.advantages-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

    display: none;
}

@media (min-width: 1024px) {
        display: block;
    }
}

/* Интерактивные карточки преимуществ */
.advantage-card.interactive {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.advantage-card.interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

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

.advantage-card.interactive:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.advantage-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space);
    margin-bottom: var(--space);
}

.advantage-icon-wrapper {
    position: relative;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.pulse-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    flex: 1;
    margin: 0;
}

.advantage-badge {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.advantage-description {
    color: var(--text-light);
    margin-bottom: var(--space);
    line-height: 1.6;
}

.advantage-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.advantage-details.active {
    max-height: 300px;
    margin-bottom: var(--space);
}

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

.advantage-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 0.95rem;
}

.advantage-list li i {
    color: var(--success);
    font-size: 1rem;
    margin-top: 2px;
}

.advantage-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.advantage-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.advantage-toggle.active i {
    transform: rotate(180deg);
}

.advantage-toggle i {
    transition: transform 0.3s;
}

/* Визуализация в центре */
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    color: var(--primary);
    font-size: 1.5rem;
}

.element-1 {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.element-2 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.element-3 {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

    text-align: center;
    z-index: 2;
}

.core-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.core-subtext {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
}

    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 100px;
    animation: float 6s ease-in-out infinite;
}

.bubble-1 {
    top: -20px;
    left: 0;
    animation-delay: 0s;
}

.bubble-2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.bubble-3 {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

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

.stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* Дополнительные преимущества */
.extra-advantages {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .extra-advantages {
        grid-template-columns: repeat(3, 1fr);
    }
}

.extra-card {
    text-align: center;
    padding: var(--space);
}

.extra-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin: 0 auto var(--space);
}

.extra-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.extra-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 1023px) {
    .advantages-container {
        grid-template-columns: 1fr;
    }
    
    .advantages-left,
    .advantages-right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space);
    }
    
        display: none;
    }
}

@media (max-width: 767px) {
    .advantages-left,
    .advantages-right {
        grid-template-columns: 1fr;
    }
    
    .advantage-card.interactive {
        padding: var(--space);
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .advantage-title {
        font-size: 1.125rem;
    }
}/* ===== ПРЕИМУЩЕСТВА - НОВЫЙ ДИЗАЙН ===== */
.advantages {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.advantages-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .advantages-container {
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
}

.advantages-left,
.advantages-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

    display: none;
}

@media (min-width: 1024px) {
        display: block;
    }
}

/* Интерактивные карточки преимуществ */
.advantage-card.interactive {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.advantage-card.interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

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

.advantage-card.interactive:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.advantage-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space);
    margin-bottom: var(--space);
}

.advantage-icon-wrapper {
    position: relative;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.pulse-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    flex: 1;
    margin: 0;
}

.advantage-badge {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.advantage-description {
    color: var(--text-light);
    margin-bottom: var(--space);
    line-height: 1.6;
}

.advantage-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.advantage-details.active {
    max-height: 300px;
    margin-bottom: var(--space);
}

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

.advantage-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 0.95rem;
}

.advantage-list li i {
    color: var(--success);
    font-size: 1rem;
    margin-top: 2px;
}

.advantage-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.advantage-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.advantage-toggle.active i {
    transform: rotate(180deg);
}

.advantage-toggle i {
    transition: transform 0.3s;
}

/* Визуализация в центре */
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    color: var(--primary);
    font-size: 1.5rem;
}

.element-1 {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.element-2 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.element-3 {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

    text-align: center;
    z-index: 2;
}

.core-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.core-subtext {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
}

    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 100px;
    animation: float 6s ease-in-out infinite;
}

.bubble-1 {
    top: -20px;
    left: 0;
    animation-delay: 0s;
}

.bubble-2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.bubble-3 {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

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

.stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* Дополнительные преимущества */
.extra-advantages {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .extra-advantages {
        grid-template-columns: repeat(3, 1fr);
    }
}

.extra-card {
    text-align: center;
    padding: var(--space);
}

.extra-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin: 0 auto var(--space);
}

.extra-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.extra-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 1023px) {
    .advantages-container {
        grid-template-columns: 1fr;
    }
    
    .advantages-left,
    .advantages-right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space);
    }
    
        display: none;
    }
}

@media (max-width: 767px) {
    .advantages-left,
    .advantages-right {
        grid-template-columns: 1fr;
    }
    
    .advantage-card.interactive {
        padding: var(--space);
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .advantage-title {
        font-size: 1.125rem;
    }
}/* ===== ПРЕИМУЩЕСТВА - ЧИСТЫЙ ДИЗАЙН ===== */
.advantages {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.advantages-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .advantages-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-grid-new {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Интерактивные карточки преимуществ */
.advantage-card.interactive {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.advantage-card.interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

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

.advantage-card.interactive:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.advantage-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space);
    margin-bottom: var(--space);
}

.advantage-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.pulse-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    flex: 1;
    margin: 0;
    line-height: 1.3;
}

.advantage-badge {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.advantage-description {
    color: var(--text-light);
    margin-bottom: var(--space);
    line-height: 1.6;
    flex: 1;
}

.advantage-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-bottom: 0;
}

.advantage-details.active {
    max-height: 300px;
    margin-bottom: var(--space);
}

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

.advantage-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.4;
}

.advantage-list li i {
    color: var(--success);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.advantage-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: auto;
}

.advantage-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.advantage-toggle.active i {
    transform: rotate(180deg);
}

.advantage-toggle i {
    transition: transform 0.3s;
}

/* Дополнительные преимущества */
.extra-advantages {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .extra-advantages {
        grid-template-columns: repeat(3, 1fr);
    }
}

.extra-card {
    text-align: center;
    padding: var(--space);
}

.extra-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin: 0 auto var(--space);
}

.extra-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.extra-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 767px) {
    .advantage-card.interactive {
        padding: var(--space);
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .advantage-title {
        font-size: 1.125rem;
    }
    
    .advantage-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
}

/* Убираем старые стили для центральной визуализации */
    display: none !important;
}
/* ===== ИСПРАВЛЕНИЯ ДЛЯ ДЕСКТОПА ===== */

/* Улучшаем отображение заголовков на десктопе */
@media (min-width: 1024px) {
    .advantages-grid-new {
        gap: var(--space-xl);
    }
    
    .advantage-card.interactive {
        padding: var(--space-xl);
        min-height: 320px;
    }
    
    .advantage-header {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .advantage-icon-wrapper {
        order: 1;
    }
    
    .advantage-title {
        order: 3;
        flex: 0 0 100%;
        font-size: 1.3rem;
        line-height: 1.4;
        margin-top: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .advantage-badge {
        order: 2;
        margin-left: auto;
    }
    
    .advantage-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
        min-height: 60px;
    }
    
    .advantage-list li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    /* Улучшаем отображение длинных заголовков */
    .advantage-title[title*="инфраструктура"],
    .advantage-title[title*="аналитика"] {
        font-size: 1.25rem;
    }
    
    /* Специальные правки для конкретных заголовков */
    .advantage-title:contains("Надежная инфраструктура") {
        font-size: 1.2rem;
    }
    
    .advantage-title:contains("Детальная аналитика") {
        font-size: 1.2rem;
    }
    
    .advantage-title:contains("Гибкая настройка") {
        font-size: 1.3rem;
    }
    
    .advantage-title:contains("Быстрый запуск") {
        font-size: 1.3rem;
    }
}

/* Улучшаем отображение на очень широких экранах */
@media (min-width: 1400px) {
    .advantages-grid-new {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .advantage-card.interactive {
        padding: 25px;
        min-height: 340px;
    }
    
    .advantage-title {
        font-size: 1.35rem;
    }
    
    .advantage-description {
        font-size: 1rem;
        min-height: 70px;
    }
}

/* Улучшаем отображение на средних экранах */
@media (min-width: 1024px) and (max-width: 1279px) {
    .advantages-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .advantage-card.interactive {
        min-height: 300px;
    }
    
    .advantage-title {
        font-size: 1.25rem;
    }
}

/* Улучшаем дополнительные преимущества */
@media (min-width: 1024px) {
    .extra-advantages {
        gap: 30px;
    }
    
    .extra-card {
        padding: 25px;
    }
    
    .extra-title {
        font-size: 1.2rem;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .extra-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Улучшаем общую читаемость */
.advantage-title,
.extra-title {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Улучшаем отступы для лучшей читаемости */
.advantage-card.interactive {
    display: flex;
    flex-direction: column;
}

.advantage-description,
.advantage-details {
    flex: 1;
}

.advantage-toggle {
    margin-top: 20px;
}

/* Улучшаем иконки для лучшего баланса */
.icon-circle {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
}

@media (min-width: 1024px) {
    .icon-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* Улучшаем бейджи */
.advantage-badge {
    padding: 6px 14px;
    font-size: 0.85rem;
}

/* Улучшаем адаптивность текста */
@media (max-width: 1023px) {
    .advantage-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .advantage-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}/* ===== ИСПРАВЛЕНИЯ ДЛЯ ЗАГОЛОВКОВ ===== */

/* Убираем все старые стили для заголовков */
.advantage-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    white-space: normal !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

/* Для десктопа - немного больше */
@media (min-width: 1024px) {
    .advantage-title {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
        min-height: auto !important;
        margin-top: 12px !important;
    }
}

/* Убираем все специальные правила для конкретных заголовков */
.advantage-title[title*="инфраструктура"],
.advantage-title[title*="аналитика"],
.advantage-title:contains("Надежная инфраструктура"),
.advantage-title:contains("Детальная аналитика"),
.advantage-title:contains("Гибкая настройка"),
.advantage-title:contains("Быстрый запуск"),
.advantage-title:contains("Аналитика Real-time"),
.advantage-title:contains("Инфраструктура 99.9%") {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
}

/* Улучшаем структуру заголовков */
.advantage-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
}

.advantage-icon-wrapper {
    order: 1 !important;
    margin-bottom: 8px !important;
}

.advantage-title {
    order: 2 !important;
    width: 100% !important;
}

.advantage-badge {
    order: 3 !important;
    align-self: flex-start !important;
    margin-top: 4px !important;
}

/* Улучшаем отображение на мобильных */
@media (max-width: 767px) {
    .advantage-title {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
    }
    
    .advantage-header {
        gap: 6px !important;
    }
}

/* Убираем все лишние переносы */
.advantage-title {
    word-spacing: normal !important;
    letter-spacing: normal !important;
}

/* Для очень длинных слов - мягкий перенос */
.advantage-title {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

/* Улучшаем сетку карточек */
.advantage-card.interactive {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.advantage-header {
    flex: 0 0 auto !important;
}

.advantage-description {
    flex: 1 0 auto !important;
    margin-bottom: 16px !important;
}

.advantage-toggle {
    flex: 0 0 auto !important;
    margin-top: auto !important;
}

/* Убираем все минимальные высоты */
.advantage-title,
.advantage-description {
    min-height: auto !important;
}

/* Улучшаем отображение на очень широких экранах */
@media (min-width: 1400px) {
    .advantage-title {
        font-size: 1.35rem !important;
    }
    
    .advantage-card.interactive {
        padding: 25px !important;
    }
}

/* Улучшаем отображение на средних экранах */
@media (min-width: 768px) and (max-width: 1023px) {
    .advantage-title {
        font-size: 1.2rem !important;
    }
    
    .advantage-card.interactive {
        min-height: 280px !important;
    }
}/* ===== ИСПРАВЛЕНИЯ СЕТКИ ===== */

/* Улучшаем основную сетку */
.advantages-grid-new {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    width: 100% !important;
}

/* На планшете - 2 колонки */
@media (min-width: 768px) {
    .advantages-grid-new {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* На десктопе - 4 колонки, но с автоматическим размером */
@media (min-width: 1024px) {
    .advantages-grid-new {
        grid-template-columns: repeat(4, minmax(200px, 1fr)) !important;
        gap: 20px !important;
    }
}

/* На очень широких экранах - больше отступов */
@media (min-width: 1400px) {
    .advantages-grid-new {
        gap: 25px !important;
    }
}

/* Улучшаем карточки */
.advantage-card.interactive {
    width: 100% !important;
    min-width: 0 !important; /* Важно для flex/grid */
    box-sizing: border-box !important;
    padding: 20px !important;
}

/* Улучшаем отображение контента внутри карточек */
.advantage-card.interactive > * {
    min-width: 0 !important; /* Предотвращаем переполнение */
}

/* Улучшаем иконки */
.icon-circle {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
}

@media (min-width: 1024px) {
    .icon-circle {
        width: 70px !important;
        height: 70px !important;
        font-size: 1.8rem !important;
    }
}

/* Улучшаем бейджи */
.advantage-badge {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    display: inline-block !important;
}

/* Для длинных бейджей */
.advantage-badge[title*="инфраструктура"] {
    font-size: 0.8rem !important;
    padding: 4px 10px !important;
}

/* Улучшаем описание */
.advantage-description {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    overflow-wrap: break-word !important;
}

/* Убираем все лишние ограничения */
.advantage-title {
    max-width: 100% !important;
    overflow: visible !important;
}

/* Улучшаем адаптивность */
@media (max-width: 767px) {
    .advantages-grid-new {
        gap: 16px !important;
    }
    
    .advantage-card.interactive {
        padding: 16px !important;
    }
    
    .icon-circle {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }
}

/* Гарантируем, что текст не будет разрываться на буквы */
.advantage-title {
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
}

/* Для английских слов в заголовках */
.advantage-title:contains("Real-time"),
.advantage-title:contains("uptime") {
    word-break: keep-all !important;
    font-feature-settings: "kern" 1, "liga" 1 !important;
}/* ===== ПРОСТЫЕ СТИЛИ ДЛЯ СЕКЦИИ ПРЕИМУЩЕСТВ ===== */

/* Основная сетка */
.advantages-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

/* Планшет */
@media (min-width: 768px) {
    .advantages-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Десктоп */
@media (min-width: 1024px) {
    .advantages-grid-new {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

/* Карточки */
.advantage-card.interactive {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.advantage-card.interactive:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Заголовки - ПРОСТО И ЯСНО */
.advantage-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}

.advantage-icon-wrapper {
    margin-bottom: 12px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.advantage-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin: 0 0 8px 0;
    width: 100%;
    /* Важно: никаких сложных переносов! */
    word-break: normal;
    overflow-wrap: normal;
    white-space: normal;
}

.advantage-badge {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
}

/* Описание */
.advantage-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

/* Кнопка */
.advantage-toggle {
    background: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.advantage-toggle:hover {
    background: #f9fafb;
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .advantages-grid-new {
        gap: 16px;
    }
    
    .advantage-card.interactive {
        padding: 16px;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .advantage-title {
        font-size: 1.1rem;
    }
}

/* Для очень широких экранов */
@media (min-width: 1400px) {
    .advantages-grid-new {
        gap: 20px;
    }
    
    .advantage-card.interactive {
        padding: 24px;
    }
    
    .advantage-title {
        font-size: 1.25rem;
    }
}/* ===== ИСПРАВЛЕНИЯ ДЛЯ ВЫПАДАЮЩЕГО ТЕКСТА ===== */

/* Базовые стили для скрытого контента */
.advantage-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    margin: 0;
    padding: 0;
    opacity: 0;
    transform: translateY(-10px);
}

/* Стили для открытого состояния */
.advantage-details.active {
    max-height: 500px; /* Достаточно для контента */
    opacity: 1;
    transform: translateY(0);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    animation: fadeInUp 0.4s ease-out;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для списка внутри */
.advantage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 4px 0;
}

.advantage-list li i {
    color: #10b981;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Улучшаем кнопку */
.advantage-toggle {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.advantage-toggle.active {
    background: #f3f4f6;
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Анимация для иконки */
.advantage-toggle i {
    transition: transform 0.3s ease;
}

.advantage-toggle.active i {
    transform: rotate(180deg);
}

/* Улучшаем отображение на мобильных */
@media (max-width: 767px) {
    .advantage-details.active {
        max-height: 600px; /* Больше места на мобильных */
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .advantage-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
}

/* Гарантируем, что контент не будет обрезан */
.advantage-details.active * {
    opacity: 1;
    visibility: visible;
}

/* Плавное появление элементов списка */
.advantage-list li {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.advantage-list li:nth-child(1) { animation-delay: 0.1s; }
.advantage-list li:nth-child(2) { animation-delay: 0.2s; }
.advantage-list li:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}/* ===== ПРОСТЫЕ СТИЛИ ДЛЯ TOGGLE ===== */

/* Скрываем детали по умолчанию */
.advantage-details {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    animation: fadeIn 0.3s ease;
}

/* Показываем при активном состоянии */
.advantage-details.active {
    display: block;
}

/* Простая анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Стили для списка */
.advantage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.4;
}

.advantage-list li i {
    color: #10b981;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Стили для кнопки */
.advantage-toggle {
    margin-top: 15px;
    transition: all 0.3s ease;
}

.advantage-toggle.active {
    background: #f3f4f6;
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Убираем все сложные анимации и transitions */
.advantage-card.interactive {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Убираем max-height и overflow */
.advantage-details {
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Гарантируем, что контент виден */
.advantage-details.active * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .advantage-details {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .advantage-list li {
        font-size: 0.85rem;
    }
}/* ===== СТИЛИ ДЛЯ КНОПКИ В ХЕДЕРЕ ===== */

/* Кнопка в хедере */
/* Основные стили футера */
.footer {
    background: #1f2937;
    color: #f9fafb;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 30px;
    }
}

/* Секции футера */
.footer-section:first-child {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .footer-section:first-child {
        grid-column: 1 / 3;
    }
}

@media (min-width: 1024px) {
    .footer-section:first-child {
        grid-column: 1 / 2;
    }
}

/* Логотип в футере */
.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.logo-tagline {
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-description {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 400px;
}

/* Социальные ссылки */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3b82f6;
    transform: translateY(-3px);
}

/* CTA в футере */
.footer-cta {
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #3b82f6;
    margin-top: 20px;
}

.footer-cta p {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.footer-cta .btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-weight: 600;
}

/* Заголовки секций */
.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

/* Ссылки в футере */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

/* Нижняя часть футера */
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
}

.copyright {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.made-with {
    color: #9ca3af;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.made-with i {
    color: #ef4444;
}

/* Адаптивность */
@media (max-width: 767px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-cta {
        padding: 15px;
    }
}

/* Убираем ссылку на несуществующую секцию contact */
.footer-links a[href="#contact"] {
    opacity: 0.7;
    pointer-events: none;
    text-decoration: line-through;
}/* ===== ИСПРАВЛЕНИЯ ДЛЯ ХЕДЕРА ===== */

/* Секция логотипа с кнопкой */
.logo-section {
    display: flex;
    align-items: center;
}

/* Логотип */
.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937 !important; /* Темный цвет для видимости на белом фоне */
    margin-bottom: 2px;
}

.logo-tagline {
    font-size: 0.875rem;
    color: #6b7280 !important; /* Серый цвет для подзаголовка */
    font-weight: 400;
}

/* Кнопка рядом с логотипом */
.logo-section .btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    margin-left: 20px;
    white-space: nowrap;
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .logo-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo-section .btn-small {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-tagline {
        font-size: 0.8rem;
    }
}

/* Для планшетов */
@media (min-width: 768px) and (max-width: 1023px) {
    .logo-section {
        flex-wrap: wrap;
    }
    
    .logo-section .btn-small {
        margin-top: 5px;
    }
}

/* Убираем дублирующую кнопку из навигации на десктопе */
.nav-links .btn-outline.desktop-only {
    display: none;
}

/* Улучшаем отображение навигации */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Мобильное меню */
@media (max-width: 767px) {
    .nav-content {
        flex-wrap: wrap;
    }
    
    .logo-section {
        flex: 1;
    }
    
    .menu-toggle {
        margin-left: auto;
    }
}/* ===== ПЕРЕДЕЛКА ХЕДЕРА ===== */

/* Основные стили навигации */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

/* Левая часть - логотип и кнопка */
.nav-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

/* Логотип */
.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827; /* Темный, почти черный - профессиональный цвет для IT компании */
    letter-spacing: -0.5px;
    margin-bottom: 3px;
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Кнопка рядом с логотипом */
.nav-cta-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

/* Центральная навигация */
.nav-center {
    display: flex;
    align-items: center;
    gap: 35px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-center a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-center a:hover {
    color: #111827;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

/* Правая часть - мобильное меню */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

/* Кнопка меню для мобильных */
.menu-toggle {
    background: none;
    border: none;
    color: #111827;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: none;
}

.menu-toggle:hover {
    background: #f3f4f6;
    transform: rotate(90deg);
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 100px 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-menu-content a {
    text-decoration: none;
    color: #111827;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-menu-content a:hover {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    transform: translateX(10px);
}

.mobile-cta {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.mobile-cta .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* Адаптивность */

/* Планшет (768px - 1024px) */
@media (max-width: 1024px) {
    .nav-center {
        gap: 25px;
    }
    
    .nav-left {
        gap: 20px;
    }
    
    .nav-cta-btn {
        padding: 9px 18px;
        font-size: 0.9rem;
    }
}

/* Мобильные устройства (< 768px) */
@media (max-width: 767px) {
    .nav-center {
        display: none;
    }
    
    .nav-cta-btn {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-left {
        flex: 1;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .logo-tagline {
        font-size: 0.8rem;
    }
}

/* Очень маленькие экраны (< 480px) */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-tagline {
        font-size: 0.75rem;
    }
    
    .mobile-menu-content {
        padding: 80px 20px 30px;
    }
    
    .mobile-menu-content a {
        font-size: 1.2rem;
        padding: 12px 16px;
    }
}

/* Анимация для мобильного меню */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-content a {
    animation: slideIn 0.4s ease forwards;
    opacity: 0;
}

.mobile-menu-content a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-content a:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu-content a:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu-content a:nth-child(4) { animation-delay: 0.4s; }
.mobile-cta { animation: slideIn 0.5s ease forwards; animation-delay: 0.5s; opacity: 0; }/* ===== ИСПРАВЛЕНИЕ ВЫРАВНИВАНИЯ НАВИГАЦИИ ===== */

/* Убираем абсолютное позиционирование */
.nav-center {
    position: static !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    margin: 0 20px !important;
}

/* Исправляем контейнер */
.nav-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

/* Левая часть */
.nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    flex-shrink: 0 !important;
}

/* Правая часть */
.nav-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-shrink: 0 !important;
}

/* Навигационные ссылки */
.nav-center a {
    margin: 0 15px !important;
    white-space: nowrap !important;
}

/* Для планшетов */
@media (max-width: 1024px) {
    .nav-center {
        margin: 0 15px !important;
    }
    
    .nav-center a {
        margin: 0 12px !important;
        font-size: 0.95rem !important;
    }
}

/* Для мобильных */
@media (max-width: 767px) {
    .nav-center {
        display: none !important;
    }
    
    .nav-left {
        flex: 1 !important;
    }
}

/* Убедимся что контейнер работает правильно */
.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Исправляем отображение на очень широких экранах */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px !important;
    }
    
    .nav-center a {
        margin: 0 20px !important;
    }
}/* ===== ИСПРАВЛЕНИЕ НАЕЗДАНИЯ НАВИГАЦИИ НА КНОПКУ ===== */

/* Увеличиваем минимальные отступы */
.nav-left {
    min-width: 320px !important; /* Минимальная ширина для логотипа + кнопки */
}

/* Уменьшаем отступы между ссылками навигации */
.nav-center a {
    margin: 0 12px !important; /* Было 15px, уменьшаем */
    font-size: 0.95rem !important;
    padding: 8px 4px !important;
}

/* Уменьшаем общий gap в левой части */
.nav-left {
    gap: 15px !important; /* Было 25px */
}

/* Уменьшаем кнопку */
.nav-cta-btn {
    padding: 8px 16px !important; /* Было 10px 22px */
    font-size: 0.9rem !important;
    white-space: nowrap !important;
}

/* Уменьшаем логотип */
.logo-text {
    font-size: 1.4rem !important; /* Было 1.6rem */
}

.logo-tagline {
    font-size: 0.8rem !important; /* Было 0.85rem */
}

/* Для средних экранов */
@media (max-width: 1200px) {
    .nav-left {
        min-width: 300px !important;
    }
    
    .nav-center a {
        margin: 0 10px !important;
        font-size: 0.9rem !important;
    }
    
    .nav-cta-btn {
        padding: 7px 14px !important;
        font-size: 0.85rem !important;
    }
}

/* Для планшетов */
@media (max-width: 1024px) {
    .nav-left {
        min-width: 280px !important;
    }
    
    .nav-center a {
        margin: 0 8px !important;
        font-size: 0.85rem !important;
    }
    
    .logo-text {
        font-size: 1.3rem !important;
    }
    
    .nav-cta-btn {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
}

/* Для узких экранов (где проблема возникает) */
@media (max-width: 1100px) {
    .nav-center {
        margin: 0 10px !important;
    }
    
    .nav-center a {
        margin: 0 6px !important;
        font-size: 0.85rem !important;
        padding: 8px 2px !important;
    }
}

/* Если все равно не хватает места - скрываем подзаголовок логотипа */
@media (max-width: 1000px) {
    .logo-tagline {
        display: none !important;
    }
    
    .nav-left {
        min-width: 250px !important;
    }
    
    .logo-text {
        font-size: 1.3rem !important;
    }
}

/* Альтернативное решение: делаем навигацию в две строки при нехватке места */
@media (max-width: 900px) {
    .nav-center {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        margin: 5px 0 !important;
    }
    
    .nav-center a {
        margin: 0 8px !important;
        font-size: 0.9rem !important;
    }
    
    .nav-content {
        flex-wrap: wrap !important;
    }
    
    .nav-left, .nav-center, .nav-right {
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 10px !important;
    }
    
    .nav-left {
        min-width: auto !important;
        order: 1 !important;
    }
    
    .nav-center {
        order: 2 !important;
    }
    
    .nav-right {
        order: 3 !important;
        display: none !important; /* На планшетах меню не нужно */
    }
}

/* Для мобильных */
@media (max-width: 767px) {
    .nav-center {
        display: none !important;
    }
    
    .nav-right {
        display: flex !important;
        order: 2 !important;
        width: auto !important;
        margin-bottom: 0 !important;
    }
    
    .nav-left {
        order: 1 !important;
        width: auto !important;
        flex: 1 !important;
    }
    
    .nav-content {
        flex-wrap: nowrap !important;
    }
}

/* Экстренное решение: если все равно наезжает, уменьшаем еще больше */
@media (max-width: 850px) {
    .desktop-only {
        display: none !important;
    }
    
    .nav-center {
        display: none !important;
    }
}/* ===== ПРОСТОЙ И РАБОЧИЙ ХЕДЕР ===== */

/* Основные стили навигации */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

/* Логотип */
.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.logo-tagline {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

/* Навигационные ссылки */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #111827;
}

/* Кнопка в навигации */
.nav-links .btn-primary {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    background: #3b82f6;
    color: white;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Кнопка меню для мобильных */
.menu-toggle {
    background: none;
    border: none;
    color: #111827;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
    display: none;
}

.menu-toggle:hover {
    background: #f3f4f6;
}

/* Мобильное меню */
.nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    padding: 100px 30px 40px;
    z-index: 999;
    overflow-y: auto;
    gap: 20px;
}

.nav-links.active a {
    font-size: 1.2rem;
    padding: 15px 20px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
}

.nav-links.active a:hover {
    background: #f8fafc;
}

.nav-links.active .btn-primary {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    font-size: 1.1rem;
}

/* Адаптивность */

/* Планшет и мобильные */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }
    
    .nav-links .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Мобильные устройства */
@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 10px 10px;
        flex-direction: column;
        gap: 15px;
        z-index: 1000;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
        border-radius: 8px;
    }
    
    .nav-links a:hover {
        background: #f3f4f6;
    }
    
    .nav-links .desktop-only {
        display: none;
    }
    
    .nav-cta.mobile-only {
        display: block;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #e5e7eb;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-tagline {
        font-size: 0.8rem;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-tagline {
        font-size: 0.75rem;
    }
    
    .nav-links.active {
        padding: 80px 20px 30px;
    }
    
    .nav-links.active a {
        font-size: 1.1rem;
        padding: 12px 16px;
    }
}/* ===== ИСПРАВЛЕНИЯ ДЛЯ ФУТЕРА ===== */

/* Убираем отступы от удаленных социальных ссылок */
.footer-section:first-child .social-links {
    display: none !important;
}

/* Улучшаем CTA блок в футере */
.footer-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.25) 100%) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    margin-top: 20px !important;
    backdrop-filter: blur(10px) !important;
}

.footer-cta p {
    margin: 0 0 15px 0 !important;
    font-weight: 700 !important;
    color: white !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.footer-cta .fas.fa-bolt {
    color: #fbbf24 !important;
    margin-right: 10px !important;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4)) !important;
}

/* Кнопка в футере */
.footer-cta .btn {
    width: 100% !important;
    text-align: center !important;
    padding: 12px !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.3s ease !important;
}

.footer-cta .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

/* Иконка в кнопке */
.footer-cta .btn .fab.fa-telegram {
    margin-right: 8px !important;
}

/* Адаптивность */
@media (max-width: 767px) {
    .footer-cta {
        padding: 15px !important;
        margin-top: 15px !important;
    }
    
    .footer-cta p {
        font-size: 1rem !important;
    }
    
    .footer-cta .btn {
        padding: 10px !important;
        font-size: 0.95rem !important;
    }
}/* ===== ИСПРАВЛЕНИЕ ЦВЕТА ЛОГОТИПА В ФУТЕРЕ ===== */

/* Логотип в футере */
.footer-logo .logo-text {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-bottom: 4px !important;
}

.footer-logo .logo-tagline {
    color: #d1d5db !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
}

/* Улучшаем контрастность */
.footer {
    background: #1f2937 !important;
}

.footer-description {
    color: #d1d5db !important;
}

/* Адаптивность */
@media (max-width: 767px) {
    .footer-logo .logo-text {
        font-size: 1.3rem !important;
    }
    
    .footer-logo .logo-tagline {
        font-size: 0.8rem !important;
    }
}/* ===== СИЛЬНОЕ ИСПРАВЛЕНИЕ ЦВЕТА ЛОГОТИПА В ФУТЕРЕ ===== */

/* ОЧЕНЬ сильное правило для логотипа в футере */
.footer-logo .logo-text,
.footer-section:first-child .logo-text,
.footer .logo-text,
footer .logo-text,
.footer-logo span[class*="logo-text"],
.footer-logo span:first-child {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Подзаголовок */
.footer-logo .logo-tagline,
.footer-section:first-child .logo-tagline,
.footer .logo-tagline,
footer .logo-tagline {
    color: #d1d5db !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
}

/* Убедимся что фон футера темный */
.footer,
footer {
    background: #1f2937 !important;
    color: #f9fafb !important;
}

/* Усилим контраст для всего текста в первой колонке футера */
.footer-section:first-child * {
    color: #f9fafb !important;
}

.footer-section:first-child .footer-description {
    color: #d1d5db !important;
}

/* Для мобильных */
@media (max-width: 767px) {
    .footer-logo .logo-text,
    .footer-section:first-child .logo-text {
        font-size: 1.3rem !important;
    }
    
    .footer-logo .logo-tagline,
    .footer-section:first-child .logo-tagline {
        font-size: 0.8rem !important;
    }
}/* ===== УМЕНЬШЕНИЕ ОТСТУПА МЕЖДУ ХЕДЕРОМ И КОНТЕНТОМ ===== */

/* Уменьшаем отступ hero секции в два раза */
.hero {
    padding-top: calc(var(--space-xl) + 40px) !important; /* Было +80px */
    min-height: 90vh !important; /* Было 100vh */
}

/* Уменьшаем отступы внутри hero */
.hero-content {
    gap: var(--space-lg) !important; /* Было var(--space-xl) */
}

.hero-subtitle {
    margin-bottom: var(--space-lg) !important; /* Было var(--space-xl) */
}

.hero-cta {
    margin-bottom: var(--space-lg) !important; /* Было var(--space-xl) */
}

.hero-stats {
    margin-top: var(--space-lg) !important; /* Было var(--space-xl) */
}

/* Также уменьшаем отступы для других секций если нужно */
.section {
    padding: var(--space-lg) 0 !important; /* Было var(--space-xl) */
}

.section-header {
    margin-bottom: var(--space-lg) !important; /* Было var(--space-xl) */
}

/* Для мобильных делаем еще меньше */
@media (max-width: 767px) {
    .hero {
        padding-top: calc(var(--space-lg) + 30px) !important;
        min-height: 85vh !important;
    }
    
    .section {
        padding: var(--space) 0 !important;
    }
    
    .section-header {
        margin-bottom: var(--space) !important;
    }
}

/* Для планшетов */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        padding-top: calc(var(--space-xl) + 30px) !important;
        min-height: 90vh !important;
    }
}/* ===== ИСПРАВЛЕНИЯ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ (iPhone 13 Pro, Safari) ===== */

/* 1. ИСПРАВЛЕНИЕ КНОПКИ МЕНЮ */
.menu-toggle {
    z-index: 10001 !important;
    position: relative !important;
}

.nav-links {
    transition: all 0.3s ease !important;
}

.nav-links.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Исправление для Safari */
@supports (-webkit-touch-callout: none) {
    .nav-links.active {
        -webkit-overflow-scrolling: touch !important;
    }
    
    .menu-toggle {
        -webkit-tap-highlight-color: transparent !important;
    }
}

/* 2. ИСПРАВЛЕНИЕ ТЕЛЕФОНА С ТУРНИРОМ */
.hero-visual {
    max-width: 100% !important;
    overflow: hidden !important;
}

.phone-mockup {
    transform: scale(0.9) !important;
    transform-origin: center !important;
    margin: 0 auto !important;
}

@media (max-width: 767px) {
    .hero-visual {
        order: -1 !important;
        margin-bottom: 2rem !important;
    }
    
    .phone-mockup {
        transform: scale(0.8) !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    /* Уменьшаем текст в телефоне */
    .tournament-title {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }
    
    .player-name {
        font-size: 0.85rem !important;
    }
    
    .player-score {
        font-size: 0.9rem !important;
    }
    
    .tournament-info {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        transform: scale(0.7) !important;
        max-width: 280px !important;
    }
    
    .tournament-title {
        font-size: 0.9rem !important;
    }
    
    .player-name {
        font-size: 0.75rem !important;
    }
}

/* 3. ОТКЛЮЧЕНИЕ КАРТЫ САЙТА В ПОДВАЛЕ НА МОБИЛЬНЫХ */
@media (max-width: 767px) {
    /* Скрываем все колонки кроме первой */
    .footer-section:not(:first-child) {
        display: none !important;
    }
    
    /* Увеличиваем первую колонку */
    .footer-section:first-child {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Уменьшаем отступы в футере */
    .footer {
        padding: 30px 0 20px !important;
    }
    
    .footer-content {
        gap: 20px !important;
        margin-bottom: 20px !important;
    }
    
    /* Уменьшаем CTA блок */
    .footer-cta {
        padding: 15px !important;
        margin-top: 15px !important;
    }
    
    .footer-cta p {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    
    .footer-cta .btn {
        padding: 10px !important;
        font-size: 0.95rem !important;
    }
}

/* Дополнительные исправления для Safari на iPhone */
@media screen and (max-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
    /* Улучшаем рендеринг текста */
    body {
        -webkit-font-smoothing: antialiased !important;
        text-rendering: optimizeLegibility !important;
    }
    
    /* Исправляем проблему с viewport */
    .hero {
        min-height: -webkit-fill-available !important;
    }
    
    /* Улучшаем скроллинг */
    .nav-links.active {
        height: 100vh !important;
        height: -webkit-fill-available !important;
    }
}

/* Исправление для очень маленьких экранов */
@media (max-width: 360px) {
    .phone-mockup {
        transform: scale(0.65) !important;
        max-width: 250px !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }
}

/* Улучшаем touch targets для мобильных */
@media (max-width: 767px) {
    .btn, 
    .nav-links a,
    .menu-toggle {
        min-height: 44px !important;
        min-width: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .menu-toggle {
        width: 44px !important;
        height: 44px !important;
    }
}/* ===== ОТКЛЮЧЕНИЕ ТЕЛЕФОНА НА МОБИЛЬНЫХ ===== */

/* На мобильных скрываем телефон полностью */
@media (max-width: 767px) {
    .hero-visual {
        display: none !important;
    }
    
    /* Делаем hero-text на всю ширину */
    .hero-text {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Центрируем кнопки */
    .hero-cta {
        justify-content: center !important;
    }
    
    /* Улучшаем статистику */
    .hero-stats {
        justify-content: center !important;
    }
}

/* Восстанавливаем оригинальные размеры для десктопа */
.phone-mockup {
    transform: none !important;
    max-width: none !important;
}

.tournament-title,
.player-name,
.player-score,
.tournament-info {
    font-size: inherit !important;
}/* ===== СТАБИЛЬНОЕ МОБИЛЬНОЕ МЕНЮ ===== */

/* Базовые стили для мобильного меню */
@media (max-width: 767px) {
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 100px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .nav-links.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-links a {
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        padding: 16px 20px !important;
        margin: 8px 0 !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        color: #111827 !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        transition: all 0.2s ease !important;
    }
    
    .nav-links a:hover {
        background: #f1f5f9 !important;
        transform: translateY(-2px) !important;
    }
    
    .nav-links .btn-primary {
        margin-top: 20px !important;
        padding: 16px !important;
        font-size: 1.1rem !important;
        background: #3b82f6 !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
    }
    
    .nav-links .btn-primary:hover {
        background: #2563eb !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
    }
    
    .nav-cta.mobile-only {
        width: 100% !important;
        max-width: 300px !important;
        margin-top: 30px !important;
        padding-top: 20px !important;
        border-top: 1px solid #e5e7eb !important;
    }
    
    /* Кнопка меню */
    .menu-toggle {
        position: relative !important;
        z-index: 10000 !important;
        background: none !important;
        border: none !important;
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .menu-toggle i {
        font-size: 1.5rem !important;
        color: #111827 !important;
        transition: transform 0.3s ease !important;
    }
    
    .menu-toggle.active i {
        transform: rotate(90deg) !important;
    }
    
    /* Запрещаем скролл body при открытом меню */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
}

/* Исправление для iOS Safari */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 767px) {
        .nav-links {
            height: -webkit-fill-available !important;
            padding-top: max(100px, env(safe-area-inset-top) + 80px) !important;
            padding-bottom: env(safe-area-inset-bottom) !important;
        }
        
        body.menu-open {
            height: -webkit-fill-available !important;
        }
    }
}/* ===== ПРОСТАЯ АНИМАЦИЯ МЕНЮ БЕЗ ГЛЮКОВ ===== */

/* Убираем все сложные анимации */
.nav-links {
    transition: none !important;
}

/* Простая анимация через transform */
@media (max-width: 767px) {
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 100px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        z-index: 9999 !important;
        
        /* ПРОСТАЯ анимация - только transform */
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        will-change: transform !important;
    }
    
    .nav-links.active {
        transform: translateX(0) !important;
    }
    
    /* Убираем все opacity/visibility анимации */
    .nav-links {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Ссылки в меню */
    .nav-links a {
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        padding: 16px 20px !important;
        margin: 8px 0 !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        color: #111827 !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        opacity: 0 !important;
        transform: translateY(20px) !important;
        transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s !important;
    }
    
    .nav-links.active a {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Задержки для каждой ссылки */
    .nav-links a:nth-child(1) { transition-delay: 0.1s !important; }
    .nav-links a:nth-child(2) { transition-delay: 0.15s !important; }
    .nav-links a:nth-child(3) { transition-delay: 0.2s !important; }
    .nav-links a:nth-child(4) { transition-delay: 0.25s !important; }
    .nav-links .btn-primary { transition-delay: 0.3s !important; }
    .nav-cta.mobile-only { transition-delay: 0.35s !important; }
    
    /* Кнопка меню */
    .menu-toggle {
        position: relative !important;
        z-index: 10000 !important;
        background: none !important;
        border: none !important;
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .menu-toggle i {
        font-size: 1.5rem !important;
        color: #111827 !important;
        transition: transform 0.3s ease !important;
    }
    
    .menu-toggle.active i {
        transform: rotate(90deg) !important;
    }
    
    /* Запрещаем скролл body при открытом меню */
    body.menu-open {
        overflow: hidden !important;
    }
}

/* Еще более простая версия для Safari */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 767px) {
        .nav-links {
            height: -webkit-fill-available !important;
            padding-top: max(100px, env(safe-area-inset-top) + 80px) !important;
            padding-bottom: env(safe-area-inset-bottom) !important;
            /* Упрощаем анимацию для Safari */
            transition: transform 0.25s ease-out !important;
        }
        
        .nav-links a {
            /* Упрощаем анимацию ссылок */
            transition: opacity 0.2s ease, transform 0.2s ease !important;
        }
    }
}

/* Альтернатива: вообще без анимации, просто show/hide */
@media (max-width: 767px) {
    /* Вариант БЕЗ анимации (раскомментировать если нужно) */
    /*
    .nav-links {
        display: none !important;
        transform: none !important;
        transition: none !important;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links a {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    */
}/* ===== МЕНЮ БЕЗ АНИМАЦИИ - ПРОСТО ПОКАЗ/СКРЫТИЕ ===== */

/* Полностью убираем анимации для мобильного меню */
@media (max-width: 767px) {
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 100px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        z-index: 9999 !important;
        
        /* БЕЗ АНИМАЦИИ - просто скрыто */
        display: none !important;
    }
    
    .nav-links.active {
        /* БЕЗ АНИМАЦИИ - просто показано */
        display: flex !important;
    }
    
    /* Ссылки в меню */
    .nav-links a {
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        padding: 16px 20px !important;
        margin: 8px 0 !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        color: #111827 !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        
        /* БЕЗ АНИМАЦИИ */
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Кнопка меню */
    .menu-toggle {
        position: relative !important;
        z-index: 10000 !important;
        background: none !important;
        border: none !important;
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .menu-toggle i {
        font-size: 1.5rem !important;
        color: #111827 !important;
    }
    
    .menu-toggle.active i {
        /* Простая смена иконки без анимации */
        content: '\f00d' !important; /* fa-times */
    }
    
    /* Запрещаем скролл body при открытом меню */
    body.menu-open {
        overflow: hidden !important;
    }
}

/* Для iOS Safari */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 767px) {
        .nav-links {
            height: -webkit-fill-available !important;
            padding-top: max(100px, env(safe-area-inset-top) + 80px) !important;
            padding-bottom: env(safe-area-inset-bottom) !important;
        }
    }
}/* ===== ФИНАЛЬНАЯ РЕАЛИЗАЦИЯ МОБИЛЬНОГО МЕНЮ ===== */
/* Максимально простая и надежная версия для Safari */

/* Скрываем навигацию на мобильных */
@media (max-width: 767px) {
    .nav-links {
        display: none !important;
    }
    
    /* Показываем кнопку меню */
    .menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 10000 !important;
        position: relative !important;
    }
    
    .menu-toggle i {
        font-size: 1.5rem !important;
        color: #111827 !important;
    }
}

/* Стили для открытого меню */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-container {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 9999;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    padding: 80px 20px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-container.active {
    display: block;
}

.mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-close i {
    font-size: 1.5rem;
    color: #111827;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-content a {
    display: block;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    border-radius: 12px;
    background: #f8fafc;
    transition: background 0.2s ease;
}

.mobile-menu-content a:hover {
    background: #f1f5f9;
}

.mobile-menu-content .btn-primary {
    margin-top: 20px;
    padding: 16px;
    font-size: 1rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

/* Для iOS Safari */
@supports (-webkit-touch-callout: none) {
    .mobile-menu-container {
        height: -webkit-fill-available;
        padding-top: max(80px, env(safe-area-inset-top) + 60px);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

/* На десктопе скрываем мобильное меню */
@media (min-width: 768px) {
    .mobile-menu-overlay,
    .mobile-menu-container {
        display: none !important;
    }
}/* ===== СКРЫТИЕ НАВИГАЦИОННОГО МЕНЮ В ПОДВАЛЕ НА ДЕСКТОПЕ ===== */

/* На десктопе скрываем последние две колонки в подвале */
@media (min-width: 768px) {
    .footer-section:nth-child(3),
    .footer-section:nth-child(4) {
        display: none !important;
    }
    
    /* Распределяем оставшиеся колонки */
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
    
    /* Увеличиваем первую колонку */
    .footer-section:first-child {
        max-width: 500px !important;
    }
    
    /* Центрируем текст в подвале */
    .footer-bottom {
        text-align: center !important;
    }
}

/* На мобильных оставляем как есть (только первая колонка) */
@media (max-width: 767px) {
    .footer-section:not(:first-child) {
        display: none !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
    }
}/* ===== УПРОЩЕННЫЙ ФУТЕР ===== */

/* Основные стили футера */
.footer {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    padding: 60px 0 30px;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

/* На десктопе - одна колонка но шире */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-description {
        max-width: 500px;
        margin: 0 auto 25px;
    }
    
    .footer-cta {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* На мобильных */
@media (max-width: 767px) {
    .footer {
        padding: 40px 0 25px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-cta {
        margin: 0 auto;
    }
}

/* Логотип */
.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-logo p {
    color: #9ca3af;
    margin: 5px 0 0 0;
    font-size: 1rem;
}

/* Описание */
.footer-description {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* CTA блок */
.footer-cta {
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.footer-cta p {
    margin: 0 0 15px 0;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-cta .btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
}

/* Нижняя часть */
.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: #9ca3af;
    margin: 0 0 10px 0;
    font-size: 0.95rem;
}

.made-with {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

.made-with .fa-heart {
    color: #ef4444;
    margin: 0 5px;
}/* ===== ГОРИЗОНТАЛЬНОЕ РАСПОЛОЖЕНИЕ ФУТЕРА ===== */

/* Переопределяем вертикальное расположение на горизонтальное */
.footer-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    gap: 60px !important;
}

/* Левая часть (логотип + описание) */
.footer-section {
    flex: 1 !important;
    text-align: left !important;
    max-width: 500px !important;
}

/* Правая часть (CTA блок) */
.footer-cta-container {
    flex: 0 0 350px !important;
    text-align: left !important;
}

/* CTA блок */
.footer-cta {
    background: rgba(59, 130, 246, 0.15) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    margin: 0 !important;
}

.footer-cta p {
    justify-content: flex-start !important;
}

/* Нижняя часть */
.footer-bottom {
    margin-top: 50px !important;
    padding-top: 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: center !important;
}

/* На планшетах (768px-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer-content {
        flex-direction: column !important;
        gap: 40px !important;
    }
    
    .footer-section,
    .footer-cta-container {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .footer-cta {
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    .footer-cta p {
        justify-content: center !important;
    }
}

/* На мобильных (< 768px) */
@media (max-width: 767px) {
    .footer-content {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .footer-section,
    .footer-cta-container {
        width: 100% !important;
        text-align: center !important;
    }
    
    .footer-cta {
        max-width: 100% !important;
    }
    
    .footer-cta p {
        justify-content: center !important;
    }
}/* ===== ИСПРАВЛЕНИЕ ПЛАВАЮЩИХ ЭЛЕМЕНТОВ ВОКРУГ ТЕЛЕФОНА ===== */

/* Ограничиваем область видимости для плавающих элементов */
.hero-visual {
    position: relative;
    overflow: visible !important;
}

/* Контейнер для плавающих элементов с ограничением */
.phone-mockup-container {
    position: relative;
    overflow: visible !important;
}

/* Исправляем позиционирование element-1 */
.element-1 {
    top: 10px !important; /* Было -20px */
    right: 10px !important; /* Было -20px */
    z-index: 10 !important;
}

/* Уменьшаем амплитуду анимации для всех элементов */
@keyframes float-element-fixed {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(5deg); /* Было -15px и 10deg */
    }
}

/* Применяем исправленную анимацию */
.floating-element {
    animation: float-element-fixed 4s ease-in-out infinite !important;
}

/* На мобильных скрываем плавающие элементы */
@media (max-width: 767px) {
    .floating-element {
        display: none !important;
    }
}

/* На планшетах уменьшаем элементы */
@media (min-width: 768px) and (max-width: 1024px) {
    .floating-element {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
    }
    
    .element-1 {
        top: 15px !important;
        right: 15px !important;
    }
    
    .element-2 {
        bottom: 40px !important;
        left: -15px !important;
    }
    
    .element-3 {
        bottom: 10px !important;
        right: 30px !important;
    }
}

/* Альтернативный вариант: сделать элементы менее заметными */
.floating-element {
    opacity: 0.9 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
}

/* При наведении на телефон - усиливаем видимость */
.phone-mockup:hover ~ .floating-element {
    opacity: 1 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}/* ===== ИСПРАВЛЕНИЕ ПЛАВАЮЩИХ ЭЛЕМЕНТОВ ВОКРУГ ТЕЛЕФОНА ===== */

/* Ограничиваем область видимости для плавающих элементов */
.hero-visual {
    position: relative;
    overflow: visible !important;
}

/* Контейнер для плавающих элементов с ограничением */
.phone-mockup-container {
    position: relative;
    overflow: visible !important;
}

/* Исправляем позиционирование element-1 */
.element-1 {
    top: 10px !important; /* Было -20px */
    right: 10px !important; /* Было -20px */
    z-index: 10 !important;
}

/* Уменьшаем амплитуду анимации для всех элементов */
@keyframes float-element-fixed {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(5deg); /* Было -15px и 10deg */
    }
}

/* Применяем исправленную анимацию */
.floating-element {
    animation: float-element-fixed 4s ease-in-out infinite !important;
}

/* На мобильных скрываем плавающие элементы */
@media (max-width: 767px) {
    .floating-element {
        display: none !important;
    }
}

/* На планшетах уменьшаем элементы */
@media (min-width: 768px) and (max-width: 1024px) {
    .floating-element {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
    }
    
    .element-1 {
        top: 15px !important;
        right: 15px !important;
    }
    
    .element-2 {
        bottom: 40px !important;
        left: -15px !important;
    }
    
    .element-3 {
        bottom: 10px !important;
        right: 30px !important;
    }
}

/* Альтернативный вариант: сделать элементы менее заметными */
.floating-element {
    opacity: 0.9 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
}

/* При наведении на телефон - усиливаем видимость */
.phone-mockup:hover ~ .floating-element {
    opacity: 1 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}/* ===== COOKIES УВЕДОМЛЕНИЕ ===== */

/* Основной контейнер */
.cookies-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    display: none; /* По умолчанию скрыто */
}

.cookies-popup.active {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Контент уведомления */
.cookies-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 768px) {
    .cookies-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }
}

/* Текст уведомления */
.cookies-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #d1d5db;
}

.cookies-text strong {
    color: white;
    font-weight: 600;
}

/* Кнопка принятия */
.cookies-accept-btn {
    flex-shrink: 0;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookies-accept-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cookies-accept-btn:active {
    transform: translateY(0);
}

/* Для мобильных */
@media (max-width: 767px) {
    .cookies-popup {
        padding: 15px;
    }
    
    .cookies-text {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .cookies-accept-btn {
        width: 100%;
        padding: 14px;
    }
}

/* Анимация закрытия */
.cookies-popup.closing {
    animation: slideDown 0.3s ease-in forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}/* ===== ИСПРАВЛЕНИЕ ЛИШНЕГО ПРОСТРАНСТВА В ФУТЕРЕ НА МОБИЛЬНЫХ ===== */

/* Уменьшаем отступы в футере на мобильных */
@media (max-width: 767px) {
    .footer {
        padding: 30px 0 20px !important; /* Было 40px 0 25px */
    }
    
    .footer-content {
        gap: 20px !important; /* Было 30px */
    }
    
    .footer-cta {
        padding: 15px !important; /* Было 20px */
        margin-top: 10px !important;
    }
    
    .footer-cta p {
        margin-bottom: 12px !important; /* Было 15px */
        font-size: 1rem !important;
    }
    
    .footer-bottom {
        margin-top: 25px !important; /* Было 40px */
        padding-top: 20px !important; /* Было 25px */
    }
    
    .footer-logo {
        margin-bottom: 15px !important; /* Было 20px */
    }
    
    .footer-description {
        margin-bottom: 20px !important; /* Было 25px */
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .footer {
        padding: 25px 0 15px !important;
    }
    
    .footer-content {
        gap: 15px !important;
    }
    
    .footer-cta {
        padding: 12px !important;
    }
    
    .footer-bottom {
        margin-top: 20px !important;
        padding-top: 15px !important;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem !important;
    }
    
    .footer-logo p {
        font-size: 0.9rem !important;
    }
}

/* Убираем лишние отступы между CTA блоком и копирайтом */
.footer-cta-container {
    margin-bottom: 0 !important;
}

.footer-section {
    margin-bottom: 0 !important;
}/* ===== ЧИСТЫЕ СТИЛИ ФУТЕРА БЕЗ INLINE ===== */

/* Логотип */
.footer-logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-logo-subtitle {
    color: #9ca3af;
    margin: 5px 0 0 0;
    font-size: 1rem;
}

/* Описание */
.footer-description {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA блок */
.footer-cta-title {
    margin: 0 0 12px 0;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.footer-cta-icon {
    color: #fbbf24;
    margin-right: 10px;
}

/* Кнопка Telegram */
.footer-telegram-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 1rem;
}

.footer-telegram-icon {
    margin-right: 8px;
}

/* Нижняя часть */
.footer-bottom {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: #9ca3af;
    margin: 0 0 8px 0;
    font-size: 0.95rem;
}

.made-with {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

.made-with-heart {
    color: #ef4444;
    margin: 0 5px;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 767px) {
    .footer {
        padding: 25px 0 15px !important;
    }
    
    .footer-content {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .footer-section,
    .footer-cta-container {
        width: 100% !important;
        text-align: center !important;
    }
    
    .footer-logo {
        margin-bottom: 10px !important;
    }
    
    .footer-logo-title {
        font-size: 1.3rem !important;
    }
    
    .footer-logo-subtitle {
        font-size: 0.9rem !important;
        margin: 3px 0 0 0 !important;
    }
    
    .footer-description {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }
    
    .footer-cta {
        padding: 12px !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    
    .footer-cta-title {
        font-size: 1rem !important;
        margin-bottom: 10px !important;
        justify-content: center !important;
    }
    
    .footer-telegram-btn {
        padding: 10px !important;
        font-size: 0.95rem !important;
    }
    
    .footer-bottom {
        margin-top: 20px !important;
        padding-top: 15px !important;
    }
    
    .copyright {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .made-with {
        font-size: 0.85rem !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .footer {
        padding: 20px 0 12px !important;
    }
    
    .footer-content {
        gap: 12px !important;
    }
    
    .footer-cta {
        padding: 10px !important;
    }
    
    .footer-bottom {
        margin-top: 15px !important;
        padding-top: 12px !important;
    }
}
/* ===== ФИНАЛЬНЫЙ ФУТЕР БЕЗ КОНФЛИКТОВ ===== */
.footer-final {
    background: #111827;
    color: #d1d5db;
    padding: 32px 20px 24px;
    position: relative;
    width: 100%;
}

.footer-final-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-final-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .footer-final-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* Левая часть */
.footer-final-left {
    flex: 1;
}

.footer-final-logo {
    margin-bottom: 12px;
}

.footer-final-logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 4px 0;
}

.footer-final-logo-subtitle {
    color: #9ca3af;
    font-size: 1rem;
    margin: 0;
}

.footer-final-description {
    color: #d1d5db;
    line-height: 1.6;
    margin: 12px 0 0 0;
    font-size: 1rem;
}

/* Правая часть - CTA */
.footer-final-right {
    flex-shrink: 0;
}

.footer-final-cta {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-final-cta-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    margin: 0 0 12px 0;
}

.footer-final-cta-icon {
    color: #fbbf24;
}

.footer-final-telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-final-telegram-btn:hover {
    background: #2563eb;
}

/* Нижняя часть */
.footer-final-bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-final-copyright {
    color: #9ca3af;
    margin: 0 0 8px 0;
    font-size: 0.95rem;
}

.footer-final-made-with {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

.footer-final-heart {
    color: #ef4444;
    margin: 0 5px;
}

/* ===== МОБИЛЬНАЯ ОПТИМИЗАЦИЯ ===== */
@media (max-width: 767px) {
    .footer-final {
        padding: 24px 16px 20px;
    }
    
    .footer-final-content {
        gap: 20px;
    }
    
    .footer-final-logo-title {
        font-size: 1.3rem;
    }
    
    .footer-final-logo-subtitle {
        font-size: 0.9rem;
    }
    
    .footer-final-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 8px 0 0 0;
    }
    
    .footer-final-cta {
        padding: 16px;
    }
    
    .footer-final-cta-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .footer-final-telegram-btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
    
    .footer-final-bottom {
        margin-top: 20px;
        padding-top: 12px;
    }
    
    .footer-final-copyright {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .footer-final-made-with {
        font-size: 0.85rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .footer-final {
        padding: 20px 12px 16px;
    }
    
    .footer-final-content {
        gap: 16px;
    }
    
    .footer-final-cta {
        padding: 12px;
    }
    
    .footer-final-bottom {
        margin-top: 16px;
        padding-top: 12px;
    }
}

/*

/* FAQ секция */

/* Исправление отступов между всеми секциями */
section {
    padding: var(--space-2xl) var(--space-lg);
}

.section-header {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    margin-bottom: 0;
}

/* Консистентные отступы для всех секций */
.hero {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-2xl);
}

#for-whom {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

#how-it-works {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

#cases {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

#advantages {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

#faq {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

/* Убираем лишние отступы */
.container > *:last-child {
    margin-bottom: 0;
}

/* Адаптивность FAQ */
@media (max-width: 767px) {

    /* Меньшие отступы на мобильных */
    section {
        padding: var(--space-xl) var(--space-md);
    }
    
    .hero {
        padding-top: var(--space-lg);
        padding-bottom: var(--space-xl);
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {

    section {
        padding: var(--space-lg) var(--space-sm);
    }
}

/* Хлебные крошки (скрытые, но для SEO) */

/* Улучшение читаемости текста в FAQ */

/* Плавное появление FAQ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*