/* --- IDENTIDADE VISUAL: TECH PRO BLUE --- */
:root {
  --bg-body: #0f172a;
  /* Slate 900 */
  --bg-surface: #1e293b;
  /* Slate 800 */
  --primary: #3b82f6;
  /* Azul Royal */
  --accent: #06b6d4;
  /* Ciano */
  --text-main: #f8fafc;
  /* Branco */
  --text-muted: #94a3b8;
  /* Cinza */
  --border: rgba(148, 163, 184, 0.1);
  --font-title: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  scroll-behavior: smooth;
}

/* Ajuste para scroll não esconder títulos atrás do menu */
html {
  scroll-padding-top: 90px;
}

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

/* Scrollbar Customizada */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 5px;
  border: 2px solid var(--bg-body);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Seleção de Texto */
::selection {
  background: var(--primary);
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.1rem;
  color: var(--text-muted);
  letter-spacing: -0.5px;
  font-family: 'Fira Code', monospace;
}

.logo-name {
  font-weight: 700;
  color: var(--text-main);
  margin-left: 5px;
}

.logo-tag {
  color: var(--accent);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

.nav-links a:hover {
  color: var(--primary);
}

.btn-nav {
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 6px;
  color: var(--text-main) !important;
}

.btn-nav:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
}

.mobile-menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}

/* HERO SECTION */
.hero {
  padding: 140px 0 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bio {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #2563eb;
}

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

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

.stats-row {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

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

.stat strong {
  color: var(--text-main);
  font-size: 1.1rem;
  display: block;
}

/* HERO VISUAL (Glass Card) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.glass-card {
  width: 300px;
  height: 360px;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.avatar-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: bottom;
}

.bg-blur {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary);
  opacity: 0.2;
  filter: blur(100px);
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Ícones Flutuantes */
.floating-badge {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--bg-surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  animation: float 3s infinite ease-in-out;
}

.badge-java {
  top: -20px;
  right: -10px;
  color: #f89820;
  animation-delay: 0s;
}

.badge-react {
  bottom: 30px;
  left: -20px;
  color: #61DAFB;
  animation-delay: 1.5s;
}

.badge-spring {
  top: 20px;
  left: -25px;
  color: #6db33f;
  animation-delay: 0.8s;
}

.badge-js {
  bottom: 100px;
  right: -25px;
  color: #f0db4f;
  animation-delay: 2.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* SEÇÃO SOBRE */
.section {
  padding: 100px 0;
}

.about-section {
  background: linear-gradient(180deg, var(--bg-body) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.about-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-badge {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.soft-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.margin-top {
  margin-top: 20px;
}

/* CERTIFICAÇÕES */
.certs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.certs-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-main);
  border-left: 4px solid var(--primary);
  padding-left: 16px;
  font-family: var(--font-title);
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 16px;
  transition: 0.3s;
}

.cert-card:hover {
  transform: translateX(10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cert-icon {
  font-size: 2rem;
  background: rgba(59, 130, 246, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.cert-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}

.cert-info p {
  margin: 4px 0 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* TECH STACK (Centralizado) */
.center-text {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  display: block;
  line-height: 1.5;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tech-box {
  background: var(--bg-surface);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-box:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-box h3 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  width: 100%;
  text-align: center;
}

.icons-wrapper {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.icons-wrapper i {
  font-size: 3rem;
  transition: 0.3s;
  cursor: help;
}

.icons-wrapper i:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

/* SEÇÃO PROJETOS (ALINHAMENTO PERFEITO) */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  gap: 40px;
  flex-wrap: wrap;
}

.header-text {
  max-width: 650px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  background: transparent;
  transition: 0.3s ease;
  white-space: nowrap;
  height: fit-content;
}

.link-more:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
  color: #fff;
}

/* GRID DE PROJETOS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.project-card {
  background: var(--bg-surface);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* CABEÇALHO DO CARD (ÍCONE + TÍTULO + TAG) */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
}

.icon-bg {
  font-size: 1.8rem;
  margin-right: 8px;
  margin-top: -2px;
}

.project-card h3 {
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.3;
  flex: 1;
  font-family: var(--font-title);
  color: #fff;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
}

.tag-highlight {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 30px;
  border-left: 1px solid var(--border);
  /* Linha divisória fina */
  height: 24px;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  /* Cor apagada padrão */
  cursor: pointer;
  transition: 0.3s;
  padding: 4px 8px;
  border-radius: 4px;
}

.lang-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

/* O botão ativo fica Azul e Brilhante */
.lang-btn.active {
  color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.divider {
  color: var(--border);
  font-size: 0.8rem;
}

/* Ajuste Mobile para Idioma */
@media (max-width: 900px) {
  nav {
    gap: 0;
    /* No mobile a nav muda */
  }

  .lang-switch {
    margin-right: 20px;
    /* Afasta do ícone sanduíche */
    border-left: none;
    /* Tira a linha no mobile */
    padding-left: 0;
  }
}

/* --- SEÇÃO MEU IMPACTO / DIFERENCIAIS (Adicione isso no CSS) --- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: var(--bg-surface);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;

  /* --- AS MUDANÇAS PARA CENTRALIZAR --- */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centraliza o Ícone (Horizontalmente) */
  text-align: center;
  /* Centraliza o Texto */
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.15);
}

/* Efeito ao passar o mouse no card inteiro */
.value-card:hover .value-icon {
  background: var(--accent);
  color: #fff;
  /* Ícone fica branco */
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  /* Brilho forte */
  transform: scale(1.1);
  border-color: var(--accent);
}

/* Fundo com gradiente sutil no hover */
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 40%);
  opacity: 0;
  transition: 0.3s;
}

.value-card:hover::before {
  opacity: 1;
}

/* Estilo do Ícone (Emoji) */
.value-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  background: rgba(15, 23, 42, 0.6);
  /* Fundo escuro */
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  /* Borda suave Ciano */
  color: var(--accent);
  /* A cor mágica (Ciano Neon) */
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.15);
  /* Brilho suave */
  transition: 0.3s;
}

.value-card h3 {
  font-family: var(--font-title);
  color: var(--text-main);
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* IMAGEM DO PROJETO */
.proj-img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Correção específica para prints Java Desktop */
.java-screen-fix {
  object-fit: contain;
  background-color: #1e1e1e;
  padding: 4px;
  border: 2px solid var(--border);
}

.java-screen-fix:hover {
  transform: scale(1.02);
  transition: 0.3s;
}

/* Descrição e Footer */
.project-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: auto;
}

.techs {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 50%;
}

.project-links {
  display: flex;
  gap: 10px;
  /* Espaço entre os botões */
  align-items: center;
}

.link-item {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* Espaço entre ícone e texto */
  transition: all 0.2s ease;

  /* O Segredo da Igualdade: Tamanho Fixo */
  height: 36px;
  min-width: 90px;
  /* Largura mínima para não espremer */
  padding: 0 16px;
  border-radius: 6px;
  line-height: 1;
  border: 1px solid transparent;
  /* Borda invisível para alinhar */
}

.link-item.code {
  color: var(--text-muted);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.link-item.code:hover {
  color: #fff;
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

/* Botão Live (Estilo Cheio/Sólido) */
.link-item.live {
  color: #fff;
  background: var(--primary);
  /* Azul forte */
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  /* Sombra suave */
}

.link-item.live:hover {
  background: #2563eb;
  /* Azul mais escuro no hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
}

.highlight-card {
  border: 1px solid var(--primary);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), var(--bg-surface));
  position: relative;
}

/* CONTATO */
.contact-section {
  text-align: center;
}

.contact-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--border);
  padding: 60px;
  border-radius: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-box h2 {
  font-size: 2.2rem;
  /* Diminui um pouco (era 2.5rem) */
  margin-bottom: 16px;
  font-family: var(--font-title);
  line-height: 1.2;
  /* Melhora o espaçamento entre linhas */
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.contact-form {
  margin-top: 30px;
  width: 100%;
}

.input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: #0b1120;
  border: 1px solid #334155;
  color: #f8fafc;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #64748b;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3b82f6;
  background-color: #101a30;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.btn.full {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 10px;
}

/* FOOTER */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

.socials a {
  margin-left: 20px;
  color: var(--text-main);
  font-size: 1.6rem;
}

/* EXTRAS */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

#backToTop.show-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--accent);
  transform: translateY(-5px);
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
  outline: none;
}

body:focus {
  outline: none;
}

@media (max-width: 600px) {
  .contact-box h2 {
    font-size: 1.8rem;
  }
}

/* --- MOBILE RESPONSIVE (FINAL & CORRETO) --- */
@media (max-width: 900px) {

  /* 1. TRAVA GERAL DA TELA */
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
  }

  .container {
    padding: 0 20px;
    width: 100%;
  }

  /* 2. CORREÇÃO DO TÍTULO GIGANTE */
  h1 {
    font-size: 2rem !important;
    line-height: 1.2;
    word-wrap: break-word;
  }

  .hero-text {
    text-align: center;
    width: 100%;
  }

  /* 3. AJUSTE DO CARD DA FOTO */
  .hero-visual {
    order: -1;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    transform: scale(0.85);
  }

  .glass-card {
    width: 75vw;
    max-width: 260px;
    height: 300px;
  }

  .bg-blur {
    width: 70vw;
    height: 70vw;
  }

  /* 4. ÍCONES FLUTUANTES (Trazendo para dentro) */
  .badge-java {
    right: -10px;
    top: -15px;
  }

  .badge-react {
    left: -10px;
    bottom: 30px;
  }

  .badge-spring {
    left: -10px;
    top: 10px;
  }

  .badge-js {
    right: -10px;
    bottom: 80px;
  }

  /* 5. ALINHAMENTOS GERAIS */
  .hero-grid,
  .about-grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-buttons,
  .stats-row,
  .contact-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .tech-grid,
  .input-group {
    grid-template-columns: 1fr;
  }

  .link-more {
    width: 100%;
    justify-content: center;
  }

  /* MENU MOBILE */
  .nav-links {
    display: none;
  }

  .mobile-menu-icon {
    display: block;
    color: #fff;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--primary);
  }

  /* FOOTER MOBILE */
  .footer-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    align-items: center;
  }

  .socials {
    padding-top: 10px;
  }

  .socials a {
    margin: 0 8px;
  }
}

