/* apps/main/assets/css/home.css — стили главной страницы */

/* ============================================================
   БАЗОВЫЕ СТИЛИ
   ============================================================ */

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

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

.section-tag {
    display: inline-block;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/*КАРУСЕЛЬ*/
/* home.css */

/* Центрируем обёртку карусели */
/* Обёртка карусели — центрируем и ограничиваем ширину */
.home-carousel {
    max-width: 800px;          /* ← подберите нужную ширину (800–1000px) */
    width: 100%;
    margin: 40px auto;         /* центрируем по горизонтали */
    padding: 0 20px;           /* отступы на мобильных */
    box-sizing: border-box;
}

/* Блок самого плагина — не даём ему вылезти за обёртку */
.home-carousel .metaslider,
.home-carousel .ml-slider {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Слайды и картинки — вписываем в контейнер, не растягиваем */
.home-carousel .metaslider img,
.home-carousel .ml-slider img,
.home-carousel .slides img {
    width: 100% !important;
    height: auto !important;
    max-height: 450px !important;   /* ← ограничиваем высоту слайда */
    object-fit: contain !important; /* картинка целиком, без обрезки */
    display: block;
    margin: 0 auto;
}


/* ============================================================
   ГЕРОЙ-СЕКЦИЯ
   ============================================================ */

.hero-section {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    border-radius: 20px;
    margin: 20px auto 60px;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    width: calc(100% - 40px);  /* ← добавить отступы снаружи */
    box-sizing: border-box;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(52, 152, 219, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(231, 76, 60, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(46, 204, 113, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 25px;
    border: 1px solid rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.badge-pulse {
    color: #2ecc71;
    animation: pulse 2s infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #3498db;
}

.stat-label {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 4px;
}

/* Бейдж «Новое!» */
.badge-new {
    display: inline-block;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

/* ============================================================
   КНОПКИ
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-outline-light {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   СЕКЦИЯ ВОЗМОЖНОСТЕЙ
   ============================================================ */

.features-section { padding: 60px 0 40px; }

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

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #f0f2f5;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-card.highlight {
    border: 2px solid #f1c40f;
    box-shadow: 0 8px 30px rgba(241, 196, 15, 0.15);
}

.feature-card.highlight .feature-tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 14px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #555;
}

.feature-list li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list i {
    color: #27ae60;
    font-size: 14px;
}

/* ============================================================
   СЕКЦИЯ ПОДРОБНОГО ФУНКЦИОНАЛА
   ============================================================ */

.details-section {
    padding: 60px 0;
    background: #f8f9fa;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1200px;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 20px;
    margin-top: 30px;
}

.detail-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.detail-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.detail-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.detail-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.detail-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   СЕКЦИЯ БЛОГА — КАРТОЧКИ С МИНИАТЮРОЙ СЛЕВА
   ============================================================ */
.blog-preview-section {
    padding: 60px 0;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: 1fr;   /* одна колонка — карточки в столбик */
    gap: 25px;
}

.blog-card {
    display: grid;
    grid-template-columns: 200px 1fr;   /* слева 200px, справа — остальное */
    gap: 25px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f2f5;
    align-items: stretch;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* --- Левая колонка: миниатюра --- */
.blog-card-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: #f8f9fb;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.blog-card-thumb:hover {
    transform: scale(1.02);
}

/* Картинка целиком, без обрезки */
.blog-card-img,
.blog-card-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;         /* ← ключевое: не обрезаем */
    display: block;
    border-radius: 8px;
}

/* --- Правая колонка: текст --- */
.blog-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #95a5a6;
}

.blog-card-date i {
    margin-right: 4px;
}

.blog-card-category {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #3498db;
}

.blog-card-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-card-link:hover {
    gap: 14px;
}

.blog-preview-footer {
    text-align: center;
    margin-top: 40px;
}

/* ============================================================
   АДАПТИВНОСТЬ КАРТОЧЕК БЛОГА
   ============================================================ */

/* Планшеты: миниатюра меньше */
@media (max-width: 992px) {
    .blog-card {
        grid-template-columns: 160px 1fr;
        gap: 20px;
    }

    .blog-card-thumb {
        width: 160px;
        height: 160px;
    }

    .blog-card-title {
        font-size: 18px;
    }
}

/* Мобильные: картинка сверху, текст снизу */
@media (max-width: 600px) {
    .blog-card {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 15px;
    }

    .blog-card-thumb {
        width: 100%;
        height: 240px;
    }

    .blog-card-title {
        font-size: 17px;
    }

    .blog-card-excerpt {
        font-size: 13px;
    }
}

/* ============================================================
   CTA-СЕКЦИЯ
   ============================================================ */

.cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 20px;
    margin: 40px auto 20px;
    max-width: 1200px;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text { flex: 1; min-width: 280px; }

.cta-text h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cta-actions .btn { min-width: 200px; }

.cta-actions .btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff !important;
}

.cta-actions .btn-outline-light {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ============================================================
   КНОПКА RUSTORE В CTA
   ============================================================ */

.cta-rustore-wrapper {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-rustore-btn {
    display: inline-block;
    line-height: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cta-rustore-btn:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

.cta-rustore-img {
    display: block;
    width: auto;
    height: 56px;
    max-width: 188px;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
}

/* ============================================================
   КНОПКА ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ
   ============================================================ */

.cta-policy-wrapper {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-policy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.cta-policy-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cta-policy-btn i { font-size: 15px; color: #3498db; }
.cta-policy-btn:hover i { color: #5dade2; }

/* ============================================================
   МОДАЛЬНОЕ ОКНО ПОЛИТИКИ
   ============================================================ */

.privacy-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.privacy-modal-overlay.active { display: flex; }

.privacy-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.privacy-modal-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 30px 30px 20px;
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.privacy-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.privacy-modal-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.privacy-modal-header h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
}

.privacy-modal-subtitle {
    font-size: 15px;
    opacity: 0.8;
}

.privacy-modal-version {
    display: inline-block;
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.privacy-modal-body {
    padding: 25px 30px;
    overflow-y: auto;
    flex: 1;
}

.privacy-modal-body::-webkit-scrollbar { width: 4px; }
.privacy-modal-body::-webkit-scrollbar-track { background: #f0f2f5; }
.privacy-modal-body::-webkit-scrollbar-thumb { background: #3498db; border-radius: 4px; }

.privacy-modal-section {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f2f5;
}

.privacy-modal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-modal-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.privacy-modal-section p,
.privacy-modal-section li {
    color: #555;
    line-height: 1.7;
    font-size: 14px;
}

.privacy-modal-section p { margin-bottom: 8px; }

.privacy-modal-section ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 10px;
}

.privacy-modal-section ul li {
    position: relative;
    padding: 4px 0 4px 24px;
}

.privacy-modal-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3498db;
}

.privacy-modal-highlight {
    background: #f0f7ff;
    border-left: 3px solid #3498db;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 10px 0;
}

.privacy-modal-highlight p { margin: 0; color: #2c3e50; }

.privacy-modal-warning {
    background: #fff8e6;
    border-left: 3px solid #f39c12;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 10px 0;
}

.privacy-modal-warning p { margin: 0; color: #856404; }

.privacy-modal-footer {
    padding: 18px 30px 22px;
    background: #f8f9fa;
    border-top: 1px solid #f0f2f5;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.privacy-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.privacy-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.privacy-modal-btn-secondary {
    padding: 12px 28px;
    background: transparent;
    color: #7f8c8d;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.privacy-modal-btn-secondary:hover { background: #f0f0f0; }

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

@media (max-width: 992px) {
    .hero-title { font-size: 40px; }
    .hero-description { font-size: 18px; }
    .hero-stats { gap: 40px; }
    .section-title { font-size: 30px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .details-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 15px 40px;
        margin: 10px auto 40px;
        border-radius: 16px;
    }
    .hero-title { font-size: 30px; }
    .hero-description { font-size: 16px; }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        padding-top: 25px;
    }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .details-grid { grid-template-columns: 1fr; }
    .blog-preview-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 26px; }
    .section-subtitle { font-size: 16px; }

    .cta-section {
        padding: 40px 20px;
        margin: 30px auto 15px;
        border-radius: 16px;
    }
    .cta-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    .cta-text h2 { font-size: 24px; }
    .cta-text p { font-size: 16px; }
    .cta-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
    }
    .cta-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
    }
    .cta-rustore-img { height: 48px; }
    .cta-policy-wrapper { margin-top: 20px; padding-top: 18px; }
    .cta-policy-btn { padding: 8px 20px; font-size: 13px; border-radius: 25px; }

    /* Модальное окно */
    .privacy-modal { max-height: 95vh; border-radius: 16px; }
    .privacy-modal-header { padding: 25px 20px 18px; }
    .privacy-modal-header h2 { font-size: 22px; }
    .privacy-modal-icon { font-size: 40px; }
    .privacy-modal-body { padding: 20px; }
    .privacy-modal-footer { padding: 15px 20px 20px; gap: 10px; }
    .privacy-modal-btn,
    .privacy-modal-btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 24px; }
    .hero-description { font-size: 15px; }
    .stat-number { font-size: 24px; }
    .feature-card { padding: 25px 20px; }
    .btn-lg { padding: 14px 24px; font-size: 16px; }
    .detail-item { padding: 20px; }

    .cta-section { padding: 30px 15px; margin: 20px auto 10px; border-radius: 12px; }
    .cta-text h2 { font-size: 20px; }
    .cta-text p { font-size: 14px; }
    .cta-actions { gap: 10px; }
    .cta-actions .btn { max-width: 280px; padding: 12px 20px; font-size: 14px; }
    .cta-rustore-img { height: 40px; }
    .cta-policy-btn { padding: 8px 16px; font-size: 12px; gap: 8px; width: 100%; justify-content: center; }

    .privacy-modal-overlay { padding: 10px; }
    .privacy-modal { border-radius: 12px; max-height: 98vh; }
    .privacy-modal-header { padding: 20px 15px 15px; }
    .privacy-modal-header h2 { font-size: 18px; }
    .privacy-modal-icon { font-size: 32px; }
    .privacy-modal-body { padding: 15px; }
    .privacy-modal-footer {
        padding: 12px 15px 16px;
        flex-direction: column;
        gap: 8px;
    }
    .privacy-modal-btn,
    .privacy-modal-btn-secondary {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        flex: none;
        min-width: auto;
        justify-content: center;
    }
    .privacy-modal-section h3 { font-size: 14px; }
    .privacy-modal-section p,
    .privacy-modal-section li { font-size: 13px; }
}


/* ============================================================
   КАРТОЧКИ «ЧТО НОВОГО» — ВЫДЕЛЕНИЕ «НОВОЕ!»
   ============================================================ */

/* Обычная карточка */
.features-section .feature-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid transparent;
}

.features-section .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Карточка со статусом «Новое» — золотая рамка */
.features-section .feature-card.highlight {
    border-color: #f1c40f;
    box-shadow: 0 8px 30px rgba(241, 196, 15, 0.2);
}

/* Бейдж «Новое!» */
.features-section .feature-card.highlight .feature-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    display: inline-block;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s infinite;
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.4);
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

/* Иконка карточки */
.features-section .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
}

.features-section .feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
}

.features-section .feature-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 14px;
}

.features-section .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #555;
}

.features-section .feature-list li {
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.features-section .feature-list li i {
    color: #27ae60;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Сетка карточек */
.features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-section .features-grid {
        grid-template-columns: 1fr;
    }
}

