/* InnateSystems Branding Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-color: #667eea;
    --dark-bg: #0a0a0a;
    --darker-bg: #080808;
    --card-bg: rgba(26, 26, 26, 0.5);
    --border-color: #1a1a1a;
    --text-primary: #e8eaed;
    --text-secondary: #b3b3b3;
    --text-tertiary: #9aa0a6;
}

/* Background noise effect */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(118, 75, 162, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, rgba(102, 126, 234, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(118, 75, 162, 0.15) 1px, transparent 1px);
    background-size: 200px 200px;
    animation: noise-move 20s linear infinite;
    z-index: -1;
}

.research-section {
    position: relative;
    overflow: hidden;
}

.research-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(118, 75, 162, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 25% 75%, rgba(102, 126, 234, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 75% 35%, rgba(118, 75, 162, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 65% 65%, rgba(102, 126, 234, 0.15) 1px, transparent 1px);
    background-size: 180px 180px;
    animation: noise-move 25s linear infinite reverse;
    z-index: -1;
}

.framework-section {
    position: relative;
    overflow: hidden;
}

.framework-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 15%, rgba(102, 126, 234, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 40% 85%, rgba(118, 75, 162, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 90% 25%, rgba(102, 126, 234, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 70% 75%, rgba(118, 75, 162, 0.15) 1px, transparent 1px);
    background-size: 220px 220px;
    animation: noise-move 30s linear infinite;
    z-index: -1;
}

.publications-section {
    position: relative;
    overflow: hidden;
}

.publications-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(118, 75, 162, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 35% 70%, rgba(102, 126, 234, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 85% 40%, rgba(118, 75, 162, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 65% 80%, rgba(102, 126, 234, 0.15) 1px, transparent 1px);
    background-size: 190px 190px;
    animation: noise-move 22s linear infinite reverse;
    z-index: -1;
}

.team-section {
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 20%, rgba(102, 126, 234, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 45% 80%, rgba(118, 75, 162, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 95% 30%, rgba(102, 126, 234, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 75% 70%, rgba(118, 75, 162, 0.15) 1px, transparent 1px);
    background-size: 210px 210px;
    animation: noise-move 28s linear infinite;
    z-index: -1;
}

/* Blog Section */
.blog-section {
    padding: 120px 0;
    border-top: 1px solid #1a1a1a;
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(118, 75, 162, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(102, 126, 234, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 90% 40%, rgba(118, 75, 162, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 70% 70%, rgba(102, 126, 234, 0.15) 1px, transparent 1px);
    background-size: 200px 200px;
    animation: noise-move 26s linear infinite reverse;
    z-index: -1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 16px 64px rgba(102, 126, 234, 0.1);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-meta {
    display: flex;
    gap: 16px;
    padding: 24px 24px 0;
}

.blog-date {
    color: #9aa0a6;
    font-size: 14px;
}

.blog-category {
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
}

.blog-card h3 {
    color: #e8eaed;
    padding: 16px 24px 0;
    font-size: 24px;
    font-weight: 600;
}

.blog-excerpt {
    color: #b3b3b3;
    padding: 16px 24px;
    line-height: 1.6;
}

.blog-link {
    color: #667eea;
    padding: 0 24px 24px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
}

.blog-link:hover {
    text-decoration: underline;
}

/* Blog Post Page */
.blog-post {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 40px 0;
}

.blog-post-header {
    margin-bottom: 40px;
}

.blog-post-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-post-meta {
    display: flex;
    gap: 24px;
    align-items: center;
    color: #9aa0a6;
    font-size: 16px;
}

.blog-post-category {
    color: #667eea;
    font-weight: 500;
}

.blog-post-author {
    color: #b3b3b3;
}

.blog-post-content {
    color: #e8eaed;
    line-height: 1.8;
    font-size: 18px;
}

.blog-post-content h2 {
    font-size: 36px;
    font-weight: 600;
    margin: 48px 0 24px;
    color: #e8eaed;
}

.blog-post-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: #e8eaed;
}

.blog-post-content p {
    margin-bottom: 24px;
    color: #b3b3b3;
}

.blog-post-content ul {
    margin: 24px 0;
    padding-left: 32px;
}

.blog-post-content li {
    margin-bottom: 12px;
    color: #b3b3b3;
}

.tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-right: 8px;
}

.blog-post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #1a1a1a;
}

.blog-post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.prev-post, .next-post {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.prev-post:hover, .next-post:hover {
    text-decoration: underline;
}

.related-posts {
    margin-top: 120px;
    padding-top: 80px;
    border-top: 1px solid #1a1a1a;
}

.related-posts h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Updated Logo */
.logo {
    background: var(--primary-gradient);
}

.logo-icon {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

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

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

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

/* Updated CTA Buttons */
.cta-button.primary {
    background: var(--primary-gradient);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.cta-button.secondary:hover {
    background: rgba(102, 126, 234, 0.1);
}

/* Updated Research Cards */
.research-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.research-card:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 16px 64px rgba(102, 126, 234, 0.1);
}

.research-card h3 {
    color: #e8eaed;
}

.research-icon {
    color: #667eea;
}

.research-card p {
    color: #b3b3b3;
}

/* Updated Framework Section */
.comparison-visual.traditional .layer {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.comparison-visual.arbory {
    flex-direction: row;
    justify-content: space-around;
}

.cortical-unit {
    background: var(--primary-gradient);
}

.inter-connections {
    background: linear-gradient(90deg, transparent 0%, #667eea 50%, transparent 100%);
}

.comparison-arrow {
    color: #667eea;
}

.comparison-features li::before {
    color: #667eea;
}

.detail-card h4 {
    color: #667eea;
}

.detail-card p {
    color: #b3b3b3;
}

/* Updated Publications */
.publication-item {
    border-left: 4px solid #667eea;
}

.publication-title {
    color: #e8eaed;
}

.publication-year {
    background: #667eea;
}

.publication-authors {
    color: #667eea;
}

.publication-abstract {
    color: #b3b3b3;
}

/* Updated Team Members */
.team-member:hover {
    background: rgba(102, 126, 234, 0.05);
}

.member-name {
    color: #e8eaed;
}

.member-avatar {
    background: var(--primary-gradient);
}

.member-role {
    color: #667eea;
}

.member-bio {
    color: #b3b3b3;
}

/* Updated Navigation */
.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    background: var(--primary-gradient);
}

/* Updated Footer */
.footer-section ul li a:hover {
    color: #667eea;
}

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