:root {
    --primary: #1a1a2e;
    --accent: #0f7173;
    --accent-light: #149799;
    --text: #2d2d2d;
    --text-light: #666;
    --bg: #fafafa;
    --card-bg: #fff;
    --border: #e0e0e0;
}

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

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

/* Navigation */
nav {
    background: var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%);
    color: #fff;
    padding: 5rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.3rem;
    color: #adb5bd;
    margin-bottom: 1rem;
}

.subtitle {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #ccc;
    font-size: 1.05rem;
}

.hero-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn:hover { background: var(--accent-light); }

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

.btn-outline:hover {
    background: var(--accent);
}

/* Main */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

section { margin-bottom: 4rem; }

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.card h3 {
    color: var(--accent);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tags span {
    background: #e8f4f4;
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Highlights */
.highlights-list {
    list-style: none;
}

.highlights-list li {
    padding: 0.8rem 0 0.8rem 1.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.highlights-list li::before {
    content: '\25B8';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th, td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

tr:hover { background: #f5f5f5; }

/* Timeline */
.timeline-item {
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
    margin-bottom: 1.5rem;
    margin-left: 1rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: -7.5px;
    top: 1.8rem;
}

.timeline-item h3 {
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.timeline-item .period {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-item .role {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--primary);
    color: #adb5bd;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer a {
    color: var(--accent-light);
    text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .tagline { font-size: 1.1rem; }
    .nav-links a { margin-left: 1rem; font-size: 0.85rem; }
    main { padding: 1rem; }
}
