:root {
  --bg-color: #050816;
  --bg-alt: #0b1020;
  --accent: #00bcd4;
  --accent-soft: rgba(0, 188, 212, 0.1);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2933;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  height: 100%;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #111827, #020617);
  color: var(--text-main);
  line-height: 1.6;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem;
}

main {
  flex: 1;
}

.site-header {
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  background: radial-gradient(circle at 30% 30%, #1f2937, #020617);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1.05rem;
  color: var(--text-main);
}

.brand-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.page-hero {
  padding: 3rem 0 1rem;
}

.page-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.page-title {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  max-width: 40rem;
  color: var(--text-muted);
}

.section {
  margin: 2rem 0 0;
}

.section-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 0.75rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(31, 41, 55, 0.8);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: var(--accent-soft);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: var(--text-muted);
}

.timeline {
  border-left: 1px solid rgba(55, 65, 81, 0.8);
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.4rem;
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 0.2rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
}

.timeline-role {
  font-size: 0.95rem;
  font-weight: 600;
}

.timeline-company {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.timeline-period {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.timeline-points {
  list-style: disc;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.skill-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.4rem 1rem;
  font-size: 0.9rem;
}

.skill-list li::before {
  content: "▹";
  color: var(--accent);
  display: inline-block;
  margin-right: 0.4rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: rgba(8, 47, 73, 0.9);
}

.btn-secondary {
  border-color: rgba(55, 65, 81, 0.9);
  background: transparent;
  color: var(--text-muted);
}

.btn:hover {
  filter: brightness(1.1);
}

.form {
  margin-top: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-size: 0.9rem;
}

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

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(2, 6, 23, 0.95);
  padding: 1rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.profile-card {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 300px;
    margin: 0 auto;
  }

  .profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 4px solid #3b82f6;
  }
  
@media (max-width: 640px) {
  .nav-links {
    gap: 0.9rem;
  }
  .page-hero {
    padding-top: 2.2rem;
  }
}
