:root {
  --bg: #040509;
  --text: #e9eef7;
  --muted: #9ca4b8;
  --accent: #19a4ff;
  --accent2: #00e0ff;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(800px at 10% 10%, rgba(0,212,255,0.1), transparent 80%),
              radial-gradient(800px at 90% 80%, rgba(25,164,255,0.08), transparent 80%),
              var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* NAV */
.nav {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background: rgba(4,5,9,0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
}
.logo {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
  font-size: 20px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.2s ease;
}
nav a:hover { color: var(--accent); }

/* SECTIONS */
.section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.section.visible { opacity: 1; transform: translateY(0); }
.inner { max-width: 1000px; margin: auto; }

h1, h2 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
h1 span, h2 span {
  color: var(--accent);
  text-shadow: 0 0 25px rgba(25,164,255,0.3);
}
.lead {
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.7;
}
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
  box-shadow: 0 0 25px rgba(25,164,255,0.15);
}
.btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(25,164,255,0.3);
}
.btn.ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
}
.btn.ghost:hover { background: rgba(255,255,255,0.05); }

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.skill {
  padding: 18px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  font-weight: 600;
  transition: transform 0.3s ease;
}
.skill:hover {
  transform: translateY(-6px);
  background: rgba(25,164,255,0.1);
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.member {
  background: rgba(255,255,255,0.04);
  padding: 24px;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.member:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(25,164,255,0.1);
}
.member img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
  height: 260px;
  object-fit: cover;
}
.member h3 { font-size: 1.3rem; margin-bottom: 6px; }
.member .role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  color: var(--muted);
  background: rgba(4,5,9,0.9);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  h1, h2 { font-size: 2.2rem; }
  .nav-inner { flex-direction: column; }
  nav a { margin: 8px; }
}
