@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --bg: #061624;
  --bg-soft: #10273d;
  --panel: #0d2134;
  --panel-2: #122d46;
  --text: #e7f0f8;
  --text-muted: #adc2d6;
  --accent: #f7b74f;
  --accent-2: #7ad3ff;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at top right, #12304b 0%, var(--bg) 45%, #04111e 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.3;
}

.orb-one {
  width: 340px;
  height: 340px;
  background: #2f99d4;
  top: -120px;
  right: -80px;
}

.orb-two {
  width: 300px;
  height: 300px;
  background: #ffab35;
  bottom: -140px;
  left: -90px;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgba(5, 18, 30, 0.7);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero {
  padding: 80px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 16px;
}

.lead {
  color: var(--text-muted);
  max-width: 60ch;
}

.hero-buttons {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

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

.btn.primary {
  background: var(--accent);
  color: #16212c;
}

.btn.ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  border: 1px solid var(--line);
  background: linear-gradient(155deg, var(--panel), var(--panel-2));
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.mini-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-stats article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.mini-stats h3 {
  color: var(--accent);
  margin-bottom: 4px;
}

.mini-stats p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section {
  padding: 68px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.about-grid p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.focus-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.focus-list li {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.skill-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.skill-card h3 {
  margin-bottom: 8px;
  color: var(--accent-2);
}

.skill-card p {
  color: var(--text-muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 211, 255, 0.5);
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.project-tag {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.stack {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.project-card.featured {
  background: linear-gradient(145deg, rgba(247, 183, 79, 0.14), rgba(122, 211, 255, 0.08));
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: center;
}

.contact-panel p {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.footer {
  padding: 24px 0 28px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.reveal {
  animation: reveal-up 0.7s ease both;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .header-inner {
    min-height: 60px;
    gap: 8px;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
  }

  .nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 34px;
  }

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

  .btn {
    width: 100%;
  }

  .contact-links {
    width: 100%;
  }
}