/* ═══════════════════════════════════════════════════
   PARKING SPACE — Estilos Principales
   SPACE PROGRAM S.A.S © 2026
   ═══════════════════════════════════════════════════ */

/* ───── VARIABLES DE COLOR ───── */
:root {
  --white:        #ffffff;
  --sky:          #e0f2fe;
  --sky-mid:      #bae6fd;
  --celeste:      #38bdf8;
  --celeste-dark: #0ea5e9;
  --blue:         #0284c7;
  --blue-deep:    #0369a1;
  --navy:         #0c4a6e;
  --text-dark:    #0f172a;
  --text-mid:     #334155;
  --text-light:   #64748b;
  --card-bg:      #f8fcff;
  --border:       #e0f2fe;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════
   NAVEGACIÓN
   ═══════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--blue);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.nav-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--celeste-dark);
  color: white;
  border-radius: 10px;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--celeste-dark);
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--blue) !important;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 40%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky);
  border: 1px solid var(--sky-mid);
  color: var(--blue);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fadeDown 0.6s ease both;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--navy);
  margin-bottom: 24px;
  animation: fadeDown 0.7s ease 0.1s both;
}

.hero h1 .highlight {
  color: var(--celeste-dark);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--celeste), var(--celeste-dark));
  border-radius: 4px;
  opacity: 0.35;
  z-index: -1;
}

.hero p {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeDown 0.7s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown 0.7s ease 0.3s both;
}

/* ═══════════════════════════════════════════════════
   BOTONES
   ═══════════════════════════════════════════════════ */
.btn-primary {
  background: var(--celeste-dark);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.35);
  font-family: 'Outfit', sans-serif;
}

.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
  background: white;
  color: var(--blue);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--border);
  transition: all 0.25s;
  font-family: 'Outfit', sans-serif;
}

.btn-secondary:hover {
  border-color: var(--celeste);
  background: var(--sky);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════
   BARRA DE ESTADÍSTICAS
   ═══════════════════════════════════════════════════ */
.stats-bar {
  background: var(--navy);
  padding: 28px 60px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; color: white; }

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--celeste);
  display: block;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════
   SECCIONES — BASE
   ═══════════════════════════════════════════════════ */
section { padding: 100px 60px; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--celeste-dark);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   FUNCIONES / FEATURES
   ═══════════════════════════════════════════════════ */
.features-section { background: #f8fcff; }

.features-header {
  text-align: center;
  margin-bottom: 70px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--celeste), var(--celeste-dark));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(14, 165, 233, 0.12);
  border-color: var(--celeste);
}

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

.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--sky), var(--sky-mid));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 14px;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.feature-list li::before {
  content: '—';
  color: var(--celeste-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════
   TARIFAS
   ═══════════════════════════════════════════════════ */
.tarifas-section { background: white; }

.tarifas-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tarifas-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tarifa-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.tarifa-card:hover {
  background: linear-gradient(135deg, var(--sky), var(--sky-mid));
  border-color: var(--celeste);
  transform: scale(1.04);
}

.tarifa-card.featured {
  background: linear-gradient(135deg, var(--celeste-dark), var(--blue));
  border-color: var(--blue);
  color: white;
  grid-column: span 2;
}

.tarifa-card .t-icon { font-size: 28px; margin-bottom: 10px; }

.tarifa-card .t-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

.tarifa-card.featured .t-name { color: white; }

.tarifa-card .t-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

.tarifa-card.featured .t-desc { color: rgba(255, 255, 255, 0.8); }

/* ═══════════════════════════════════════════════════
   TICKET PREVIEW
   ═══════════════════════════════════════════════════ */
.ticket-section {
  background: linear-gradient(160deg, var(--navy) 0%, #0c3a5e 100%);
  position: relative;
  overflow: hidden;
}

.ticket-section::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.ticket-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ticket-text .section-title { color: white; }
.ticket-text .section-label { color: var(--celeste); }
.ticket-text .section-sub   { color: rgba(255, 255, 255, 0.65); }

.ticket-mock {
  background: white;
  border-radius: 20px;
  padding: 32px 28px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #1e293b;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  position: relative;
}

.ticket-mock::before {
  content: '';
  display: block;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--celeste-dark) 0,
    var(--celeste-dark) 10px,
    transparent 10px,
    transparent 20px
  );
  margin-bottom: 20px;
  border-radius: 2px;
}

.ticket-mock::after {
  content: '';
  display: block;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--celeste-dark) 0,
    var(--celeste-dark) 10px,
    transparent 10px,
    transparent 20px
  );
  margin-top: 20px;
  border-radius: 2px;
}

.ticket-line {
  text-align: center;
  margin-bottom: 4px;
  line-height: 1.6;
}

.ticket-line.bold  { font-weight: 700; font-size: 14px; }
.ticket-line.big   { font-size: 18px; font-weight: 900; color: var(--blue); }
.ticket-line.sep   { color: #94a3b8; letter-spacing: 1px; margin: 8px 0; }
.ticket-line.left  { text-align: left; }
.ticket-line.price { font-weight: 700; font-size: 15px; color: var(--blue-deep); }

.barcode-mock {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 16px 0;
  align-items: flex-end;
  height: 40px;
}

.bar {
  background: #1e293b;
  border-radius: 1px;
}

/* ═══════════════════════════════════════════════════
   REPORTES
   ═══════════════════════════════════════════════════ */
.reportes-section { background: #f8fcff; }

.reportes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.reportes-header {
  text-align: center;
  margin-bottom: 60px;
}

.reportes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reporte-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
}

.reporte-card:hover {
  box-shadow: 0 16px 48px rgba(14, 165, 233, 0.1);
  border-color: var(--celeste);
  transform: translateY(-4px);
}

.reporte-number {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--celeste-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.reporte-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.reporte-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   USUARIOS
   ═══════════════════════════════════════════════════ */
.usuarios-section { background: white; }

.usuarios-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.permisos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.permiso-item {
  background: var(--sky);
  border: 1px solid var(--sky-mid);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

.permiso-item:hover {
  background: linear-gradient(135deg, var(--celeste-dark), var(--blue));
  border-color: var(--blue);
}

.permiso-item:hover .p-name { color: white; }
.permiso-item:hover .p-icon { background: rgba(255, 255, 255, 0.2); }

.p-icon {
  width: 40px; height: 40px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.p-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}

/* ═══════════════════════════════════════════════════
   REQUISITOS
   ═══════════════════════════════════════════════════ */
.requisitos-section {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.requisitos-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

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

.req-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}

.req-card:hover {
  border-color: var(--celeste);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.12);
}

.req-icon { font-size: 32px; margin-bottom: 12px; }

.req-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.req-val {
  font-size: 13px;
  color: var(--text-light);
}

/* ═══════════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--celeste-dark), var(--blue-deep));
  text-align: center;
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '🅿️';
  position: absolute;
  font-size: 300px;
  opacity: 0.04;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
}

.cta-contacts {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 32px 60px;
  font-size: 13px;
}

footer span { color: var(--celeste); }

/* ═══════════════════════════════════════════════════
   ANIMACIONES
   ═══════════════════════════════════════════════════ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MÓVIL
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section { padding: 70px 24px; }
  .stats-bar { padding: 28px 24px; gap: 40px; }

  .tarifas-inner,
  .ticket-inner,
  .usuarios-inner { grid-template-columns: 1fr; gap: 40px; }

  .reportes-grid { grid-template-columns: 1fr; }
  .tarifas-visual { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 70px 24px; }
}
