/* 
File: assets/css/components.css (FINAL FIXED VERSION)
Description: High Contrast, User's Hero 400px, Red Links, UI Components
*/

:root {
    /* Основные цвета */
    --bg-body: #0f0f11;       
    --bg-card: #19191c;       
    --bg-header: rgba(15, 15, 17, 0.85); 
    
    /* Текст */
    --text-main: #ffffff;
    /* ИСПРАВЛЕНО: Светло-серый для контраста (Google Speed) */
    --text-muted: #d1d5db;    
    
    /* Акценты */
    --accent-primary: #7B61FF; 
    --accent-hover: #6548e6;
    --accent-gradient: linear-gradient(92deg, #7B61FF 0%, #5235E8 100%);
    
    /* ИСПРАВЛЕНО: Красный цвет ссылок */
    --link-color: #ff5252;

    /* UI */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;        
    --container-width: 1200px;
    --gap: 20px;
}

/* =========================================
   1. HERO SECTION (ТВОЙ КОД 800x400 STYLE)
   ========================================= */
.article-hero {
    position: relative;
    width: 100vw;
    /* ИСПРАВЛЕНО: Высота 400px */
    height: 400px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 60px;
    margin-top: -100px;
    padding-top: 80px;
    overflow: hidden;
    background: #0f0f11;
}

/* Изображение на фоне */
.hero-bg-img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    z-index: 0; 
    opacity: 0.8; /* Чуть приглушил */
}

/* Заглушка */
.hero-bg-placeholder {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #2a2a35 0%, #0f0f11 100%);
    z-index: 0;
}

/* ИСПРАВЛЕНО: Затемнение фона */
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

/* Эффект виньетки (черно-фиолетовые бока) */
.article-hero::after {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, #0f0f11 0%, rgba(15,15,17,0) 25%, rgba(15,15,17,0) 75%, #0f0f11 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content-wrapper {
    position: relative; z-index: 2;
    text-align: center; max-width: 900px;
    display: flex; flex-direction: column; align-items: center;
}

/* Рубрика */
.hero-category { margin-bottom: 20px; }
.hero-category a {
    display: inline-block;
    background: rgba(123, 97, 255, 0.3); color: #fff; /* Ярче текст */
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    padding: 6px 14px; border-radius: 20px;
    text-decoration: none; border: 1px solid rgba(123, 97, 255, 0.5);
    transition: 0.3s;
}
.hero-category a:hover { background: var(--accent-primary); border-color: var(--accent-primary); }

.article-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800; line-height: 1.2;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 0 5px 30px #000000;
}

/* Мета строка */
.hero-meta-row {
    display: flex; align-items: center; justify-content: center; gap: 15px;
    font-size: 14px; color: #fff; /* Белый текст */
    background: rgba(0,0,0,0.6);
    padding: 8px 20px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
}
.hero-meta-row .sep { opacity: 0.5; }
.meta-item.author { font-weight: 700; color: #fff; }


/* =========================================
   2. СОДЕРЖАНИЕ (TOC)
   ========================================= */
.toc-wrapper {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 25px; margin-bottom: 50px;
    display: none;
}
.toc-wrapper.visible { display: block; }

.toc-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; cursor: pointer;
}
.toc-title { font-size: 18px; font-weight: 700; color: #fff; }
.toc-toggle {
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: #fff; padding: 4px 10px; border-radius: 4px;
    font-size: 14px; cursor: pointer;
}

.toc-content.hidden { display: none; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 10px; }
.toc-list a {
    color: var(--text-muted); font-size: 16px; text-decoration: none;
    transition: 0.3s; display: block; padding-left: 10px; border-left: 2px solid transparent;
}
.toc-list a:hover { color: #fff; border-left-color: var(--accent-primary); padding-left: 15px; }
.toc-list .toc-subitem { margin-left: 20px; font-size: 15px; }


/* =========================================
   3. ТИПОГРАФИКА (LINKS RED)
   ========================================= */
.entry-content { font-size: 19px; line-height: 1.8; color: var(--text-muted); }

.entry-content h2, .entry-content h3 {
    color: #fff; margin-top: 60px; margin-bottom: 25px; line-height: 1.3;
}
.entry-content h2 {
    font-size: 32px; font-weight: 800;
    padding-left: 20px; border-left: 4px solid var(--accent-primary);
}
.entry-content h3 { font-size: 26px; font-weight: 700; }
.entry-content p { margin-bottom: 25px; }

/* Списки */
.entry-content ul, .entry-content ol { margin-bottom: 30px; padding-left: 0; list-style: none; }
.entry-content li { margin-bottom: 15px; position: relative; padding-left: 30px; }
.entry-content ul li::before {
    content: ''; position: absolute; left: 10px; top: 11px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}
.entry-content ol { counter-reset: my-cnt; }
.entry-content ol li { counter-increment: my-cnt; }
.entry-content ol li::before {
    content: counter(my-cnt); position: absolute; left: 0; top: 0;
    font-weight: 800; color: #fff; font-size: 14px;
    background: var(--accent-primary); width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
}

/* ИСПРАВЛЕНО: Ссылки Красные */
.entry-content a {
    color: var(--link-color); 
    text-decoration: underline; text-underline-offset: 4px;
    transition: 0.3s; font-weight: 600;
}
.entry-content a:hover { color: #ff8a8a; text-decoration-color: transparent; }

.entry-content blockquote {
    background: linear-gradient(90deg, rgba(123, 97, 255, 0.1) 0%, rgba(0,0,0,0) 100%);
    border-left: 4px solid var(--accent-primary);
    padding: 30px; margin: 40px 0;
    font-style: italic; font-size: 20px; color: #fff;
}


/* =========================================
   4. ИНФО-БЛОКИ (CONTRAST)
   ========================================= */
.info-box {
    padding: 25px 30px; margin: 40px 0;
    border-radius: 12px; position: relative;
    color: #fff; /* Белый текст */
}
.info-title {
    display: block; margin-top: 0; margin-bottom: 10px;
    font-size: 20px; font-weight: 700;
}
.info-box.info { background: rgba(60, 100, 255, 0.2); border-left: 4px solid #5c7cff; }
.info-box.info .info-title { color: #8ba3ff; }

.info-box.warning { background: rgba(123, 97, 255, 0.2); border-left: 4px solid var(--accent-primary); }
.info-box.warning .info-title { color: #a594ff; }

.info-box.success { background: rgba(46, 204, 113, 0.2); border-left: 4px solid #2ecc71; }
.info-box.success .info-title { color: #5ce696; }


/* =========================================
   5. ТАБЛИЦЫ
   ========================================= */
.table-wrapper {
    overflow-x: auto; margin: 50px 0;
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
}
.styled-table { width: 100%; border-collapse: collapse; min-width: 600px; background: #151518; }
.styled-table thead tr { background: #25252b; text-align: left; }
.styled-table th {
    padding: 18px 25px; color: #fff; font-weight: 700;
    font-size: 14px; text-transform: uppercase; letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-primary);
}
.styled-table td {
    padding: 16px 25px; color: #e0e0e0; font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.styled-table tbody tr:nth-child(even) { background-color: rgba(255, 255, 255, 0.03); }
.styled-table tbody tr:hover { background-color: rgba(123, 97, 255, 0.1); color: #fff; }


/* =========================================
   6. КОМПОНЕНТЫ
   ========================================= */

/* FAQ */
.faq-section-block { margin: 50px 0; }
.accordion-item {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; margin-bottom: 10px; overflow: hidden; transition: 0.3s;
}
.accordion-header {
    padding: 18px 25px; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 18px; color: #fff;
}
.accordion-icon { width: 24px; height: 24px; position: relative; flex-shrink: 0; margin-left: 15px; }
.accordion-icon::before, .accordion-icon::after {
    content: ''; position: absolute; background: #fff;
    top: 50%; left: 50%; transform: translate(-50%, -50%); transition: 0.3s;
}
.accordion-icon::before { width: 12px; height: 2px; }
.accordion-icon::after { width: 2px; height: 12px; }
.accordion-item.active { border-color: var(--accent-primary); background: rgba(123, 97, 255, 0.1); }
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-item.active .accordion-icon::before, .accordion-item.active .accordion-icon::after { background: var(--accent-primary); }
.accordion-content {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    padding: 0 25px; color: var(--text-muted); font-size: 16px; opacity: 0;
}
.accordion-item.active .accordion-content { padding-bottom: 20px; opacity: 1; transition: opacity 0.3s 0.1s; }

/* TABS */
.tabs-container { margin: 50px 0; }
.tabs-nav {
    display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px; overflow-x: auto;
}
.tab-btn {
    background: transparent; border: none; color: var(--text-muted);
    padding: 10px 20px; cursor: pointer; font-weight: 700; font-size: 15px;
    border-radius: 30px; transition: 0.3s; white-space: nowrap;
}
.tab-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }
.tab-btn.active { background: var(--accent-primary); color: #fff; }
.tab-content { display: none; animation: slideUp 0.4s ease; }
.tab-content.active { display: block; }
@keyframes slideUp { from {opacity:0; transform:translateY(10px);} to {opacity:1; transform:translateY(0);} }

/* ИСПРАВЛЕНО: ROADMAP (CONTRAST DATE) */
.roadmap {
    position: relative; margin: 50px 0 50px 20px; border-left: 2px solid rgba(255,255,255,0.15);
}
.roadmap-item { position: relative; padding-left: 40px; margin-bottom: 40px; }
.roadmap-item::before {
    content: ''; position: absolute; left: -9px; top: 0;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--bg-body); border: 2px solid var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}
.roadmap-date {
    display: inline-block; font-size: 12px; font-weight: 800;
    text-transform: uppercase; color: #fff; /* Белый текст */
    background: var(--accent-primary); /* Яркий фон для контраста */
    padding: 4px 10px; border-radius: 4px; margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(123, 97, 255, 0.3);
}
.roadmap-title { margin: 0 0 5px 0; font-size: 20px; color: #fff; }
.roadmap-desc { font-size: 16px; color: var(--text-muted); margin: 0; }

/* ИСПРАВЛЕНО: CAROUSEL (VISIBILITY) */
.custom-slider { position: relative; margin: 50px 0; }
.slider-wrapper {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 20px; padding-bottom: 20px; scrollbar-width: none; scroll-behavior: smooth;
}
.slider-wrapper::-webkit-scrollbar { display: none; }
.slide-item {
    flex: 0 0 300px; scroll-snap-align: center;
    background: #19191c; border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
    position: relative; /* Для наложения затемнения */
}
.slide-item:hover { border-color: rgba(123, 97, 255, 0.3); }

/* Затемнение картинки в слайдере, чтобы текст был виден */
.slide-item::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.9) 100%);
    pointer-events: none;
}

.slide-item img { width: 100%; height: 250px; object-fit: cover; }

/* Контент поверх затемнения */
.slide-content { 
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; 
    z-index: 2; 
}
.slide-title { font-size: 18px; color: #fff; font-weight: 700; margin-bottom: 5px; text-shadow: 0 2px 10px #000; }
.slide-desc { font-size: 14px; color: #ddd; }

.slider-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.slider-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: 0.3s; font-size: 18px;
}
.slider-btn:hover { background: var(--accent-primary); }


/* =========================================
   7. ЛАЙТБОКС (ГАЛЕРЕЯ)
   ========================================= */
.entry-content img {
    max-width: 100%; height: auto; border-radius: 12px; margin: 30px 0;
    cursor: zoom-in; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s;
}
.entry-content img:hover { transform: scale(1.01); }

.lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10,10,12,0.95); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }

.lightbox-content { position: relative; max-width: 90%; max-height: 90%; display: flex; justify-content: center; }
.lightbox-img { max-width: 100%; max-height: 85vh; border-radius: 4px; box-shadow: 0 0 50px rgba(0,0,0,0.5); }

.lightbox-btn {
    position: absolute; background: rgba(255,255,255,0.1); border: none; color: #fff;
    width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; z-index: 100; transition: 0.3s;
}
.lightbox-btn:hover { background: var(--accent-primary); }

.lb-close { top: -60px; right: 0; font-size: 32px; }
.lb-prev { left: -70px; top: 50%; transform: translateY(-50%); }
.lb-next { right: -70px; top: 50%; transform: translateY(-50%); }

@media(max-width: 768px) {
    .lb-close { top: -50px; right: -10px; background: rgba(0,0,0,0.5); }
    .lb-prev, .lb-next { display: none; }
}


/* =========================================
   8. AI PROMO & SERVICES (Перелинковка)
   ========================================= */
.ai-promo-section { margin: 80px 0; }
.ai-promo-box {
    background: linear-gradient(135deg, #1c1c2e 0%, #16161a 100%);
    border-radius: 24px; padding: 50px; position: relative; overflow: hidden;
    border: 1px solid rgba(123, 97, 255, 0.2);
    display: flex; align-items: center; justify-content: space-between;
}
.ai-glow-effect {
    position: absolute; top: -50%; right: -20%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.ai-content { max-width: 600px; position: relative; z-index: 2; }
.ai-badge {
    display: inline-block; background: rgba(123, 97, 255, 0.15); color: var(--accent-primary);
    padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 15px;
}
.ai-title { font-size: 32px; font-weight: 800; margin-bottom: 15px; color: #fff; }
.ai-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }
.ai-actions { display: flex; align-items: center; gap: 20px; }

.ai-visual { position: relative; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; }
.ai-circle {
    position: absolute; width: 100%; height: 100%; border-radius: 50%;
    border: 2px dashed rgba(123, 97, 255, 0.3); animation: spin 20s linear infinite;
}
.ai-card { font-size: 40px; font-weight: 900; color: #fff; text-shadow: 0 0 20px var(--accent-primary); }
@keyframes spin { 100% { transform: rotate(360deg); } }

@media(max-width: 768px) {
    .ai-promo-box { flex-direction: column; padding: 30px; text-align: center; }
    .ai-actions { flex-direction: column; }
    .ai-visual { margin-top: 30px; }
}

.related-services-section { margin-bottom: 80px; }
.section-heading { font-size: 24px; color: #fff; margin-bottom: 30px; padding-left: 20px; border-left: 3px solid #fff; }

.services-mini-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.service-mini-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 15px;
    text-decoration: none !important; transition: 0.3s;
}
.service-mini-card:hover {
    transform: translateY(-5px); border-color: var(--accent-primary);
    background: linear-gradient(145deg, #1f1f24 0%, #1a1a20 100%);
}
.svc-icon { font-size: 24px; }
.svc-info h4 { margin: 0; font-size: 16px; color: #fff; font-weight: 700; }
.svc-info span { font-size: 13px; color: var(--text-muted); }
.svc-arrow { margin-left: auto; color: var(--accent-primary); font-weight: 700; transition: 0.3s; }
.service-mini-card:hover .svc-arrow { transform: translateX(5px); }


/* =========================================
   9. ФУТЕР СТАТЬИ И ПОХОЖИЕ
   ========================================= */
.post-meta-footer {
    margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02); border-radius: 16px;
    display: flex; flex-direction: column; gap: 30px;
}

.meta-row-author {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px; width: 100%;
}
.author-block { display: flex; align-items: center; gap: 15px; }
.author-avatar img {
    width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--accent-primary); margin: 0 !important;
}
.author-info { display: flex; flex-direction: column; }
.author-label { font-size: 11px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; letter-spacing: 1px; }
.author-name { font-size: 16px; font-weight: 700; color: #fff; }

.date-block {
    display: flex; align-items: center; color: var(--text-muted);
    font-size: 14px; background: rgba(0,0,0,0.2); padding: 8px 16px; border-radius: 8px;
}

.meta-divider { height: 1px; background: rgba(255,255,255,0.05); width: 100%; }

.meta-row-actions {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px; width: 100%;
}

.tags-list { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.tag-item {
    display: inline-block; background: rgba(123, 97, 255, 0.1); color: #bfaaff;
    padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
    text-decoration: none !important; border: 1px solid rgba(123, 97, 255, 0.2);
    transition: all 0.3s ease;
}
.tag-item:hover {
    background: var(--accent-primary); color: #fff; border-color: var(--accent-primary);
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(123, 97, 255, 0.3);
}

.meta-right-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.reading-badge {
    display: flex; align-items: center; font-size: 13px; color: var(--text-muted);
    background: rgba(255,255,255,0.05); padding: 6px 12px; border-radius: 6px;
}

.share-buttons { display: flex; align-items: center; gap: 10px; }
.share-label { font-size: 14px; color: #fff; margin-right: 5px; }
.share-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.1); color: #fff; border: none !important;
    transition: 0.3s;
}
.share-btn:hover { transform: translateY(-3px); }
.share-btn.vk:hover { background: #0077FF; box-shadow: 0 5px 15px rgba(0,119,255,0.3); }
.share-btn.tg:hover { background: #229ED9; box-shadow: 0 5px 15px rgba(34,158,217,0.3); }

/* Related List */
.related-posts-section { margin-bottom: 80px; }
.related-list { display: flex; flex-direction: column; gap: 20px; max-width: 800px; }
.related-item {
    display: flex; align-items: center; gap: 25px; padding: 15px;
    border-radius: 16px; background: transparent; border: 1px solid transparent;
    transition: all 0.3s ease;
}
.related-item:hover { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.05); transform: translateX(10px); }
.related-thumb { width: 180px; height: 110px; flex-shrink: 0; border-radius: 12px; overflow: hidden; position: relative; background: #222; }
.related-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.related-item:hover .related-img { transform: scale(1.1); }
.related-no-img { width: 100%; height: 100%; background: #2a2a2a; }
.related-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.related-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.related-meta a { color: var(--accent-primary); text-decoration: none; }
.related-meta .sep { margin: 0 5px; opacity: 0.3; }
.related-title { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 700; }
.related-title a { color: #fff; text-decoration: none; transition: color 0.3s; border: none; }
.related-item:hover .related-title a { color: var(--accent-primary); }

@media (max-width: 768px) {
    .meta-row-author, .meta-row-actions { flex-direction: column; align-items: flex-start; }
    .author-block { width: 100%; }
    .date-block { margin-top: 10px; }
    .meta-right-group { width: 100%; justify-content: space-between; margin-top: 15px; }
    .related-item { flex-direction: column; align-items: flex-start; gap: 15px; padding: 0; margin-bottom: 30px; }
    .related-thumb { width: 100%; height: 200px; }
    .related-title { font-size: 20px; }
}


/* =========================================
   10. ПРАЙС-ЛИСТ (HIGH CONTRAST)
   ========================================= */
.price-list-wrapper {
    margin: 50px 0; background: #19191c;
    border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden;
}
.price-list-header {
    padding: 25px 30px; border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
}
.price-list-header h3 { margin: 0; font-size: 22px; color: #fff; font-weight: 700; }

.price-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 30px; border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: all 0.3s ease; cursor: default;
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: rgba(123, 97, 255, 0.03); }
.price-row:hover .price-name { color: #fff; padding-left: 10px; }
.price-row:hover .price-action-btn {
    transform: scale(1.1); background: var(--accent-primary);
    border-color: var(--accent-primary); box-shadow: 0 0 15px rgba(123, 97, 255, 0.4);
}

.price-info { flex-grow: 1; padding-right: 20px; }
.price-name {
    display: block; font-size: 18px; font-weight: 600; color: #e0e0e0;
    transition: 0.3s; margin-bottom: 4px;
}
.price-sub { font-size: 13px; color: var(--text-muted); }

.price-meta { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
/* ИСПРАВЛЕНО: Белая цена для контраста */
.price-cost {
    font-size: 20px; font-weight: 700; color: #ffffff !important; 
    white-space: nowrap; text-align: right;
}
.price-cost span { font-size: 12px; color: var(--text-muted); font-weight: 400; margin-right: 4px; }

.price-action-btn {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: 0.3s; cursor: pointer; text-decoration: none !important;
}
.price-action-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

@media (max-width: 768px) {
    .price-row { flex-direction: column; align-items: flex-start; gap: 15px; padding: 20px; }
    .price-row:hover .price-name { padding-left: 0; }
    .price-meta { width: 100%; justify-content: space-between; }
    .price-name { font-size: 16px; }
    .price-cost { font-size: 18px; }
}