/* site-theme.css
   Replica del tema visual público de https://vichada.corpofuturo.org
   Fuente: landing.html (captura outerHTML real, 2026-07-24).
   Uso: landing pública (templates/landing.html). No aplica a las pantallas
   internas autenticadas (esas usan el navbar Bootstrap estándar de base.html).
*/

* {
  box-sizing: border-box;
}

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #4a6741 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

body.landing-body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.hero-section {
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%25" height="100%25" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modern-btn {
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  font-size: 1.1rem;
  margin: 0.5rem;
}

.btn-primary-modern {
  background: var(--success-gradient);
  color: #fff;
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

.btn-outline-modern {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-modern:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.modern-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.section-modern {
  padding: 8rem 0;
  position: relative;
}

.feature-icon {
  width: 90px;
  height: 90px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.feature-icon.icon-1 { background: var(--primary-gradient); }
.feature-icon.icon-2 { background: var(--secondary-gradient); }
.feature-icon.icon-3 { background: var(--success-gradient); }

.feature-card {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: none;
}

.feature-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.feature-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.functionality-item {
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.functionality-item:hover {
  transform: translateX(15px);
  color: #667eea;
}

.functionality-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: 1.5rem;
  font-size: 1.4rem;
}

.section-title {
  font-size: 4rem;
  font-weight: 900;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  color: #718096;
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 5rem;
  font-weight: 300;
}

.cta-section {
  background: var(--dark-gradient);
  padding: 8rem 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.5;
}

.floating-element {
  position: absolute;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(5deg); }
}

.hero-image { position: relative; z-index: 2; }

.hero-image img {
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  width: 100%;
  height: auto;
}

.hero-image:hover img { transform: scale(1.05) rotate(2deg); }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator i { font-size: 2rem; color: rgba(255, 255, 255, 0.7); }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.footer-corpofuturo {
  background: #0b1020;
  color: #cbd5e1;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 2.5rem; }
  .modern-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    display: block;
    margin: 0.5rem 0;
    text-align: center;
  }
  .section-modern { padding: 4rem 0; }
  .functionality-item { padding: 1rem 0; }
  .functionality-item:hover { transform: none; }
}
