/* style.css с улучшенной мобильной версией */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
    padding-top: 60px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #6c63ff;
    background: #f8f7ff;
}

.nav-links a.active {
    color: #6c63ff;
    font-weight: 600;
    background: #f8f7ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero-section {
    background: linear-gradient(135deg, #6c63ff 0%, #9a63ff 100%);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
    text-align: left;
    color: white;
}

.hero-content p {
    margin-bottom: 25px;
    line-height: 1.6;
    opacity: 0.9;
    font-size: 1.1em;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn {
    background: white;
    color: #6c63ff;
}

.buy-btn:hover {
    background: #f8f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.register-btn-hero {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.register-btn-hero:hover {
    background: white;
    color: #6c63ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Стили для iOS уведомлений */
.sms-examples {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ios-notification {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e7;
    max-width: 320px;
    position: relative;
    overflow: hidden;
}

.notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.app-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    margin-right: 8px;
}

.app-icon.amazon {
    background: linear-gradient(135deg, #FF9900, #FFAC31);
}

.app-icon.facebook {
    background: linear-gradient(135deg, #1877F2, #4EABFF);
}

.app-icon.telegram {
    background: linear-gradient(135deg, #0088CC, #00A2FF);
}

.app-name {
    font-weight: 600;
    font-size: 14px;
    color: #000;
    flex-grow: 1;
}

.notification-time {
    font-size: 12px;
    color: #8E8E93;
}

.notification-body {
    margin-top: 4px;
}

.notification-title {
    font-weight: 600;
    font-size: 13px;
    color: #000;
    margin-bottom: 2px;
}

.notification-message {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

.section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #444;
    text-align: left;
}

/* Стили для стран с флагами */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.country-item {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    cursor: pointer;
}

.country-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #6c63ff;
}

/* Стили для изображений флагов - полностью убраны рамки и обрезка */
.country-flag-img {
    height: 20px;
    margin-right: 12px;
}

.country-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.service-item {
    background: white;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #6c63ff;
}

.service-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background: #f0f0f0;
    border-radius: 4px;
}

.service-name {
    flex-grow: 1;
    font-size: 14px;
}

.get-number {
    background: #6c63ff;
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.get-number:hover {
    background: #5752d4;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(108, 99, 255, 0.3);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #6c63ff;
}

.benefit-card h3 {
    margin-bottom: 12px;
    color: #444;
    font-size: 1.1em;
    height: auto;
    text-align: left;
}

.benefit-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 0;
    text-align: left;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 15px;
    margin: 10px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-3px);
}

.step-number {
    background: #6c63ff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: bold;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background: #5752d4;
    transform: scale(1.1);
}

.step h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #444;
}

.step p {
    color: #666;
    font-size: 14px;
}

.footer {
    background: #2d2d2d;
    color: white;
    padding: 40px 5% 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-column h3 {
    color: #6c63ff;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6c63ff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #999;
}

.footer-company {
    color: #6c63ff;
    font-weight: bold;
}

/* Стили для кнопки поддержки */
.support-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #6c63ff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.support-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(108, 99, 255, 0.4);
}

/* Модальное окно поддержки */
.support-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.support-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.support-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-modal-header h3 {
    margin: 0;
    color: #333;
}

.close-support-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.support-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-message {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 85%;
    word-wrap: break-word;
    position: relative;
    display: flex;
    flex-direction: column;
}

.support-message.bot {
    background: #f0f0f0;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.support-message.user {
    background: #6c63ff;
    color: white;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.message-content {
    margin-bottom: 4px;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7em;
    opacity: 0.7;
    align-self: flex-end;
    margin-top: 4px;
}

.support-chat-input {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.support-chat-input input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 16px; /* Добавлено для предотвращения зума на iOS */
}

.support-chat-input input:focus {
    border-color: #6c63ff;
}

.support-chat-input button {
    background: #6c63ff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}

/* Анимация для уведомлений на главной странице - медленное появление */
.sms-examples .ios-notification {
    animation: slideInRight 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.sms-examples .ios-notification:nth-child(1) {
    animation-delay: 0.4s;
}

.sms-examples .ios-notification:nth-child(2) {
    animation-delay: 0.8s;
}

.sms-examples .ios-notification:nth-child(3) {
    animation-delay: 1.2s;
}

/* Стили для страницы приложения */
.app-hero {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-window {
    background: #f5f5f7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 300px;
    border: 1px solid #e1e1e1;
}

.window-header {
    background: #e8e8e8;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d1d1d1;
}

.window-controls {
    display: flex;
    gap: 6px;
    margin-right: 12px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close {
    background: #ff5f57;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #28ca42;
}

.window-title {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.app-content {
    padding: 20px;
    background: white;
}

.app-notification {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #e5e5e7;
    animation: slideInRight 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.app-notification:nth-child(1) {
    animation-delay: 0.3s;
}

.app-notification:nth-child(2) {
    animation-delay: 0.6s;
}

.app-notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.app-notification-body .notification-message {
    font-size: 14px;
    color: #333;
}

/* Стили для кнопок скачивания */
.download-btn {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: white;
    border: none;
}

.download-btn:hover {
    background: linear-gradient(135deg, #00c2ee 0%, #2a6bc4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 123, 213, 0.4);
}

.download-btn-large {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(58, 123, 213, 0.3);
}

.download-btn-large:hover {
    background: linear-gradient(135deg, #00c2ee 0%, #2a6bc4 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(58, 123, 213, 0.5);
}

.download-icon {
    font-size: 24px;
}

.file-size {
    font-size: 14px;
    opacity: 0.9;
    font-weight: normal;
}

/* Стили для секции загрузки */
.download-section {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download-section h2 {
    color: white;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.download-section p {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 30px;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-info {
    margin-top: 20px;
    opacity: 0.8;
    font-size: 14px;
}

/* Стили для системных требований */
.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.requirement-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #6c63ff;
}

.requirement-item h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
}

.requirement-item p {
    color: #666;
    font-size: 14px;
}

/* Стили для шагов приложения */
.app-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.app-steps .step {
    min-width: auto;
    margin: 0;
}

/* Стили для FAQ страницы */
.faq-hero-section {
    border-radius: 12px 12px 0 0 !important;
    margin-bottom: 0 !important;
}

.faq-hero-section .hero-content h1:after {
    display: none;
}

.faq-support-section {
    background: linear-gradient(135deg, #6c63ff 0%, #9a63ff 100%);
    color: white;
    text-align: center;
    padding: 50px 20px;
    border-radius: 12px;
    margin-top: 40px;
}

.faq-support-section h2 {
    color: white;
    font-size: 2.2em;
    margin-bottom: 15px;
}

.faq-support-section p {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.6;
}

.faq-support-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Анимации */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Улучшенные стили для шагов в FAQ */
.faq-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.faq-step {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.faq-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.1);
    border-color: #6c63ff;
}

.faq-step .step-number {
    background: #6c63ff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.faq-step:hover .step-number {
    background: #5752d4;
    transform: scale(1.1);
}

.faq-step .step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.faq-step .step-content h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #444;
    text-align: center;
}

.faq-step .step-content p {
    color: #666;
    line-height: 1.6;
    text-align: center;
    flex: 1;
}

/* Улучшенные стили для вопросов в FAQ */
.faq-questions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.faq-question {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faq-question:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #6c63ff;
}

.faq-question h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.2em;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.faq-question h3::before {
    content: '';
    font-size: 1.3em;
    flex-shrink: 0;
}

.faq-question p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    flex: 1;
    text-align: left;
}

/* Стили для чата поддержки - всегда показывать нижнюю часть */
.support-chat-messages {
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
}

.support-message:last-child {
    margin-bottom: 0;
}

/* Автоматическое перенос длинных слов */
.message-content {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Адаптивные размеры сообщений */
.support-message {
    min-width: 60px;
    max-width: 85%;
}

.support-message.bot {
    align-self: flex-start;
}

.support-message.user {
    align-self: flex-end;
}

/* Плавная анимация появления сообщений */
.support-message {
    animation: messageAppear 0.3s ease-out;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Увеличенные стили для чата поддержки */
.support-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.support-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 450px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 400px;
}

.support-chat-input {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Убедимся, что сообщения хорошо выглядят в увеличенном чате */
.support-message {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 85%;
    word-wrap: break-word;
    position: relative;
    display: flex;
    flex-direction: column;
}

.message-content {
    margin-bottom: 4px;
    line-height: 1.4;
    font-size: 14px;
}

.message-time {
    font-size: 0.7em;
    opacity: 0.7;
    align-self: flex-end;
    margin-top: 4px;
}

/* УЛУЧШЕННАЯ МОБИЛЬНАЯ ВЕРСИЯ С ЦЕНТРИРОВАНИЕМ И 8 СТРАНАМИ */
@media (max-width: 768px) {
    body {
        padding-top: 80px; /* Увеличили отступ для мобильных */
    }
    
    .header {
        padding: 10px 5%;
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        min-height: 80px;
    }
    
    .logo {
        font-size: 18px;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
    
    .nav-links {
        gap: 10px;
        order: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 8px 12px;
        margin: 2px;
    }
    
    .container {
        padding: 15px;
        text-align: center;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 20px;
        text-align: center;
        margin-top: 10px; /* Добавили отступ сверху */
        border-radius: 12px; /* Восстановили закругления */
        overflow: hidden; /* Чтобы закругления работали */
    }
    
    .hero-content h1 {
        font-size: 1.8em;
        text-align: center;
    }
    
    .hero-content p {
        font-size: 1em;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 10px;
    }
    
    /* УБИРАЕМ УВЕДОМЛЕНИЯ НА МОБИЛЬНЫХ */
    .sms-examples {
        display: none;
    }
    
    /* УБИРАЕМ ИНТЕРФЕЙС ПРИЛОЖЕНИЯ НА МОБИЛЬНЫХ */
    .app-preview {
        display: none;
    }
    
    .section {
        padding: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    h1 {
        font-size: 1.8em;
        text-align: center;
    }
    
    h2 {
        font-size: 1.4em;
        text-align: center;
    }
    
    /* СТРАНЫ - 8 СТРАН В 2 КОЛОНКИ С УДЛИНЕННЫМИ ПЛАШКАМИ */
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
        margin: 20px auto;
        justify-items: center;
    }
    
    /* Показываем только первые 8 стран */
    .country-item:nth-child(n+9) {
        display: none;
    }
    
    .country-item {
        padding: 15px 10px;
        flex-direction: row;
        justify-content: flex-start;
        min-height: 60px;
        align-items: center;
        width: 100%;
        max-width: 280px;
        text-align: left;
    }
    
    .country-flag-img {
        height: 25px;
        margin-right: 12px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .country-name {
        font-size: 14px;
        font-weight: 600;
        text-align: left;
        flex-grow: 1;
    }
    
    .benefits {
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
    }
    
    .benefit-card {
        padding: 15px;
        text-align: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .benefit-card h3,
    .benefit-card p {
        text-align: center;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .step {
        min-width: auto;
        margin: 10px 0;
        padding: 15px 10px;
        text-align: center;
        max-width: 280px;
    }
    
    .step h3,
    .step p {
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .service-item {
        justify-content: center;
        text-align: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .service-name {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .app-hero {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .app-window {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .app-steps {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .requirements {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .requirement-item {
        text-align: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .requirement-item h3,
    .requirement-item p {
        text-align: center;
    }
    
    .download-btn-large {
        padding: 15px 25px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
    }
    
    .faq-steps {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .faq-step {
        padding: 20px;
        text-align: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .faq-step .step-content h3,
    .faq-step .step-content p {
        text-align: center;
    }
    
    .faq-questions {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .faq-question {
        padding: 20px;
        text-align: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .faq-question h3,
    .faq-question p {
        text-align: center;
    }
    
    .faq-step .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .support-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
    
    .support-modal-content {
        width: 95%;
        height: 70vh;
        max-height: 70vh;
    }
    
    .support-chat-messages {
        max-height: 55vh;
        min-height: 300px;
    }
    
    /* Улучшение для поля ввода в мобильной версии */
    .support-chat-input input {
        font-size: 16px; /* Предотвращает зум на iOS */
        min-height: 44px; /* Увеличиваем область касания */
    }
    
    .support-chat-input button {
        min-height: 44px; /* Увеличиваем область касания */
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 80px;
    }
    
    .hero-section {
        margin-top: 5px;
        padding: 20px 15px;
    }
    
    /* Центрирование гридов */
    .countries-grid,
    .services-grid,
    .benefits,
    .steps,
    .requirements,
    .faq-steps,
    .faq-questions {
        justify-items: center;
    }
    
    .support-modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .support-chat-messages {
        max-height: 75vh;
        min-height: 400px;
    }
    
    .footer {
        padding: 30px 5% 15px;
    }
    
    .footer-column h3 {
        font-size: 1em;
    }
    
    .footer-links a {
        font-size: 13px;
    }
}

/* Специальные улучшения для очень маленьких экранов */
@media (max-width: 360px) {
    body {
        padding-top: 80px;
    }
    
    .hero-content h1 {
        font-size: 1.4em;
    }
    
    .hero-content p {
        font-size: 0.9em;
    }
    
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .country-item {
        padding: 12px 10px;
        min-height: 55px;
    }
    
    .country-name {
        font-size: 13px;
    }
    
    .benefit-card h3 {
        font-size: 1em;
    }
    
    .benefit-card p {
        font-size: 0.9em;
    }
    
    .nav-links a {
        padding: 6px 10px;
        font-size: 12px;
    }
}