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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0b1120;
  color: #e5e7eb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: auto;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), transparent 35%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.18), transparent 30%),
    #0b1120;
  padding: 24px 24px 70px;
}

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: #cbd5e1;
  font-size: 15px;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero-content {
  max-width: 1180px;
  margin: 70px auto 0;
}

.tag,
.project-tag {
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 82px);
  line-height: 1;
  margin: 16px 0;
}

.hero h2 {
  color: #cbd5e1;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  max-width: 900px;
}

.hero p {
  margin-top: 18px;
  max-width: 780px;
  color: #94a3b8;
  font-size: 18px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  background: #2563eb;
  color: #ffffff;
}

.secondary {
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px;
}

.section h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.section p {
  color: #cbd5e1;
  max-width: 900px;
  margin-bottom: 12px;
}

.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.stack-grid span {
  background: #111827;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 10px 16px;
  color: #dbeafe;
  font-size: 14px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}

.project-card {
  background: #111827;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);

  display: flex;
  flex-direction: column;
}

.project-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  display: block;
  background: #020617;
  padding: 10px;
}

.project-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  font-size: 24px;
  margin: 8px 0 12px;
}

.project-content p {
  color: #cbd5e1;
}

.project-content ul {
  margin: 18px 0 20px;
  padding-left: 20px;
  color: #94a3b8;
}

.project-content a {
  color: #38bdf8;
  font-weight: 700;
  margin-top: auto;
}

.contact-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-links a {
  background: #111827;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 12px 18px;
  color: #e2e8f0;
}

footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: #94a3b8;
  margin-top: 30px;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    margin-top: 50px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .project-image {
    height: 200px;
  }
}