:root {
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    /* Solid Colors */
    --accent-primary: #38bdf8;
    --accent-hover: #0ea5e9; 
    --glass-bg: rgba(30, 41, 59, 0.7); /* Keep slightly transparent for depth but less "liquid" */
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #1e293b; /* Solid card background */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95); /* Nearly opaque */
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 1rem;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-primary);
    transition: width 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Layout */
main {
    flex: 1;
    margin-top: 80px;
    padding: 2rem 1.5rem;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    display: inline-block;
    position: relative;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 65ch;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px; /* Slightly less rounded than liquid */
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.tag {
    background: rgba(56, 189, 248, 0.1); /* Subtle tint */
    color: var(--accent-primary);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: all 0.3s;
}

.tag:hover {
    background: var(--accent-primary);
    color: #0f172a;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: gap 0.3s;
}

.btn-view-more:hover {
    gap: 0.8rem;
    color: var(--accent-hover);
}

/* Footer */
footer {
    background: #020617; /* Solid Dark */
    border-top: 1px solid var(--glass-border);
    padding: 3rem 1.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Centered layout */
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    color: white;
    background: var(--accent-primary);
    transform: translateY(-3px);
    border-color: transparent;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.6;
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid rgba(255,255,255,0.1);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    padding-left: 1.5rem;
    animation: fadeInUp 0.6s ease-out backwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    background: var(--bg-color);
    border-radius: 50%;
    border: 3px solid var(--accent-primary);
    transition: all 0.3s;
}

.timeline-item:hover::before {
    background: var(--accent-primary);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

/* Lists */
ul.styled-list {
    list-style: none;
    padding-left: 0;
}

ul.styled-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

ul.styled-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Buttons */
.btn-primary, .btn-download {
    background: var(--accent-primary);
    color: #0f172a;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
    border: none;
}

.btn-primary:hover, .btn-download:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.menu-toggle:hover {
    color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        border-bottom: 1px solid var(--glass-border);
        padding: 1.5rem 0;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 0;
        z-index: 999;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}
