@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

:root {
    --bg: #050712;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --stroke: rgba(255, 255, 255, 0.08);
    --text: #e9edf5;
    --muted: #98a2b3;
    --accent: #48bfe3;
    --accent-strong: #64d8ff;
    --highlight: rgba(72, 191, 227, 0.12);
    --success: #7ce7a0;
    --warning: #fbbc04;
    --shadow: 0 20px 60px rgba(5, 7, 18, 0.65);
    --radius: 18px;
    --container: min(1200px, 92vw);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(800px at 20% 20%, rgba(72, 191, 227, 0.20), transparent 55%),
        radial-gradient(900px at 80% 0%, rgba(113, 70, 255, 0.20), transparent 50%),
        radial-gradient(700px at 80% 80%, rgba(72, 191, 227, 0.12), transparent 55%);
    filter: blur(60px);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(5, 7, 18, 0.85) 0%, rgba(5, 7, 18, 0.45) 100%);
    border-bottom: 1px solid var(--stroke);
}

.nav-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 18px;
    justify-content: flex-end;
    font-weight: 600;
}

.nav-links a {
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
    background: var(--panel);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-spacer {
    height: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #020409;
    box-shadow: 0 10px 30px rgba(72, 191, 227, 0.35);
}

.btn.ghost {
    background: var(--panel);
    color: #fff;
    border-color: var(--stroke);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Sections */
.section {
    padding: 40px 0 16px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    margin: 0;
}

.section-kicker {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

/* Hero */
.hero {
    padding: 40px 0 12px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: center;
}

.hero-eyebrow {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    margin: 0 0 14px;
    letter-spacing: -0.03em;
}

.hero .lede {
    color: var(--muted);
    font-size: 1.06rem;
    margin: 0 0 18px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 18px 0 24px;
    flex-wrap: wrap;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.meta-card {
    padding: 14px 16px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
}

.meta-card strong {
    display: block;
    font-size: 1.2rem;
}

.portrait {
    background: var(--panel);
    border: 1px solid var(--stroke);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.portrait img {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    object-fit: cover;
    border: 2px solid var(--panel-strong);
    margin-bottom: 14px;
}

.portrait .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--highlight);
    color: #d5f5ff;
    font-weight: 700;
    margin-top: 6px;
}

/* Cards & grids */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.card h3 {
    margin: 0 0 10px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--panel-strong);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.list-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
}

.chip {
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--panel-strong);
    border: 1px solid var(--stroke);
    color: var(--muted);
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 8px 0 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 6px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.6;
}

.timeline-item {
    position: relative;
    padding-left: 32px;
    margin-bottom: 18px;
}

.timeline-bullet {
    position: absolute;
    left: 4px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(72, 191, 227, 0.15);
}

.timeline-card {
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 14px 16px 16px;
    box-shadow: var(--shadow);
}

.timeline-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.description {
    color: var(--muted);
    margin: 10px 0 0;
}

/* Highlight rows */
.impact-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.impact {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 14px;
}

.impact span {
    font-weight: 800;
    color: var(--accent);
}

/* Contact */
.cta {
    background: linear-gradient(135deg, rgba(72, 191, 227, 0.15), rgba(113, 70, 255, 0.12));
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.cta h3 {
    margin: 0 0 8px;
}

.cta p {
    color: var(--muted);
    margin: 0 0 16px;
}

.subtle-links {
    margin-top: 12px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.subtle-links a {
    color: var(--muted);
    font-weight: 600;
}

.subtle-links a:hover {
    color: #fff;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.badge {
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--panel-strong);
    border: 1px solid var(--stroke);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.6s ease;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    margin-top: 32px;
    padding: 22px 0 38px;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid var(--stroke);
}

footer a {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-bar {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 12px;
    }
    .nav-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .nav-actions {
        width: 100%;
    }
    .nav-actions .btn {
        flex: 1 1 0;
        justify-content: center;
    }
    .hero {
        padding-top: 24px;
    }
}