:root {
    --bg: #0f0f0f;
    --text: #e6e6e6;
    --accent: #6c63ff;
    --card: #1a1a1a;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--bg);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    position: sticky;
    top: 0;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(12px);
    z-index: 10;
}

header h1 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    font-weight: 500;
    color: var(--text);
    opacity: 0.8;
    transition: 0.2s;
}

nav a:hover {
    opacity: 1;
    color: white;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 140px 40px;
    max-width: 1100px;
    margin: auto;
}

.hero h2 {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero p {
    margin-top: 20px;
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    line-height: 1.6;
}

.section {
    padding: 90px 40px;
    max-width: 1100px;
    margin: auto;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.card {
    background: var(--card);
    padding: 25px;
    border-radius: 14px;
    transition: 0.2s ease;
    border: 1px solid #2a2a2a;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.card h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--accent);
}

footer {
    text-align: center;
    padding: 50px;
    opacity: 0.6;
    font-size: 0.9rem;
}

footer a {
    color: white;
    text-decoration: none;
}

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