/* ================================================
   Leonardo Monteiro Portfolio v4 — PREMIUM UI/UX
   Large, dramatic, premium design
   ALL spacing standardized to 8px-based scale
   ================================================ */

:root {
  --bg: #000000;
  --bg-raised: #0a0a0a;
  --bg-card: #111111;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);

  --accent: #70D6FF;
  --accent-dim: rgba(112,214,255,0.15);
  --accent-purple: #A78BFA;
  --accent-green: #00FF88;

  --text: #fafafa;
  --text2: #a1a1aa;
  --text3: #52525b;

  --ease-out: cubic-bezier(.16,1,.3,1);

  --btn-primary-fg: #000000;
  --success-green: #22c55e;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* === SPACING SCALE (8px-based) === */
  --xs: 0.25rem;   /* 4px  */
  --sm: 0.5rem;    /* 8px  */
  --md: 0.75rem;   /* 12px */
  --lg: 1rem;      /* 16px */
  --xl: 1.25rem;   /* 20px */
  --two-xl: 1.5rem;/* 24px */
  --three-xl: 2rem;/* 32px */
  --four-xl: 3rem; /* 48px */
  --five-xl: 4rem; /* 64px */
  --six-xl: 6rem;  /* 96px */
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* Base scale: grows slightly on large / hi-DPI viewports so UI doesn’t feel tiny */
html {
  font-size: clamp(17px, 0.28vw + 15.2px, 20px);
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text2);
  line-height: 1.65;
  overflow-x: hidden;
}
::selection { background: rgba(112,214,255,0.3); color: #fff; }
a { text-decoration: none; color: var(--accent); }
a:hover { color: var(--accent); opacity: 1; }

/* LOADER */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-track {
  width: min(220px, 55vw);
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.loader-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  border-radius: 999px;
  background: var(--accent);
  animation: loaderSweep 1.15s ease-in-out infinite;
}
@keyframes loaderSweep {
  0% { transform: translateX(-130%); }
  100% { transform: translateX(320%); }
}

/* SCROLL PROGRESS */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 10001;
  width: 0;
  box-shadow: 0 0 var(--two-xl) var(--accent-dim);
}

/* BACKGROUND */
.bg-dots {
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='0.6' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: 24px 24px;
  pointer-events: none;
}
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); animation: orbFloat 20s ease-in-out infinite; }
.orb-1 { width: 500px; height: 500px; background: rgba(112, 214, 255, 0.07); top: -10%; left: -5%; }
.orb-2 { width: 400px; height: 400px; background: rgba(112, 214, 255, 0.05); top: 40%; right: -5%; animation-delay: -7s; }
.orb-3 { width: 350px; height: 350px; background: rgba(112, 214, 255, 0.04); bottom: -5%; left: 30%; animation-delay: -14s; }
@keyframes orbFloat {
  0%,100%{transform:translate(0,0) scale(1)} 25%{transform:translate(60px,-40px) scale(1.1)} 50%{transform:translate(-40px,60px) scale(0.95)} 75%{transform:translate(40px,30px) scale(1.05)}
}

/* NAV — barra fina, baixo contraste, só links (sem logo) */
.nav {
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: min(780px, calc(100% - 36px));
  min-height: 46px;
  height: auto;
  font-size: 13px;
  z-index: 1000;
  background: rgba(9,9,11,0.26);
  backdrop-filter: blur(10px) saturate(118%);
  -webkit-backdrop-filter: blur(10px) saturate(118%);
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: 9999px;
  box-shadow: none;
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out), top .35s var(--ease-out);
}
.nav.scrolled {
  background: rgba(9,9,11,0.5);
  border-color: rgba(255,255,255,0.055);
  top: 10px;
}
.nav-content {
  padding: 8px 14px 8px 16px;
  margin: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  min-height: 46px;
  height: fit-content;
}
@media (min-width: 641px) {
  .nav-content {
    justify-content: flex-start;
    padding: 10px 18px 10px 22px;
    gap: 0.75rem 1.25rem;
    flex-wrap: nowrap;
  }
  .nav-links {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.nav-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text2);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, opacity 0.2s;
  opacity: 0.75;
}
.nav-tool-btn:hover {
  opacity: 1;
  color: var(--text);
  border-color: rgba(112, 214, 255, 0.35);
  background: rgba(112, 214, 255, 0.08);
}
.nav-tool-btn i { font-size: 0.85rem; pointer-events: none; }
.nav-tool-btn .nav-tool-label { pointer-events: none; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 2vw, 0.75rem) clamp(0.55rem, 2.4vw, 1rem);
  row-gap: 0.4rem;
  max-width: 100%;
}

.nav-link {
  color: var(--text2);
  font-size: clamp(0.75rem, 0.18vw + 0.7rem, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color .25s, opacity .25s;
  position: relative;
  opacity: 0.52;
}
.nav-link:hover, .nav-link.active { color: rgba(250,250,250,0.92); opacity: 0.9; }

/* HAMBURGER — visible only on mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  z-index: 10;
}
.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-link--mobile-cta {
  display: none;
}
@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-cta { display: none !important; }
  .nav-link--mobile-cta { display: block; }
  .nav {
    top: 8px;
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    border-radius: 14px;
  }
  .nav-content {
    justify-content: space-between;
    padding: 6px 10px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: 14px;
    padding: 0.75rem;
    flex-direction: column;
    gap: 0.15rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links .nav-link {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    opacity: 0.8;
    font-size: 0.9rem;
  }
  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    background: var(--accent-dim);
    opacity: 1;
  }
}

/* CTA no nav — destaque (accent + brilho + sombra) */
.nav .nav-cta.btn-primary {
  flex-shrink: 0;
  padding: 0.4rem 1rem 0.4rem 1.05rem;
  font-size: clamp(0.72rem, 0.22vw + 0.66rem, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 9999px;
  gap: 0.4rem;
  line-height: 1.2;
  box-shadow:
    0 0 0 1px rgba(112, 214, 255, 0.35),
    0 0 24px rgba(112, 214, 255, 0.22),
    0 4px 14px rgba(0, 0, 0, 0.35);
  animation: navCtaGlow 3.5s ease-in-out infinite;
}
.nav .nav-cta.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(112, 214, 255, 0.55),
    0 0 32px rgba(112, 214, 255, 0.38),
    0 6px 20px rgba(0, 0, 0, 0.4);
}
.nav .nav-cta.btn-primary .btn-shine {
  display: none;
}
.nav .nav-cta.btn-primary i { font-size: 0.75em; opacity: 0.9; }
.nav .nav-cta.btn-primary.active {
  box-shadow:
    0 0 0 2px rgba(112, 214, 255, 0.55),
    0 0 28px rgba(112, 214, 255, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.35);
}
@keyframes navCtaGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .nav .nav-cta.btn-primary { animation: none; }
}

/* AVAILABLE BADGE */
.available-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9999px;
  color: var(--text2);
  font-size: clamp(0.78rem, 0.22vw + 0.7rem, 0.88rem);
  font-weight: 400;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  margin-top: 40px;
  margin-bottom: 16px;
}
.badge-dot {
  width: 10px; height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:.5; transform:scale(0.8)} }

.btn { 
  display: inline-flex; align-items: center; justify-content: center; 
  gap: 0.75rem; font-family: var(--font-body); font-weight: 600; 
  border: none; cursor: pointer; transition: all 0.3s var(--ease-out); 
  overflow: hidden; position: relative; 
}
.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.125rem);
  border-radius: 12px;
}
.btn-primary { background: var(--accent); color: var(--btn-primary-fg); }
.btn-primary:hover { box-shadow: 0 0 30px var(--accent-dim), 0 0 60px rgba(112,214,255,0.08); transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1px solid var(--border-hover); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 20px var(--accent-dim); transform: translateY(-2px); }

/* ================================================ */
/* HERO                                             */
/* ================================================ */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 72px 24px 16px; position: relative; z-index: 2; }
.hero-container { max-width: min(1100px, 100%); margin: 0 auto; }
.hero-content { text-align: center; padding-top: 24px; }
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 0;
}
.hero-name-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: clamp(1.35rem, 3.5vw, 2rem);
}
.hero-row { display: block; }
.hero-name {
  display: inline-block;
  width: fit-content;
  font-size: clamp(2.5rem, 4.8vw + 0.85rem, 3.65rem);
  font-weight: 900;
  color: var(--text);
  font-family: var(--font-heading);
  letter-spacing: 0;
  line-height: 1;
}
.gradient-text {
  color: var(--accent);
}
.hero-role-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: min(32rem, 100%);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-role-block .hero-row {
  line-height: 0;
}
.hero-role {
  font-size: clamp(1.05rem, 1.35vw + 0.72rem, 1.3rem);
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-heading);
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.hero-role a { color: var(--accent); font-weight: 700; letter-spacing: 0; }
.hero-tagline {
  font-size: 20px;
  color: var(--text2);
  margin-bottom: clamp(1.75rem, 4.5vw, 2.5rem);
  margin-top: 0.25rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 32px; margin-bottom: 0; padding-top: 24px; padding-bottom: 0; }

/* HERO STATS */
.hero-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
}
.stat-item { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 0.4rem !important; min-width: 0; flex: 1 1 7.5rem; max-width: 11rem; }
.stat-number-wrap { display: inline-flex !important; align-items: baseline !important; gap: 2px !important; white-space: nowrap !important; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw + 0.75rem, 2.65rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: clamp(0.68rem, 0.45vw + 0.58rem, 0.82rem);
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  max-width: 12rem;
}
.stat-divider { width: 1px; align-self: stretch; min-height: 2.5rem; background: var(--border); flex-shrink: 0; }
@media (max-width: 700px) {
  .stat-divider { display: none; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .stat-item { max-width: none; }
}
.scroll-indicator {
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: var(--four-xl);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  opacity: 0.4;
}
.scroll-mouse { width: 24px; height: 38px; border: 2px solid var(--border-hover); border-radius: 12px; position: relative; }
.scroll-wheel { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 8px; background: var(--accent); border-radius: 2px; animation: wheelScroll 2s ease infinite; }
@keyframes wheelScroll { 0%{transform:translateX(-50%) translateY(0); opacity:1} 100%{transform:translateX(-50%) translateY(14px); opacity:0} }
.scroll-text { font-size: clamp(0.68rem, 0.35vw + 0.58rem, 0.78rem); color: var(--text3); letter-spacing: 0.22em; text-transform: uppercase; }

/* Marquee */
.marquee-wrapper { overflow: hidden; padding: 1.25rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; will-change: transform; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.marquee-item { flex: none; padding: 0 1.75rem; font-family: var(--font-heading); font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.1rem); font-weight: 500; color: var(--text3); transition: color 0.3s; white-space: nowrap; }
.marquee-item:hover { color: var(--text); }
.marquee-sep { color: var(--accent); font-size: 0.65rem; flex: none; opacity: 0.5; }

/* SECTIONS */
.section { padding: 4rem 0; position: relative; z-index: 2; }
#about.section { padding-top: 0; padding-bottom: 0; }
#experience.section { padding-top: 64px; padding-bottom: 64px; }
.section--dark { background: rgba(255,255,255,0.01); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
#about .container { padding-top: 24px; padding-bottom: 24px; }
.section-header { margin-bottom: 2.5rem; }
.projects-lead {
  max-width: 52rem;
  font-size: clamp(0.98rem, 0.35vw + 0.88rem, 1.08rem);
  line-height: 1.68;
  color: var(--text2);
  margin: -1rem 0 1.75rem;
}
.projects-lead strong { color: var(--text); font-weight: 600; }
.section-tag { display: inline-block; font-family: var(--font-mono); font-size: clamp(0.72rem, 0.2vw + 0.68rem, 0.82rem); color: var(--accent); text-transform: uppercase; letter-spacing: 2px; padding: 0.3rem 0.8rem; background: var(--accent-dim); border: 1px solid rgba(112,214,255,0.1); border-radius: 4px; margin-bottom: 1rem; }
.section-title { font-family: var(--font-heading); font-size: clamp(2.1rem, 5.2vw, 3.35rem); font-weight: 800; color: var(--text); letter-spacing: -1.5px; line-height: 1.1; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ============================================================ */
/* BENTO GRID                                                      */
/* ============================================================ */
.bento { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-top: 0px; padding-bottom: 0px; }
/* 15 colunas no desktop: esquerda 8 + direita 7 ≈ 53% / 47% (esquerda um pouco maior) */
@media (min-width: 768px) { .bento { grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 1rem; } }

.bento-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: relative; overflow: hidden; transition: all 0.4s var(--ease-out); }
.bento-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.bento-row-full { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .bento-col-1 { grid-column: span 8; }
  .bento-col-2 { grid-column: span 7; }
}

/* About: Core Skills + Education — coluna única, mesma largura, gap uniforme */
.about-cards-row {
  display: flex;
  flex-direction: column;
  gap: var(--two-xl);
  margin-top: var(--two-xl);
  margin-bottom: var(--two-xl);
  width: 100%;
  align-items: stretch;
}
.about-cards-row > .bento-card {
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
}

/* Bento intro (full-width card) */
.bento-intro { display: flex; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.bento-intro .intro-lead { font-size: 1.05rem; color: var(--text); line-height: 1.65; flex: 1 1 280px; margin: 0; }
.bento-intro .intro-lead strong, .bento-intro .intro-lead span { font-weight: 700; }
.bento-intro p { font-size: 0.95rem; color: var(--text2); line-height: 1.65; flex: 1 1 280px; margin: 0; }
.bento-intro p strong { color: var(--accent); font-weight: 600; }

/* Bento card internal elements */
.bento-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.bento-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1rem;
  flex-shrink: 0;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(112, 214, 255, 0.12);
}
.bento-badge { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 0.2rem 0.6rem; background: var(--accent-dim); color: var(--accent); border-radius: 9999px; margin-left: auto; }
.bento-title { font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 0 0 0.25rem; font-family: var(--font-heading); letter-spacing: -0.3px; }
.bento-sub { font-size: 0.85rem; color: var(--accent); margin: 0 0 0.75rem; font-weight: 500; }
.bento-desc { font-size: 0.9rem; color: var(--text2); line-height: 1.65; margin: 0 0 0.75rem; }
.bento-desc strong { color: var(--text); font-weight: 600; }
.bento-tools-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.55;
}
.bento-tools-list li { margin-bottom: 0.35rem; }
.bento-tools-list strong { color: var(--text); font-weight: 600; }
.bento-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }

.bento-stats { display: flex; gap: 1.5rem; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--border); justify-content: center; align-items: center; }
.mini-stat { text-align: center; }
.mini-num { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1; margin-bottom: 0.15rem; display: block; }
.mini-label { font-size: 0.7rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.3px; }

/* Pills (skills) */
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.8rem; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 9999px; font-size: 0.8rem; color: var(--text2); transition: all 0.25s var(--ease-out); white-space: nowrap; }
.pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.pill i { font-size: 0.7rem; }

/* Education grid (legacy / other pages) */
.edu-grid { display: grid; gap: 0.75rem; margin-top: 0.75rem; }
@media (min-width: 500px) { .edu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 800px) { .edu-grid { grid-template-columns: repeat(4, 1fr); } }
.edu-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.9rem; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 12px; transition: all 0.25s var(--ease-out); }
.edu-item:hover { border-color: var(--border-hover); }
.edu-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); border-radius: 8px; color: var(--accent); font-size: 0.85rem; flex-shrink: 0; margin-top: 1px; }
.edu-item div { display: flex; flex-direction: column; gap: 0.15rem; }
.edu-item div strong { font-size: 0.85rem; color: var(--text); }
.edu-item div span { font-size: 0.7rem; color: var(--text3); }

/* Education & Certifications — matches bento + pill surfaces */
.edu-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
@media (min-width: 900px) {
  .edu-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}
.edu-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.edu-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}
.edu-card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(112, 214, 255, 0.12);
  flex-shrink: 0;
}
.edu-card-text { min-width: 0; flex: 1; }
.edu-card-degree {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.35;
  margin: 0 0 0.35rem;
}
.edu-card-inst {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text2);
  margin: 0 0 0.5rem;
}
.edu-card-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  color: var(--text3);
  margin: 0;
  padding-top: 0.45rem;
  border-top: 1px solid var(--border);
}

/* ============================================================ */
/* TIMELINE / EXPERIENCE                                          */
/* ============================================================ */
.timeline { position: relative; padding-left: 2rem; }
@media (min-width: 768px) { .timeline { padding-left: 3rem; } }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(112, 214, 255, 0.22); }
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -0.625rem; top: 0.3rem; width: 11px; height: 11px; background: var(--accent); border: 2px solid var(--bg); border-radius: 50%; box-shadow: 0 0 8px var(--accent-dim); }
@media (min-width: 768px) { .timeline-dot { left: -1.625rem; } }
.timeline-content { padding: 1.25rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; transition: all 0.4s var(--ease-out); }
.timeline-content:hover { border-color: var(--border-hover); transform: translateX(4px); }
.timeline-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.timeline-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); letter-spacing: -0.3px; font-family: var(--font-heading); }
.timeline-company { font-size: 0.9rem; color: var(--accent); display: flex; align-items: center; gap: 0.5rem; }
.timeline-date { font-size: 0.75rem; font-family: var(--font-mono); color: var(--accent); background: rgba(112,214,255,0.08); padding: 0.25rem 0.6rem; border-radius: 6px; white-space: nowrap; border: 1px solid rgba(112,214,255,0.12); }
.timeline-desc { font-size: 0.9rem; color: #c8c8c9; line-height: 1.65; margin-bottom: 0.75rem; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { font-size: 0.75rem; font-family: var(--font-mono); padding: 0.2rem 0.5rem; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 4px; color: #b4b4b8; transition: all 0.3s; }
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================ */
/* PROJECTS                                                       */
/* ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-btn { padding: 0.45rem 1rem; background: transparent; border: 1px solid var(--border); border-radius: 9999px; color: var(--text3); font-size: 0.85rem; font-weight: 500; font-family: var(--font-body); cursor: pointer; transition: all 0.3s var(--ease-out); }
.filter-btn:hover { border-color: var(--border-hover); color: var(--text2); }
.filter-btn.active { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600; }
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: all 0.3s var(--ease-out); position: relative; }
.project-card:hover { border-color: var(--border-hover); box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(112,214,255,0.03); transform: translateY(-4px); }
/* Card inteiro é um único link; ícone de detalhe fica dentro do <a> para hover/clique coerentes */
.project-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 14px;
  cursor: pointer;
}
.project-card-hit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.project-card-detail-icon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  pointer-events: auto;
}
.project-card:hover .project-card-detail-icon {
  opacity: 1;
  transform: translateY(0);
}
.project-card-detail-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #f5f5f5;
  font-size: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.project-image { height: 200px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.project-image--solid {
  background: var(--project-surface, #18181b) !important;
}
.project-icon-wrap {
  font-size: 3rem;
  color: rgba(255,255,255,0.15);
  position: relative;
  z-index: 0;
  pointer-events: none;
}
.project-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s var(--ease-out); z-index: 3; }
.project-card:hover .project-overlay { opacity: 1; }
.project-content { padding: 1.25rem; }
.project-content--minimal {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.project-card-lead {
  font-size: 0.78rem;
  color: var(--text3);
  line-height: 1.45;
  margin: 0;
  letter-spacing: 0.01em;
}
.project-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.2;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag.tag--stack {
  font-weight: 600;
  color: var(--accent);
  border-color: rgba(112, 214, 255, 0.28);
  background: rgba(112, 214, 255, 0.07);
  letter-spacing: 0.02em;
}

/* ============================================================ */
/* SERVICES                                                       */
/* ============================================================ */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { padding: 1.5rem 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; position: relative; overflow: hidden; transition: all 0.4s var(--ease-out); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.service-number { font-family: var(--font-heading); font-size: 2.75rem; font-weight: 900; color: rgba(112, 214, 255, 0.5); line-height: 1; margin-bottom: 0.75rem; }
.service-icon { font-size: 1.25rem; color: var(--accent); margin-bottom: 0.75rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; font-family: var(--font-heading); }
.service-card > p { font-size: 0.88rem; color: var(--text2); line-height: 1.55; margin-bottom: 1rem; }
.service-list { list-style: none; }
.service-list li { font-size: 0.85rem; color: var(--text2); padding: 0.4rem 0; border-bottom: 1px solid var(--border); display: flex; gap: 0.5rem; }
.service-list li::before { content: '→'; color: var(--accent); font-weight: 600; }

/* ============================================================ */
/* CONTACT                                                        */
/* ============================================================ */
#contact .contact-header {
  margin-bottom: 1.5rem;
}
#contact .contact-header .section-tag {
  margin-bottom: 1rem;
}
#contact .contact-header .section-title {
  margin: 0;
}
.contact-info-top {
  grid-area: info;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    'info'
    'form'
    'lower'
    'social';
  gap: 1.5rem;
  align-items: start;
}
.contact-form-column {
  grid-area: form;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.contact-links--lower {
  grid-area: lower;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      'info form'
      'lower social';
    gap: 0.75rem clamp(1.75rem, 4vw, 2.75rem);
    align-items: stretch;
  }
  .contact-form-column {
    height: 100%;
  }
  .contact-form-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .contact-form .form-group--message {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .contact-form .form-group--message textarea {
    flex: 1;
    min-height: 8rem;
  }
}
.contact-desc {
  font-size: 1rem;
  color: var(--text2);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.contact-links { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-links--primary {
  margin-bottom: 0;
}
.contact-links--social {
  grid-area: social;
}
.contact-links--lower .contact-link,
.contact-links--social .contact-link {
  min-width: 0;
}
.contact-link { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; transition: all 0.3s var(--ease-out); color: var(--text2); text-decoration: none; }
.contact-link:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-link-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); border-radius: 10px; color: var(--accent); font-size: 1rem; flex-shrink: 0; }
.contact-link-label { font-size: 0.7rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-link-value { font-size: 0.95rem; color: var(--text); font-weight: 500; }

/* WhatsApp */
.whatsapp-link {
  border-color: rgba(37, 211, 102, 0.22);
  background: rgba(37, 211, 102, 0.09);
}
.whatsapp-link:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.14);
  transform: translateX(4px);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.15);
}
.whatsapp-link .contact-link-icon { background: rgba(37,211,102,0.15); color: #25D366; }
.whatsapp-link:hover .contact-link-icon { background: #25D366; color: #fff; box-shadow: 0 0 12px rgba(37,211,102,0.4); }

/* Footer */
.footer { padding: 2rem 0; border-top: 1px solid var(--border); position: relative; z-index: 2; }
.footer-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-text { font-size: 0.85rem; color: var(--text3); }
.back-to-top { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; color: var(--accent); transition: all 0.3s var(--ease-out); }
.back-to-top:hover { border-color: var(--accent); transform: translateY(-3px); }

/* Mobile responsive */
@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  .hero-actions .btn { width: 100%; }
  .contact-form .btn { width: 100%; }
  .contact-layout { gap: 2rem; }
  .edu-grid { grid-template-columns: 1fr !important; }
  .bento-stats { flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
}

/* Contact form (detailed) */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-sizing: border-box;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group {
  position: relative;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text3);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text3);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ============================================================ */
/* THEME — light mode                                             */
/* ============================================================ */
[data-theme="light"] {
  --bg: #f4f4f5;
  --bg-raised: #e4e4e7;
  --bg-card: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.14);
  --accent-dim: rgba(2, 132, 199, 0.12);
  --text: #18181b;
  --text2: #52525b;
  --text3: #71717a;
  --btn-primary-fg: #fafafa;
}
[data-theme="light"] .gradient-text {
  color: #0284c7;
}
[data-theme="light"] {
  --accent: #0284c7;
}
[data-theme="light"] .bg-dots {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='0.6' fill='rgba(0,0,0,0.06)'/%3E%3C/svg%3E");
}
[data-theme="light"] .orb-1 { background: rgba(2, 132, 199, 0.12); }
[data-theme="light"] .orb-2 { background: rgba(2, 132, 199, 0.09); }
[data-theme="light"] .orb-3 { background: rgba(2, 132, 199, 0.07); }
[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .nav-tool-btn {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .nav-tool-btn:hover {
  border-color: rgba(2, 132, 199, 0.35);
  background: rgba(2, 132, 199, 0.08);
}
[data-theme="light"] .nav-link {
  color: var(--text2);
  opacity: 0.75;
}
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--text);
  opacity: 1;
}
[data-theme="light"] .available-badge {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] #loader {
  background: var(--bg);
}
[data-theme="light"] .service-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .tag.tag--stack {
  border-color: rgba(2, 132, 199, 0.25);
  background: rgba(2, 132, 199, 0.06);
}
[data-theme="light"] .service-number {
  color: rgba(2, 132, 199, 0.45);
}
[data-theme="light"] ::selection {
  background: rgba(2, 132, 199, 0.22);
  color: var(--text);
}

/* ============================================================ */
/* Bibata-style cursor (SVG from ful1e5/Bibata_Cursor, GPL-3.0)   */
/* ============================================================ */
.custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10002;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  will-change: transform;
}
body.has-custom-cursor.is-cursor-ready .custom-cursor {
  opacity: 1;
}
body.custom-cursor--text .custom-cursor {
  opacity: 0 !important;
}
.custom-cursor__bibata {
  width: 32px;
  height: 32px;
  margin-left: -6px;
  margin-top: -6px;
  pointer-events: none;
  user-select: none;
  transform-origin: 6px 6px;
  transition: transform 0.14s var(--ease-out);
  background-repeat: no-repeat;
  background-size: 32px 32px;
  background-position: 0 0;
}
body.has-custom-cursor.cursor-hover .custom-cursor__bibata {
  transform: scale(1.07);
}
@media (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor [role="button"],
  body.has-custom-cursor .nav-tool-btn,
  body.has-custom-cursor label {
    cursor: none !important;
  }
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select {
    cursor: text !important;
  }
}
@media (pointer: coarse) {
  .custom-cursor { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .custom-cursor__bibata {
    transition: none;
  }
}

/* Instagram contact card */
.contact-link--instagram {
  border-color: rgba(225, 48, 108, 0.25);
  background: rgba(225, 48, 108, 0.06);
}
.contact-link--instagram:hover {
  border-color: #e1306c;
  box-shadow: 0 0 24px rgba(225, 48, 108, 0.12);
}
.contact-link--instagram .contact-link-icon {
  background: #e1306c;
  color: #fff;
}
.contact-link--instagram:hover .contact-link-icon {
  box-shadow: 0 0 16px rgba(221, 42, 123, 0.45);
}

/* GitHub & LinkedIn — same card pattern as WhatsApp / Instagram */
.contact-link--github {
  border-color: rgba(36, 41, 47, 0.35);
  background: rgba(36, 41, 47, 0.1);
}
.contact-link--github:hover {
  border-color: #30363d;
  transform: translateX(4px);
  box-shadow: 0 0 22px rgba(36, 41, 47, 0.25);
}
.contact-link--github .contact-link-icon {
  background: rgba(36, 41, 47, 0.35);
  color: #f0f6fc;
}
.contact-link--github:hover .contact-link-icon {
  background: #24292f;
  color: #fff;
  box-shadow: 0 0 14px rgba(36, 41, 47, 0.45);
}
.contact-link--linkedin {
  border-color: rgba(10, 102, 194, 0.3);
  background: rgba(10, 102, 194, 0.08);
}
.contact-link--linkedin:hover {
  border-color: #0a66c2;
  transform: translateX(4px);
  box-shadow: 0 0 22px rgba(10, 102, 194, 0.18);
}
.contact-link--linkedin .contact-link-icon {
  background: rgba(10, 102, 194, 0.18);
  color: #70b5f9;
}
.contact-link--linkedin:hover .contact-link-icon {
  background: #0a66c2;
  color: #fff;
  box-shadow: 0 0 14px rgba(10, 102, 194, 0.45);
}
[data-theme="light"] .contact-link--github {
  border-color: rgba(36, 41, 47, 0.14);
  background: rgba(36, 41, 47, 0.04);
}
[data-theme="light"] .contact-link--linkedin {
  border-color: rgba(10, 102, 194, 0.2);
  background: rgba(10, 102, 194, 0.06);
}
[data-theme="light"] .whatsapp-link {
  border-color: rgba(37, 211, 102, 0.28);
  background: rgba(37, 211, 102, 0.11);
}
[data-theme="light"] .whatsapp-link:hover {
  background: rgba(37, 211, 102, 0.16);
}
[data-theme="light"] .tag {
  background: var(--bg-raised);
  border-color: var(--border);
  color: #52525b;
}
[data-theme="light"] .tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}
[data-theme="light"] .timeline-date {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.15);
  color: var(--accent);
}
[data-theme="light"] .timeline-dot {
  border-color: var(--bg);
}
[data-theme="light"] .timeline-content:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .bento-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .project-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), 0 0 30px rgba(2, 132, 199, 0.04);
}
[data-theme="light"] .hamburger-line {
  background: var(--text2);
}
[data-theme="light"] .nav-links.open {
  background: var(--bg-card);
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .filter-btn.active {
  background: var(--accent);
  color: #fff;
}
[data-theme="light"] .pill {
  background: var(--bg-card);
  border-color: var(--border);
}
[data-theme="light"] .pill:hover {
  background: var(--accent-dim);
}
[data-theme="light"] .edu-card {
  background: var(--bg-card);
}
[data-theme="light"] .edu-card:hover {
  background: #fff;
}
[data-theme="light"] .contact-form-wrap {
  background: var(--bg-card);
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: #fff;
}
[data-theme="light"] .contact-link {
  background: var(--bg-card);
}
[data-theme="light"] .contact-link:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .back-to-top {
  background: var(--bg-card);
}
[data-theme="light"] .scroll-wheel {
  background: var(--accent);
}
[data-theme="light"] .badge-dot {
  box-shadow: 0 0 10px #22c55e;
}
