@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Fira+Code:wght@400;600&display=swap');

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: rgba(20, 20, 20, 0.7);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent: #00ffcc;
    --accent-glow: rgba(0, 255, 204, 0.3);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(20, 20, 20, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.05em;
}

.text-gradient {
    background: linear-gradient(90deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 16px 16px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
}

.hero-subtitle {
    font-family: 'Fira Code', monospace;
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: rgba(0, 255, 204, 0.1);
}

/* Section Common */
section {
    padding: 100px 10%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.section-title::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--border-color);
    margin-left: 2rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    font-family: 'Fira Code', monospace;
    color: var(--text-primary);
    margin-top: 2rem;
}

.skills-list li::before {
    content: '▹';
    color: var(--accent);
    margin-right: 10px;
}

/* Experience */
.experience-item {
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.experience-title {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.experience-company {
    color: var(--accent);
}

.experience-date {
    font-family: 'Fira Code', monospace;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.experience-item ul {
    list-style: none;
    padding-left: 1rem;
}

.experience-item li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    position: relative;
}

.experience-item li::before {
    content: '▹';
    position: absolute;
    left: -15px;
    color: var(--accent);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-top h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-top p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    gap: 1rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-right: 1rem;
    transition: color 0.3s;
}

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

/* Contact */
.contact {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 150px 0;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    font-family: 'Fira Code', monospace;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* Add a hamburger menu in real implementation */
    }
}
