/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Modern & Clean (Light Mode) */
    --color-primary: #000000;
    --color-secondary: #1a1a1a;
    --color-accent: #3B82F6;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-background: #ffffff;
    --color-surface: #f5f5f5;
    --color-border: #e0e0e0;
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --color-primary: #ffffff;
    --color-secondary: #e5e5e5;
    --color-accent: #60A5FA;
    --color-text: #e5e5e5;
    --color-text-light: #a0a0a0;
    --color-background: #0a0a0a;
    --color-surface: #1a1a1a;
    --color-border: #2a2a2a;
}

:root {
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: background-color var(--transition-normal);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all var(--transition-fast);
}

/* ===== Buttons ===== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 140px;
    padding-bottom: var(--spacing-xl);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
    padding: var(--spacing-xl) 0;
}

.section-dark {
    background-color: var(--color-secondary);
    color: white;
}

.section-dark .section-title {
    color: white;
}

.section-dark .content-description,
.section-dark .feature-list li span {
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    letter-spacing: -1px;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background-color: var(--color-surface);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== Content Split Section ===== */
.content-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
}

.content-text {
    max-width: 600px;
}

.content-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-list li strong {
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
}

.feature-list li span {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.content-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: var(--font-weight-medium);
}

/* ===== Stats Grid ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-weight: var(--font-weight-medium);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 100%);
    color: white;
    text-align: center;
}

.cta-section .section-title {
    color: white;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--color-primary);
}

.cta-section .btn-primary:hover {
    background-color: var(--color-surface);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-secondary);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-semibold);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .content-split {
        gap: var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn-large {
        width: 100%;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

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

.hero-content,
.feature-card,
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

/* ===== BLOG-SPECIFIC STYLES ===== */

/* Hero Blog Variant */
.hero-blog {
    padding-top: 120px;
    padding-bottom: var(--spacing-lg);
    min-height: 70vh;
}

.date-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--color-surface);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.category-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--color-accent);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.hero-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.hero-meta .author,
.hero-meta .read-time {
    font-weight: var(--font-weight-medium);
}

.hero-meta .author::before {
    content: "✍️ ";
    margin-right: 4px;
}

.hero-meta .read-time::before {
    content: "⏱ ";
    margin-right: 4px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.article-card {
    background-color: var(--color-background);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.article-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card.featured .article-image {
    aspect-ratio: 21/9;
}

.article-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: white;
}

.article-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
}

.article-meta .category {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-meta .time {
    color: var(--color-text-light);
}

.article-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    margin: 0;
}

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

.article-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-title a:hover {
    color: var(--color-accent);
}

.article-excerpt {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
}

.author-small {
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
}

.read-time-small {
    color: var(--color-text-light);
}

.load-more {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.video-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.video-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.08);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail .image-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
}

.video-content {
    padding: var(--spacing-md);
}

.video-content h3 {
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
    color: white;
}

.video-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
}

.video-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
}

.topic-card {
    background-color: var(--color-surface);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.topic-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    background-color: white;
}

.topic-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.topic-card h3 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.topic-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 100%);
    color: white;
    text-align: center;
}

.newsletter-section .section-title {
    color: white;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-description {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto var(--spacing-sm);
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-family);
}

.newsletter-input:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.newsletter-privacy {
    font-size: 0.85rem;
    opacity: 0.8;
}

.newsletter-privacy a {
    color: white;
    text-decoration: underline;
}

/* Responsive Updates for Blog Layout */
@media (max-width: 768px) {
    .article-card.featured {
        grid-column: span 1;
    }
    
    .article-card.featured .article-image {
        aspect-ratio: 16/9;
    }
    
    .article-card.featured .article-title {
        font-size: 1.4rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-blog {
        padding-top: 100px;
    }
}

/* ===== Theme Toggle ===== */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 0.3rem;
    border: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.theme-toggle button {
    background: transparent;
    border: none;
    padding: 0.5rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.theme-toggle button:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.05);
}

[data-theme="dark"] .theme-toggle button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle button.active {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transform: scale(1);
}

[data-theme="dark"] .theme-toggle button.active {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}

.theme-toggle button:focus {
    outline: none;
}

.theme-toggle button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Dark mode specific adjustments */
[data-theme="dark"] .nav {
    background-color: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav .logo {
    color: #ffffff;
}

[data-theme="dark"] .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .nav-links a:hover {
    color: #60A5FA;
}

[data-theme="dark"] .mobile-menu-btn span {
    background-color: #ffffff;
}

[data-theme="dark"] .section-dark {
    background-color: var(--color-surface);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

[data-theme="dark"] .card,
[data-theme="dark"] .article-card,
[data-theme="dark"] .video-card,
[data-theme="dark"] .feature-card {
    background-color: var(--color-surface);
    border-color: var(--color-border);
}

/* Dark mode: Newsletter section - darker gradient with white text */
[data-theme="dark"] .newsletter-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #0e7490 100%) !important;
    color: white !important;
}

[data-theme="dark"] .newsletter-section .section-title,
[data-theme="dark"] .newsletter-section .newsletter-description,
[data-theme="dark"] .newsletter-section .newsletter-privacy,
[data-theme="dark"] .newsletter-section p,
[data-theme="dark"] .newsletter-section label {
    color: white !important;
}

[data-theme="dark"] .newsletter-section a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: underline;
}

[data-theme="dark"] .newsletter-section a:hover {
    color: white !important;
}

[data-theme="dark"] .newsletter-section input[type="email"],
[data-theme="dark"] .newsletter-section .newsletter-input {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

[data-theme="dark"] .newsletter-section input[type="email"]::placeholder,
[data-theme="dark"] .newsletter-section .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Dark mode: Footer - dark background with light text */
[data-theme="dark"] .footer {
    background-color: #111111 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-top: 1px solid var(--color-border);
}

[data-theme="dark"] .footer p,
[data-theme="dark"] .footer h4 {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="dark"] .footer a {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-theme="dark"] .footer a:hover {
    color: white !important;
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Dark mode: CTA section - darker gradient with white text */
[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #0e7490 100%) !important;
    color: white !important;
}

[data-theme="dark"] .cta-section .section-title,
[data-theme="dark"] .cta-section p {
    color: white !important;
}

/* Dark mode: Make sure all gradient sections have white text */
[data-theme="dark"] .hero-blog .hero-subtitle,
[data-theme="dark"] .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* Dark mode: Hero section elements */
[data-theme="dark"] .date-badge {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .category-tag {
    background: rgba(59, 130, 246, 0.3) !important;
    color: white !important;
    border: 1px solid rgba(59, 130, 246, 0.5);
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-title .gradient-text {
    color: white !important;
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .hero-meta,
[data-theme="dark"] .hero-meta .author,
[data-theme="dark"] .hero-meta .read-time {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Dark mode: Buttons in hero */
[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%) !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .btn-primary:hover {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}
