:root {
  --bg: #0b0f17;
  --card: #121826;
  --muted: #9fb0c3;
  --text: #e6eef8;
  --brand: #6aa7ff;
  --brand-2: #8a7bff;
  --border: #233045;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg) url('bg im.jpg') center/cover fixed no-repeat;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, Helvetica, Arial, 'Apple Color Emoji',
    'Segoe UI Emoji';
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    to bottom,
    rgba(11, 15, 23, 0.9),
    rgba(11, 15, 23, 0.5),
    transparent
  );
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.5px;
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
}
.hero {
  min-height: 82vh;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 10%,
    rgba(106, 167, 255, 0.25),
    transparent 40%
  ),
    radial-gradient(
      circle at 80% 30%,
      rgba(138, 123, 255, 0.25),
      transparent 40%
    );
  pointer-events: none;
}

.hero-content {
  padding: 100px 0 60px;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 8px;
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin: 0 0 10px;
}

.subtitle {
  color: var(--muted);
  margin: 0 auto 24px;
  max-width: 700px;
}

.cta-row {
  display: inline-flex;
  gap: 12px;
  margin: 8px 0 24px;
}

.btn {
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.15s ease, background 0.2s ease, border 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: #35507a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
}
.btn.small {
  padding: 8px 12px;
  font-size: 14px;
}

.socials {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.socials img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
.section {
  padding: 72px 0;
}
.section.alt {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}

.highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.highlights li {
  background: var(--card);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.grid.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.card h3 {
  margin-top: 0;
}
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.skills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
}
.skills li {
  background: var(--card);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: center;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--card);
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}
.contact img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 900px) {
  .grid.projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-links {
    grid-template-columns: repeat(3, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .grid.projects-grid {
    grid-template-columns: 1fr;
  }
  .skills {
    grid-template-columns: 1fr;
  }
  .contact-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
