/* ===== GLOBAL STYLES ===== */
:root {
    --bg: #0b1021;
    --card: #121830;
    --panel: #11162b;
    --line: rgba(255, 255, 255, 0.06);
    --text: #e9ecf5;
    --text-muted: #9aa3c1;
    --accent: #6ae3ff;
    --accent-gradient: linear-gradient(135deg, #6ae3ff, #8b7bff);
    --ghost: rgba(106, 227, 255, 0.12);
    --bad: #ef4444;
    --good: #34d399;
    --radius-card: 16px;
    --radius-btn: 10px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container { 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

section { 
    padding: 100px 0; 
}

h1 { 
    font-size: 3.5rem; 
    font-weight: 700; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
}

h2 { 
    font-size: 2.5rem; 
    font-weight: 600; 
    margin-bottom: 1rem; 
}

h3 { 
    font-size: 1.5rem; 
    font-weight: 600; 
    margin-bottom: 1rem; 
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.subtitle { 
    font-size: 1.25rem; 
    color: var(--text-muted); 
    margin-bottom: 2rem; 
    max-width: 700px;
}

.text-center { 
    text-align: center;
    margin-left: auto;
    margin-right: auto; 
}

.mb-40 { 
    margin-bottom: 40px; 
}

.mb-60 { 
    margin-bottom: 60px; 
}

.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.pt-30 { padding-top: 30px; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }

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

.bg-panel { background-color: var(--panel); }
.bg-card { background-color: var(--card); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: 16px 32px; 
    border-radius: var(--radius-btn);
    font-weight: 600; 
    text-decoration: none; 
    cursor: pointer;
    transition: all 0.3s ease; 
    border: none; 
    font-size: 1rem;
    gap: 8px;
    white-space: nowrap;
}

.btn i:first-child:not(:last-child) {
    margin-right: 8px;
}

.btn i:last-child:not(:first-child) {
    margin-left: 8px;
}

.btn-primary {
    background: var(--accent-gradient); 
    color: var(--bg);
    box-shadow: 0 4px 20px rgba(106, 227, 255, 0.3);
}

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

.btn-ghost {
    background: transparent; 
    color: var(--accent);
    border: 1px solid var(--line);
}

.btn-ghost:hover { 
    background: var(--ghost); 
    border-color: var(--accent); 
}

/* ===== CHIPS ===== */
.chip {
    display: inline-flex; 
    align-items: center;
    padding: 8px 16px; 
    border-radius: 20px;
    font-size: 0.9rem; 
    font-weight: 500; 
    margin: 0 5px 10px 0;
}

.chip-accent { 
    background-color: var(--accent); 
    color: var(--bg); 
}

.chip-ghost { 
    background-color: var(--ghost); 
    color: var(--accent); 
    border: 1px solid rgba(106, 227, 255, 0.3); 
}

/* ===== HEADER ===== */
header {
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0;
    background: rgba(11, 16, 33, 0.95);
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--line);
}

.header-container {
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    padding: 15px 20px;
    position: relative;
    /* FIX: предотвращаем сжатие элементов */
    flex-wrap: nowrap;
    min-width: 0;
    overflow: visible;
}

.logo {
    display: flex; 
    align-items: center; 
    gap: 12px;
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s;
    /* FIX: не позволяем логотипу сжиматься */
    flex-shrink: 0;
    min-width: max-content;
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    width: 32px; 
    height: 32px; 
    background: var(--accent-gradient);
    border-radius: 8px; 
    display: flex; 
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== NAVIGATION ===== */
nav {
    display: flex;
    align-items: center;
    /* FIX: убираем возможность растягиваться */
    flex-grow: 0;
    flex-shrink: 0;
}

nav ul {
    display: flex; 
    gap: 30px; 
    list-style: none;
    align-items: center;
    /* FIX: предотвращаем перенос */
    flex-wrap: nowrap;
}

nav a {
    color: var(--text); 
    text-decoration: none;
    font-weight: 500; 
    transition: color 0.3s;
    white-space: nowrap;
    position: relative;
    padding: 5px 0;
}

nav a:not(.btn):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s;
}

nav a:not(.btn):hover:after {
    width: 100%;
}

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

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex; 
    margin-left: 20px;
    border: 1px solid var(--line); 
    border-radius: 8px;
    overflow: hidden; 
    background: var(--card);
    /* FIX: фиксируем размер языкового переключателя */
    flex-shrink: 0;
    min-width: 180px;
    width: 180px;
    justify-content: center;
	margin-right: 20px;
}

.lang-btn {
    padding: 8px 16px; 
    background: transparent; 
    border: none;
    color: var(--text-muted); 
    font-weight: 500; 
    cursor: pointer;
    transition: all 0.3s; 
    font-size: 0.9rem;
    text-decoration: none; 
    display: block;
    /* FIX: фиксированная ширина для всех кнопок */
    width: 60px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.lang-btn.active, .lang-btn:hover {
    background: var(--accent-gradient); 
    color: var(--bg);
}

.mobile-menu-btn { 
    display: none; 
    font-size: 1.5rem; 
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    z-index: 1001;
    /* FIX: не даем кнопке меню влиять на layout */
    flex-shrink: 0;
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 160px; 
    padding-bottom: 120px;
    position: relative; 
    overflow: hidden;
    background: linear-gradient(rgba(11, 16, 33, 0.9), rgba(11, 16, 33, 0.95));
}

.hero::before, .hero::after {
    content: ''; 
    position: absolute; 
    border-radius: 50%; 
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    top: -200px; 
    left: -200px; 
    width: 600px; 
    height: 600px;
    background: radial-gradient(circle, rgba(139, 123, 255, 0.15) 0%, transparent 70%);
}

.hero::after {
    bottom: -200px; 
    right: -200px; 
    width: 600px; 
    height: 600px;
    background: radial-gradient(circle, rgba(106, 227, 255, 0.15) 0%, transparent 70%);
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 800px; 
}

.hero-badges { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
    margin-bottom: 40px; 
}

.hero-btns { 
    display: flex; 
    gap: 20px; 
    margin-top: 40px; 
    flex-wrap: wrap; 
}

.social-proof {
    margin-top: 40px; 
    padding: 25px; 
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-card); 
    display: flex; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 40px;
    border: 1px solid var(--line);
}

.social-proof-item { 
    display: flex; 
    flex-direction: column;
    align-items: flex-start;
    gap: 5px; 
}

.social-proof-number { 
    font-weight: 700; 
    color: var(--accent); 
    font-size: 1.5rem; 
}

/* ===== WHY US SECTION ===== */
.why-us-grid,
.for-whom-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-us-card,
.for-whom-card,
.benefit-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 35px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.why-us-card:hover,
.for-whom-card:hover,
.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.why-us-icon,
.for-whom-icon,
.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(106, 227, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 25px;
    transition: transform 0.3s;
}

.why-us-card:hover .why-us-icon,
.for-whom-card:hover .for-whom-icon,
.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

/* ===== CALCULATOR SECTION ===== */
.calculator-wrapper {
    background: var(--card);
    border-radius: var(--radius-card);
    padding: 50px;
    margin-top: 40px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.budget-slider {
    margin-bottom: 30px;
}

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

#budgetValue {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--ghost);
    padding: 8px 16px;
    border-radius: var(--radius-btn);
}

#budgetSlider {
    width: 100%;
    height: 10px;
    background: var(--bg);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

#budgetSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--bg);
    box-shadow: 0 0 10px rgba(106, 227, 255, 0.5);
}

#budgetSlider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--bg);
    box-shadow: 0 0 10px rgba(106, 227, 255, 0.5);
}

.niche-selection {
    margin-top: 40px;
}

.niche-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.niche-btn {
    padding: 14px 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-btn);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    flex: 1;
    min-width: 120px;
}

.niche-btn.active,
.niche-btn:hover {
    background: var(--accent-gradient);
    color: var(--bg);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(106, 227, 255, 0.3);
}

.calc-result {
    animation: fadeIn 0.5s ease;
}

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

.result-chart {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.chart-container {
    flex-shrink: 0;
    position: relative;
}

.chart-legend {
    flex-grow: 1;
}

.legend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 15px;
}

.legend-platform {
    flex-grow: 1;
}

.result-summary {
    margin-top: 30px; 
    padding: 25px; 
    background: var(--ghost); 
    border-radius: var(--radius-card);
    border: 1px solid rgba(106, 227, 255, 0.2);
}

/* ===== PLATFORMS SECTION ===== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.platform-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.platform-icon svg {
    width: 40px;
    height: 40px;
}

/* Цветные фоны для иконок платформ */
.platform-card:nth-child(1) .platform-icon { /* Google */
    background: rgba(66, 133, 244, 0.1);
}

.platform-card:nth-child(2) .platform-icon { /* Meta */
    background: rgba(24, 119, 242, 0.1);
}

.platform-card:nth-child(3) .platform-icon { /* TikTok */
    background: rgba(0, 0, 0, 0.1);
}

.platform-card:nth-child(4) .platform-icon { /* Яндекс */
    background: rgba(255, 51, 51, 0.1);
}

.platform-card:nth-child(5) .platform-icon { /* Telegram */
    background: rgba(0, 136, 204, 0.1);
}

.platform-card:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
}

.platform-min {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--ghost);
    padding: 6px 12px;
    border-radius: 20px;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    background: linear-gradient(135deg, rgba(17, 22, 43, 0.9), rgba(11, 16, 33, 0.9));
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--line);
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.partner-logo i,
.partner-logo svg {
    width: 48px;
    height: 48px;
    transition: transform 0.3s;
}

.partner-logo:hover i,
.partner-logo:hover svg {
    transform: scale(1.1);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== INFOGRAPHIC SECTION ===== */
.infographic-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.infographic-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 60px 30px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.infographic-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.infographic-card .step-number {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg);
    box-shadow: 0 10px 20px rgba(106, 227, 255, 0.3);
    transition: all 0.3s;
}

.infographic-card:hover .step-number {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(106, 227, 255, 0.4);
}

.infographic-card h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--accent);
    font-size: 1.4rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infographic-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== PRICING SECTION ===== */
.pricing-card {
    background: var(--card);
    border-radius: var(--radius-card);
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.price-main {
    font-size: 5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0;
    line-height: 1;
}

.pricing-features {
    list-style: none;
    margin: 40px 0;
}

.pricing-features li {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    padding-left: 35px;
    font-size: 1.1rem;
}

.pricing-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--good);
    font-weight: bold;
    font-size: 1.3rem;
}

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

/* ===== FINAL CTA SECTION ===== */
.final-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(17, 22, 43, 0.9), rgba(11, 16, 33, 0.9));
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at center, rgba(106, 227, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.5; }
}

.final-cta > .container {
    position: relative;
    z-index: 2;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--panel);
    padding: 80px 0 40px;
    border-top: 1px solid var(--line);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 16, 33, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--card);
    border-radius: var(--radius-card);
    padding: 50px;
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--line);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-btn);
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 20px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(106, 227, 255, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa3c1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.4rem; }
    section { padding: 80px 0; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .calculator-content {
        gap: 30px;
    }
    
    .infographic-cards {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    .subtitle { font-size: 1.1rem; }
    
    .header-container {
        flex-wrap: wrap;
        padding: 12px 15px;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 2;
    }
    
    nav {
        display: none;
        order: 4;
        width: 100%;
        margin-top: 20px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    /* FIX для мобильных: адаптируем языковой переключатель */
    .lang-switcher {
        order: 3;
        margin-left: auto;
        margin-right: 15px;
        min-width: 150px;
        width: 150px;
    }
    
    .lang-btn {
        width: 50px;
        padding: 8px 12px;
    }
    
    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .social-proof {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .social-proof-item {
        align-items: flex-start;
    }
    
    .calculator-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .calculator-wrapper {
        padding: 30px;
    }
    
    .result-chart {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .infographic-cards {
        grid-template-columns: 1fr;
        gap: 80px;
        margin: 40px 0;
    }
    
    .infographic-card {
        padding: 60px 20px 30px;
    }
    
    .infographic-card h3 {
        min-height: auto;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .platform-card {
        padding: 20px 15px;
    }
    
    .platform-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }
    
    .platform-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .partners-logos {
        gap: 20px;
    }
    
    .partner-logo {
        width: 70px;
        height: 70px;
    }
    
    .partner-logo i,
    .partner-logo svg {
        width: 36px;
        height: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .modal-content {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.2rem; }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .why-us-card,
    .for-whom-card,
    .benefit-card,
    .platform-card {
        padding: 25px;
    }
    
    .price-main {
        font-size: 3.5rem;
    }
    
    .pricing-card {
        padding: 30px 25px;
    }
    
    .niche-buttons {
        flex-direction: column;
    }
    
    .niche-btn {
        width: 100%;
    }
    
    .chip {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .modal-content {
        padding: 25px 20px;
    }
    
    .infographic-card .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* FIX для очень маленьких экранов */
    .lang-switcher {
        min-width: 140px;
        width: 140px;
    }
    
    .lang-btn {
        width: 46px;
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
}