/* ===== GLOBAL STYLES ===== */
:root {
  --bg: #060910;
  --bg2: #0c1018;
  --surface: #111622;
  --surface2: #181f2e;
  --border: rgba(99,179,237,0.12);
  --accent: #3b82f6;
  --accent2: #06b6d4;
  --accent3: #8b5cf6;
  --text: #e8edf5;
  --text-muted: #8896a9;
  --text-dim: #4a5568;
  --green: #10b981;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 999; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 3rem; background: rgba(6,9,16,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: all 0.3s ease; }
.nav.scrolled { padding: 0.8rem 3rem; background: rgba(6,9,16,0.97); }
.nav-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.dot { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); transition: all 0.3s ease; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; background: var(--accent); color: #fff; border-radius: 6px; text-decoration: none; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; transition: all 0.3s ease; border: 1px solid var(--accent); }
.btn-primary:hover { background: transparent; color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.3); }
.btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: 6px; text-decoration: none; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; transition: all 0.3s ease; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* SOCIAL BUTTONS */
.hero-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.4rem; border-radius: 6px; font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; text-decoration: none; transition: all 0.3s ease; }
.linkedin-btn { background: #0077b5; color: #fff; }
.linkedin-btn:hover { background: transparent; color: #0077b5; box-shadow: inset 0 0 0 2px #0077b5; transform: translateY(-2px); }
.github-btn { background: #24292e; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.github-btn:hover { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2); transform: translateY(-2px); }

/* PAGE HEADER */
.page-header { padding: 10rem 3rem 4rem; max-width: 1200px; margin: 0 auto; }
.page-tag { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; }
.page-tag::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
.page-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -2px; color: var(--text); }
.page-title span { color: var(--accent); }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }

/* FOOTER */
.footer { display: flex; align-items: center; justify-content: space-between; padding: 2rem 3rem; border-top: 1px solid var(--border); margin-top: 4rem; }
.footer-copy { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg2); flex-direction: column; padding: 2rem 1.5rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .container { padding: 0 1.5rem; }
  .page-header { padding: 8rem 1.5rem 3rem; }
  .footer { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-social { flex-wrap: wrap; }
}
