/* public/css/landingFichaje.css */

:root {
  --fichaje-bg-dark: #242424;
  --fichaje-bg-darker: #1a1a2e;
  --fichaje-primary: #3764ed;
  --fichaje-primary-light: #5a82f5;
  --fichaje-text: #ffffff;
  --fichaje-text-muted: rgba(255, 255, 255, 0.75);
  --fichaje-border: rgba(255, 255, 255, 0.1);
}

.fichaje-landing {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  background: var(--fichaje-bg-dark);
  color: var(--fichaje-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.fichaje-landing * {
  box-sizing: border-box;
}

.fichaje-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.fichaje-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(36, 36, 36, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--fichaje-border);
  padding: 16px 0;
}

.fichaje-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fichaje-header-logo img {
  height: 40px;
  filter: drop-shadow(0 2px 8px rgba(55, 100, 237, 0.3));
}

.fichaje-nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--fichaje-primary);
  color: white !important;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fichaje-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(55, 100, 237, 0.4);
  color: white;
}

.fichaje-nav-cta svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* HERO */
.fichaje-hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.fichaje-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 100, 237, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.fichaje-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(55, 100, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 100, 237, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

.fichaje-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.fichaje-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(55, 100, 237, 0.15);
  border: 1px solid var(--fichaje-primary);
  color: var(--fichaje-primary-light);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.fichaje-hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--fichaje-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(55, 100, 237, 0.2);
  animation: fichaje-pulse-dot 2s infinite;
}

@keyframes fichaje-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(55, 100, 237, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(55, 100, 237, 0); }
}

.fichaje-landing h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: white;
}

.fichaje-landing h1 .accent,
.fichaje-landing h2 .accent {
  color: var(--fichaje-primary);
}

.fichaje-hero-sub {
  font-size: 20px;
  color: var(--fichaje-text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

.fichaje-hero-sub strong {
  color: var(--fichaje-text);
  font-weight: 700;
}

.fichaje-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
}

.fichaje-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--fichaje-primary);
  color: white !important;
  padding: 22px 32px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 12px 40px rgba(55, 100, 237, 0.35);
}

.fichaje-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(55, 100, 237, 0.5);
  color: white;
}

.fichaje-btn-primary svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.fichaje-hero-trust {
  display: flex;
  gap: 24px;
  color: var(--fichaje-text-muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.fichaje-hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fichaje-hero-trust .check {
  color: var(--fichaje-primary-light);
  font-weight: 800;
}

/* Hero visual */
.fichaje-hero-visual {
  position: relative;
  height: 480px;
}

.fichaje-hero-card {
  position: absolute;
  background: linear-gradient(135deg, rgba(55, 100, 237, 0.15) 0%, rgba(55, 100, 237, 0.05) 100%);
  border: 1px solid rgba(55, 100, 237, 0.3);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.fichaje-hero-card-1 {
  top: 0;
  right: 0;
  width: 320px;
  transform: rotate(3deg);
}

.fichaje-hero-card-2 {
  bottom: 60px;
  left: -20px;
  width: 280px;
  transform: rotate(-2deg);
  background: linear-gradient(135deg, var(--fichaje-primary) 0%, #2548b8 100%);
  border-color: var(--fichaje-primary);
}

.fichaje-hero-card .card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fichaje-text-muted);
  margin-bottom: 8px;
  font-weight: 700;
}

.fichaje-hero-card-2 .card-label {
  color: rgba(255, 255, 255, 0.7);
}

.fichaje-hero-card .card-stat {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  color: white;
}

.fichaje-hero-card .card-substat {
  font-size: 14px;
  opacity: 0.85;
  color: white;
}

.fichaje-hero-card .card-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.fichaje-hero-card .card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: white;
}

.fichaje-hero-card .card-list li:first-child {
  border: none;
}

.fichaje-hero-card .dot-green {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
}

/* SECCIONES */
.fichaje-section {
  padding: 100px 0;
  position: relative;
}

.fichaje-section-alt {
  background: var(--fichaje-bg-darker);
}

.fichaje-section-label {
  display: inline-block;
  color: var(--fichaje-primary-light);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

.fichaje-landing h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 800px;
  color: white;
}

.fichaje-section-intro {
  font-size: 19px;
  color: var(--fichaje-text-muted);
  max-width: 700px;
  margin-bottom: 60px;
}

/* Problema */
.fichaje-problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fichaje-problem-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--fichaje-border);
  border-radius: 20px;
  padding: 36px 32px;
}

.fichaje-problem-icon {
  width: 56px;
  height: 56px;
  background: rgba(55, 100, 237, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.fichaje-problem-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
  color: white;
}

.fichaje-problem-card p {
  color: var(--fichaje-text-muted);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

/* Solución */
.fichaje-solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fichaje-solution-num {
  font-size: 64px;
  font-weight: 900;
  color: var(--fichaje-primary);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.fichaje-solution-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: white;
}

.fichaje-solution-card p {
  color: var(--fichaje-text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Testimonio */
.fichaje-testimonial {
  background: linear-gradient(135deg, rgba(55, 100, 237, 0.12) 0%, rgba(55, 100, 237, 0.04) 100%);
  border: 1px solid rgba(55, 100, 237, 0.25);
  border-radius: 24px;
  padding: 48px;
  max-width: 900px;
  position: relative;
  margin-top: 24px;
}

.fichaje-testimonial::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 32px;
  font-size: 120px;
  color: var(--fichaje-primary);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.4;
}

.fichaje-testimonial-text {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
  position: relative;
  padding-left: 50px;
  color: white;
}

.fichaje-testimonial-author {
  padding-left: 50px;
  color: var(--fichaje-text-muted);
  font-size: 16px;
}

.fichaje-testimonial-author strong {
  color: var(--fichaje-text);
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

/* Demo proceso */
.fichaje-demo-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.fichaje-demo-step {
  text-align: center;
  position: relative;
}

.fichaje-demo-step::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 30px;
  font-size: 28px;
  color: var(--fichaje-primary);
  font-weight: 800;
}

.fichaje-demo-step:last-child::after {
  display: none;
}

.fichaje-demo-step-num {
  width: 60px;
  height: 60px;
  background: var(--fichaje-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(55, 100, 237, 0.4);
  color: white;
}

.fichaje-demo-step h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: white;
}

.fichaje-demo-step p {
  font-size: 14px;
  color: var(--fichaje-text-muted);
  margin: 0;
}

/* FAQ — sobreescribe Bootstrap */
.fichaje-accordion {
  max-width: 800px;
}

.fichaje-accordion-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--fichaje-border) !important;
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
}

.fichaje-accordion-item .accordion-button {
  background: transparent !important;
  color: white !important;
  font-weight: 700;
  font-size: 18px;
  padding: 24px 32px;
  box-shadow: none !important;
}

.fichaje-accordion-item .accordion-button:not(.collapsed) {
  background: rgba(55, 100, 237, 0.08) !important;
  color: white !important;
}

.fichaje-accordion-item .accordion-button::after {
  filter: invert(1) brightness(2);
}

.fichaje-accordion-item .accordion-body {
  color: var(--fichaje-text-muted);
  padding: 0 32px 24px;
  background: transparent;
}

/* CTA Final */
.fichaje-cta-final {
  background: linear-gradient(135deg, var(--fichaje-primary) 0%, #2548b8 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.fichaje-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.fichaje-cta-final .fichaje-container {
  position: relative;
  z-index: 1;
}

.fichaje-cta-final h2 {
  color: white;
  margin: 0 auto 16px;
  text-align: center;
  max-width: 100%;
}

.fichaje-cta-final p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.fichaje-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: white;
  color: var(--fichaje-primary) !important;
  padding: 24px 40px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 24px;
  transition: transform 0.2s;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.fichaje-btn-white:hover {
  transform: translateY(-3px);
  color: var(--fichaje-primary);
}

.fichaje-btn-white svg {
  width: 28px;
  height: 28px;
  fill: var(--fichaje-primary);
}

.fichaje-cta-final-note {
  margin-top: 32px !important;
  font-size: 16px !important;
  opacity: 0.85;
}

/* Footer */
.fichaje-footer {
  background: #131320;
  padding: 60px 0 24px;
  border-top: 1px solid var(--fichaje-border);
  color: var(--fichaje-text-muted);
}

.fichaje-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.fichaje-footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.fichaje-footer-text {
  font-size: 14px;
  max-width: 400px;
  line-height: 1.5;
}

.fichaje-footer-title {
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.fichaje-footer-contact a,
.fichaje-footer-legal a {
  display: block;
  color: var(--fichaje-text-muted);
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
  transition: color 0.2s;
}

.fichaje-footer-contact a:hover,
.fichaje-footer-legal a:hover {
  color: white;
}

.fichaje-footer-bottom {
  border-top: 1px solid var(--fichaje-border);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
}

/* Sticky mobile CTA */
.fichaje-mobile-cta {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .fichaje-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fichaje-hero-visual {
    height: 380px;
    margin-top: 20px;
  }

  .fichaje-problems,
  .fichaje-solutions {
    grid-template-columns: 1fr;
  }

  .fichaje-demo-process {
    grid-template-columns: 1fr 1fr;
  }

  .fichaje-demo-step::after {
    display: none;
  }

  .fichaje-testimonial {
    padding: 32px 24px;
  }

  .fichaje-testimonial-text,
  .fichaje-testimonial-author {
    padding-left: 0;
  }

  .fichaje-testimonial-text {
    font-size: 20px;
  }

  .fichaje-testimonial::before {
    display: none;
  }

  .fichaje-nav-cta span {
    display: none;
  }

  .fichaje-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--fichaje-primary);
    color: white !important;
    padding: 16px 24px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 200;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
  }

  .fichaje-mobile-cta svg {
    width: 22px;
    height: 22px;
    fill: white;
  }

  body.fichaje-landing {
    padding-bottom: 70px;
  }

  .fichaje-section {
    padding: 60px 0;
  }

  .fichaje-hero {
    padding: 40px 0 60px;
  }

  .fichaje-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
