:root {
    --primary: #4361ee;
    --secondary: #3a0ca3;
    --dark: #14213d;
    --light: #f8f9fa;
    --text: #2b2d42;
}

body {
    font: 1.1rem/1.6 'Roboto', sans-serif;
    color: var(--text);
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(200, 200, 200, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    height: 100px;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img, .footer-logo {
    height: 100px;
    width: auto;
}

.logo-text {
    font: 700 1.8rem 'Roboto', sans-serif;
    color: var(--primary);
    margin-left: 10px;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 60px 0;
    background-color: var(--light);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Buttons */
.cta-button, .select-tariff {
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.cta-button:hover, .select-tariff:hover {
    background-color: var(--secondary);
}

/* Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card, .step-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover, .step-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Sections */
.security, .steps {
    background-color: #f0f0f0;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* Tariffs */
.tariff-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.tariff-card {
    border: 1px solid #ddd;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.tariff-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--dark);
}

.tariff-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    flex-grow: 1;
}

.tariff-card li {
    margin-bottom: 12px;
}

/* Reviews */
.review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    border: 1px solid #ddd;
    padding: 25px;
    text-align: center;
    position: relative;
}

.review-card img {
    max-width: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.review-card.negative {
    border-color: #ffcccc;
    background-color: #fff9f9;
}

/* QR Code */
.qr-code-container {
    width: 250px;
    height: 250px;
    margin: 5px auto;
    text-align: center;
}

.qr-code {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 1px solid #e0e0e0;
    padding: 1px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.qr-link-wrapper {
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.qr-link-wrapper:hover {
    transform: scale(1.03);
}

.qr-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Steps section */
.steps {
    background-color: #f0f0f0;
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    padding: 25px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 15px;
    display: block;
}

.step-card .feature-icon {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 15px;
}

.step-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.step-card p {
    margin-bottom: 0;
}
.security {
    background-color: #f0f0f0;
    padding: 60px 0;
    text-align: center; /* Выравнивание всего контента по центру */
}

.security .container {
    max-width: 800px; /* Ограничиваем ширину для лучшей читаемости */
    margin: 0 auto;
}

.security h2 {
    margin-bottom: 30px;
    text-align: center; /* Центрируем заголовок */
}

.security p {
    line-height: 1.8;
    text-align: center; /* Центрируем текст */
    margin: 0 auto; /* Автоматические отступы по бокам для центрирования */
}
/* Общий стиль для всех заголовков секций */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 2.2rem;
    color: var(--dark);
}

/* Дополнительные стили для конкретных секций */

/* Секция отзывов */
.reviews {
    padding: 80px 0;
    text-align: center; /* Центрируем весь контент */
}

.reviews h2 {
    margin-bottom: 50px;
}

.review-cards {
    display: flex;
    justify-content: center; /* Центрируем карточки отзывов */
    flex-wrap: wrap;
    gap: 20px;
}

/* Секция тарифов */
.tariffs {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center; /* Центрируем весь контент */
}

.tariffs h2 {
    margin-bottom: 50px;
}

.tariff-cards {
    display: flex;
    justify-content: center; /* Центрируем карточки тарифов */
    flex-wrap: wrap;
    gap: 20px;
}

/* Секция безопасности (уже было) */
.security {
    background-color: #f0f0f0;
    padding: 60px 0;
    text-align: center;
}

.security h2 {
    margin-bottom: 30px;
}

/* Секция шагов (уже было) */
.steps h2 {
    text-align: center;
    margin-bottom: 50px;
}
.review-card {
    border: 1px solid #ddd;
    padding: 25px;
    margin-bottom: 20px;
    width: 300px;
    text-align: center;
    position: relative;
    border-radius: 8px; /* Добавляем скругление углов */
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08); /* Легкая тень */
}

.review-card img {
    width: 100px; /* Фиксированный размер фото */
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid var(--primary); /* Рамка вокруг фото */
    padding: 2px; /* Отступ между фото и рамкой */
    background: white; /* Фон под прозрачными PNG */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Тень для фото */
}

.review-card p {
    font-style: italic;
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid var(--primary); /* Акцентная полоса слева */
}

.review-card .author {
    font-weight: bold;
    color: #555;
    margin-top: 15px;
    display: block;
}

/* Для негативных отзывов */
.review-card.negative {
    border-color: #ffcccc;
    background-color: #fff9f9;
}

.review-card.negative img {
    border-color: #ff6b6b; /* Красная рамка для негативных */
}

.review-card.negative p {
    border-left-color: #ff6b6b;
    background: #fff0f0;
}


/* Responsive */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card img {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .qr-code-container {
        width: 200px;
        height: 200px;
    }
    
    .qr-link-wrapper {
        display: none;
    }
}
.tariff-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Позволит карточкам переноситься на новую строку на мобильных */
}

/* Базовая карточка тарифа */
.tariff-card {
    flex: 1; /* Карточки будут занимать равное пространство */
    min-width: 280px; /* Минимальная ширина, чтобы не сжимались слишком сильно */
    max-width: 350px; /* Максимальная ширина */
    position: relative; /* Нужно для позиционирования плашки "Популярный выбор" */
    overflow: hidden; /* Скрывает все, что выходит за пределы скругленных углов */
}

/* Стиль для выделенной карточки */
.tariff-card-highlighted {
    border: 2px solid #4A90E2; /* Яркая рамка для привлечения внимания */
    transform: scale(1.05); /* Немного увеличить в размере */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Более заметная тень */
}

/* Плашка "Популярный выбор" */
.highlight-badge {
    position: absolute;
    top: 15px;
    right: -45px;
    background-color: #4A90E2; /* Цвет в тон рамке */
    color: white;
    padding: 5px 40px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(45deg);
    text-align: center;
}

/* Стиль для недоступных функций */
.feature-disabled {
    color: #999;
    text-decoration: line-through;
}

/* Улучшение читаемости списка */
.tariff-card ul {
    text-align: left; /* Текст в списке лучше выравнивать по левому краю */
    padding-left: 20px;
}

.tariff-card ul li {
    margin-bottom: 10px; /* Больше воздуха между пунктами */
}