:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: #1e1e1e;
  --accent: #b9ff66;
  --accent2: #ff6b35;
  --text: #f0f0f0;
  --muted: #666;
  --card: #141414;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  background: rgba(10,10,10,0.85);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

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

/* ─── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(185,255,102,0.08);
  border: 1px solid rgba(185,255,102,0.2);
  color: var(--accent);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 40px;
  width: fit-content;
  letter-spacing: 0.08em;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 8vw, 100px);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 32px;
  color: var(--text);
}

.hero h1 .line-accent {
  color: var(--accent);
}

.hero-desc {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: #a8f050;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── ORBS ────────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.12;
}

.orb-1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -100px; right: -100px;
}

.orb-2 {
  width: 300px; height: 300px;
  background: var(--accent2);
  bottom: 100px; left: -80px;
}

/* ─── STATS BAR ───────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 60px;
  display: flex;
  gap: 60px;
  background: var(--surface);
  overflow-x: auto;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ─── SECTIONS ────────────────────────────────────── */
section {
  padding: 100px 60px;
}

.section-tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 60px;
  line-height: 1;
}

/* ─── SKILLS ──────────────────────────────────────── */
.skills-section {
  background: var(--surface);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.skill-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 24px;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.skill-card:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(185,255,102,0.06), transparent 70%);
}

.skill-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.skill-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.skill-level {
  font-size: 12px;
  color: var(--muted);
}

/* ─── PROJECTS ────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.project-card:hover {
  border-color: rgba(185,255,102,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.project-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.project-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(185,255,102,0.1), transparent 60%);
}

.project-content {
  padding: 28px;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(185,255,102,0.08);
  border: 1px solid rgba(185,255,102,0.15);
  color: var(--accent);
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.project-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.project-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.project-links {
  display: flex;
  gap: 12px;
}

.project-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(185,255,102,0.2);
  padding: 6px 14px;
  border-radius: 4px;
  transition: all 0.2s;
}

.project-link:hover {
  background: rgba(185,255,102,0.1);
}

/* ─── ABOUT ───────────────────────────────────────── */
.about-section {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
}

.about-text p span {
  color: var(--text);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.highlight-icon {
  width: 40px; height: 40px;
  background: rgba(185,255,102,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.highlight-text strong {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.highlight-text span {
  font-size: 12px;
  color: var(--muted);
}

/* ─── CONTACT ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.contact-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-item-icon {
  font-size: 20px;
}

/* ─── FORM ────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
}

.submit-btn {
  background: var(--accent);
  color: #0a0a0a;
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.submit-btn:hover {
  background: #a8f050;
  transform: translateY(-2px);
}

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

/* ─── UTILITY ─────────────────────────────────────── */
.accent-text {
  color: var(--accent);
}

/* ─── ANIMATIONS ──────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero h1 { font-size: 48px; letter-spacing: -2px; }
  section { padding: 60px 24px; }
  .stats-bar { padding: 24px; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
}
