:root {
  --bg: #0f1724;
  --card: #0b1220;
  --muted: #9aa4b2;
  --glass: rgba(255, 255, 255, 0.03);
  --blue-500: #1777ff;
  --blue-300: #6fb1ff;
  --accent: #ff7a6b;
  --radius: 12px;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: linear-gradient(180deg, var(--bg) 0%, #081021 100%);
  color: #e6eef9;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem;
}

.site-header {
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.6),
    rgba(11, 18, 32, 0.35)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
.brand {
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--blue-300);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
}
.brand .dot {
  color: var(--accent);
}
.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
}
.nav a:hover {
  color: #fff;
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.4rem 0.8rem;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-300);
  margin: 4px 0;
  border-radius: 2px;
}

.hero {
  padding: 4rem 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: center;
}
.hero-content h1 {
  font-size: 2.2rem;
  margin: 0 0 0.5rem;
}
.lead {
  color: var(--muted);
  line-height: 1.6;
}
.hero-ctas {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}
.btn-primary {
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  padding: 0.8rem 1.1rem;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
}
.meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--muted);
  list-style: none;
  padding: 0;
}
.hero-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: var(--radius);
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.02);
}
.hero-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--muted);
  margin-bottom: 1rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
}
.facts div {
  background: var(--glass);
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.6rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.skill-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.project-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s;
}
.project-card:hover {
  transform: translateY(-6px);
}
.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.project-body {
  padding: 1rem;
}
.project-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.link {
  color: var(--blue-300);
  text-decoration: none;
  font-weight: 600;
}

.contact-form {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  padding: 1rem;
  border-radius: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-grid input,
.form-grid textarea {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.65rem;
  border-radius: 8px;
  color: inherit;
}
.form-grid textarea {
  grid-column: span 2;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}
.form-note {
  color: var(--muted);
}

.site-footer {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.socials a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 0.75rem;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.btn-primary,
.btn-ghost,
.link {
  transition: all 0.18s;
}
