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

:root {
    --primary-color: #0891b2;
    --secondary-color: #06b6d4;
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-color: #06b6d4;
    --success-color: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, #1e293b 100%);
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
    letter-spacing: 0.01em;
}

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 2rem 1rem;
    gap: 1rem;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.nav-link:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.automation-status {
    margin-bottom: 3rem;
}

.workflow-schedules {
    margin-bottom: 3rem;
}

.workflow-schedules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.workflow-schedule-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.workflow-schedule-item:hover {
    transform: translateY(-3px);
    border-left-color: var(--accent-color);
}

.workflow-schedule-item h3 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workflow-schedule-item .schedule-info {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.workflow-schedule-item .schedule-info strong {
    color: var(--text-color);
}

.workflow-schedule-item .last-run {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.workflow-schedule-item .last-run.success {
    color: var(--success-color);
}

.workflow-schedule-item .last-run.failure {
    color: #ef4444;
}

.workflow-schedule-item .last-run.in-progress {
    color: var(--accent-color);
}

.automation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.automation-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--text-muted);
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.automation-item.active {
    border-left-color: var(--success-color);
}

.automation-item:hover {
    transform: translateY(-2px);
}

.status-indicator {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.automation-item.active .status-indicator {
    background: var(--success-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.automation-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    padding-right: 2rem;
    font-weight: 600;
}

.automation-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.automation-item .last-activity {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    font-style: italic;
    font-size: 0.9rem;
}

.timeline {
    position: relative;
}

#timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--accent-color);
    border: 2px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--accent-color);
    z-index: 1;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-content {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* PR/Issue List Styles */
.pr-issue-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pr-issue-item {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
    border-left: 3px solid var(--accent-color);
}

.pr-issue-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.2);
}

.pr-issue-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pr-issue-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pr-issue-title {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    flex: 1;
    min-width: 200px;
    transition: color 0.2s ease;
}

.pr-issue-title:hover {
    color: var(--accent-color);
}

.pr-issue-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.pr-issue-footer {
    margin-top: 0.5rem;
    padding-left: 2rem;
}

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

.learnings-container,
#learnings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.learning-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.learning-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.learning-item p {
    color: var(--text-muted);
}

.about {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.about p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.about ul {
    list-style: none;
    padding-left: 0;
}

.about ul li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.about ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--card-bg);
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

footer a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.auto-learnings {
    margin-bottom: 3rem;
}

.learning-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.learning-stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--success-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.learning-stat-card:hover {
    transform: translateY(-3px);
}

.learning-stat-card h3 {
    font-size: 2rem;
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

.learning-stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.learning-sources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.learning-source {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.learning-source h3 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.learning-source p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.learning-source .frequency {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.learning-files {
    margin-top: 2rem;
}

.learning-files h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

#learning-files-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.learning-file-item {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.learning-file-item:hover {
    transform: translateX(5px);
    border-left-color: var(--accent-color);
}

.learning-file-item .file-name {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.learning-file-item .file-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.learning-file-item .file-count {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.news-feed {
    margin-bottom: 3rem;
}

.news-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

#news-feed-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.news-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.2);
}

.news-item.tldr {
    border-left-color: #ff6b6b;
}

.news-item.hn {
    border-left-color: #ff6600;
}

.news-item .news-source {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    color: white;
}

.news-item .news-source.tldr {
    background: #ff6b6b;
}

.news-item .news-source.hn {
    background: #ff6600;
}

.news-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.news-item .news-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.news-item .news-score {
    color: var(--accent-color);
    font-weight: 600;
}

.news-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.news-item a:hover {
    text-decoration: underline;
}

/* Learnings Index Styles */
.learnings-index {
    margin-bottom: 3rem;
}

.index-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.index-stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.index-stat-card:hover {
    transform: translateY(-3px);
}

.index-stat-card h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.index-stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.learnings-directory,
.learnings-topics {
    margin-top: 2rem;
}

.learnings-directory h3,
.learnings-topics h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

#learnings-index-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.learning-index-item {
    background: var(--card-bg);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 3px solid var(--success-color);
    transition: transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.learning-index-item:hover {
    transform: translateX(5px);
    border-left-color: var(--accent-color);
}

.learning-index-item .index-file-name {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.learning-index-item .index-file-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.learning-index-item .index-file-count {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
}

#topics-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.topic-tag {
    background: var(--card-bg);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.topic-tag:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

/* Codebase Index Styles */
.codebase-index {
    margin-bottom: 3rem;
}

.codebase-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.2);
}

.category-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card ul {
    list-style: none;
    padding: 0;
}

.category-card li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.category-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

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

.category-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .header-content {
        padding: 1rem 1rem 0.5rem;
    }

    header h1 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .main-nav {
        padding: 0.4rem 0.5rem 0.5rem;
        gap: 0.4rem;
    }

    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

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

    .stat-card h3 {
        font-size: 2.5rem;
    }
    
    .news-filter {
        justify-content: center;
    }
    
    #news-feed-container {
        grid-template-columns: 1fr;
    }

    .codebase-categories {
        grid-template-columns: 1fr;
    }
}

/* AI Goal of the Day Section */
.ai-goal-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.goal-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

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

.goal-date {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.goal-status {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.goal-category {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.goal-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    max-width: 48rem;
}

.goal-progress {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color) 0%, var(--accent-color) 100%);
    border-radius: 12px;
    transition: width 0.6s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.goal-footer {
    text-align: right;
}

.goal-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.goal-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .goal-card {
        padding: 1.5rem;
    }
    
    .goal-category {
        font-size: 1.1rem;
    }
    
    .goal-description {
        font-size: 1rem;
    }
}

/* AI Knowledge Graph Styles */
.knowledge-graph-section {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.insights-section {
    padding: 2rem;
    max-width: 1400px;
    margin: 2rem auto 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.insight-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(8, 145, 178, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.insight-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.insight-card ul {
    list-style: none;
    padding: 0;
}

.insight-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Footer */
footer {
    background: var(--card-bg);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
}

/* Agent Showcase Section */
.hero-agents-banner {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-agents-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.2s;
    display: inline-block;
}

.hero-agents-link:hover {
    transform: scale(1.05);
}

.highlight-agents,
.highlight-lifecycle {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem 1rem !important;
}

.agent-showcase-section {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    padding: 3rem 2rem;
    margin: 0 -2rem 2rem;
    border-radius: 12px;
}

.agent-showcase-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.section-description {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.featured-agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.featured-agent-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--accent-color);
}

.featured-agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.featured-agent-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.featured-agent-emoji {
    font-size: 2rem;
}

.featured-agent-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.featured-agent-specialization {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.featured-agent-personality {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.view-all-agents-btn {
    display: block;
    text-align: center;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    max-width: 400px;
    transition: background 0.3s, transform 0.2s;
}

.view-all-agents-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Lifecycle Page Styles */
.highlight-lifecycle {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem 1rem !important;
}

.lifecycle-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--primary-color);
}

.lifecycle-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lifecycle-diagram-section {
    margin-bottom: 3rem;
}

.diagram-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    overflow-x: auto;
}

#lifecycle-diagram {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.stage-group {
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.stage-group:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
}

.stage-details-panel {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    min-height: 250px;
}

.stage-details-panel h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.stage-description {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.stage-details-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.stage-details-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    color: var(--text-color);
    transition: transform 0.2s ease;
}

.stage-details-list li:hover {
    transform: translateX(5px);
}

.stage-hint {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1rem;
}

.lifecycle-stats {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stats-grid .stat-card {
    position: relative;
    padding-top: 3rem;
}

.stat-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.stat-detail {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    text-align: center;
}

.lifecycle-features {
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-card h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.workflow-schedules-section {
    margin-bottom: 3rem;
}

.schedules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.schedule-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--success-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-3px);
    border-left-color: var(--accent-color);
}

.schedule-time {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.schedule-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.schedule-card p {
    color: var(--text-muted);
    line-height: 1.5;
}

.documentation-links {
    margin-bottom: 3rem;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.doc-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(6, 182, 212, 0.4);
    border-color: var(--accent-color);
}

.doc-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.doc-card h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.doc-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .lifecycle-intro h2 {
        font-size: 1.8rem;
    }

    .diagram-container {
        padding: 1rem;
    }

    #lifecycle-diagram {
        max-width: 100%;
    }

    .stage-details-panel {
        padding: 1.5rem;
        min-height: 200px;
    }

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

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

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

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

/* New Hero Section Styles */
.hero-section {
    text-align: center;
    padding: 3rem 2rem 2rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.cta-button.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.cta-button.primary:focus {
    outline: 3px solid white;
    outline-offset: 2px;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-1px);
}

.cta-button.secondary:focus {
    outline: 3px solid white;
    outline-offset: 2px;
}

/* Intro Section */
.intro-section {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(8, 145, 178, 0.2);
}

.intro-content h2 {
    margin-bottom: 2.5rem;
}

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

/* How It Works Section */
.how-it-works-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.workflow-step {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    min-width: 160px;
    max-width: 180px;
    transition: all 0.2s ease;
}

.workflow-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
    border-color: var(--accent-color);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.workflow-step h3 {
    color: var(--accent-color);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.workflow-step p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Resources Section */
.resources-section {
    margin-bottom: 3rem;
}

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

.resource-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
    border-color: var(--accent-color);
}

.resource-card:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.resource-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.resource-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.about-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--accent-color);
}

.about-item strong {
    color: var(--accent-color);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-item p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.about-footer {
    text-align: center;
    font-size: 1.05rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(8, 145, 178, 0.3);
    line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 1rem 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .workflow-steps {
        flex-direction: column;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .workflow-step {
        max-width: 100%;
        width: 100%;
    }

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

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

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