/* Quant / Swiss / Terminal Theme */
:root {
  --bg-color: #0a0a0a;
  --text-color: #e5e5e5;
  --accent-color: #3b82f6; /* Blue-500 */
  --secondary-accent: #10b981; /* Emerald-500 */
  --border-color: #262626;
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", monospace;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}
h3 {
  font-size: 1.25rem;
  color: var(--accent-color);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.05em;
}

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

.nav-links li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #a3a3a3;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--text-color);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.tagline {
  font-size: 1.2rem;
  color: #a3a3a3;
  margin-bottom: 2rem;
}

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

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn.primary {
  background-color: var(--accent-color);
  color: white;
  border: 1px solid var(--accent-color);
}

.btn.primary:hover {
  background-color: #2563eb;
}

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

.btn.secondary:hover {
  border-color: var(--text-color);
}

/* Sections */
section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Cards (Projects / Research) */
.projects-grid,
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card,
.research-card,
.project-featured {
  background: #171717;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 6px;
}

.project-featured {
  border-left: 3px solid var(--accent-color);
}

.project-details ul,
.research-card ul {
  padding-left: 1.2rem;
  color: #d4d4d4;
}

.project-details li,
.research-card li {
  margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
}

.timeline li {
  border-left: 2px solid var(--border-color);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  width: 10px;
  height: 10px;
  background: var(--bg-color);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #737373;
  display: block;
  margin-bottom: 0.25rem;
}

/* Skills */
.skills li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  color: #737373;
  font-size: 0.9rem;
  margin-top: 4rem;
}

.footer-links a {
  color: #737373;
  margin: 0 0.5rem;
}

.footer-links a:hover {
  color: var(--text-color);
}

/* Utility */
.repo-note,
.patent-note {
  font-size: 0.85rem;
  color: #737373;
  margin-top: 0.5rem;
  font-style: italic;
}

code {
  font-family: var(--font-mono);
  background: #262626;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}
