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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, #2563eb 0%, transparent 40%),
        radial-gradient(circle at top right, #7c3aed 0%, transparent 36%),
        linear-gradient(180deg, #0b1220, #111827 46%, #0b1220);
    color: #e5e7eb;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(8px);
    background: rgba(8, 13, 26, 0.5);
}

.site-header .container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header h1 {
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
    color: #f9fafb;
}

.github-link {
    text-decoration: none;
    color: #bfdbfe;
    font-weight: 600;
    border: 1px solid rgba(191, 219, 254, 0.4);
    border-radius: 999px;
    padding: 8px 14px;
    transition: all 0.2s ease;
}

.github-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(191, 219, 254, 0.7);
    color: #eff6ff;
}

main {
    flex: 1;
}

.hero {
    padding: 68px 0 36px;
}

.eyebrow {
    color: #93c5fd;
    font-size: 0.95rem;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero h2 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.12;
    max-width: 900px;
    color: #ffffff;
}

.subtitle {
    margin-top: 18px;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    max-width: 760px;
    color: #cbd5e1;
}

.primary-btn {
    margin-top: 30px;
    display: inline-flex;
    text-decoration: none;
    color: #0b1220;
    background: linear-gradient(90deg, #93c5fd, #60a5fa);
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(96, 165, 250, 0.35);
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    padding: 18px 0 56px;
}

.project-card {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 14px;
    padding: 22px 20px;
    text-decoration: none;
    color: #f8fafc;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.9);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.45);
}

.project-card h3 {
    margin-bottom: 12px;
    font-size: 1.28rem;
}

.project-card p {
    color: #d1d5db;
    line-height: 1.55;
    font-size: 0.96rem;
}

.project-card span {
    margin-top: 18px;
    color: #93c5fd;
    font-weight: 700;
    font-size: 0.92rem;
}

footer {
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding: 22px 16px;
}

footer a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
}

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

@media (max-width: 640px) {
    .hero {
        padding-top: 44px;
    }

    .site-header .container {
        min-height: 70px;
    }
}
