:root {
    --bg-primary: #050510;
    --bg-secondary: #0c0c16;
    --bg-card: rgba(26, 26, 46, 0.4);
    --bg-card-hover: rgba(31, 31, 54, 0.6);
    --accent-primary: #6c63ff;
    --accent-secondary: #a78bfa;
    --accent-glow: rgba(108, 99, 255, 0.2);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --gradient-1: linear-gradient(135deg, #6c63ff, #a78bfa, #c084fc);
    --gradient-2: linear-gradient(135deg, #06b6d4, #6c63ff);
    --radius-lg: 16px;
    --radius-xl: 24px;
}

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Background Glows */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    animation: move-glow 20s infinite alternate;
}

.glow-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    animation: move-glow 15s infinite alternate-reverse;
}

@keyframes move-glow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, 100px); }
}

/* ===== NAVBAR ===== */
.blog-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.blog-navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-links a:hover {
    color: var(--text-primary);
}

.navbar-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--accent-primary);
    color: white;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-login:hover {
    background: #5a52e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* ===== HERO ===== */
.blog-hero {
    padding: 10rem 1.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%,
    100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1.1);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-title .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    position: relative;
}

/* ===== POSTS GRID ===== */
.posts-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* ===== POST CARD ===== */
.post-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(108, 99, 255, 0.4);
    background: var(--bg-card-hover);
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(108, 99, 255, 0.15);
}

.post-card-image-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.post-card:hover .post-card-image {
    transform: scale(1.1);
}

.post-card-category {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-card-category:hover {
    background: var(--accent-primary);
    transform: scale(1.05);
}

.post-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1e3f, #111122);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
}

.post-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-card-author {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
}

.post-card-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.meta-dot {
    width: 3px;
    height: 3px;
    background: var(--text-muted);
    border-radius: 50%;
}

.post-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.post-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: var(--accent-secondary);
}

.post-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.post-card-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.read-more-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    gap: 0.8rem;
    color: white;
}

/* ===== SINGLE POST PAGE ===== */
.post-header {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
    text-align: center;
}

.post-header-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-primary);
    background: rgba(108, 99, 255, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.post-featured-image-container {
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.post-featured-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 500px;
    border: 1px solid var(--border-color);
}

.post-body-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.post-tags {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.post-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.author-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn-wa { background: #25D366; }
.share-btn-li { background: #0077b5; }
.share-btn-tw { background: #1DA1F2; }

/* ===== COURSE SHOW PAGE ===== */
.course-show-header {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
}

.course-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .course-header-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.course-info-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-primary);
    background: rgba(108, 99, 255, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
}

.course-info-badge-secondary {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
}

.course-price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.course-price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.course-featured-image {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 16/10;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.course-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

@media (max-width: 900px) {
    .course-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.course-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}


/* ===== FEATURED POST ===== */
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-post:hover {
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px var(--accent-glow);
}

.featured-post .post-card-image-wrapper {
    height: 100%;
    min-height: 400px;
}

.featured-post .post-card-image {
    height: 100%;
}

.featured-post .post-card-body {
    padding: 2.5rem;
    justify-content: center;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.featured-post .post-card-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.featured-post .post-card-excerpt {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    margin-bottom: 1.5rem;
}

/* ===== HOME PAGE STYLES ===== */
.home-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 1.5rem 80px;
    background: radial-gradient(circle at 50% -20%, rgba(108, 99, 255, 0.15) 0%, rgba(10, 10, 15, 0) 50%);
}

.home-hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.home-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

.home-section {
    padding: 100px 1.5rem;
}

.home-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.home-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-section {
    background: var(--bg-secondary);
    border-radius: 30px;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(108, 99, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== BLOG FILTERS & SEARCH ===== */
.blog-filters-container {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .blog-filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
}

.categories-nav {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.categories-nav::-webkit-scrollbar {
    display: none;
}

.category-pill {
    white-space: nowrap;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.category-pill.active {
    background: rgba(108, 99, 255, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2);
}

.cat-count {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    opacity: 0.7;
}

.search-form {
    flex: 1;
    max-width: 400px;
}

@media (max-width: 768px) {
    .search-form {
        max-width: 100%;
    }
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.8rem 3rem 0.8rem 1.25rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
    background: var(--bg-card-hover);
}

.search-submit {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-submit svg {
    width: 18px;
    height: 18px;
}

.search-submit:hover {
    color: var(--accent-primary);
}

.pagination-wrapper nav {
    display: flex;
    gap: 0.5rem;
}

.pagination-wrapper .page-link,
.pagination-wrapper a,
.pagination-wrapper span {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pagination-wrapper a:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(108, 99, 255, 0.3);
}

.pagination-wrapper .active span,
.pagination-wrapper span[aria-current="page"] span {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.blog-footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    z-index: 99;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post .post-card-image-wrapper {
        min-height: 250px;
    }

    .featured-post .post-card-body {
        padding: 1.5rem;
    }

    .featured-post .post-card-title {
        font-size: 1.3rem;
    }

    .blog-hero {
        padding: 8rem 1.5rem 3rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ===== BLOG SINGLE POST STYLE ===== */
.post-content {
    line-height: 1.8;
    color: #e2e8f0;
    font-size: 1.125rem;
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 3.5rem 0 1.5rem;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.post-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2.5rem 0 1.25rem;
    color: #f8fafc;
}

.post-content p {
    margin-bottom: 2rem;
}

.post-content blockquote {
    border-left: 4px solid var(--accent-primary);
    padding: 1.5rem 2rem;
    background: rgba(108, 99, 255, 0.05);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.25rem;
    margin: 3rem 0;
    color: var(--accent-secondary);
}

.post-content img {
    border-radius: 16px;
    margin: 3rem 0;
    border: 1px solid var(--border-color);
    max-width: 100%;
    height: auto;
}

.post-content ul, .post-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 1rem;
}
