/* === 1. Variables & Reset === */
:root {
    /* Unified with the main site's exact blue accent (#066ac9) for site-wide consistency */
    --primary-green: #066ac9;
    --primary-green-glow: rgba(6, 106, 201, 0.30);
    --primary-blue: #066ac9;
    --primary-deep: #0555a1;
    --text-main: #1a1d21;
    --text-secondary: #565a60;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --bg-body: #f6f8fb;
    --section-spacing: 80px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

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

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

/* Visually hidden but available to AT */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ---- a11y: visible keyboard focus (replaces removed outlines) ---- */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Anchor targets (TOC, in-page nav) must clear sticky nav */
:where(h1, h2, h3, h4, h5, h6, section, article)[id] {
    scroll-margin-top: 96px;
}

/* Honor user motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.8;
    direction: rtl;
    font-weight: 400;
    font-size: 16px;
}

/* === 2. Ambient Background === */
.ambient-light {
    position: fixed;
    top: -15%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(6, 106, 201, 0.07), transparent 60%);
    filter: blur(80px);
    z-index: -1;
    animation: float 12s infinite ease-in-out;
}

.ambient-light-2 {
    position: fixed;
    bottom: -15%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(122, 69, 232, 0.06), transparent 60%);
    filter: blur(80px);
    z-index: -1;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(15px, 30px);
    }
}

/* === 3. Utilities === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 16px var(--primary-green-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--primary-green-glow);
}

/* === 5. Navigation === */
.glass-nav {
    position: sticky;
    top: 16px;
    margin: 0 16px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    padding: 12px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1002;
}

.logo-icon {
    background: linear-gradient(135deg, #1D1D1F 0%, #434344 100%);
    color: white;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.9rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.logo-text .academy {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-item {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-main);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-main);
    border-radius: 3px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Hide mobile CTA on desktop */
.nav-cta-mobile {
    display: none;
}

.nav-cta-desktop {
    display: inline-flex;
}

/* ============================= */
/* ===== 18. RESPONSIVE ======== */
/* ============================= */

@media (max-width: 900px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .instructor-card {
        flex-direction: column;
        padding: 32px;
        gap: 32px;
    }

    .inst-img-wrapper {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .compare-grid {
        flex-direction: column;
    }

    .glass-card {
        min-width: auto;
        max-width: none;
    }

    .timeline-container {
        padding-right: 0;
    }

    .timeline-line,
    .marker {
        display: none;
    }

    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }

    body {
        font-size: 15px;
    }

    /* === MOBILE NAVIGATION === */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-cta-desktop {
        display: none;
    }

    .nav-cta-mobile {
        display: inline-flex;
        width: 100%;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 100px 24px 32px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        overflow-y: auto;
        z-index: 1001;
        align-items: stretch;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        padding: 16px 20px;
        border-radius: var(--radius-md);
        background: rgba(245, 245, 247, 0.6);
        margin-bottom: 10px;
        font-size: 0.95rem;
        text-align: center;
        transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.03);
    }

    .nav-item:hover,
    .nav-item.active {
        background: var(--primary-green);
        color: white;
        transform: translateX(-4px);
    }

    /* Mobile Overlay */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    body.menu-open::after {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* === REST OF MOBILE STYLES === */
    .glass-nav {
        margin: 0 12px;
        top: 12px;
        padding: 10px 0;
    }

    .nav-content {
        padding: 0 8px;
    }

    .logo-text .name {
        font-size: 0.9rem;
    }

    .logo-text .academy {
        font-size: 0.75rem;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .hero {
        padding: 60px 0 48px;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.35;
    }

    .hero h2 {
        font-size: 1.25rem;
        margin: 20px 0 10px;
    }

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

    .hero-desc {
        font-size: 0.92rem;
        margin-bottom: 28px;
        line-height: 1.9;
    }

    .hero-actions {
        gap: 10px;
        margin-bottom: 40px;
    }

    .video-glass-card {
        border-radius: var(--radius-md);
    }

    .play-button-glass {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .section-head {
        margin-bottom: 36px;
    }

    .section-head h2 {
        font-size: 1.6rem;
    }

    .section-head p {
        font-size: 0.92rem;
    }

    .glass-card {
        padding: 28px 22px;
    }

    .check-list li {
        font-size: 0.9rem;
        margin-bottom: 14px;
        gap: 10px;
    }

    .icon-circle {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-cell {
        padding: 16px 10px;
    }

    .aud-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .aud-title {
        font-size: 0.8rem;
    }

    .aud-desc {
        display: none;
    }

    .spec-row {
        padding: 14px 18px;
    }

    .spec-label {
        font-size: 0.82rem;
        gap: 8px;
    }

    .spec-label i {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .spec-value {
        font-size: 0.85rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-row {
        margin-bottom: 16px;
    }

    .pill-tag {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .instructor-card {
        padding: 24px;
        border-radius: var(--radius-lg);
    }

    .inst-details h3 {
        font-size: 1.5rem;
    }

    .inst-details .role {
        font-size: 0.9rem;
    }

    .inst-details .bio {
        font-size: 0.9rem;
    }

    .creds-row {
        flex-direction: column;
        gap: 12px;
    }

    .cred-pill {
        width: 100%;
    }

    .floating-badge {
        bottom: -16px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: 90%;
        padding: 12px 18px;
    }

    .glass-accordion summary {
        padding: 16px 20px;
        font-size: 0.9rem;
    }

    .faq-content {
        padding: 0 20px 16px;
        font-size: 0.85rem;
    }

    .gradient-glass-box {
        padding: 48px 20px;
        border-radius: var(--radius-lg);
    }

    .gradient-glass-box h2 {
        font-size: 1.6rem;
    }

    .gradient-glass-box>p {
        font-size: 0.92rem;
        margin-bottom: 32px;
    }

    .icon-float {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .steps-row {
        flex-direction: column;
        gap: 20px;
    }

    .line {
        width: 2px;
        height: 30px;
        margin: 0;
    }

    .step-circle {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .step {
        font-size: 0.85rem;
    }

    .final-cta {
        padding: 60px 0;
    }

    .final-content h2 {
        font-size: 1.8rem;
    }

    .final-content p {
        font-size: 0.95rem;
    }

    .stats-grid {
        gap: 14px;
        margin-top: 40px;
    }

    .stat-card {
        padding: 24px 12px;
        border-radius: var(--radius-md);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    .dark-footer {
        padding: 48px 0 36px;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .social-glass {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .hero h2 {
        font-size: 1.15rem;
    }

    .section-head h2 {
        font-size: 1.45rem;
    }

    .final-content h2 {
        font-size: 1.55rem;
    }

    .logo-text {
        display: none;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .nav-links {
        width: 100%;
    }
}

/* === 5. Page Header === */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === 6. Search & Filter === */
.search-filter-section {
    padding: 0 0 40px;
}

.search-filter-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 500px;
    min-width: 280px;
}

.search-box input {
    width: 100%;
    padding: 16px 24px;
    padding-right: 50px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-box input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(6, 106, 201, 0.12);
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.category-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-pill {
    padding: 10px 20px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

.category-pill:hover,
.category-pill.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* === 7. Blog Grid === */
.blog-section {
    padding: 0 0 var(--section-spacing);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* === 8. Article Card === */
.article-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.article-thumbnail {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-thumbnail img {
    transform: scale(1.08);
}

/* Branded placeholder shown when an article has no hero image yet */
.article-thumb-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,0.18), transparent 55%),
        linear-gradient(135deg, var(--primary-blue, #066ac9) 0%, #0a4da0 55%, #6f42c1 120%);
}
.article-thumb-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: 0.5;
}
.article-thumb-fallback i {
    font-size: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}
.article-thumb-fallback span {
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}
.article-card:hover .article-thumb-fallback { filter: brightness(1.04); }

.article-category {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.article-category.ai {
    background: rgba(20, 184, 122, 0.92);
    color: white;
}

.article-category.prompt {
    background: rgba(6, 106, 201, 0.92);
    color: white;
}

.article-category.tools {
    background: rgba(255, 149, 0, 0.9);
    color: white;
}

.article-category.tutorial {
    background: rgba(147, 51, 234, 0.9);
    color: white;
}

.article-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.5;
    transition: color 0.3s;
}

.article-card:hover .article-title {
    color: var(--primary-blue);
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: 0.3s;
}

.read-more:hover {
    gap: 12px;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* === 9. Featured Article === */
.featured-article {
    grid-column: span 2;
}

.featured-article .article-thumbnail {
    aspect-ratio: 21/10;
}

.featured-article .article-title {
    font-size: 1.4rem;
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    border-radius: 99px;
    background: linear-gradient(135deg, #FFD60A 0%, #FFAA00 100%);
    color: #1D1D1F;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* === 10. Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
}

.page-btn:hover {
    background: white;
    color: var(--text-main);
}

.page-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.page-btn.arrow {
    font-size: 0.8rem;
}

/* === 11. Newsletter Section === */
.newsletter-section {
    padding: var(--section-spacing) 0;
}

.newsletter-box {
    background: linear-gradient(135deg, #066ac9 0%, #074ea6 100%);
    border-radius: 36px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 32px 80px -16px rgba(6, 106, 201, 0.35);
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.newsletter-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.newsletter-box p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 99px;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
}

.newsletter-form button {
    padding: 16px 32px;
    border-radius: 99px;
    border: none;
    background: white;
    color: var(--primary-blue);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* === 12. Footer === */
.dark-footer {
    background: #0b0b0b;
    color: #86868B;
    padding: 60px 0 48px;
    border-top: 1px solid #1f1f1f;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.logo-group.inverted .logo-icon {
    border: 1px solid #333;
}

.logo-group.inverted .logo-text .name {
    color: white;
}

.logo-group.inverted .logo-text .academy {
    color: #86868B;
}

.social-col {
    display: flex;
    gap: 12px;
}

.social-glass {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-glass:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

.copyright {
    margin-top: 12px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* === 13. Empty State === */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-secondary);
    opacity: 0.3;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-secondary);
}

/* === 14. Responsive === */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-article {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* === MOBILE NAVIGATION === */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-cta-desktop {
        display: none;
    }

    .nav-cta-mobile {
        display: inline-flex;
        width: 100%;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-cta-mobile .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        margin-right: -16px;
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: min(416px, 85vw);
        height: 100vh;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 80px 24px 32px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        overflow-y: auto;
        z-index: 1001;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-item {
        padding: 16px 20px;
        border-radius: var(--radius-md);
        background: rgba(245, 245, 247, 0.6);
        margin-bottom: 10px;
        font-size: 0.95rem;
        text-align: center;
        transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.03);
    }

    .nav-item:hover,
    .nav-item.active {
        background: var(--primary-green);
        color: white;
        transform: translateX(-4px);
    }

    .glass-nav {
        margin: 12px 12px 0;
        top: 12px;
    }

    .page-header h1 {
        font-size: 1.9rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-article {
        grid-column: span 1;
    }

    .featured-article .article-thumbnail {
        aspect-ratio: 16/10;
    }

    .featured-article .article-title {
        font-size: 1.15rem;
    }

    .search-filter-container {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
        max-width: none;
    }

    .category-pills {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .category-pill {
        flex-shrink: 0;
    }

    .newsletter-box {
        padding: 40px 24px;
        border-radius: var(--radius-lg);
    }

    .newsletter-box h2 {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .article-content {
        padding: 20px;
    }
}

@media (max-width: 400px) {
    .page-header h1 {
        font-size: 1.6rem;
    }

    .logo-text {
        display: none;
    }

    .article-title {
        font-size: 1.05rem;
    }
}