/* Blog Styles - SkyGuy */

:root {
    --sky-blue: #9ccee9;
    --dark-sky-blue: #7bb8df;
    --light-sky-blue: #e6f4f9;
    --black: #0F172A;
    --white: #ffffff;
    --gray: #64748B;
    --dark-gray: #334155;
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

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

body {
    font-family: 'Heebo', sans-serif;
    direction: rtl;
    background: var(--white);
    color: var(--black);
    line-height: 1.7;
}

/* Top Bar */
.blog-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(156, 206, 233, 0.2);
    padding: 12px 0;
}

.blog-topbar .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-topbar .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.blog-topbar .logo-link img {
    height: 44px;
    width: auto;
}

.blog-topbar .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--sky-blue), var(--dark-sky-blue));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(123, 184, 223, 0.3);
}

.blog-topbar .back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(123, 184, 223, 0.4);
}

.blog-topbar .back-btn svg {
    width: 18px;
    height: 18px;
    transform: rotate(180deg);
}

/* Article Banner */
.article-banner {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.article-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
}

.article-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #0F172A, transparent);
}

@media (max-width: 768px) {
    .article-banner {
        height: 200px;
    }
}

/* Article Hero */
.article-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1e3a5f 50%, #2d5a7b 100%);
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-hero.has-banner {
    padding-top: 50px;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(156, 206, 233, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.article-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(123, 184, 223, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.article-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-hero .subtitle {
    font-size: 1.15rem;
    color: var(--sky-blue);
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 24px 60px;
}

/* Section Cards */
.section-card {
    background: var(--white);
    border: 1px solid rgba(156, 206, 233, 0.25);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.section-card:hover {
    border-color: var(--sky-blue);
    box-shadow: 0 4px 20px rgba(156, 206, 233, 0.15);
    transform: translateY(-2px);
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--sky-blue), var(--dark-sky-blue));
    color: var(--white);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.4;
}

.section-card p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

.section-card ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.section-card ul li {
    position: relative;
    padding-right: 24px;
    margin-bottom: 10px;
    color: var(--dark-gray);
    line-height: 1.7;
}

.section-card ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--sky-blue);
    border-radius: 50%;
}

/* Section Divider */
.section-divider {
    background: linear-gradient(135deg, var(--sky-blue), var(--dark-sky-blue));
    text-align: center;
    padding: 2rem;
}

.section-divider h2 {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

/* CTA Section */
.blog-cta {
    background: linear-gradient(135deg, var(--light-sky-blue) 0%, rgba(156, 206, 233, 0.2) 100%);
    border-radius: var(--border-radius-lg);
    padding: 48px 32px;
    text-align: center;
    margin-top: 40px;
}

.blog-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.blog-cta p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    background: #22c55e;
}

.whatsapp-cta-btn svg {
    width: 22px;
    height: 22px;
}

/* Blog Footer */
.blog-footer {
    background: var(--black);
    padding: 32px 24px;
    text-align: center;
    margin-top: 60px;
}

.blog-footer a {
    color: var(--sky-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.blog-footer a:hover {
    color: var(--white);
}

.blog-footer p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .article-hero {
        padding: 60px 20px 45px;
    }

    .article-hero h1 {
        font-size: 1.75rem;
    }

    .article-hero .subtitle {
        font-size: 1rem;
    }

    .article-content {
        padding: 30px 16px 40px;
    }

    .section-card {
        padding: 24px 20px;
    }

    .section-card h2 {
        font-size: 1.1rem;
    }

    .blog-cta {
        padding: 36px 20px;
    }

    .blog-cta h3 {
        font-size: 1.25rem;
    }

    .blog-topbar .back-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .blog-topbar .logo-link img {
        height: 36px;
    }
}

@media (max-width: 480px) {
    .article-hero h1 {
        font-size: 1.5rem;
    }

    .section-number {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }

    .whatsapp-cta-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.95rem;
    direction: rtl;
}
.comparison-table th, .comparison-table td {
    border: 1px solid #dde6ed;
    padding: 12px 15px;
    text-align: right;
    vertical-align: top;
    line-height: 1.7;
}
.comparison-table thead th {
    background: linear-gradient(135deg, #9ccee9, #7bb8df);
    color: #0F172A;
    font-weight: 700;
    font-size: 1rem;
}
.comparison-table tbody tr:nth-child(even) {
    background: #f0f8fd;
}
.comparison-table tbody tr:first-child td:first-child {
    font-weight: 600;
}
@media (max-width: 600px) {
    .comparison-table { font-size: 0.85rem; }
    .comparison-table th, .comparison-table td { padding: 8px 10px; }
}
