/* ============================================
   index.css — Estilos Corporativos DIP
   Desarrollo Integral de Proyectos
   Estructuras • Cálculo • Diseño • Consultoría
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Fira+Code:wght@400;500;600&display=swap');

:root {
  --color-navy-dark: #050d18;
  --color-navy-base: #0a192f;
  --color-navy-card: #0d223d;
  --color-navy-border: #1a365d;
  --color-gold-light: #f6d365;
  --color-gold-base: #d4af37;
  --color-gold-dark: #9b7234;
  --color-gold-accent: #c59b27;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-navy-dark);
  color: #e2e8f0;
  scroll-behavior: smooth;
}

.heading-font {
  font-family: 'Montserrat', sans-serif;
}

.code-font {
  font-family: 'Fira Code', monospace;
}

/* Background blueprint grid pattern */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
}

.bg-radial-glow {
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.09) 0%, rgba(13, 34, 61, 0.3) 40%, transparent 70%);
}

/* Metallic Gold text and gradients */
.gold-gradient-text {
  background: linear-gradient(135deg, #fce08b 0%, #d4af37 45%, #b38728 80%, #ecc94b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #f6d365 0%, #d4af37 50%, #996515 100%);
}

.gold-gradient-btn {
  background: linear-gradient(135deg, #f3d068 0%, #d4af37 50%, #b8860b 100%);
  color: #071220;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gold-gradient-btn:hover {
  background: linear-gradient(135deg, #fae294 0%, #e5be48 50%, #ca961b 100%);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.gold-border-glow {
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
}

.gold-border-glow:hover {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

/* Glass card styling */
.glass-card-navy {
  background: rgba(13, 34, 61, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(26, 54, 93, 0.8);
  transition: all 0.3s ease;
}

.glass-card-navy:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(5, 13, 24, 0.6);
}

/* Pillar Card in Gold/Navy */
.pillar-card {
  position: relative;
  background: linear-gradient(145deg, rgba(13, 34, 61, 0.85) 0%, rgba(9, 23, 41, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.12), 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

/* Hero Showcase Frame */
.hero-banner-frame {
  position: relative;
  border-radius: 1.25rem;
  padding: 4px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.6) 0%, rgba(26, 54, 93, 0.8) 50%, rgba(212, 175, 55, 0.3) 100%);
  box-shadow: 0 20px 50px rgba(5, 13, 24, 0.8), 0 0 35px rgba(212, 175, 55, 0.15);
}

/* QR Code Container Frame */
.qr-frame {
  background: #ffffff;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
  border: 2px solid #d4af37;
}

/* Animations */
@keyframes pulseSlow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.05); }
}

.animate-pulse-slow {
  animation: pulseSlow 6s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #050d18;
}

::-webkit-scrollbar-thumb {
  background: #1a365d;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}
