/* ====================================================================
   FURLAN DIGITAL — Tech Remodel Layer
   Capa de modernización: grid animado, glassmorphism, tipografía tech,
   glow effects. Se carga DESPUÉS de styles.css para sobreescribir.
   ==================================================================== */

/* ============ GRID TECNOLÓGICO DE FONDO ============ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(198, 156, 109, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 156, 109, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  animation: grid-drift 30s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 52px 52px; }
}

/* ============ CURSOR GLOW (solo desktop) ============ */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 156, 109, 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.08s linear;
}

/* ============ TIPOGRAFÍA TECH ============ */
/* Titulares pasan de serif elegante a Inter bold con tracking apretado */
.hero h1,
.section-title,
.cta-title,
.page-hero-title,
.projects-hero-title,
.mini-about-title,
.featured-project-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -2px;
}

/* Acentos: de itálica serif a gradiente dorado (estilo AI/tech) */
.hero h1 .accent,
.section-title .accent,
.cta-title .accent,
.page-hero-title .accent,
.projects-hero-title .accent {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(120deg, #c69c6d 0%, #e9cda4 50%, #c69c6d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Tagline del proyecto en mono (techy) */
.featured-project-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* ============ GLASSMORPHISM ============ */
.service-card,
.cred-card,
.project-card,
.team-card,
.story-content,
.cta-box,
.mini-about-container,
.featured-project-container,
.info-box {
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ============ GLOW EFFECTS ============ */
.btn-primary {
  box-shadow: 0 0 28px rgba(198, 156, 109, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 12px 44px rgba(198, 156, 109, 0.45);
}

.service-card:hover,
.cred-card:hover,
.project-card:hover,
.team-card:hover {
  box-shadow: 0 0 0 1px var(--dorado), 0 20px 60px rgba(198, 156, 109, 0.18);
}

/* ============ STATS EN MONO ============ */
.featured-stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
}

/* ============ SCREENSHOTS DEL PROYECTO ============ */
/* Las imágenes de Teras ya vienen con mockup y fondo propio (4:5) */
.phone-frame {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  padding: 0;
  border: 1px solid var(--dorado-border);
}

.phone-frame img {
  border-radius: 17px;
}

/* ============ HERO TAG ESTILO TERMINAL ============ */
.hero-tag {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  #cursor-glow {
    display: none;
  }

  body::after {
    background-size: 36px 36px;
  }

  .hero h1,
  .section-title,
  .cta-title,
  .page-hero-title,
  .projects-hero-title {
    letter-spacing: -1px;
  }
}
