/* —— Design tokens (#A7D3E0 everywhere) —— */
:root {
  --light-blue: #A7D3E0;
  --bg-deep: #A7D3E0;
  --bg-surface: #A7D3E0;
  --bg-card: #A7D3E0;
  --bg-elevated: #A7D3E0;
  --border: rgba(75, 0, 130, 0.2);
  --text: #1a1d21;
  --text-muted: #3d4450;
  --accent: #0a58ca;
  --accent-dim: #0a58ca;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 8px;
  --radius-sm: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.scroll-indicator {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  z-index: 120;
  pointer-events: none;
}

.scroll-dot {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: rgba(26, 29, 33, 0.25);
}

.scroll-dot.active {
  background: #ffffff;
}

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

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #A7D3E0;
  border-bottom: 1px solid var(--border);
}

.nav {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

@media (max-width: 900px) {
  .scroll-indicator {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #A7D3E0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
  }
  .nav-links.nav-open {
    display: flex;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 4rem;
  background: #A7D3E0;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  display: none;
}

.hero-inner {
  max-width: 720px;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0 0 1rem;
  letter-spacing: 0.08em;
}

.terminal-prompt {
  color: var(--text-muted);
  margin-right: 0.35rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  padding: 0.5rem;
}

.social-icon svg {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--text);
  color: #A7D3E0;
  border-color: var(--text);
}

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

.btn-ghost {
  background: #A7D3E0;
  color: var(--text);
  border: 1px solid var(--border);
}

/* —— Sections —— */
.section {
  padding: 3rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.section-hash {
  color: var(--accent);
  margin-right: 0.35rem;
}

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

.about-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* —— Skills / badges —— */
.section-skills {
  max-width: 900px;
}

.skill-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.skill-group-wide {
  grid-column: 1 / -1;
}

.skill-group.card {
  padding: 1.25rem 1.5rem;
}

.skill-group-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 600;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

.badge-accent {
  border-color: var(--border);
}

/* —— Experience —— */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-card {
  position: relative;
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

.job-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 3px;
  background: var(--border);
  border-radius: 2px;
}

.job-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.job-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.job-company {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
}

.job-meta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.job-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.job-list li {
  margin-bottom: 0.5rem;
}

.job-list li:last-child {
  margin-bottom: 0;
}

/* —— Project cards —— */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
}

.project-card {
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.project-card-glow {
  display: none;
}

.project-card-inner {
  padding: 1.75rem;
}

.project-card-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.35rem 0.65rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.project-card-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* —— Achievements —— */
.achievement-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 640px;
}

.achievement-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #A7D3E0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
}

.achievement-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

/* —— Education —— */
.edu-degree {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.edu-school {
  margin: 0 0 0.25rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.edu-dates {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* —— Contact —— */
.section-contact {
  padding-bottom: 4rem;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 9.5rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
}

.contact-icons .social-icon {
  color: var(--text);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

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

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* —— Footer —— */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  background: #A7D3E0;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
