:root {
  --primary: #2c3e50;
  --accent: #2980b9;
  --bg-light: #f9f9f9;
  --bg-dark: #2c3e50;
  --text-light: #fff;
  --text-dark: #2c3e50;
  --card-bg: #fff;
  --radius: 16px;
  --shadow: rgba(0,0,0,0.15);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; display: flex; flex-direction: column; }
header { position: sticky; top: 0; background: var(--primary); padding: 1rem 0; box-shadow: 0 2px 5px var(--shadow); }
header .inner { max-width: 960px; margin: auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2%; }
nav a { color: var(--text-light); margin-left: 1.5rem; text-decoration: none; font-weight: 600; position: relative; }
nav a::after { content: ''; position: absolute; width: 0; height: 3px; background: var(--accent); left: 0; bottom: -4px; transition: width .3s; }
nav a:hover::after { width: 100%; }
.hero { background: linear-gradient(135deg, var(--accent), var(--primary)); color: var(--text-light); padding: 6rem 2%; text-align: center; }
.hero-content h2 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1rem; animation: fadeIn 1s ease-in; }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; opacity: .9; }
.btn { background: var(--text-light); color: var(--primary); padding: .8rem 1.5rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; transition: transform .3s; }
.btn:hover { transform: scale(1.05); }
main .container { max-width: 960px; margin: auto; padding: 4rem 2%; }
.section-light { background: var(--bg-light); color: var(--text-dark); }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-light h3, .section-dark h3 { font-size: 2rem; margin-bottom: 1.5rem; border-bottom: 4px solid var(--accent); display: inline-block; }
.projects { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 2rem; }
.card { background: var(--card-bg); border-radius: var(--radius); box-shadow: 0 4px 12px var(--shadow); padding: 1.5rem; text-align: center; transition: transform .3s; }
.card-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.card:hover { transform: translateY(-8px); }
.skills { display: flex; flex-wrap: wrap; gap: 1rem; }
.skill { background: var(--accent); color: var(--text-light); padding: .7rem 1.2rem; border-radius: var(--radius); font-weight: 600; transition: background .3s; }
.skill:hover { background: var(--primary); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); padding: .7rem 1.5rem; border-radius: var(--radius); text-decoration: none; transition: background .3s, color .3s; }
.btn-outline:hover { background: var(--accent); color: var(--text-light); }
footer { text-align: center; padding: 1.5rem; background: var(--bg-light); color: #666; }
@media (max-width: 600px) {
  .hero { padding: 4rem 1rem; }
  .hero-content h2 { font-size: 2rem; }
  header .inner { flex-direction: column; }
  nav a { margin: .5rem; }
} 

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }