/* --- VARIABLES --- */
:root {
  --accent: #7cff9b;
  --bg: #000;
  --glass: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);
  --text-muted: #888;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: #eee;
  overflow-x: hidden;
  line-height: 1.6;
}

canvas { position: fixed; inset: 0; z-index: -1; }

.cursor {
  width: 10px; height: 10px; background: var(--accent);
  border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999;
}

/* --- NAVIGATION GUTTER --- */
.floating-nav {
  position: fixed; left: 40px; top: 50%;
  transform: translateY(-50%); z-index: 1000;
}

.floating-nav li {
  list-style: none; margin: 30px 0; opacity: 0.25;
  cursor: pointer; transition: 0.4s; font-weight: 600;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px;
}

.floating-nav li.active { opacity: 1; color: var(--accent); }

/* --- SECTIONS --- */
.section {
  min-height: 100vh;
  padding: 100px 10% 100px 15%; /* Gutter for Nav */
  display: flex; flex-direction: column; justify-content: center;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 60px;
  border-radius: 4px;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }
em { color: var(--accent); font-style: italic; font-weight: 400; }

/* --- HERO --- */
.hero h1 { font-size: clamp(4rem, 12vw, 9rem); line-height: 0.85; margin-left: -5px; }
.hero h3 { margin: 30px 0; letter-spacing: 5px; text-transform: uppercase; color: var(--text-muted); font-size: 0.8rem; font-family: 'Inter', sans-serif; }
.hero p { max-width: 600px; color: #aaa; margin-bottom: 40px; font-size: 1.1rem; }

.cv-btn {
  display: inline-block; padding: 18px 45px; border: 1px solid var(--border);
  color: #fff; text-decoration: none; text-transform: uppercase;
  letter-spacing: 2px; font-size: 0.75rem; transition: 0.3s;
}
.cv-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-5px); }

/* --- SKILLS --- */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 40px; }
.skill-group h3 { font-family: 'Inter', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; color: var(--text-muted); margin-bottom: 20px; }

.skill-row {
  display: flex; align-items: baseline; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid var(--border);
}

.skill-row strong { color: var(--accent); min-width: 100px; font-size: 0.9rem; }
.skill-row span { color: #aaa; font-size: 0.9rem; }

/* --- EXPERIENCE --- */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 30px; }
.exp-col small { text-transform: uppercase; letter-spacing: 3px; color: var(--text-muted); display: block; margin-bottom: 30px; }
.item { margin-bottom: 40px; border-left: 1px solid var(--border); padding-left: 20px; transition: 0.3s; }
.item:hover { border-left-color: var(--accent); }
.tech { display: block; margin-top: 10px; color: var(--accent); font-family: monospace; font-size: 0.8rem; }
.year { color: var(--accent); font-weight: bold; font-size: 0.8rem; }

/* --- ABOUT & FOCUS --- */
.about-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start; margin-top: 30px; }
.large-text { font-size: 1.4rem; line-height: 1.6; color: #ccc; margin-bottom: 25px; }
.focus-box { background: rgba(255,255,255,0.02); padding: 40px; border: 1px solid var(--border); }
.focus-box h3 { font-family: 'Inter'; font-size: 1rem; margin-bottom: 20px; color: var(--accent); }
.focus-box ul { list-style: none; }
.focus-box li { margin-bottom: 20px; color: #888; font-size: 0.9rem; }
.focus-box span { color: #fff; font-weight: bold; display: block; margin-bottom: 5px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;}
.credly-link { display: inline-block; margin-top: 20px; color: var(--accent); text-decoration: none; font-size: 0.85rem; border-bottom: 1px solid transparent; transition: 0.3s; }
.credly-link:hover { border-bottom-color: var(--accent); }

/* --- FOOTER --- */
.footer {
  position: fixed; bottom: 0; width: 100%; height: 0;
  overflow: hidden; background: #000; z-index: 2000; transition: 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}
.footer.visible { height: 100vh; }
.footer-content { height: 100%; display: flex; flex-direction: column; justify-content: center; padding-left: 15%; }
.footer-content h3 { font-size: clamp(4rem, 15vw, 12rem); line-height: 0.9; margin-bottom: 60px; }
.social-links { display: flex; gap: 40px; flex-wrap: wrap; }
.social-links a { color: #666; text-decoration: none; text-transform: uppercase; letter-spacing: 3px; transition: 0.3s; font-weight: bold; font-size: 0.85rem; }
.social-links a:hover { color: var(--accent); }

/* --- MOBILE --- */
@media (max-width: 1024px) {
  .section { padding: 80px 40px; }
  .floating-nav { display: none; }
  .skills-grid, .exp-grid, .about-layout { grid-template-columns: 1fr; }
}