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

body {
  background:
    radial-gradient(circle at 20% 20%, rgba(109,93,252,0.10), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(76,201,240,0.08), transparent 50%),
    #0b0d12;
  color: #eaeaf0;
  font-family: Inter, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}


section {
  padding: 70px 8%;
}

h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  font-size: 56px;
}

h2 {
  font-size: 34px;
  margin-bottom: 40px;
}


.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 180px;
  z-index: 1;
}

#network {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(109,93,252,0.15);
  color: #b8b2ff;
  border: 1px solid rgba(109,93,252,0.3);
}

.hero-lead {
  margin-top: 16px;
  font-size: 18px;
  color: #b5b7c2;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  background: linear-gradient(135deg, #6d5dfc, #4cc9f0);
  color: #fff;
  text-decoration: none;
}

.btn.ghost {
  background: transparent;
  border: 1px solid #2a2f45;
}


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

.card {
  background: linear-gradient(145deg, #11131d, #161a28);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid #1e2233;
  transition: 0.3s ease;
}

.card:hover {
  border-color: #6d5dfc;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(76,201,240,0.15);
  color: #4cc9f0;
  border: 1px solid rgba(76,201,240,0.3);
}

.tags {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.tags span {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #1a1f30;
  color: #b5b7c2;
  border: 1px solid #262c40;
}


.contact-full {
  padding: 50px;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.map-container iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 12px;
}

a {
  color: #4cc9f0;
  text-decoration: none;
}

footer {
  padding: 40px 8%;
  border-top: 1px solid #1e2233;
  color: #8c8fa3;
}

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

.project-card {
  background: linear-gradient(145deg, #11131d, #161a28);
  padding: 32px;
  border-radius: 18px;
  border: 1px solid #1e2233;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(109,93,252,0.08), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

.project-card:hover::before {
  transform: translateX(100%);
}

.project-card:hover {
  border-color: #6d5dfc;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tech-tags {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.tech-tags span {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #1a1f30;
  color: #b5b7c2;
  border: 1px solid #262c40;
}

.hero-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}

.error-content {
  text-align: center;
  max-width: 600px;
}

.error-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 120px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #6c63ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-404 h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.hero-404 .hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

@media (max-width: 900px) {
  h1 {
    font-size: 42px;
  }

  .contact-info {
    flex-direction: column;
  }
}