:root {
    --bg-color: #1a2332; /* Primary: Deep Navy */
    --bg-secondary: #243145; /* Lighter navy for cards/sections */
    --text-color: #f5f5f5; /* Primary Text: Light Gray */
    --text-secondary: #a0aec0; /* Secondary text for subtitles, etc. */
    --primary-color: #0066ff; /* Accent: Electric Blue */
    --primary-hover: #0052cc; /* Darker blue for hover */
    --border-color: #2d3748; /* Subtle border color */
    --alert-green: #22c55e; /* Alert: Green for progress */
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    background-color: rgba(26, 35, 50, 0.8); /* Dark bg with blur */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo img {
    height: 50px;
    width: auto;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

#hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-image: linear-gradient(rgba(26, 35, 50, 0.7), rgba(26, 35, 50, 1)), url('images/hero-background.png');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
}

.hero-content {
    max-width: 800px;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: #ffffff; 
}

#hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.logo-gradient-info {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.logo-gradient-info span {
    font-family: var(--font-mono);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 700;
    color: var(--text-color);
}

.logo-gradient-info .hex-blue {
    background-color: var(--primary-color);
}

.logo-gradient-info .hex-green {
    background-color: var(--alert-green);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

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

.content-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.content-section:last-of-type {
    border-bottom: none;
}

#vision {
    background-color: var(--bg-secondary);
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.content-section h2 .highlight {
    color: var(--primary-color);
}

.content-section p {
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
    color: var(--text-secondary);
}

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

.card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-icon {
    height: 50px;
    margin-bottom: 1rem;
    filter: invert(35%) sepia(98%) saturate(2768%) hue-rotate(211deg) brightness(102%) contrast(106%); /* Converts black icon to electric blue */
}

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

.card p {
    color: var(--text-secondary);
}

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

.update-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.update-date {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.update-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.update-excerpt {
    color: var(--text-secondary);
    flex-grow: 1; 
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.update-card p.update-excerpt {
    text-align: left;
    margin: 0 0 1.5rem 0;
}

.update-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.update-link:hover {
    color: var(--primary-hover);
}

.progress-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
}

.stat-card {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card.large {
    grid-column: 1 / -1;
}

.stat-card .label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-card .unit {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.progress-bar-container {
    width: 100%;
    background-color: #2d3748;
    border-radius: 8px;
    height: 20px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--alert-green);
    border-radius: 8px;
    transition: width 1s ease-out;
}

.tech-stack {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.social-link img {
    height: 40px;
    filter: invert(72%) sepia(11%) saturate(548%) hue-rotate(174deg) brightness(88%) contrast(87%); /* Converts to text-secondary */
    transition: filter 0.3s ease;
}

.social-link:hover img {
    filter: invert(35%) sepia(98%) saturate(2768%) hue-rotate(211deg) brightness(102%) contrast(106%); /* Converts to primary-color */
}

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

footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    #hero .subtitle {
        font-size: 1rem;
    }
    .content-section h2 {
        font-size: 2rem;
    }
    .progress-dashboard {
        grid-template-columns: 1fr;
    }
    .stat-card.large {
        grid-column: 1;
    }
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
}
