:root {
  --bg: #020617;
  --card: rgba(255,255,255,0.08);
  --neon: #00eaff;
  --text: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

/* ===== HERO TERMINAL ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.terminal {
  width: 100%;
  max-width: 720px;
  background: #020617;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,234,255,0.25);
  overflow: hidden;
}

.terminal-header {
  background: #0f172a;
  padding: 10px;
  display: flex;
  gap: 8px;
}

.terminal-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.terminal-header span:nth-child(1){background:#ff5f56;}
.terminal-header span:nth-child(2){background:#ffbd2e;}
.terminal-header span:nth-child(3){background:#27c93f;}

.terminal-body {
  padding: 20px;
  font-family: monospace;
  color: var(--neon);
  line-height: 1.6;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 25px;
  color: var(--neon);
  animation: bounce 1.5s infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 10%;
}

.hero + .section {
  padding-top: 30px;
}

.section-title {
  text-align: center;
  color: var(--neon);
  font-size: 2rem;
  margin-bottom: 40px;
}

/* ===== CARDS ===== */
.glass-card {
  background: var(--card);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 16px;
}

.about-card {
  text-align: center;
}

.about-actions {
  margin-top: 25px;
}

/* ===== BUTTON ===== */
.btn.primary {
  background: var(--neon);
  color: #000;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

/* ===== SKILLS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
}

.skill-card {
  background: var(--card);
  padding: 25px;
  border-radius: 16px;
  text-align: center;
}

.skill-card i {
  font-size: 2rem;
  color: var(--neon);
}

.progress {
  background: #111827;
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

.progress span {
  height: 100%;
  display: block;
  background: var(--neon);
}

/* ===== NETWORK ===== */
.network-diagram {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.node {
  background: var(--card);
  padding: 15px 20px;
  border-radius: 12px;
  text-align: center;
}

.line {
  width: 40px;
  height: 2px;
  background: var(--neon);
}

/* ===== TIMELINE ===== */
.timeline-item {
  border-left: 2px solid var(--neon);
  padding-left: 20px;
  margin-bottom: 30px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: none;
}

.contact-note {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 5px;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
}

#topBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--neon);
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
