/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary - Blue for trust/professionalism */
    --primary: #3b82f6;
    --primary-dark: #2563eb;

    /* Accent - Orange for CTAs */
    --accent: #f97316;

    /* Dark backgrounds */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;

    /* Text colors */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Borders */
    --border: #334155;

    /* Status colors */
    --success: #22c55e;
    --warning: #eab308;
    --muted: #64748b;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

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

/* Navigation */
.navbar {
    background: var(--bg-secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.nav-link.active {
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 140px);
    padding: 2rem 0;
}

.main_title {
    color: var(--primary);
    text-align: center;
}

/* Page Headers */
.page-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--primary);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* PDF Section */
.pdf-section {
    margin: 2rem 0;
}

.pdf-container {
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid var(--border);
    padding: 2rem;
    background: var(--bg-secondary);
}

.pdf-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--primary);
}

.pdf-viewer {
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    background: var(--bg-tertiary);
}

.pdf-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--text-primary);
    text-decoration: none;
    border: 2px solid var(--accent);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

/* Products Section */
.products-section {
    margin: 2rem 0;
}

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

.product-card {
    border: 2px solid var(--border);
    padding: 2rem;
    text-align: center;
    background: var(--bg-secondary);
}

.product-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary);
}

.product-role {
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.product-contact {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.product-contact p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.product-card .btn {
    margin-top: 1rem;
}

/* Timeline Section */
.timeline-section {
    margin: 2rem 0;
}

.now-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
}

.now-banner .now-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
}

.now-banner .now-text {
    color: var(--text-secondary);
    font-weight: 600;
}

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

.timeline-card {
    border: 2px solid var(--border);
    background: var(--bg-secondary);
    padding: 1.5rem;
}

.timeline-card.is-current {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.timeline-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.status-completed {
    color: var(--success);
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.35);
}

.status-in-progress {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.35);
}

.status-upcoming {
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.15);
    border-color: rgba(148, 163, 184, 0.35);
}

.status-planned {
    color: var(--warning);
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.35);
}

.timeline-dates {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.progress {
    position: relative;
    height: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
}

.progress-bar.is-completed { background: var(--success); }
.progress-bar.is-in-progress { background: var(--primary); }
.progress-bar.is-upcoming { background: var(--muted); }
.progress-bar.is-planned { background: var(--warning); }

.timeline-goals {
    margin-top: 0.5rem;
    margin-left: 1.25rem;
    color: var(--text-secondary);
}

.timeline-goals li {
    margin-bottom: 0.35rem;
}

/* Content Sections */
.intro-section {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 3rem;
}

.intro-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
}

.components-section {
    margin: 3rem 0;
}

.components-section > h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
    padding: 1.5rem;
    background: var(--bg-secondary);
    color: var(--primary);
    border: 2px solid var(--border);
}

.component-block {
    margin-bottom: 3rem;
    border: 2px solid var(--border);
    padding: 2rem;
    background: var(--bg-secondary);
}

.component-block h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
    color: var(--primary);
}

.sub-component {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border);
}

.sub-component:last-child {
    margin-bottom: 0;
}

.sub-component h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: bold;
    color: var(--text-primary);
}

.sub-component ul {
    list-style-type: disc;
    margin-left: 2rem;
    color: var(--text-secondary);
}

.sub-component li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.principles-section {
    margin: 3rem 0;
    padding: 2rem;
    border: 2px solid var(--border);
    background: var(--bg-secondary);
}

.principles-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
    color: var(--primary);
}

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

.principle-card {
    border: 2px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    background: var(--bg-tertiary);
}

.principle-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: bold;
    color: var(--text-primary);
}

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

.references-section {
    margin: 3rem 0;
    padding: 2rem;
    border: 2px solid var(--border);
    background: var(--bg-secondary);
}

.references-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--primary);
}

.references-list {
    max-width: 800px;
    margin: 0 auto;
}

.references-list p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.references-list a {
    color: var(--primary);
    text-decoration: underline;
}

/* Quick Links Section */
.quick-links {
    margin: 3rem 0;
}

.quick-links h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}


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

.footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    
    .pdf-actions {
        flex-direction: column;
        align-items: center;
    }

    .container {
        padding: 0 15px;
    }

    .component-block {
        padding: 1.5rem;
    }

    .sub-component {
        padding-left: 0.5rem;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .pdf-container {
        padding: 1rem;
    }

    .component-block {
        padding: 1rem;
    }

    .component-block h3 {
        font-size: 1.3rem;
    }

    .sub-component h4 {
        font-size: 1rem;
    }

    .sub-component ul {
        margin-left: 1rem;
        font-size: 0.9rem;
    }

    .principles-section,
    .references-section {
        padding: 1rem;
    }

    .principles-section h2,
    .components-section > h2 {
        font-size: 1.5rem;
    }
}
