/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0f172a;
  --bg-dark-alt: #1e293b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --accent-green: #10b981;
  --accent-green-light: #d1fae5;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --radius: 8px;
  --radius-lg: 12px;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text-body);
  background-color: var(--bg);
  line-height: 1.7;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  line-height: 1.3;
  color: var(--text-dark);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  border-bottom: 2px solid var(--accent);
}

.nav-brand {
  font-family: 'Texturina', serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

/* ── Tech grid background ── */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

/* ── Floating code symbols ── */
.hero-symbols {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.symbol {
  position: absolute;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: rgba(37, 99, 235, 0.12);
  font-size: 0.9rem;
  animation: float 20s linear infinite;
  user-select: none;
}

.s1  { top: 12%; left: 8%;  font-size: 1.6rem; animation-duration: 24s; color: rgba(37, 99, 235, 0.15); }
.s2  { top: 25%; right: 12%; font-size: 1.3rem; animation-duration: 18s; animation-delay: -4s; }
.s3  { top: 60%; left: 5%;  font-size: 0.85rem; animation-duration: 22s; animation-delay: -8s; }
.s4  { top: 15%; right: 25%; font-size: 1.1rem; animation-duration: 26s; animation-delay: -2s; color: rgba(16, 185, 129, 0.12); }
.s5  { top: 70%; right: 8%; font-size: 1.4rem; animation-duration: 20s; animation-delay: -6s; color: rgba(16, 185, 129, 0.15); }
.s6  { top: 80%; left: 15%; font-size: 1rem; animation-duration: 28s; animation-delay: -10s; }
.s7  { top: 40%; left: 3%;  font-size: 1.8rem; animation-duration: 22s; animation-delay: -3s; color: rgba(37, 99, 235, 0.18); }
.s8  { top: 50%; right: 5%; font-size: 0.9rem; animation-duration: 25s; animation-delay: -7s; }
.s9  { top: 35%; right: 30%; font-size: 1rem; animation-duration: 19s; animation-delay: -12s; color: rgba(16, 185, 129, 0.10); }
.s10 { top: 85%; right: 25%; font-size: 1.6rem; animation-duration: 30s; animation-delay: -5s; color: rgba(37, 99, 235, 0.10); }

@keyframes float {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) rotate(8deg); opacity: 0; }
}

/* ── Scan line ── */
.hero-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-green), transparent);
  opacity: 0.4;
  animation: scan 4s ease-in-out infinite;
}

@keyframes scan {
  0%   { top: 0; opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.4; }
  100% { top: 100%; opacity: 0; }
}

/* ── Terminal widget ── */
.hero-terminal {
  display: inline-block;
  background: var(--bg-dark-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2.5rem;
  text-align: left;
  width: 100%;
  max-width: 560px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red    { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green  { background: #10b981; }

.terminal-title {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-left: 8px;
}

.terminal-body {
  padding: 14px 18px;
}

.terminal-line {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #e2e8f0;
  white-space: nowrap;
  margin-bottom: 0.6rem;
}

.terminal-prompt {
  color: var(--accent-green);
  font-weight: 700;
  margin-right: 8px;
}

.terminal-line::after {
  content: none;
}

/* ── Terminal JSON output ── */
.terminal-output {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
}

.terminal-brace {
  color: #e2e8f0;
}

.terminal-key {
  color: #93c5fd;
  padding-left: 1.5rem;
}

.terminal-colon {
  color: #e2e8f0;
  margin: 0 0.2rem;
}

.terminal-string {
  color: var(--accent-green);
}

.terminal-number {
  color: #fbbf24;
}

.terminal-array {
  color: #e2e8f0;
}

.terminal-output p:last-child::after {
  content: '█';
  color: var(--accent);
  animation: blink 1s step-end infinite;
  margin-left: 6px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Hero content ── */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-name {
  font-family: 'Texturina', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #f1f5f9;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 0.4rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.hero-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.hero-role {
  padding: 0.45rem 1.2rem;
  background: rgba(37, 99, 235, 0.12);
  border-radius: var(--radius);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s ease;
  border: none;
}

.hero-role:hover {
  background: rgba(37, 99, 235, 0.25);
  color: #bfdbfe;
}

.hero-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border: none;
  margin: 0 auto 2rem;
}

.hero-quote {
  font-family: 'Texturina', serif;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.8;
  font-style: italic;
  max-width: 530px;
  margin: 0 auto;
}

.hero-quote::before,
.hero-quote::after {
  content: '"';
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-arrow {
  display: block;
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(148, 163, 184, 0.5);
  border-bottom: 2px solid rgba(148, 163, 184, 0.5);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.9; }
}

/* ===== MAIN CONTENT ===== */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section:last-child {
  border-bottom: none;
}

.section-header {
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title {
  font-family: 'Texturina', serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  font-weight: 700;
  padding-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

/* ===== ABOUT / RESUMO ===== */
.about-text {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 720px;
  line-height: 1.9;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-alt);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-body);
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
}

.contact-item:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.contact-icon {
  font-size: 1rem;
}

/* ===== SUBSECTION TITLES ===== */
.subsection-title {
  font-family: 'Texturina', serif;
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.subsection-title:first-of-type {
  margin-top: 0;
}

/* ===== SKILLS ===== */
.skills-category {
  margin-bottom: 1.8rem;
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.skills-category:last-child {
  margin-bottom: 0;
}

.skills-category-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.skills-sublabel {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding-left: 0.2rem;
}

.skills-sublabel:first-of-type {
  margin-top: 0;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-card {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.2s ease;
  cursor: default;
  border: none;
}

.skill-card:hover {
  transform: translateY(-1px);
}

/* — Flat skill colors — */
.skill-cloud {
  background: #dbeafe;
  color: #1e40af;
}
.skill-cloud:hover { background: #bfdbfe; }

.skill-devops {
  background: #d1fae5;
  color: #065f46;
}
.skill-devops:hover { background: #a7f3d0; }

.skill-compiled {
  background: #ede9fe;
  color: #5b21b6;
}
.skill-compiled:hover { background: #ddd6fe; }

.skill-scripting {
  background: #ccfbf1;
  color: #115e59;
}
.skill-scripting:hover { background: #99f6e4; }

.skill-pattern {
  background: #fef3c7;
  color: #92400e;
}
.skill-pattern:hover { background: #fde68a; }

.skill-architecture {
  background: #e0e7ff;
  color: #3730a3;
}
.skill-architecture:hover { background: #c7d2fe; }

.skill-protocol {
  background: #ffedd5;
  color: #9a3412;
}
.skill-protocol:hover { background: #fed7aa; }

.skill-governance {
  background: #e0f2fe;
  color: #075985;
}
.skill-governance:hover { background: #bae6fd; }

.skill-auth-standard {
  background: #ffe4e6;
  color: #9f1239;
}
.skill-auth-standard:hover { background: #fecdd3; }

.skill-auth-provider {
  background: #dcfce7;
  color: #166534;
}
.skill-auth-provider:hover { background: #bbf7d0; }

.skill-msg-broker {
  background: #ffedd5;
  color: #c2410c;
}
.skill-msg-broker:hover { background: #fed7aa; }

.skill-msg-managed {
  background: #dbeafe;
  color: #1e3a5f;
}
.skill-msg-managed:hover { background: #bfdbfe; }

.skill-db-sql {
  background: #e0e7ff;
  color: #312e81;
}
.skill-db-sql:hover { background: #c7d2fe; }

.skill-db-nosql {
  background: #d1fae5;
  color: #14532d;
}
.skill-db-nosql:hover { background: #a7f3d0; }

.skill-db-cache {
  background: #fef9c3;
  color: #854d0e;
}
.skill-db-cache:hover { background: #fef08a; }

.skill-db-cloud {
  background: #f3e8ff;
  color: #6b21a8;
}
.skill-db-cloud:hover { background: #e9d5ff; }

.skill-fe-lang {
  background: #ffedd5;
  color: #9a3412;
}
.skill-fe-lang:hover { background: #fed7aa; }

.skill-fe-framework {
  background: #cffafe;
  color: #155e75;
}
.skill-fe-framework:hover { background: #a5f3fc; }

.skill-fe-concept {
  background: #fce7f3;
  color: #9d174d;
}
.skill-fe-concept:hover { background: #fbcfe8; }

.skill-plat-ms {
  background: #dbeafe;
  color: #1e3a5f;
}
.skill-plat-ms:hover { background: #bfdbfe; }

.skill-plat-cms {
  background: #fef3c7;
  color: #78350f;
}
.skill-plat-cms:hover { background: #fde68a; }

.skill-os {
  background: #dcfce7;
  color: #14532d;
}
.skill-os:hover { background: #bbf7d0; }

.skill-script {
  background: #f3e8ff;
  color: #581c87;
}
.skill-script:hover { background: #e9d5ff; }

.skill-obs {
  background: #ccfbf1;
  color: #134e4a;
}
.skill-obs:hover { background: #99f6e4; }

.skill-obs-cloud {
  background: #e0f2fe;
  color: #0c4a6e;
}
.skill-obs-cloud:hover { background: #bae6fd; }

.skill-quality {
  background: #fef9c3;
  color: #713f12;
}
.skill-quality:hover { background: #fef08a; }

.skill-test {
  background: #ffe4e6;
  color: #881337;
}
.skill-test:hover { background: #fecdd3; }

/* ===== LANGUAGES ===== */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.language-card {
  background: var(--bg-alt);
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
  transition: border-color 0.2s ease;
}

.language-card:hover {
  border-color: var(--accent-green);
}

.language-name {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.language-level {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.language-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin-top: 0.8rem;
  overflow: hidden;
}

.language-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
}

/* ===== CERTIFICATIONS ===== */
.cert-card {
  background: var(--bg-alt);
  padding: 1.3rem 1.8rem;
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.cert-card:last-child {
  margin-bottom: 0;
}

.cert-icon {
  font-size: 1.6rem;
}

.cert-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* ===== EXPERIENCE TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.82rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item .timeline-dot-green {
  background: var(--accent-green);
  box-shadow: 0 0 0 2px var(--accent-green);
}

.timeline-card {
  background: var(--bg-alt);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  transition: background 0.2s ease;
  border: none;
}

.timeline-card:hover {
  background: #eef2f7;
}

.timeline-header {
  margin-bottom: 0.8rem;
}

.timeline-company {
  font-family: 'Texturina', serif;
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 700;
}

.timeline-role {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.15rem;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.timeline-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.timeline-description {
  margin-top: 0.8rem;
  color: var(--text-body);
  font-size: 0.93rem;
}

.timeline-description p {
  margin-bottom: 0.6rem;
}

.timeline-list {
  list-style: none;
  margin-top: 0.5rem;
}

.timeline-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.timeline-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.tech-tag {
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
}

.activities-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

/* ===== EDUCATION ===== */
.edu-showcase {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edu-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease;
  position: relative;
}

.edu-item:first-child {
  border-top: 1px solid var(--border);
}

.edu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.edu-item:hover {
  background: var(--bg-alt);
}

.edu-item:hover::before {
  width: 3px;
}

.edu-year-badge {
  flex-shrink: 0;
  min-width: 110px;
  padding: 0.4rem 0.9rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}

.edu-item:hover .edu-year-badge {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

.edu-content {
  flex: 1;
  min-width: 0;
}

.edu-degree {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.edu-institution {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.edu-institution svg {
  color: var(--accent);
  flex-shrink: 0;
}

.edu-type {
  padding: 0.2rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 20px;
  white-space: nowrap;
  line-height: 1;
  margin-left: 0.3rem;
}

.edu-logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-alt);
  padding: 4px;
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.edu-item:hover .edu-logo {
  border-color: var(--accent);
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .edu-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1.3rem 1.4rem;
  }

  .edu-year-badge {
    min-width: auto;
  }

  .edu-logo {
    align-self: flex-end;
    margin-top: -2.5rem;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  padding: 2.5rem 2rem;
  margin-top: 1rem;
}

.footer-name {
  font-family: 'Texturina', serif;
  font-size: 1.15rem;
  color: #f1f5f9;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #f1f5f9;
  background: rgba(37, 99, 235, 0.2);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    justify-content: flex-start;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  nav {
    padding: 0 1rem;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 0.4rem 0.5rem;
    font-size: 0.72rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero-terminal {
    width: 95%;
    max-width: 480px;
  }

  .terminal-output {
    font-size: 0.75rem;
  }

  .terminal-line {
    font-size: 0.78rem;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-dot {
    left: -2.32rem;
  }

  .timeline-card {
    padding: 1.3rem;
  }

  main {
    padding: 0 1.2rem;
  }

  .contact-row {
    flex-direction: column;
  }

  .skills-category {
    padding: 1rem;
  }

  .symbol {
    font-size: 0.7rem !important;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  .hero-name {
    font-size: 2rem;
  }

  .hero-quote {
    font-size: 1rem;
  }

  .hero-terminal {
    width: 100%;
  }

  .terminal-output {
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .terminal-key {
    padding-left: 0.8rem;
  }

  .terminal-line {
    font-size: 0.72rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-dot {
    left: -1.82rem;
    width: 10px;
    height: 10px;
  }

  .timeline-card {
    padding: 1.2rem;
  }

  .languages-grid {
    grid-template-columns: 1fr;
  }

  .hero-symbols {
    display: none;
  }
}
