:root {
    --bg-dark: #796de7ce;
    --panel-bg: rgba(14, 18, 40, 0.92);
    --border: rgba(255,255,255,0.12);
    --text-main: #f8fafc;
    --text-muted: rgba(226, 232, 240, 0.72);
    --accent: #7c3aed;
    --accent-soft: rgba(124, 58, 237, 0.16);
}

* {
    box-sizing: border-box;
}

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

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

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

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

.page-hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 4vw, 3.5rem);
}

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

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

.project-card {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
    display: grid;
    gap: 1rem;
}

.project-tag {
    display: inline-flex;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #e9d5ff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-card h2 {
    margin: 0;
    font-size: 1.5rem;
}

.project-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
}

.project-card a {
    justify-self: start;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.96), rgba(56, 189, 248, 0.85));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card a:hover,
.project-card a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(56, 189, 248, 0.32);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, rgba(75, 85, 255, 0.96), rgba(96, 165, 250, 0.92));
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 18px 44px rgba(75, 85, 255, 0.2);
}

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

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

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

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