:root {
  --bg: #0f0c1a;
  --bg-2: #1a1430;
  --card: #151226;
  --text: #f7f3ff;
  --muted: #c8bde6;
  --accent: #7b3fe4;
  --accent-2: #a765ff;
  --accent-3: #4a2bb8;
  --gold: #f3c76b;
  --shadow: 0 20px 60px rgba(16, 10, 30, 0.35);
  --radius: 18px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% 10%, #231a45 0%, transparent 60%),
    radial-gradient(900px 500px at 90% 0%, #3a1f6c 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #0b0815 100%);
  min-height: 100%;
}

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

img {
  max-width: 100%;
  display: block;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  z-index: 20;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(10, 8, 20, 0.6);
  border-bottom: 1px solid rgba(120, 80, 200, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 60%, #f3c76b 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.brand-mark img {
  width: 60%;
  position: relative;
  z-index: 2;
}

.brand-mark::after {
  content: "H";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
  z-index: 1;
}

.brand-mark.has-logo::after {
  content: "";
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(123, 63, 228, 0.2);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
  padding: 64px 0 32px;
}

.hero-card {
  background: linear-gradient(135deg, rgba(123, 63, 228, 0.25), rgba(33, 24, 58, 0.95));
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(123, 63, 228, 0.3);
  animation: rise 0.9s ease-out both;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 48px 0;
}

.section h2 {
  font-size: 1.8rem;
  margin: 0 0 16px;
}

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

.card {
  background: var(--card);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(123, 63, 228, 0.15);
  box-shadow: var(--shadow);
  animation: float-in 0.8s ease-out both;
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.profile {
  display: grid;
  gap: 18px;
  justify-items: center;
  animation: rise 1.1s ease-out both;
}

.profile img {
  width: min(260px, 80vw);
  border-radius: 28px;
  border: 6px solid rgba(123, 63, 228, 0.4);
  box-shadow: var(--shadow);
}

.highlight {
  background: rgba(243, 199, 107, 0.15);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  display: inline-block;
}

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

.resume-list {
  display: grid;
  gap: 14px;
}

.resume-item {
  background: rgba(25, 18, 46, 0.9);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(123, 63, 228, 0.2);
}

.resume-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

form {
  display: grid;
  gap: 16px;
}

input,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(123, 63, 228, 0.3);
  background: rgba(15, 12, 26, 0.8);
  color: var(--text);
  font-family: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

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

.marquee {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(123, 63, 228, 0.2);
  color: var(--text);
  font-size: 0.9rem;
}

.cards .card:nth-child(1) {
  animation-delay: 0.05s;
}

.cards .card:nth-child(2) {
  animation-delay: 0.12s;
}

.cards .card:nth-child(3) {
  animation-delay: 0.18s;
}

.cards .card:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.muted {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero {
    padding-top: 40px;
  }
}
