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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    font-weight: 700;
    color: #667eea;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05) 0%, rgba(231, 76, 60, 0.05) 100%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-featured-post {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-featured-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f39c12 0%, #e74c3c 100%);
}

.featured-post-preview .post-meta {
    margin-bottom: 1rem;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-excerpt {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.featured-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.monero-visual {
    position: relative;
}

.monero-visual svg {
    filter: drop-shadow(0 10px 30px rgba(243, 156, 18, 0.3));
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    color: white;
}

.cta-secondary {
    background: transparent;
    color: #667eea;
    padding: 15px 30px;
    border: 2px solid #667eea;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

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

/* Blog Section */
.blog {
    padding: 80px 0;
    background: #fff;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    z-index: auto !important;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.blog-post.featured {
    border-left: 5px solid #667eea;
}

.blog-post.premium {
    border-left: 5px solid #f39c12;
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15);
    position: relative;
    overflow: hidden;
}

.blog-post.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f39c12 0%, #e74c3c 50%, #9b59b6 100%);
}

.featured-badge {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.premium-cta {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin: 3rem 0;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.premium-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.premium-cta:hover::before {
    left: 100%;
}

.premium-cta h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.premium-cta p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.premium-cta .cta-primary {
    background: white;
    color: #f39c12;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid white;
}

.premium-cta .cta-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.post-date {
    color: #666;
}

.post-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 500;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #333;
}

.post-excerpt {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.post-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #333;
}

.post-content h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: #667eea;
}

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

.post-cta {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.post-cta h4 {
    color: #667eea;
    margin-bottom: 1rem;
}

.post-cta p {
    margin-bottom: 1.5rem;
    color: #666;
}

.references {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.references h5 {
    color: #333;
    margin-bottom: 1rem;
}

.references ul {
    list-style: none;
}

.references li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.references li:last-child {
    border-bottom: none;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

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

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* CRITICAL: Force all blog content to be visible on mobile */
    body {
        color: #333 !important;
        background-color: #fff !important;
    }
    
    .blog {
        background: #fff !important;
        padding: 60px 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .blog-post {
        background: #fff !important;
        color: #333 !important;
        border: 1px solid #e0e0e0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        transform: none !important;
        z-index: auto !important;
    }
    
    .blog-post * {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .post-title,
    .post-excerpt,
    .post-content,
    .post-content h4,
    .post-content h5,
    .post-content p {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #333 !important;
        background: transparent !important;
    }
    
    .post-title {
        color: #333 !important;
    }
    
    .post-excerpt {
        color: #666 !important;
    }
    
    .post-content {
        color: #444 !important;
    }
    
    .post-content h4 {
        color: #333 !important;
    }
    
    .post-content h5 {
        color: #667eea !important;
    }
    
    .post-content p {
        color: #444 !important;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .theme-toggle {
        margin: 10px 0;
        align-self: center;
    }
    
    [data-theme="dark"] .hamburger span {
        background: var(--text-primary);
    }
    
    [data-theme="dark"] .nav-menu {
        background: rgba(26, 26, 26, 0.98);
        border-top: 1px solid var(--border-color);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-featured-post {
        margin: 1.5rem 0;
        padding: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .featured-excerpt {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .featured-stats {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .stat {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }
    
    .blog-post {
        padding: 1.5rem;
        margin: 0 10px 2rem;
        border-radius: 15px;
    }
    
    .post-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .post-excerpt {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .post-content {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .post-content h4 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .post-content h5 {
        font-size: 1.1rem;
        margin: 1.2rem 0 0.5rem;
    }
    
    .post-content p {
        margin-bottom: 1.2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .post-cta {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .premium-cta {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .premium-cta h4 {
        font-size: 1.5rem;
    }
    
    .premium-cta p {
        font-size: 1rem;
    }
    
    .references {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .about-text h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .section-header {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    .blog-post {
        margin: 0 auto 2rem auto !important;
        max-width: 95% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .section-header {
        text-align: center !important;
        padding: 0 15px !important;
        max-width: 100% !important;
        margin: 0 auto 3rem auto !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* CRITICAL: Force all blog content to be visible on very small mobile */
    body {
        color: #333 !important;
        background-color: #fff !important;
    }
    
    .blog {
        background: #fff !important;
        padding: 40px 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .blog-post {
        background: #fff !important;
        color: #333 !important;
        border: 1px solid #e0e0e0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        transform: none !important;
        z-index: auto !important;
    }
    
    .blog-post * {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .post-title,
    .post-excerpt,
    .post-content,
    .post-content h4,
    .post-content h5,
    .post-content p {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #333 !important;
        background: transparent !important;
    }
    
    .post-title {
        color: #333 !important;
    }
    
    .post-excerpt {
        color: #666 !important;
    }
    
    .post-content {
        color: #444 !important;
    }
    
    .post-content h4 {
        color: #333 !important;
    }
    
    .post-content h5 {
        color: #667eea !important;
    }
    
    .post-content p {
        color: #444 !important;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-featured-post {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .featured-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .featured-excerpt {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .featured-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .stat {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .blog-post {
        padding: 1rem;
        margin: 0 5px 1.5rem;
        border-radius: 12px;
    }
    
    .post-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .post-excerpt {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .post-content {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .post-content h4 {
        font-size: 1.2rem;
        margin: 1.2rem 0 0.6rem;
    }
    
    .post-content h5 {
        font-size: 1rem;
        margin: 1rem 0 0.4rem;
    }
    
    .post-cta {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .premium-cta {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .premium-cta h4 {
        font-size: 1.3rem;
    }
    
    .premium-cta p {
        font-size: 0.9rem;
    }
    
    .references {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .container {
        padding: 0 10px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    .blog-post {
        margin: 0 auto 1.5rem auto !important;
        max-width: 98% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .section-header {
        text-align: center !important;
        padding: 0 10px !important;
        max-width: 100% !important;
        margin: 0 auto 2rem auto !important;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 10px;
    }
    
    .about-content {
        padding: 0 10px;
    }
}

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

.hero-content,
.blog-post,
.about-text {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin: 0 10px;
}

.theme-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

.theme-toggle:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.sun-icon,
.moon-icon {
    transition: all 0.3s ease;
}

.moon-icon {
    display: none;
}

/* Light Theme Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --accent-color: #667eea;
    --accent-secondary: #764ba2;
}

/* Dark Theme Styles */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --accent-color: #667eea;
    --accent-secondary: #764ba2;
}

[data-theme="dark"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .navbar {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .nav-menu {
    background: rgba(26, 26, 26, 0.98);
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .nav-link {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-link:hover {
    color: var(--accent-color);
}

[data-theme="dark"] .nav-logo h2 {
    color: var(--accent-color);
}

[data-theme="dark"] .theme-toggle {
    color: var(--text-primary);
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

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

[data-theme="dark"] .hero-featured-post {
    background: var(--bg-secondary);
    border-color: rgba(243, 156, 18, 0.3);
}

[data-theme="dark"] .featured-title {
    color: var(--text-primary);
}

[data-theme="dark"] .featured-excerpt {
    color: var(--text-secondary);
}

[data-theme="dark"] .stat {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
}

[data-theme="dark"] .hero-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .blog {
    background: var(--bg-primary);
}

[data-theme="dark"] .blog-post {
    background: var(--bg-secondary);
    box-shadow: 0 10px 40px var(--shadow-color);
}

[data-theme="dark"] .blog-post.premium {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #2d2d2d 100%);
    box-shadow: 0 15px 50px rgba(243, 156, 18, 0.2);
}

[data-theme="dark"] .premium-cta {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
}

[data-theme="dark"] .premium-cta .cta-primary {
    background: white;
    color: #f39c12;
}

[data-theme="dark"] .premium-cta .cta-primary:hover {
    background: transparent;
    color: white;
}

[data-theme="dark"] .post-title {
    color: var(--text-primary);
}

[data-theme="dark"] .post-excerpt {
    color: var(--text-secondary);
}

[data-theme="dark"] .post-content {
    color: var(--text-secondary);
}

[data-theme="dark"] .post-content h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .post-content h5 {
    color: var(--accent-color);
}

[data-theme="dark"] .post-cta {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .post-cta h4 {
    color: var(--accent-color);
}

[data-theme="dark"] .post-cta p {
    color: var(--text-secondary);
}

[data-theme="dark"] .references {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .references h5 {
    color: var(--text-primary);
}

[data-theme="dark"] .references li {
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

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

[data-theme="dark"] .about-text h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .about-text p {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .footer-section a {
    color: var(--text-muted);
}

[data-theme="dark"] .footer-section a:hover {
    color: var(--accent-color);
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

[data-theme="dark"] .section-header h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .section-header p {
    color: var(--text-secondary);
}

[data-theme="dark"] .post-date {
    color: var(--text-muted);
}

[data-theme="dark"] .reading-time {
    color: var(--text-muted);
}

[data-theme="dark"] .reading-time span {
    background: var(--bg-tertiary);
}

/* Focus states for accessibility */
.nav-link:focus,
.cta-primary:focus,
.cta-secondary:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Comments Section */
.comments-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.comments-section h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.comments-intro {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.comment-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-post-comment {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-post-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-post-comment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.anonymous-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    user-select: none;
}

.anonymous-toggle input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.anonymous-toggle input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.anonymous-toggle input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.comments-list {
    margin-top: 2rem;
}

.comment {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease-out;
}

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

.comment-author {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1rem;
}

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

.comment-content {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1rem;
}

.comment-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.comment-action {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.comment-action:hover {
    color: var(--accent-color);
    background: rgba(102, 126, 234, 0.1);
}

.no-comments {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px dashed var(--border-color);
}

/* Mobile responsiveness for comments */
@media (max-width: 768px) {
    .comment-form {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .btn-post-comment {
        width: 100%;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
} 