:root {
  --bg: #0f111a;
  --bg-muted: #11141e;
  --card: #1a1e2b;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #00bfa6;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* BACKGROUND CANVAS */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.hero-left h1 {
  font-size: 4rem;
  font-weight: 700;
}

.hero-title {
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--accent);
}

.hero-desc {
  margin-top: 20px;
  max-width: 500px;
  color: var(--muted);
}

/* RIGHT BUTTONS */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-btn {
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
}

.hero-btn:hover {
  background: var(--accent);
  color: #0f111a;
}

.hero-btn.primary {
  background: var(--accent);
  color: #0f111a;
}

/* SECTIONS */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section.muted {
  background: var(--bg-muted);
}

h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

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

.project-card {
  background: var(--card);
  padding: 25px;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 191, 166, 0.3);
}

.project-card span {
  font-size: 0.85rem;
  color: var(--muted);
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  text-decoration: none;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* CERTIFICATES */
.cert-list {
  padding-left: 20px;
  color: var(--muted);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: var(--muted);
  border-top: 1px solid #1f2933;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-left h1 {
    font-size: 3rem;
  }
}
