:root {
    --primary: #00d4ff;
    --bg: #0a0b10;
    --bg-alt: #161821;
    --text: #e0e0e0;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 80px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 3rem; text-align: center; }

/* Navigation */
nav {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    transition: 0.3s; padding: 1.5rem 0;
}
.nav-scrolled { background: rgba(10, 11, 16, 0.95); backdrop-filter: blur(10px); padding: 1rem 0; border-bottom: 1px solid var(--glass); }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; letter-spacing: 2px; font-size: 1.5rem; color: var(--primary); }
.links a { color: var(--text); text-decoration: none; margin-left: 2rem; font-size: 0.9rem; transition: 0.3s; }
.links a:hover { color: var(--primary); }

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; }
.text-gradient { background: linear-gradient(90deg, #00d4ff, #0055ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.25rem; color: var(--text-dim); max-width: 600px; margin-bottom: 2.5rem; }

/* Buttons */
.btn { background: var(--primary); color: #000; padding: 1rem 2rem; border-radius: 4px; text-decoration: none; font-weight: 700; display: inline-block; transition: 0.3s; border: none; cursor: pointer; }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3); }
.hero-btns { display: flex; gap: 1.5rem; }

/* Cards & Grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 2.5rem; }
.card { background: var(--bg-alt); padding: 2.5rem; border-radius: 8px; border: 1px solid var(--glass); transition: 0.3s; }
.card:hover { border-color: var(--primary); }
.icon { font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; }

/* Skills */
.skills-grid { display: flex; wrap: wrap; gap: 1rem; justify-content: center; }
.skill-tag { background: var(--glass); padding: 0.5rem 1.5rem; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); }

/* Projects */
.project-card { background: var(--bg-alt); border-radius: 12px; overflow: hidden; }
.project-img { height: 250px; background-size: cover; background-position: center; background-color: #222; }
.project-info { padding: 2rem; }

/* Contact Form */
.contact-card { background: var(--bg-alt); padding: 3rem; border-radius: 12px; max-width: 800px; margin: 0 auto; }
.form-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
input, textarea { width: 100%; padding: 1rem; background: var(--bg); border: 1px solid var(--glass); color: white; border-radius: 4px; }
input:focus, textarea:focus { outline: 1px solid var(--primary); }

/* Animations */
.animate-fade-in { animation: fadeIn 1.2s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .form-group { grid-template-columns: 1fr; }
    .links { display: none; }
}
