:root {
    --bg-dark: #796de7ce;
    --panel-bg: rgba(15, 18, 42, 0.88);
    --panel-border: rgba(255, 255, 255, 0.12);
    --text-main: #eef2ff;
    --text-muted: rgba(226, 232, 240, 0.75);
    --accent: #8b83ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: linear-gradient(135deg, var(--bg-dark), rgb(141, 250, 129));
}

.page-shell {
    max-width: 1040px;
    margin: 24px auto 40px;
    padding: 36px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 32px;
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.page-hero {
    text-align: center;
    margin-bottom: 32px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(2.75rem, 4vw, 3.5rem);
    letter-spacing: -0.04em;
}

.hero-copy {
    margin: 1rem auto 0;
    max-width: 720px;
    color: var(--text-muted);
    line-height: 1.8;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 30px;
}

.profile-card,
.contact-card,
.bio-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    padding: 28px;
}

.profile-card h2,
.contact-card h3,
.bio-panel h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #fff;
}

.profile-card ul {
    list-style: inside disc;
    padding-left: 0;
    color: var(--text-muted);
    line-height: 1.8;
}

.profile-card p,
.bio-panel p {
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 32px 0;
}

.contact-card a {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.interest-panel {
    margin-bottom: 30px;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 20px;
}

.interest-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    color: var(--text-main);
    font-weight: 600;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 131, 255, 0.96), rgba(83, 94, 255, 0.92));
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 18px 42px rgba(88, 99, 255, 0.22);
}

.primary-button:hover,
.primary-button:focus-visible {
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .intro-grid,
    .contact-grid,
    .interest-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .page-shell {
        margin: 16px;
        padding: 24px;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .eyebrow {
        letter-spacing: 0.18em;
    }
}
