:root {
  --bg: #1a1b26;
  --bg-elevated: #16161e;
  --bg-panel: #24283b;
  --border: #414868;
  --text: #c0caf5;
  --text-muted: #a9b1d6;
  --text-subtle: #565f89;
  --accent: #7aa2f7;
  --green: #9ece6a;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(36, 40, 59, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.landing-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.landing-nav .brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

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

.landing-nav .links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}

.landing-nav .links a:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-pill__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: 0.9;
}

.landing-nav .links a:hover .nav-pill__icon {
  opacity: 1;
}

.nav-pill--github:hover {
  color: #f0f6fc;
  border-color: #8b949e;
  background: rgba(139, 148, 158, 0.12);
}

.nav-pill--linkedin:hover {
  color: #0a66c2;
  border-color: #0a66c2;
  background: rgba(10, 102, 194, 0.12);
}

.nav-pill--email:hover {
  color: #ea4335;
  border-color: #ea4335;
  background: rgba(234, 67, 53, 0.12);
}

.landing-page {
  max-width: 1012px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.profile-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.landing-content {
  padding: 36px 40px 56px;
  color: var(--text-muted);
}

.landing-content h1,
.landing-content h2,
.landing-content h3 {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3em;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.landing-content h1 {
  border-bottom: none;
  font-size: 2em;
  margin-top: 0;
}

.landing-content h3 {
  font-size: 1.15em;
  border-bottom: none;
}

.landing-content hr {
  background-color: var(--border);
  border: none;
  height: 1px;
  margin: 2em 0;
}

.landing-content strong { color: var(--text); }

.landing-content .center { text-align: center; }

.landing-content .subtitle {
  font-size: 1.1em;
  margin: 0.5em 0 1em;
}

.landing-content .full-width {
  width: 100%;
  height: auto;
}

.landing-content .avatar-hero {
  border-radius: 50%;
  border: 4px solid var(--accent);
}

.landing-content .header-image {
  border-radius: 15px;
  margin-bottom: 20px;
}

.landing-content img {
  max-width: 100%;
  height: auto;
  background: transparent;
  vertical-align: middle;
}

.landing-content img[height="170"] {
  height: 170px;
  width: auto;
}

.landing-content .badges-row img,
.landing-content .badges-row a {
  display: inline;
  vertical-align: middle;
}

.landing-content .badges-row a:hover { text-decoration: none; }

.landing-content .quote-section {
  text-align: center;
}

.landing-content .quote-widget {
  width: 320px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.landing-content table {
  width: 100%;
  border-collapse: collapse;
}

.landing-content .data-table th,
.landing-content .data-table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.landing-content .data-table th {
  color: var(--text);
  background: var(--bg-panel);
}

.landing-content .competencies-table th {
  width: 160px;
  vertical-align: top;
  white-space: nowrap;
}

.landing-content .competencies-table td {
  line-height: 2.2;
}

.landing-content .practice-table .stack-cell {
  color: var(--accent);
  font-size: 0.92em;
  vertical-align: top;
}

.landing-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-subtle);
}

.landing-footer a {
  color: var(--accent);
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .landing-page { padding: 16px 12px 48px; }
  .landing-content { padding: 20px 16px 36px; }
  .landing-nav { padding: 12px 16px; }
  .landing-nav .brand span { font-size: 14px; }
}

@media (max-width: 520px) {
  .nav-pill__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .landing-nav .links a {
    padding: 8px 10px;
  }
}
