:root {
  --bg-main: #070a12;
  --bg-secondary: #0c1222;
  --card-bg: rgba(16, 24, 40, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-border: rgba(56, 189, 248, 0.35);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.25);
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-gold: #f59e0b;
  --accent-blue: #3b82f6;

  --nav-height: 72px;
  --max-width: 1140px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Ambient glow blobs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-1 {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
}

.glow-2 {
  top: 45%;
  left: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(56, 189, 248, 0.05) 70%, transparent 100%);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-bracket {
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

.highlight {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-btn {
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: var(--primary);
  color: #070a12;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* Sections Common */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-dark {
  background: rgba(12, 18, 34, 0.5);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  max-width: 100%;
  padding-left: max(1.5rem, calc((100% - var(--max-width)) / 2));
  padding-right: max(1.5rem, calc((100% - var(--max-width)) / 2));
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3.5rem) 1.5rem 3.5rem 1.5rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
}

.hero-badge-link {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.hero-badge-link:hover .hero-badge {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateY(-2px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 2s infinite;
}

.hero-header-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-role {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.divider {
  color: var(--primary);
  margin: 0 0.25rem;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-main);
}

.btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.25);
}

.btn-accent {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.btn-accent:hover {
  background: rgba(168, 85, 247, 0.25);
  border-color: #c084fc;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--card-hover-border);
  transform: translateY(-2px);
}

.hero-avatar-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-ring {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  box-shadow: 0 20px 40px rgba(56, 189, 248, 0.25);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-secondary);
}

.location-floating-tag {
  margin-top: 1.25rem;
  background: rgba(16, 24, 40, 0.85);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.location-floating-tag svg {
  color: var(--primary);
}

/* Disponibilidad Banner Card */
.availability-card {
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.85) 0%, rgba(12, 18, 34, 0.95) 100%);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.availability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #38bdf8, #a855f7);
}

.availability-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.status-live-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 12px #22c55e;
  animation: pulse 1.8s infinite;
}

.status-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #4ade80;
}

.loc-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
}

.availability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.avail-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
}

.avail-item.highlight-item {
  background: rgba(56, 189, 248, 0.04);
  border-color: rgba(56, 189, 248, 0.3);
}

.avail-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avail-item.highlight-item .avail-icon-box {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.avail-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.avail-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.avail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.avail-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: #38bdf8;
  font-weight: 600;
}

.avail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
}

.internship-badge {
  display: inline-block;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.avail-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

.avail-footer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* POK Verify Banner */
.pok-verify-banner {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pok-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pok-btn:hover {
  background: rgba(168, 85, 247, 0.3);
  border-color: #c084fc;
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

/* Muro de Credenciales Grid */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.cred-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.85rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cred-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 20px 40px -10px rgba(168, 85, 247, 0.25);
}

.cred-card.top-tier {
  border-color: rgba(56, 189, 248, 0.25);
}

.cred-card.top-tier:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px -10px rgba(56, 189, 248, 0.25);
}

/* Badge Showcase */
.cred-badge-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 0 1.25rem 0;
  min-height: 155px;
}

.cred-badge-img {
  max-width: 175px;
  max-height: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.cred-card:hover .cred-badge-img {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 15px 25px rgba(56, 189, 248, 0.4));
}

.cred-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cred-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.cert-gold-date {
  color: #fbbf24;
}

.cred-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.cred-icon-shield {
  font-size: 1.75rem;
  line-height: 1;
}

.cred-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.cred-status-badge.verified {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.cred-status-badge.upcoming {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  animation: pulse 2s infinite;
}

.cred-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.cred-instructor {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.cred-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cred-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cred-tags span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
}

/* Especialización CERT Card Highlight */
.cred-card.cert-upcoming {
  background: linear-gradient(135deg, rgba(28, 18, 54, 0.9) 0%, rgba(45, 22, 65, 0.95) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 15px 35px -10px rgba(245, 158, 11, 0.25);
}

.cred-card.cert-upcoming:hover {
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 20px 45px -10px rgba(245, 158, 11, 0.45);
}

.cred-card.cert-upcoming:hover .cred-badge-img {
  filter: drop-shadow(0 15px 25px rgba(245, 158, 11, 0.5));
}

.cert-tags span {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fde68a;
}

/* Category Headers for Projects */
.project-category-header {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.cat-pill.real-client {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--primary);
}

.cat-pill.personal-pill {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.cat-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.mb-12 {
  margin-bottom: 3.5rem;
}

/* Projects Filter & Grid */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--bg-main);
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.project-card.real-client-card {
  border-color: rgba(56, 189, 248, 0.25);
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.8) 0%, rgba(13, 26, 48, 0.85) 100%);
}

.project-card.real-client-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 45px -10px rgba(56, 189, 248, 0.25);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.project-badge {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--card-border);
}

.project-badge.client-badge {
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  border-color: rgba(56, 189, 248, 0.35);
}

.project-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.project-links a:hover {
  color: var(--primary);
}

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.project-client-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.75rem;
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.project-techs span {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.775rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

/* Formación Académica UCR */
.ucr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.ucr-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.25rem;
}

.ucr-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ucr-badge.social {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.ucr-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.ucr-org {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.ucr-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Skills Grid */
.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.skill-category {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1.75rem;
}

.skill-cat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.skill-pill:hover {
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

/* Contact Section */
.section-contact {
  padding-bottom: 6rem;
}

.contact-card {
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.9) 0%, rgba(12, 18, 34, 0.95) 100%);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 4rem 2.5rem;
  text-align: center;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent-purple), transparent);
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.contact-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--bg-main);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-domain {
  color: var(--primary);
  font-weight: 600;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.825rem;
}

/* Keyframes */
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

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

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-header-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-avatar-wrapper {
    order: -1;
  }

  .avatar-ring {
    width: 220px;
    height: 220px;
  }

  .hero-location {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .availability-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(7, 10, 18, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--card-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .contact-card {
    padding: 3rem 1.5rem;
  }

  .contact-title {
    font-size: 1.75rem;
  }

  .availability-card {
    padding: 2rem 1.5rem;
  }

  .avail-item {
    flex-direction: column;
    gap: 0.75rem;
  }
}
