/* article-styles.css - Стили только для страницы статьи (оптимизировано, удалены дубликаты) */
.article-meta { display: flex; align-items: center; margin-bottom: 2rem; color: var(--gray); font-size: 0.9rem; padding-bottom: 1rem; border-bottom: 1px solid #e0e0e0; }
.article-meta i { margin-right: 0.5rem; }
.article-date { margin-right: 1.5rem; }
.article-readtime { margin-right: 1.5rem; }
.article-author { display: flex; align-items: center; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; margin-right: 0.8rem; }
.article-content { font-size: 1.1rem; line-height: 1.8; color: #333; }
.article-content h2 { color: var(--primary); margin: 2.5rem 0 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid #e0e0e0; }
.article-content h3 { color: var(--dark); margin: 2rem 0 1rem; font-size: 1.3rem; }
.article-content p { margin-bottom: 1.5rem; }
.article-content ul, .article-content ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.8rem; }
.article-content blockquote { background: linear-gradient(135deg, rgba(24, 144, 255, 0.05), rgba(54, 207, 201, 0.05)); border-left: 4px solid var(--primary); padding: 1.5rem; margin: 2rem 0; border-radius: 0 8px 8px 0; font-style: italic; }
.article-content blockquote p { margin-bottom: 0; color: var(--dark); }
.table-of-contents { background: linear-gradient(135deg, rgba(24, 144, 255, 0.05), rgba(54, 207, 201, 0.05)); border-radius: 10px; padding: 2rem; margin: 2rem 0; border-left: 4px solid var(--primary); }
.toc-title { color: var(--primary); margin-bottom: 1rem; display: flex; align-items: center; }
.toc-title i { margin-right: 10px; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-item { margin-bottom: 0.8rem; position: relative; padding-left: 1.5rem; }
.toc-item::before { content: '•'; color: var(--primary); font-weight: bold; position: absolute; left: 0; }
.toc-item a { color: var(--dark); text-decoration: none; transition: var(--transition); }
.toc-item a:hover { color: var(--primary); padding-left: 5px; }
.article-table { width: 100%; border-collapse: collapse; margin: 2rem 0; box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; }
.article-table thead { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); }
.article-table th { padding: 1rem; text-align: left; font-weight: 600; }
.article-table tbody tr { border-bottom: 1px solid #e0e0e0; transition: var(--transition); }
.article-table tbody tr:hover { background: linear-gradient(135deg, rgba(24, 144, 255, 0.05), rgba(54, 207, 201, 0.05)); }
.article-table tbody tr:nth-child(even) { background-color: rgba(0,0,0,0.02); }
.article-table tbody tr:nth-child(even):hover { background: linear-gradient(135deg, rgba(24, 144, 255, 0.08), rgba(54, 207, 201, 0.08)); }
.article-table td { padding: 1rem; }
.interactive-box { background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 158, 158, 0.1)); border-radius: 10px; padding: 2rem; margin: 2rem 0; border: 2px dashed var(--accent); }
.interactive-title { color: var(--accent); margin-bottom: 1rem; display: flex; align-items: center; }
.interactive-title i { margin-right: 10px; }
.quiz-question { margin-bottom: 1.5rem; }
.quiz-options { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.quiz-option { display: flex; align-items: center; padding: 1rem; background: var(--white); border-radius: 8px; cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.quiz-option:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-color: var(--accent-light); }
.quiz-option input { margin-right: 1rem; }
.quiz-result { display: none; padding: 1.5rem; background: var(--white); border-radius: 8px; margin-top: 1.5rem; border-left: 4px solid var(--success); }
.quiz-result.show { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.quiz-btn { background: linear-gradient(135deg, var(--accent), var(--accent-light)); border: none; color: var(--white); padding: 0.8rem 2rem; border-radius: 30px; font-weight: 600; transition: var(--transition); cursor: pointer; }
.quiz-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3); }
.infographic { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0; justify-content: center; }
.infographic-item { flex: 1; min-width: 200px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); padding: 1.5rem; border-radius: 10px; text-align: center; transition: var(--transition); }
.infographic-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.infographic-number { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.infographic-label { font-size: 0.9rem; opacity: 0.9; }
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: rgba(0,0,0,0.1); z-index: 1000; display: none; }
.reading-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); width: 0%; transition: width 0.3s ease; }
.share-section { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2rem 0; padding: 1.5rem; background: linear-gradient(135deg, rgba(24, 144, 255, 0.05), rgba(54, 207, 201, 0.05)); border-radius: 10px; }
.share-text { font-weight: 600; color: var(--primary); }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; color: var(--white); text-decoration: none; transition: var(--transition); }
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.share-telegram { background: #0088cc; }
.share-vk { background: #4c75a3; }
.share-twitter { background: #1da1f2; }
.article-nav { display: flex; justify-content: space-between; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e0e0e0; }
.nav-link-article { display: inline-flex; align-items: center; color: var(--primary); text-decoration: none; font-weight: 600; transition: var(--transition); }
.nav-link-article:hover { color: var(--accent); transform: translateX(5px); }
.nav-link-article.prev i { margin-right: 0.5rem; }
.nav-link-article.next i { margin-left: 0.5rem; }
.note-box { background: #f8f9fa; border-left: 4px solid #3498db; border-radius: 0 5px 5px 0; padding: 20px; margin: 25px 0; }
.note-box h4 { color: #2c3e50; margin-bottom: 15px; }
.note-box h4 i { margin-right: 10px; }
.note-box ul, .note-box ol { margin-bottom: 0; }
.note-box li { margin-bottom: 8px; }
.note-box li:last-child { margin-bottom: 0; }
.comparison-table td { text-align: center; vertical-align: middle; }
.comparison-table td:first-child { text-align: left; font-weight: 500; }
.screenshot-placeholder { border: 2px dashed #dee2e6; border-radius: 10px; padding: 20px; margin: 30px 0; background: #f8f9fa; }
.screenshot-label { text-align: center; color: #6c757d; margin-bottom: 15px; font-style: italic; font-size: 0.9rem; }
.screenshot-mockup { background: white; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); overflow: hidden; max-width: 700px; margin: 0 auto; }
.mockup-header { background: #2c3e50; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; }
.mockup-controls { display: flex; gap: 8px; }
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-title { color: white; font-weight: bold; font-size: 0.9rem; }
.mockup-content { padding: 20px; }
.mockup-section { margin-bottom: 20px; }
.mockup-section:last-child { margin-bottom: 0; }
.mockup-section-title { font-weight: bold; color: #2c3e50; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid #dee2e6; font-size: 0.95rem; }
.mockup-result { background: #f8f9fa; border-radius: 6px; padding: 15px; }
.mockup-bibliography-item { margin-bottom: 12px; }
.mockup-bibliography-item:last-child { margin-bottom: 0; }
.mockup-original { font-weight: bold; color: #2c3e50; margin-bottom: 5px; font-family: 'Courier New', monospace; font-size: 0.9rem; }
.mockup-formatted { padding-left: 20px; color: #495057; font-style: italic; border-left: 3px solid #3498db; margin-bottom: 8px; font-size: 0.9rem; line-height: 1.5; }
.mockup-formatted:last-child { margin-bottom: 0; }
.mockup-formatted strong { color: #2c3e50; font-style: normal; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 30px 0; }
.feature-card { background: white; border: 1px solid #e9ecef; border-radius: 10px; padding: 25px 20px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.feature-icon { font-size: 2.5rem; color: #3498db; margin-bottom: 15px; }
.feature-card h4 { color: #2c3e50; margin-bottom: 10px; font-size: 1.2rem; }
.feature-card p { color: #6c757d; font-size: 0.9rem; margin: 0; line-height: 1.5; }
.video-demo-container { margin: 40px 0; background: #f8f9fa; border-radius: 15px; padding: 30px; border: 1px solid #e9ecef; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; margin-bottom: 25px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); animation: pulse-video 3s ease-in-out infinite; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; }
@keyframes pulse-video { 0% { box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3); } 50% { box-shadow: 0 10px 30px rgba(52, 152, 219, 0.6); } 100% { box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3); } }
.video-description { background: white; border-radius: 10px; padding: 25px; border-left: 4px solid #3498db; }
.video-description h4 { color: #2c3e50; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.video-description h4 i { color: #3498db; font-size: 1.5rem; }
.video-description ul { padding-left: 25px; margin-bottom: 20px; }
.video-description li { margin-bottom: 8px; line-height: 1.6; }
.video-tip { background: #fff3cd; border: 1px solid #ffeaa7; border-radius: 8px; padding: 15px; margin-top: 15px; font-size: 0.95rem; }
.ai-comparison { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 30px 0; }
.ai-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ai-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.ai-header { padding: 20px; color: white; text-align: center; }
.ai-header.yandex { background: linear-gradient(135deg, #ffcc00, #ff9900); }
.ai-header.deepseek { background: linear-gradient(135deg, #3498db, #2980b9); }
.ai-header.gpt5 { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.ai-header i { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.ai-header h4 { color: white; margin: 10px 0 0; font-size: 1.3rem; }
.ai-content { padding: 20px; }
.ai-content h5 { color: #2c3e50; margin-bottom: 15px; font-size: 1.1rem; border-bottom: 1px solid #e9ecef; padding-bottom: 8px; }
.ai-content ul { padding-left: 20px; margin-bottom: 15px; }
.ai-content li { margin-bottom: 8px; line-height: 1.5; }
.ai-content p { margin: 15px 0 0; font-size: 0.95rem; color: #6c757d; font-style: italic; }
.ai-content p strong { color: #2c3e50; font-style: normal; }
.callout-box { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 10px; padding: 30px; margin: 40px 0; }
.callout-box h3 { color: white; margin-bottom: 20px; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.callout-box h3 i { font-size: 2rem; }
.callout-box ol { margin-left: 20px; margin-bottom: 25px; }
.callout-box li { margin-bottom: 10px; line-height: 1.5; color: white; }
.callout-action { text-align: center; }
.action-btn { display: inline-block; background: white; color: #667eea; padding: 12px 30px; border-radius: 25px; text-decoration: none; font-weight: bold; transition: transform 0.3s ease, box-shadow 0.3s ease; font-size: 1.1rem; }
.action-btn:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.2); color: #667eea; }
.action-btn i { margin-right: 8px; }
.formatting-recommendation { display: flex; align-items: center; gap: 20px; margin: 20px 0; padding: 20px; background: white; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.formatting-icon { font-size: 3rem; color: #3498db; min-width: 60px; text-align: center; }
.formatting-details h3 { margin: 0 0 8px 0; color: #2c3e50; font-size: 1.3rem; }
.formatting-details p { margin: 0; color: #6c757d; }
.formatting-settings { background: #f8f9fa; border-radius: 8px; padding: 20px; margin-top: 20px; }
.formatting-settings h5 { color: #2c3e50; margin-bottom: 15px; font-size: 1rem; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.setting-item { display: flex; flex-direction: column; gap: 5px; }
.setting-label { font-size: 0.85rem; color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px; }
.setting-value { font-weight: 600; color: #2c3e50; font-size: 1rem; }
.savings-comparison { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: 20px 0; }
.savings-method { text-align: center; padding: 15px; background: #f8f9fa; border-radius: 8px; }
.savings-method h5 { color: #6c757d; margin-bottom: 10px; font-size: 0.95rem; }
.savings-value { font-size: 1.5rem; font-weight: bold; color: #2c3e50; margin: 8px 0; }
.savings-label { font-size: 0.85rem; color: #6c757d; }
.vd-bx { background: #e8f4fd; border-radius: 8px; padding: 20px; margin: 20px 0; border-left: 4px solid #3498db; display: flex; gap: 15px; align-items: flex-start; }
.vd-bx i { color: #3498db; font-size: 1.5rem; margin-top: 3px; }
.vd-bx i.fa-pencil, .vd-bx i.fa-lightbulb, .vd-bx i.fa-exclamation-triangle { color: #3498db; }
.vd-bx-inf { flex: 1; }
.vd-bx-inf h4 { color: #2c3e50; margin-bottom: 10px; font-size: 1.1rem; }
.vd-bx-inf p { margin: 0; color: #495057; line-height: 1.6; }
.user-img.gal-bx { margin: 25px 0; text-align: center; background: #f8f9fa; padding: 20px; border-radius: 10px; }
.user-img.gal-bx img { border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); max-width: 100%; height: auto; margin-bottom: 10px; }
.gal-inf { margin-top: 10px; color: #6c757d; }
.gal-inf h5 { margin: 5px 0 0; font-size: 0.95rem; font-weight: 500; }
.gal-inf h5 span { color: #3498db; font-weight: 600; }
.gal-btns { margin-bottom: 10px; }
.gal-btns.rd30 { display: flex; justify-content: center; gap: 8px; }
.lightbox a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #3498db; color: white; border-radius: 50%; margin: 0 3px; transition: background 0.3s ease; text-decoration: none; }
.lightbox a:hover { background: #2980b9; }
blockquote { background: #f8f9fa; border-left: 4px solid #3498db; border-radius: 0 8px 8px 0; padding: 20px 25px; margin: 25px 0; font-style: italic; position: relative; }
blockquote i.fa-quote-left { color: #3498db; margin-right: 10px; font-size: 1.3rem; float: left; }
blockquote p { margin: 0; display: inline; color: #495057; font-size: 1rem; line-height: 1.6; }
.ok-green { color: #28a745; font-weight: 600; background: #d4edda; padding: 3px 8px; border-radius: 4px; }
.no-red { color: #dc3545; font-weight: 600; background: #f8d7da; padding: 3px 8px; border-radius: 4px; display: inline-block; }
.proj-lnks { margin: 20px 0; }
.proj-lnks ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.proj-lnks li { flex: 0 0 auto; background: #f8f9fa; padding: 6px 15px; border-radius: 25px; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; border: 1px solid #e9ecef; }
.proj-lnks li i { color: #3498db; font-size: 0.9rem; }
.article-title { font-size: 2.2rem; color: #2c3e50; margin-bottom: 15px; line-height: 1.3; font-weight: 700; }
.article-subtitle { font-size: 1.2rem; color: #6c757d; margin-bottom: 30px; line-height: 1.6; font-weight: 400; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.badge.bg-success { background: #d4edda; color: #155724; }
.badge.bg-warning { background: #fff3cd; color: #856404; }
.badge.bg-info { background: #d1ecf1; color: #0c5460; }
.badge.bg-primary { background: #cce5ff; color: #004085; }
.blu-a { color: #3498db; text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.blu-a:hover { color: #2980b9; text-decoration: underline; }
.comparison-table tr td:nth-child(4) { background-color: #d4edda; font-weight: 600; }
.comparison-table tr td:last-child { background-color: #cce5ff; font-weight: 600; }
.highlight { background: #fff3cd; padding: 2px 5px; border-radius: 3px; font-weight: 500; }
.reference-list { list-style: none; padding: 0; margin: 20px 0; }
.reference-list li { margin-bottom: 10px; padding-left: 20px; position: relative; line-height: 1.6; }
.reference-list li:before { content: "•"; color: #3498db; font-weight: bold; position: absolute; left: 0; }
.footnote { font-size: 0.85rem; color: #6c757d; border-top: 1px solid #e9ecef; margin-top: 10px; padding-top: 10px; }
.code-example { background: #2c3e50; color: #f8f9fa; padding: 15px; border-radius: 8px; font-family: 'Courier New', monospace; font-size: 0.9rem; margin: 20px 0; overflow-x: auto; }
.progress-bar-container { background: #e9ecef; height: 30px; border-radius: 15px; margin: 10px 0; overflow: hidden; }
.progress-bar-fill { background: linear-gradient(90deg, #3498db, #2980b9); height: 100%; color: white; line-height: 30px; padding-left: 15px; font-size: 0.9rem; font-weight: 600; }
.stats-card { background: white; border-radius: 10px; padding: 20px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #e9ecef; }
.stats-number { font-size: 2.5rem; font-weight: bold; color: #3498db; margin-bottom: 5px; }
.stats-label { color: #6c757d; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
@media (max-width: 768px) { .article-table { display: block; overflow-x: auto; } .infographic-item { min-width: 150px; } .article-nav { flex-direction: column; gap: 1rem; } .toc-list { columns: 1; } .features-grid, .ai-comparison, .savings-comparison { grid-template-columns: 1fr; } .formatting-recommendation { flex-direction: column; text-align: center; } .settings-grid { grid-template-columns: 1fr; } .infographic { flex-direction: column; align-items: center; } .infographic-item { width: 100%; } .article-nav { flex-direction: column; gap: 10px; align-items: stretch; } .nav-link-article { justify-content: center; } .screenshot-mockup { max-width: 100%; } .mockup-header { flex-direction: column; gap: 10px; text-align: center; } .article-meta { flex-direction: column; align-items: flex-start; gap: 10px; } .article-author { margin-left: 0; } .vd-bx { flex-direction: column; text-align: center; } .vd-bx i { margin-bottom: 10px; } }
@media (max-width: 992px) { .article-title { font-size: 2rem; } .article-subtitle { font-size: 1.1rem; } .infographic-number { font-size: 2rem; } }
@media (max-width: 576px) { .article-title { font-size: 1.6rem; } .article-subtitle { font-size: 1rem; } .table-of-contents { padding: 15px; } .callout-box { padding: 20px; } .callout-box h3 { font-size: 1.2rem; } .action-btn { padding: 10px 20px; font-size: 1rem; } .quiz-option { padding: 10px; } }