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

:root {
    /* Butter Yellow, Sage Green, Baby Blue color scheme */
    --butter-yellow: #f4d67c;
    --butter-yellow-dark: #d9b65d;
    --sage-green: #a8c5b8;
    --sage-green-dark: #7da693;
    --baby-blue: #9cb8d4;
    --baby-blue-dark: #6b8baa;
    
    --primary-color: var(--sage-green-dark);
    --primary-dark: #5d8070;
    --secondary-color: var(--baby-blue);
    --accent-color: var(--butter-yellow);
    --text-primary: #2d3e3a;
    --text-secondary: #5a6c65;
    --bg-primary: #ffffff;
    --bg-secondary: #f7f9f8;
    --bg-accent: #f0f5f3;
    --border-color: #d4e0db;
    --shadow: 0 4px 6px -1px rgb(45 62 58 / 0.08), 0 2px 4px -2px rgb(45 62 58 / 0.05);
    --shadow-lg: 0 20px 25px -5px rgb(45 62 58 / 0.1), 0 8px 10px -6px rgb(45 62 58 / 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    background: white;
    padding: 0.25rem;
    border-radius: 0.25rem;
}

.nav-links {
    display: flex;
    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);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-accent) 0%, #fdf8ed 50%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    text-align: center;
}

.hero-logo {
    width: 220px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--sage-green);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: white;
    border: 2px solid var(--sage-green-dark);
}

.badge-icon {
    font-size: 1.5rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Overview Section */
.overview-content {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.goal-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.goal-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--butter-yellow);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.goal-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.goal-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pipeline Section */
.pipeline {
    max-width: 900px;
    margin: 0 auto;
}

.pipeline-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.pipeline-step:hover {
    transform: translateX(10px);
}

.step-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.step-content ul {
    list-style: none;
    margin-top: 1rem;
}

.step-content li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.step-content strong {
    color: var(--sage-green-dark);
    font-weight: 600;
}

.pipeline-step:nth-child(1) .step-icon {
    color: var(--sage-green);
}

.pipeline-step:nth-child(2) .step-icon {
    color: var(--baby-blue);
}

.pipeline-step:nth-child(3) .step-icon {
    color: var(--butter-yellow-dark);
}

.pipeline-step:nth-child(4) .step-icon {
    color: var(--sage-green-dark);
}

/* Architecture Section */
.architecture-diagram {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.arch-layer {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.arch-layer h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--sage-green-dark);
    text-align: center;
}

.arch-layer:nth-child(1) {
    border-left: 4px solid var(--sage-green);
}

.arch-layer:nth-child(2) {
    border-left: 4px solid var(--baby-blue);
}

.arch-layer:nth-child(3) {
    border-left: 4px solid var(--butter-yellow-dark);
}

.arch-components {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.component {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--sage-green);
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--sage-green-dark);
    transition: all 0.3s ease;
}

.component:hover {
    background: var(--sage-green);
    color: white;
    transform: translateY(-2px);
}

.tech-specs {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.tech-specs h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

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

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spec-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 1.25rem;
    color: var(--sage-green-dark);
    font-weight: 700;
}

/* Diagram Styles */
.diagram-container {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.system-diagram {
    width: 100%;
    height: auto;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--sage-green), var(--baby-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    border: 3px solid var(--butter-yellow);
}

.team-member h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-member p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .pipeline-step {
        flex-direction: column;
        text-align: center;
    }

    .goals-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

