:root {
    --primary-color: #00bcd4;
    --primary-dark: #0097a7;
    --secondary-color: #e91e63;
    --accent-color: #ff6ec7;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --background: #000000;
    --background-alt: #111111;
    --border: #333333;
    --shadow: 0 4px 6px -1px rgba(0, 255, 255, 0.1);
    --card-bg: #1a1a1a;
    --hero-gradient: linear-gradient(135deg, #00bcd4 0%, #e91e63 100%);
    --logo-gradient: linear-gradient(135deg, #00bcd4 0%, #e91e63 100%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
/* Header */
.header {
    background: var(--background);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo {
    height: 60px;
    width: auto;
}
.nav-brand h1 {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
}
.nav-brand h1 a {
    text-decoration: none;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}
/* Hero Section */





/* Sections */
.section {
    padding: 5rem 0;
}
.section-alt {
    background: var(--background-alt);
}
.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}
.section p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}
/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}
.feature:hover {
    transform: translateY(-4px);
}
.feature h3 {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.feature p {
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}
/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.service:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.15);
}
.service h3 {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.service p {
    color: var(--text-secondary);
    margin: 0;
    text-align: left;
}
/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}
.contact-item h3 {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.contact-item p {
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}
/* Footer */
.footer {
    background: var(--background-alt);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
}
.footer p {
    margin: 0;
    opacity: 0.8;
}
/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
}

/* Blog Styles */
.nav-links .active {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}
.blog-hero {
    background: var(--background-alt);
    background-image: url('/assets/images/marvin.png');
    background-repeat: no-repeat;
    background-position: 75% center;
    background-size: 200px 200px;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--background-alt) 0%, rgba(17, 17, 17, 0.05) 50%, transparent 100%);
    pointer-events: none;
}
.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}
.blog-hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: left;
    margin: 0;
    max-width: 600px;
}
.blog-content {
    padding: 4rem 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.blog-post-preview {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-post-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px -8px rgba(0, 188, 212, 0.3);
}
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}
.post-meta time {
    color: var(--text-secondary);
}
.post-category {
    background: var(--logo-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.blog-post-preview h2 {
    margin-bottom: 1rem;
}
.blog-post-preview h2 a {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
}
.blog-post-preview h2 a:hover {
    text-shadow: 0 0 8px var(--primary-color);
    transform: translateX(4px);
}
.blog-post-preview p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.read-more:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}
/* Blog Post Styles */
.blog-post {
    max-width: none;
}
.post-header {
    background: var(--background-alt);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}
.post-header .post-meta {
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.post-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}
.post-content {
    padding: 4rem 0;
}
.post-content .container {
    max-width: 800px;
}
.video-link {
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}
.video-link p {
    margin-bottom: 0.5rem;
}
.video-link p:last-child {
    margin-bottom: 0;
}
.video-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.video-link a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}
.video-link em {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.post-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
}
.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 0.5rem;
}
.post-content blockquote p {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-secondary);
}
.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.back-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}
/* Blog Responsive */
@media (max-width: 768px) {
    .blog-hero {
        background-size: 150px 150px;
        background-position: center top;
        padding-top: 200px;
    }
    
    .blog-hero-content {
        text-align: center;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .blog-hero p {
        text-align: center;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content p {
        font-size: 1rem;
    }
    
    .post-content blockquote {
        padding-left: 1rem;
        padding: 1.5rem;
    }
}




/* YouTube Thumbnail Styles - Fixed sizing */
.post-thumbnail {
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--background-alt);
    height: 200px;
    position: relative;
}
.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.blog-post-preview:hover .post-thumbnail img {
    transform: scale(1.05);
}
.blog-post-preview .post-thumbnail::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.blog-post-preview:hover .post-thumbnail::after {
    opacity: 1;
}
/* Play button icon */
.blog-post-preview .post-thumbnail::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.blog-post-preview:hover .post-thumbnail::before {
    color: #000;
    transform: translate(-50%, -50%) scale(1.1);
}
/* Bright, colorful author-based thumbnails */
.post-thumbnail-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 2px solid transparent;
}
.post-thumbnail-text:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}
/* Bright default gradient */
.post-thumbnail-text {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
}
/* Marvin - Electric Sheep bright gradient */
.post-thumbnail-text[data-author*=Marvin] {
    background: linear-gradient(135deg, #00e5ff 0%, #ff1744 100%);
}
/* 3Blue1Brown - Bright blue/orange */
.post-thumbnail-text[data-author*=3Blue1Brown] {
    background: linear-gradient(135deg, #2196f3 0%, #ff9800 100%);
}
/* Two Minute Papers - Bright green/cyan */
.post-thumbnail-text[data-author*=Two Minute Papers] {
    background: linear-gradient(135deg, #00e676 0%, #00bcd4 100%);
}
/* AI Explained - Bright purple/pink */
.post-thumbnail-text[data-author*=AI Explained] {
    background: linear-gradient(135deg, #9c27b0 0%, #e91e63 100%);
}
/* Fireship - Bright orange/red */
.post-thumbnail-text[data-author*=Fireship] {
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%);
}
/* GitHub - Bright dark/green */
.post-thumbnail-text[data-author*=GitHub] {
    background: linear-gradient(135deg, #424242 0%, #66bb6a 100%);
}
/* Robert Miles - Bright red/orange */
.post-thumbnail-text[data-author*=Robert Miles] {
    background: linear-gradient(135deg, #f44336 0%, #ff9800 100%);
}
.text-thumbnail {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}
.thumbnail-category {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    display: inline-block;
}
.thumbnail-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}
.thumbnail-author {
    font-size: 0.9rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
/* Author in post meta - brighter */
.post-author {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* Improve post meta layout */
.post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}
.post-meta time {
    color: var(--text-secondary);
    font-weight: 500;
}
.post-category {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* Topic Cloud Styles */
.topic-cloud {
    margin-top: 3rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.topic-connections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}
.connections-svg {
    position: absolute;
    top: 0;
    left: 0;
}
.topics-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}
.topic-tag {
    background: rgba(0, 188, 212, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}
.topic-tag:hover,
.topic-tag.topic-hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px -8px var(--primary-color);
    border-color: var(--secondary-color);
}
.topic-tag.topic-active {
    background: var(--hero-gradient);
    color: white;
    border-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 30px -10px var(--secondary-color);
}
/* Different sizes for visual hierarchy */
.topic-core {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-width: 3px;
}
.topic-ml, .topic-neural, .topic-gpt {
    font-size: 0.9rem;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}
.topic-ml:hover, .topic-neural:hover, .topic-gpt:hover {
    background: var(--secondary-color);
    border-color: var(--primary-color);
}
.topic-consciousness, .topic-safety, .topic-programming {
    border-color: var(--accent-color);
    color: var(--accent-color);
}
.topic-consciousness:hover, .topic-safety:hover, .topic-programming:hover {
    background: var(--accent-color);
}
/* Filter info styles */
.filter-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--background-alt);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}
.filter-info h3 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}
.filter-info h3 span {
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.clear-filter-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.clear-filter-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}
/* Animation for filtered posts */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design for topic cloud */
@media (max-width: 768px) {
    .topics-container {
        gap: 0.5rem;
        padding: 1.5rem 0;
    }
    
    .topic-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .topic-core {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Pulse animation for active topics */
.topic-tag.topic-active {
    animation: topicPulse 2s infinite;
}
@keyframes topicPulse {
    0% { box-shadow: 0 10px 30px -10px var(--secondary-color); }
    50% { box-shadow: 0 15px 40px -5px var(--secondary-color); }
    100% { box-shadow: 0 10px 30px -10px var(--secondary-color); }
}

/* Hero Tags */


.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}



/* Post Tags */
.post-tags {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.post-tag {
    background: rgba(233, 30, 99, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}
.post-tag:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-1px);
}
.post-tag.active {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px -4px var(--secondary-color);
}
/* Filter Info */
.filter-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    background: var(--background-alt);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    animation: slideDown 0.3s ease-in;
}
.filter-info h3 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}
.filter-info h3 span {
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.clear-filter-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}
.clear-filter-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px -4px var(--primary-color);
}
/* Animations */
@keyframes tagPulse {
    0% { box-shadow: 0 10px 30px -10px var(--secondary-color); }
    50% { box-shadow: 0 15px 40px -5px var(--secondary-color); }
    100% { box-shadow: 0 10px 30px -10px var(--secondary-color); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .tags-cloud {
        gap: 0.75rem;
    }
    
    .hero-tag {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .post-tags {
        gap: 0.4rem;
    }
    
    .post-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}
/* Cache bust - Do. 26 Juni 2025 22:45:14 CEST */

/* Single Post Hero Styles */
.post-hero {
    background: var(--background-alt);
    background-image: linear-gradient(135deg, rgba(0, 188, 212, 0.05) 0%, rgba(233, 30, 99, 0.05) 100%);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.post-meta-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}
.post-meta-header time {
    color: var(--text-secondary);
    font-weight: 500;
}
.post-author-header {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.post-category-header {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    font-weight: 800;
}
.post-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.post-tags-hero {
    margin-top: 2rem;
}
.post-tags-hero h4 {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}
.post-tag-hero {
    background: rgba(0, 188, 212, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.post-tag-hero:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}
.post-video-info {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 0.5rem;
    border: 1px solid var(--primary-color);
    display: inline-block;
}
.post-video-info p {
    margin: 0;
    color: var(--text-secondary);
}
.post-video-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.post-video-info a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}
/* Post Footer Tags */
.post-tags-footer {
    margin-bottom: 2rem;
    text-align: center;
}
.post-tags-footer h4 {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.post-tag-link {
    background: rgba(233, 30, 99, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.4rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.post-tag-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-1px);
}
.post-navigation {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.back-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
    transform: translateX(-3px);
}
/* Responsive Design for Single Post */
@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }
    
    .post-subtitle {
        font-size: 1rem;
    }
    
    .post-meta-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tags-container {
        gap: 0.5rem;
    }
    
    .post-tag-hero {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

.blog-preview-card {
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--primary-color);
}
.blog-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.2);
}
.preview-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}
.preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-preview-card:hover .preview-thumbnail img {
    transform: scale(1.05);
}
.preview-thumbnail-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-color);
}
.text-thumbnail {
    text-align: center;
    padding: 1rem;
}
.thumbnail-category {
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}
.thumbnail-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.thumbnail-author {
    font-size: 0.9rem;
    opacity: 0.8;
}
.preview-content {
    padding: 1.5rem;
}
.preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.preview-author {
    color: var(--secondary-color);
    font-weight: 500;
}
.preview-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    line-height: 1.4;
}
.preview-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.preview-content h3 a:hover {
    color: var(--primary-color);
}
.preview-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.read-more-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--background-color);
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .preview-content {
        padding: 1rem;
    }
    
    .preview-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Homepage Blog Preview Styles - Fixed */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.blog-preview-card {
    background: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--primary-color);
    height: fit-content;
}
.blog-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.15);
}
.preview-thumbnail {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
}
.preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-preview-card:hover .preview-thumbnail img {
    transform: scale(1.02);
}
.preview-thumbnail-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-color);
}
.text-thumbnail {
    text-align: center;
    padding: 0.8rem;
}
.thumbnail-category {
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    opacity: 0.9;
}
.thumbnail-title {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}
.thumbnail-author {
    font-size: 0.8rem;
    opacity: 0.8;
}
.preview-content {
    padding: 1rem;
}
.preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.preview-author {
    color: var(--secondary-color);
    font-weight: 500;
}
.preview-content h3 {
    margin: 0 0 0.8rem 0;
    font-size: 1.1rem;
    line-height: 1.3;
}
.preview-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.preview-content h3 a:hover {
    color: var(--primary-color);
}
.preview-description {
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.read-more-btn {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.read-more-btn:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-1px);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .preview-thumbnail {
        height: 180px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Fix any remaining blue links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--secondary-color);
}
a:visited {
    color: var(--primary-color);
}
/* Ensure blog post links follow theme */
.blog-preview-card a,
.preview-content a {
    color: var(--text-color);
}
.blog-preview-card a:hover,
.preview-content a:hover {
    color: var(--primary-color);
}
/* Enhanced Homepage Styles */



/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.service-card {
    background: var(--card-background);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.2);
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.service-card ul {
    text-align: left;
    margin: 1.5rem 0;
    color: var(--text-muted);
}
.service-card ul li {
    margin-bottom: 0.5rem;
}
.service-link {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}
.service-link:hover {
    color: var(--primary-color);
}
/* Content Sections */
.content-sections {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}
.content-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.blog-preview-grid h4 {
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
    line-height: 1.3;
}
.security-posts-preview {
    background: var(--card-background);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
}
.security-post-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.team-member {
    background: var(--card-background);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}
.team-member:hover {
    transform: translateY(-3px);
}
.member-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.member-role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}
.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}
.specialty {
    background: var(--primary-color);
    color: var(--background-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
}
.member-link {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
}
.member-link:hover {
    color: var(--primary-color);
}
/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.contact-item {
    text-align: center;
    padding: 1.5rem;
}
.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}
.contact-item a:hover {
    color: var(--primary-color);
}
/* Responsive Design */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .content-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
}


/* Hero Section with Electric Sheep Background */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d4ff 0%, #5b86e5 25%, #8e44ad 50%, #e056fd 75%, #ff6b9d 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Electric sheep silhouettes - more prominent */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><filter id="glow"><feGaussianBlur stdDeviation="3" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g filter="url(%23glow)"><ellipse cx="150" cy="480" rx="35" ry="25" fill="none" stroke="%2300d4ff" stroke-width="3" opacity="0.9"/><ellipse cx="130" cy="470" rx="20" ry="15" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.8"/><ellipse cx="170" cy="470" rx="15" ry="12" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.7"/><circle cx="140" cy="460" r="8" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.9"/><path d="M125,475 L120,485 M135,475 L130,485 M165,475 L160,485 M175,475 L170,485" stroke="%2300d4ff" stroke-width="2" opacity="0.8"/><path d="M140,450 Q145,445 150,450" stroke="%2300d4ff" stroke-width="2" fill="none" opacity="0.9"/></g><g filter="url(%23glow)"><ellipse cx="450" cy="420" rx="40" ry="30" fill="none" stroke="%2300d4ff" stroke-width="3" opacity="0.8"/><ellipse cx="425" cy="408" rx="25" ry="18" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.7"/><ellipse cx="475" cy="408" rx="18" ry="14" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.6"/><circle cx="440" cy="395" r="10" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.8"/><path d="M420,415 L415,425 M435,415 L430,425 M465,415 L460,425 M480,415 L475,425" stroke="%2300d4ff" stroke-width="2" opacity="0.7"/><path d="M440,385 Q445,380 450,385" stroke="%2300d4ff" stroke-width="2" fill="none" opacity="0.8"/></g><g filter="url(%23glow)"><ellipse cx="850" cy="380" rx="45" ry="35" fill="none" stroke="%2300d4ff" stroke-width="3" opacity="0.7"/><ellipse cx="820" cy="365" rx="28" ry="20" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.6"/><ellipse cx="880" cy="365" rx="20" ry="16" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.5"/><circle cx="840" cy="350" r="12" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.7"/><path d="M815,375 L810,385 M830,375 L825,385 M870,375 L865,385 M885,375 L880,385" stroke="%2300d4ff" stroke-width="2" opacity="0.6"/><path d="M840,340 Q845,335 850,340" stroke="%2300d4ff" stroke-width="2" fill="none" opacity="0.7"/></g><g filter="url(%23glow)"><ellipse cx="1050" cy="450" rx="38" ry="28" fill="none" stroke="%2300d4ff" stroke-width="3" opacity="0.9"/><ellipse cx="1025" cy="438" rx="22" ry="16" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.8"/><ellipse cx="1075" cy="438" rx="16" ry="13" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.7"/><circle cx="1040" cy="425" r="9" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.9"/><path d="M1020,445 L1015,455 M1035,445 L1030,455 M1065,445 L1060,455 M1080,445 L1075,455" stroke="%2300d4ff" stroke-width="2" opacity="0.8"/><path d="M1040,415 Q1045,410 1050,415" stroke="%2300d4ff" stroke-width="2" fill="none" opacity="0.9"/></g></svg>') center bottom/cover no-repeat;
    pointer-events: none;
}

/* Floating sheep animation */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 80px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 60"><defs><filter id="floatGlow"><feGaussianBlur stdDeviation="2" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g filter="url(%23floatGlow)"><ellipse cx="40" cy="45" rx="25" ry="18" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.6"/><ellipse cx="25" cy="35" rx="15" ry="12" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.5"/><ellipse cx="55" cy="35" rx="12" ry="10" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.4"/><circle cx="35" cy="25" r="6" fill="none" stroke="%2300d4ff" stroke-width="2" opacity="0.6"/><path d="M20,40 L18,45 M30,40 L28,45 M50,40 L48,45 M60,40 L58,45" stroke="%2300d4ff" stroke-width="1" opacity="0.5"/><path d="M35,20 Q38,18 41,20" stroke="%2300d4ff" stroke-width="2" fill="none" opacity="0.6"/></g></svg>') center/contain no-repeat;
    animation: floatSheep 8s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes floatSheep {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-15px) translateX(-10px); }
    66% { transform: translateY(-5px) translateX(10px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00d4ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00d4ff, #5b86e5);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.cta-button.secondary:hover {
    background: #00d4ff;
    color: #1a1a2e;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        padding: 1rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 80%;
        max-width: 300px;
    }
    
    .hero::after {
        width: 60px;
        height: 45px;
        top: 15%;
        right: 5%;
    }
}
