/* ===== blog-style.css - Panato Blog Shared Styles ===== */

:root {
    --primary: #0A0E27;
    --primary-light: #1a1f3a;
    --accent: #00D9FF;
    --accent-dark: #00b8d4;
    --gold: #FFB800;
    --text-light: #E8E8E8;
    --text-dim: #A0A0A0;
    --bg-dark: #050814;
    --surface: #0f1729;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.9;
    overflow-x: hidden;
}

.bg-gradient {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0,217,255,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255,184,0,0.07) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--primary) 100%);
}

/* Header */
header {
    position: static;
    top: auto;
    /*position: sticky; top: 0; z-index: 1000;*/
    background: rgba(10,14,39,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,217,255,0.1);
}
nav {
    max-width: 1200px; margin: 0 auto;
    padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-container {
    display: flex; align-items: center; gap: 0.8rem; text-decoration: none;
}
.logo-image { height: 42px; width: auto; }
.logo-text {
    font-size: 1.4rem; font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-back {
    color: var(--accent); text-decoration: none; font-weight: 500;
    display: flex; align-items: center; gap: 0.5rem; transition: opacity 0.3s;
}
.nav-back:hover { opacity: 0.8; }

/* Breadcrumb */
.breadcrumb {
    max-width: 900px; margin: 2rem auto 0; padding: 0 2rem;
    font-size: 0.9rem; color: var(--text-dim);
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb span { margin: 0 0.5rem; }

/* Article Wrapper */
.article-wrapper {
    max-width: 900px; margin: 0 auto; padding: 2rem 2rem 5rem;
}

/* Article Header */
.article-header {
    margin-bottom: 3rem; padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,217,255,0.1);
}
.article-category {
    display: inline-block;
    background: rgba(0,217,255,0.1); color: var(--accent);
    padding: 0.4rem 1.2rem; border-radius: 50px;
    font-size: 0.9rem; font-weight: 600; margin-bottom: 1.5rem;
    border: 1px solid rgba(0,217,255,0.2);
}
.article-header h1 {
    font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800;
    line-height: 1.3; margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.article-intro {
    font-size: 1.15rem; color: var(--text-dim); line-height: 1.9; margin-bottom: 1.5rem;
}
.article-meta {
    display: flex; gap: 2rem; flex-wrap: wrap;
    font-size: 0.9rem; color: var(--text-dim);
}
.article-meta span { display: flex; align-items: center; gap: 0.4rem; }

/* Article Body */
.article-body h2 {
    font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; margin: 3rem 0 1.2rem;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.article-body h3 {
    font-size: 1.3rem; font-weight: 600; margin: 2rem 0 1rem; color: var(--text-light);
}
.article-body p {
    color: #D0D0D0; margin-bottom: 1.5rem; font-size: 1.05rem; text-align: justify;
}

/* Highlight Box */
.highlight-box {
    background: rgba(0,217,255,0.05);
    border: 1px solid rgba(0,217,255,0.2);
    border-right: 4px solid var(--accent);
    border-radius: 12px; padding: 1.5rem 2rem; margin: 2rem 0;
}
.highlight-box p { margin: 0; color: var(--text-light); font-size: 1.1rem; }

/* Stats Grid */
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 1.5rem; margin: 2.5rem 0;
}
.stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,217,255,0.1);
    border-radius: 16px; padding: 1.5rem; text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover {
    border-color: var(--accent); transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,217,255,0.15);
}
.stat-number {
    font-size: 2.5rem; font-weight: 800; display: block;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.5rem; }

/* Benefit List */
.benefit-list { list-style: none; margin: 1.5rem 0; }
.benefit-list li {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #D0D0D0; font-size: 1.05rem;
}
.benefit-list li:last-child { border-bottom: none; }
.benefit-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.benefit-text strong { display: block; color: var(--text-light); font-weight: 600; margin-bottom: 0.3rem; }

/* Compare Table */
.compare-table {
    width: 100%; border-collapse: collapse; margin: 2rem 0;
    border-radius: 16px; overflow: hidden;
}
.compare-table th {
    background: rgba(0,217,255,0.1); color: var(--accent);
    padding: 1rem 1.5rem; text-align: right; font-weight: 600;
}
.compare-table td {
    padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); color: #D0D0D0;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.check { color: #00D9FF; font-size: 1.1rem; }
.cross { color: #ff6b6b; font-size: 1.1rem; }

/* CTA */
.cta-section {
    background: rgba(0,217,255,0.05);
    border: 1px solid rgba(0,217,255,0.2);
    border-radius: 20px; padding: 3rem; text-align: center; margin: 4rem 0 2rem;
}
.cta-section h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-light); }
.cta-section p { color: var(--text-dim); margin-bottom: 2rem; }
.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white; padding: 1rem 3rem; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 1.1rem;
    transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0,217,255,0.3);
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,217,255,0.5); }

/* Article Tags */
.article-tags {
    margin-top: 3rem; padding-top: 2rem;
    border-top: 1px solid rgba(0,217,255,0.1);
}
.article-tags h4 { color: var(--text-dim); margin-bottom: 1rem; font-size: 0.95rem; }
.tag {
    display: inline-block; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,217,255,0.15); color: var(--text-dim);
    padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.9rem;
    margin: 0.3rem; text-decoration: none; transition: all 0.3s ease;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* Related Posts */
.related-posts { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(0,217,255,0.1); }
.related-posts h3 {
    font-size: 1.5rem; margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 1.5rem; }
.related-card {
    display: flex; align-items: flex-start; gap: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,217,255,0.1);
    border-radius: 16px; padding: 1.5rem;
    text-decoration: none; transition: all 0.3s ease;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.related-icon { font-size: 2rem; flex-shrink: 0; }
.related-card strong { display: block; color: var(--text-light); margin-bottom: 0.3rem; }
.related-card p { color: var(--text-dim); font-size: 0.9rem; margin: 0; }

/* Footer */
footer {
    background: rgba(10,14,39,0.9);
    border-top: 1px solid rgba(0,217,255,0.1);
    padding: 2rem; text-align: center; color: var(--text-dim); font-size: 0.95rem;
}
footer a { color: var(--accent); text-decoration: none; }

/* Mobile */
@media (max-width: 768px) {
    nav { padding: 1rem; }
    .article-wrapper { padding: 1.5rem 1rem 4rem; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .cta-section { padding: 2rem 1.5rem; }
    .article-meta { gap: 1rem; }
    .compare-table th, .compare-table td { padding: 0.8rem 0.8rem; font-size: 0.85rem; }
    .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .article-header h1 { font-size: 1.6rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
