/* =======================================================
   JAREK · NEOTECH CORPORATE PORTFOLIO
   =======================================================*/

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
}

/* =======================================================
   PALETA & THEME
   =======================================================*/
:root {
  --bg-0: #02040b;
  --bg-1: #050814;
  --bg-2: #090e1c;

  --accent: #00e1ff;
  --accent-soft: rgba(0, 225, 255, 0.18);
  --accent-strong: #00b3e0;

  --text-main: #e8edf7;
  --text-muted: #8f9ab3;
  --text-soft: #717b96;

  --glass: rgba(255, 255, 255, 0.03);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(0, 225, 255, 0.25);

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
}

/* =======================================================
   BODY BACKGROUND · TECH MOOD
   =======================================================*/
body {
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 225, 255, 0.18), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(0, 82, 255, 0.26), transparent 55%),
    linear-gradient(145deg, var(--bg-0), var(--bg-1) 40%, var(--bg-2) 100%);
  color: var(--text-main);
}

/* Canvas de fondo para efectos 3D / partículas */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.45;
}

/* Capa sutil de grid tech */
body::before {
  content: "";
  position: fixed;
  inset: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 0.5px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mix-blend-mode: soft-light;
  opacity: 0.16;
  z-index: -1;
  pointer-events: none;
}

/* =======================================================
   ANIMACIONES GLOBALES
   =======================================================*/
@keyframes fadeUp {
  0% {
    transform: translateY(18px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.fade-up {
  animation: fadeUp 0.9s ease forwards;
}

/* Intro fade out */
@keyframes fadeOutIntro {
  0%,
  90% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Loader movimiento */
@keyframes loaderRun {
  0% {
    transform: translateX(-150%);
  }
  100% {
    transform: translateX(150%);
  }
}

/* Flicker del logo de intro */
@keyframes flicker {
  0% {
    opacity: 0.65;
  }
  100% {
    opacity: 1;
  }
}

/* Holograma sweep */
@keyframes holoSweep {
  0% {
    transform: translateY(-120%);
  }
  100% {
    transform: translateY(120%);
  }
}

/* =======================================================
   INTRO · NEOTECH CORPORATE V2
=======================================================*/
#intro {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: radial-gradient(circle at 50% 20%, #07101f 0%, #03060e 55%, #000 100%);
  z-index: 9999;

  /* Fade-out más elegante */
  animation: fadeOutIntro 3s ease forwards 2.6s;
}

/* Sutil pulsación global del intro */
#intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 225, 255, 0.12), transparent 70%);
  filter: blur(60px);
  opacity: 0.4;
  animation: introPulse 3.6s ease-in-out infinite alternate;
}

@keyframes introPulse {
  0% { opacity: 0.35; transform: scale(1); }
  100% { opacity: 0.55; transform: scale(1.05); }
}

/* Texto principal */
#intro-text {
  text-align: center;
  animation: introFadeUp 1.4s ease forwards;
  transform: translateY(20px);
  opacity: 0;
}

@keyframes introFadeUp {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}

#intro-text span {
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 14px;

  background: linear-gradient(90deg, var(--accent), #e8fbff, var(--accent));
  -webkit-background-clip: text;
  color: transparent;

  text-shadow: 0 0 28px rgba(0, 225, 255, 0.35);
}

/* Subtítulo más fino */
#intro-text small {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0.8;
}

/* Loader V2 · Línea de datos */
#intro-loader {
  position: relative;
  width: 240px;
  height: 5px;
  margin-top: 34px;
  border-radius: 999px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 225, 255, 0.18);

  box-shadow: 0 0 20px rgba(0, 225, 255, 0.18);
}

/* Stream animado */
#intro-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 225, 255, 0.7),
    transparent
  );
  width: 120%;
  animation: loaderStream 1.6s infinite ease-in-out;
}

@keyframes loaderStream {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}

/* Fade-out elegante */
@keyframes fadeOutIntro {
  0%, 85% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}


/* =======================================================
   HEADER · NEOTECH CORPORATE REFINED
=======================================================*/
#header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  padding: 12px 8%;
  display: flex;
  align-items: center;
  gap: 18px;

  /* Más elegante y fino */
  backdrop-filter: blur(18px);
  background: rgba(5, 8, 18, 0.68);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 120;

  /* Light line glow */
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

/* LOGO: Ahora es limpio, sin borde cuadrado */
.logo-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-box img {
  width: 58px;             /* Más grande y elegante */
  height: auto;            /* Mantiene proporción natural */
  object-fit: contain;

  filter:
    drop-shadow(0 0 12px rgba(0, 225, 255, 0.35))
    drop-shadow(0 0 26px rgba(0, 225, 255, 0.12));

  transition: filter 0.25s ease;
}

/* Hover profesional (apenas perceptible, muy corporativo) */
.logo-box img:hover {
  filter:
    drop-shadow(0 0 18px rgba(0, 225, 255, 0.5))
    drop-shadow(0 0 32px rgba(0, 225, 255, 0.18));
}

.logo-box h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-main);

  /* Glow ultra sutil */
  text-shadow: 0 0 10px rgba(0, 225, 255, 0.18);
}

.subtitle {
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}


/* =======================================================
   LAYOUT GENERAL · NEOTECH CORPORATE REFINED
=======================================================*/

/* Espacio superior por el header */
main {
  padding-top: 15px;
}

/* Sección base */
.section {
  padding: 90px 10% 110px;
  position: relative;

  /* Elegancia: profundidad sutil */
  backdrop-filter: blur(2px);
}

/* Línea divisoria entre secciones (más premium) */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;

  /* Más sutil, más elegante, más caro */
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.06),
    transparent
  );
  opacity: 1;
}

/* Quitar la línea en la primera sección */
.hero-section::before {
  display: none;
}

/* -------------------------------------------------------
   TITULOS · Nueva versión premium
-------------------------------------------------------*/

/* Título principal de sección */
.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  /* Gradient elegante */
  background: linear-gradient(
    90deg,
    var(--accent),
    #dffaff,
    var(--accent)
  );
  -webkit-background-clip: text;
  color: transparent;

  margin-bottom: 20px;

  /* Glow fino y corporativo */
  text-shadow: 0 0 20px rgba(0, 225, 255, 0.25);
}

/* Descripción introductoria */
.section-intro {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.85;

  color: var(--text-muted);
  margin-bottom: 42px;

  /* Elegancia extra: ligera transparencia */
  opacity: 0.9;
}

/* =======================================================
   HERO · NEOTECH CORPORATE V4 (ULTRA CLEAN)
=======================================================*/

#hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 60px;
  align-items: center;

  padding-top: 90px;     /* Ajustado: elimina el vacío arriba */
  padding-bottom: 140px;

  position: relative;
}

/* Luz ambiental suavemente centrada */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 50% 40%, rgba(0, 225, 255, 0.12), transparent 65%),
    radial-gradient(circle at 80% 70%, rgba(0, 120, 255, 0.10), transparent 60%);

  filter: blur(35px);
  opacity: 0.55;
  z-index: -1;
}

/* =======================================================
   COLUMNA IZQUIERDA — INFORMACIÓN
=======================================================*/

.hero-info {
  max-width: 640px;
  opacity: 0;
  animation: fadeUpHero 1.2s ease forwards;
}

@keyframes fadeUpHero {
  0% { transform: translateY(22px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 18px;
  opacity: 0.85;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
  color: var(--text-main);
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, var(--accent), #e9fbff, var(--accent-strong));
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(0, 225, 255, 0.25);
}

.hero-info p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.9;
}

/* =======================================================
   META CARDS (Información rápida estilo sistema)
=======================================================*/

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0 32px;
}

.meta-card {
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(0, 225, 255, 0.05));
  border: 1px solid rgba(0, 225, 255, 0.14);
  backdrop-filter: blur(18px);
  min-width: 200px;

  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Shine elegante */
.meta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(0, 225, 255, 0.05), transparent);
  transform: translateX(-120%);
  animation: cardShine 6s infinite ease-in-out;
}

@keyframes cardShine {
  0% { transform: translateX(-120%); }
  40% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.meta-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 225, 255, 0.3);
  box-shadow: 0 16px 45px rgba(0, 225, 255, 0.18);
}

.meta-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.meta-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

/* =======================================================
   BOTONES CTA
=======================================================*/

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 36px;
  border-radius: 999px;

  border: 1px solid rgba(0, 225, 255, 0.15);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #00141b;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;

  box-shadow: 0 18px 45px rgba(0, 225, 255, 0.35);

  transition: 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 26px 60px rgba(0, 225, 255, 0.45);
}

/* =======================================================
   COLUMNA DERECHA — HOLOGRAMA
=======================================================*/

.hero-holo {
  max-width: 430px;
  opacity: 0;
  animation: holoFade 1.3s ease-out forwards;
}

/* ANIMACIÓN SUAVE, SIN CUADRADOS NI BORDES */
@keyframes holoFade {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
    filter: blur(8px);
  }
  60% {
    opacity: 0.7;
    transform: scale(1.01) translateY(2px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* Marco holográfico refinado */
.hero-holo-frame {
  position: relative;
  border-radius: 30px;
  padding: 5px;

  background:
    radial-gradient(circle at 0 0, rgba(0, 225, 255, 0.35), transparent 65%),
    radial-gradient(circle at 100% 100%, rgba(0, 120, 255, 0.3), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 225, 255, 0.18));

  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85);
}

/* Imagen principal */
#holo-img {
  width: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;

  /* más limpio, más natural */
  filter: saturate(1.05) contrast(1.05);
}

/* Overlay elegante (sin barrido cuadrado) */
#holo-overlay {
  position: absolute;
  inset: 5px;
  border-radius: 24px;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(0, 225, 255, 0.08),
    transparent 75%
  );

  mix-blend-mode: screen;
  opacity: 0.55;
}

/* =======================================================
   ESTADO
=======================================================*/

.hero-status {
  margin-top: 20px;
  padding: 12px 18px;

  border-radius: 999px;
  background: rgba(6, 12, 28, 0.9);

  border: 1px solid rgba(0, 225, 255, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8);

  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 13px;
  color: var(--text-muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;

  background: #00ffb6;
  box-shadow: 0 0 18px rgba(0, 255, 200, 0.9);
}


/* =======================================================
   TIMELINE · NEOTECH CORPORATE V5 (ULTRA CLEAN)
=======================================================*/

#sobre-mi .timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 50px;
}

/* Línea principal */
#sobre-mi .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22px;

  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(0, 225, 255, 0.18),
    rgba(0, 150, 255, 0.18),
    rgba(0, 225, 255, 0.1)
  );
}

/* Timeline item */
.tl-item {
  position: relative;
  margin-bottom: 55px;
  animation: tlFade 0.75s ease forwards;
  opacity: 0;
}

.tl-item:nth-child(odd) { animation-delay: 0.15s; }
.tl-item:nth-child(even) { animation-delay: 0.25s; }

@keyframes tlFade {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Dot del timeline */
.tl-dot {
  position: absolute;
  left: -4px;
  top: 3px;

  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);

  box-shadow:
    0 0 10px rgba(0, 225, 255, 0.45),
    0 0 20px rgba(0, 225, 255, 0.18);
}

/* Año */
.tl-year {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: var(--accent);
  margin-bottom: 10px;
  padding-left: 20px;
}

/* Texto sin cajas – estilo corporativo */
.tl-item p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 820px;

  padding-left: 20px;
  padding-right: 20px;

  /* En lugar de caja completa → solo borde lateral */
  border-left: 2px solid rgba(0, 225, 255, 0.12);

  transition: 0.25s ease;
}

/* Glow al pasar el mouse */
.tl-item p:hover {
  border-left-color: rgba(0, 225, 255, 0.35);
  color: var(--text-main);
  transform: translateX(4px);
}


/* =======================================================
   SERVICIOS · NEOTECH CORPORATE PRO
=======================================================*/

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 35px;
}

/* CARD */
.service-card {
  padding: 32px 30px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);

  position: relative;
  overflow: hidden;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);

  transition: 0.28s ease;
}

/* Gradiente diagonal sutil */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 225, 255, 0.06),
    transparent
  );
  transition: 0.35s ease;
  opacity: 0;
}

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

/* Hover */
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 225, 255, 0.2);
  box-shadow: 0 26px 55px rgba(0, 225, 255, 0.18);
}

/* ICONO premium */
.service-card i {
  width: 50px;
  height: 50px;
  font-size: 21px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  color: var(--accent);

  background: rgba(0, 225, 255, 0.08);
  border: 1px solid rgba(0, 225, 255, 0.18);

  box-shadow: 0 0 18px rgba(0, 225, 255, 0.12);

  margin-bottom: 18px;
}

/* TÍTULO */
.service-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;

  margin-bottom: 12px;
}

/* TEXTO */
.service-card p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 95%;
}


/* =======================================================
   TECNOLOGÍAS / STACK · NEOTECH CORPORATE PRO
=======================================================*/

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  margin-top: 35px;
}

/* CHIP */
.tech-item {
  padding: 14px 20px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);

  backdrop-filter: blur(14px);

  position: relative;
  overflow: hidden;

  transition: 0.28s ease;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

/* brillo diagonal */
.tech-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 225, 255, 0.07),
    transparent
  );
  opacity: 0;
  transition: 0.35s ease;
}

.tech-item:hover::before {
  opacity: 1;
}

/* icono */
.tech-item i {
  font-size: 18px;
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(0, 225, 255, 0.3));
}

/* hover */
.tech-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 225, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 225, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}


/* =======================================================
   APPS / MINI HERRAMIENTAS · NEOTECH CORPORATE PRO
=======================================================*/

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 35px;
}

/* CARD */
.app-card {
  padding: 30px 28px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);

  color: var(--text-main);
  text-decoration: none;

  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);

  transition: 0.28s ease;
  display: flex;
  flex-direction: column;
}

/* Brillo diagonal */
.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(0, 225, 255, 0.06),
    transparent
  );
  opacity: 0;
  transition: 0.35s ease;
}

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

/* Hover principal */
.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 225, 255, 0.22);
  box-shadow: 0 26px 55px rgba(0, 225, 255, 0.20);
  background: rgba(255, 255, 255, 0.06);
}

/* ICONO encapsulado */
.app-card i {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  font-size: 22px;
  color: var(--accent);

  background: rgba(0, 225, 255, 0.08);
  border: 1px solid rgba(0, 225, 255, 0.18);

  box-shadow: 0 0 18px rgba(0, 225, 255, 0.14);

  margin-bottom: 18px;
}

/* TÍTULO DE LA APP */
.app-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  color: var(--text-main);
}

/* DESCRIPCIÓN */
.app-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 95%;
}


/* =======================================================
   PROYECTOS DESTACADOS · NEOTECH CASE STUDIES PRO
=======================================================*/

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 35px;
}

/* CARD */
.project-card {
  padding: 34px 30px;
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);

  position: relative;
  overflow: hidden;
  transition: 0.28s ease;
}

/* Brillo diagonal */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(0, 225, 255, 0.06),
    transparent
  );
  opacity: 0;
  transition: 0.35s ease;
}

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

/* Hover */
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 225, 255, 0.22);
  box-shadow: 0 26px 60px rgba(0, 225, 255, 0.18);
}

/* TÍTULO */
.project-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

/* DESCRIPCIÓN */
.project-card p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 14px;
  max-width: 95%;
}

/* LISTA */
.project-card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 6px;
}

.project-card li {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
  line-height: 1.7;
}

/* Bullet premium */
.project-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0, 225, 255, 0.8);
}

/* =========================================================
   GITHUB CAROUSEL · NEOTECH GLASS V7 ULTRA
========================================================= */

.github-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 36px;
  padding-inline: 4px;
}

/* Carrusel */
.github-carousel {
  flex: 1;
  display: flex;
  gap: 26px;
  padding: 16px 10px 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.github-carousel::-webkit-scrollbar { display: none; }

/* =========================================================
   CARD GLASS — V7 Ultra
========================================================= */

.github-card {
  min-width: 310px;
  max-width: 310px;
  padding: 32px 28px;
  border-radius: 26px;

  /* Glass premium */
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);

  /* Sombra profunda + neón muy suave */
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.5),
    0 0 12px rgba(0, 225, 255, 0.12);

  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  transition: 0.35s ease;
}

/* CAPA DE BRILLO LATERAL */
.github-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,225,255,0.03),
    rgba(255,255,255,0.08),
    rgba(0,225,255,0.03)
  );
  opacity: 0;
  transition: 0.4s ease;
}

/* REFLEJO ESPECULAR SUTIL */
.github-card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.06) 0%,
    transparent 70%
  );
  transform: rotate(25deg);
  opacity: 0.18;
  pointer-events: none;
}

/* Hover — modo holograma */
.github-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(0,225,255,0.28);
  box-shadow:
    0 25px 65px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(0, 225, 255, 0.22);
}

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

/* =========================================================
   Typography
========================================================= */

.github-card h4 {
  color: var(--accent);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.github-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Lenguaje */
.gh-lang {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 12px;

  background: rgba(0, 225, 255, 0.10);
  border: 1px solid rgba(0, 225, 255, 0.25);
  color: var(--text-main);

  box-shadow: 0 0 10px rgba(0,225,255,0.18);
  margin-bottom: 16px;
}

/* Link */
.gh-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent2);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
}

.gh-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* =========================================================
   Flechas del carrusel (Glass Buttons)
========================================================= */

.gh-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  width: 48px;
  height: 48px;
  border-radius: 14px;
  cursor: pointer;

  color: var(--text-main);
  font-size: 18px;

  backdrop-filter: blur(16px) saturate(180%);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.16);

  box-shadow:
    0 6px 20px rgba(0,0,0,0.45),
    0 0 12px rgba(0,225,255,0.18);

  transition: 0.3s ease;
  z-index: 20;
}

.gh-btn:hover {
  background: rgba(0,225,255,0.14);
  border-color: rgba(0,225,255,0.35);
  transform: translateY(-50%) scale(1.08);
  box-shadow:
    0 8px 28px rgba(0,0,0,0.55),
    0 0 18px rgba(0,225,255,0.26);
}

.gh-left  { left: -5px; }
.gh-right { right: -5px; }

/* =========================================================
   Skeleton Loader Glass V7
========================================================= */

.github-skeleton {
  min-width: 310px;
  height: 210px;
  border-radius: 26px;

  background: linear-gradient(110deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.09),
    rgba(255,255,255,0.03)
  );
  animation: lightSweep 1.4s infinite linear;

  backdrop-filter: blur(18px) saturate(160%);
}

@keyframes lightSweep {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}


/* =======================================================
   CTA FINAL · NEOTECH EXECUTIVE PRO
=======================================================*/

#cta {
  width: 100%;
  padding: 110px 0 120px;
  text-align: center;
  position: relative;
}

/* Línea superior para separar sección */
#cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  opacity: 0.85;
}

/* TÍTULO */
#cta h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 18px;

  background: linear-gradient(
    90deg,
    var(--accent),
    #eafeff,
    var(--accent)
  );
  -webkit-background-clip: text;
  color: transparent;

  text-shadow: 0 0 22px rgba(0, 225, 255, 0.25);
}

/* TEXTO */
#cta p {
  max-width: 760px;
  margin: 0 auto 38px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* CONTENEDOR DE BOTONES */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

/* BOTÓN PRINCIPAL */
.cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 42px;
  border-radius: 999px;

  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #00141b;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  border: 1px solid transparent;
  text-decoration: none;

  box-shadow: 0 20px 55px rgba(0, 225, 255, 0.28);

  transition: 0.28s ease;
}

.cta-main:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 26px 60px rgba(0, 225, 255, 0.38);
}

/* BOTÓN SECUNDARIO (opcional) */
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 34px;
  border-radius: 999px;

  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-main);

  backdrop-filter: blur(12px);
  transition: 0.28s ease;
}

.cta-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 225, 255, 0.18);
  color: var(--accent);
}

/* =======================================================
   FOOTER · NEOTECH ULTRA PREMIUM
=======================================================*/

#footer {
  width: 100%;
  padding: 70px 0 55px;
  text-align: center;

  background: linear-gradient(
    180deg,
    rgba(5, 7, 15, 0.0),
    rgba(2, 3, 8, 0.85) 40%,
    rgba(2, 3, 8, 1)
  );

  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;

  backdrop-filter: blur(6px);
}

/* Glow sutil arriba del footer */
#footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 225, 255, 0.20),
    transparent
  );
  opacity: 0.7;
}

/* ÍCONOS */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-icon {
  font-size: 26px;
  color: var(--accent);

  text-decoration: none;

  padding: 12px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(10px);

  transition: 0.28s ease;
}

.footer-icon:hover {
  transform: translateY(-4px);
  color: #e9ffff;

  border-color: rgba(0, 225, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);

  box-shadow: 0 14px 35px rgba(0, 225, 255, 0.15);
}

/* TEXTO PRINCIPAL */
#footer p {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

/* TEXTO SECUNDARIO */
.footer-small {
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.05em;
  opacity: 0.75;
}

/* =======================================================
   RESPONSIVE · NEOTECH EXECUTIVE PRO
=======================================================*/

/* ——————————————————————————
   Laptops medianos / Tablets horizontales
   —————————————————————————— */
@media (max-width: 1040px) {

  /* HERO */
  #hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 140px;
    text-align: center;
  }

  .hero-info {
    margin: 0 auto;
  }

  .hero-holo {
    margin: 0 auto;
    max-width: 340px;
  }
}

/* ——————————————————————————
   Tablets verticales / Phones grandes
   —————————————————————————— */
@media (max-width: 780px) {

  /* HEADER */
  #header {
    padding-inline: 6%;
    justify-content: flex-start;
    gap: 12px;
  }

  main {
    padding-top: 96px;
  }

  /* SECCIONES */
  .section {
    padding-inline: 6%;
  }

  .section::before {
    left: 6%;
    right: 6%;
  }

  .section-title {
    font-size: 24px;
    text-align: center;
  }

  .section-intro {
    max-width: 90%;
    margin: 0 auto 38px;
    font-size: 15px;
    text-align: center;
  }

  /* HERO */
  .hero-title {
    font-size: 32px;
    line-height: 1.25;
  }

  .hero-meta {
    justify-content: center;
    gap: 12px;
  }

  .meta-card {
    flex: 1 1 140px;
    min-width: 0;
  }

  /* GRIDS — se vuelven columnas limpias */
  .services-grid,
  .apps-grid,
  .projects-list {
    grid-template-columns: 1fr;
  }

  /* MUSIC PANEL */
  .music-panel {
    padding: 40px 30px;
  }

  .music-panel h4 {
    text-align: center;
  }
}

/* ——————————————————————————
   Phones pequeños
   —————————————————————————— */
@media (max-width: 520px) {

  /* HEADER */
  #header {
    gap: 12px;
  }

  .logo-box img {
    width: 36px;
    height: 36px;
  }

  .logo-box h1 {
    font-size: 14px;
  }

  .subtitle {
    font-size: 11.5px;
  }

  /* TITULOS */
  .section-title {
    font-size: 20px;
  }

  /* HERO */
  .hero-title {
    font-size: 26px;
  }

  .hero-info p {
    font-size: 15px;
    line-height: 1.75;
  }

  /* CTA buttons */
  .cta-main,
  .cta-secondary {
    width: 100%;
  }

  /* Status */
  .hero-status {
    width: 100%;
    justify-content: center;
  }

  /* Music embed */
  .music-embed iframe {
    height: 300px;
  }
}