* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --bg: #0d1117;
    --surface: #161b22;
    --border: #30363d;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --accent-hover: #79c0ff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    border-bottom: 1px solid var(--border);
    background-color: rgba(13, 17, 23, 0.9);
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.hero {
    padding: 80px 20px 60px;
}

.tag {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-desc {
    max-width: 600px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s;
}

.btn.primary {
    background-color: var(--accent);
    color: #0d1117;
}

.btn.primary:hover {
    background-color: var(--accent-hover);
}

.btn.secondary {
    border: 1px solid var(--border);
    color: var(--text);
    background-color: var(--surface);
}

.btn.secondary:hover {
    border-color: var(--accent);
}

.section {
    padding: 45px 20px;
}

.section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

.card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.project-tags span {
    font-size: 0.8rem;
    background-color: rgba(88, 166, 255, 0.1);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
}

.project-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.project-link:hover {
    text-decoration: underline;
}

.contact-text {
    color: var(--text-muted);
    margin-bottom: 20px;
}

footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
}
