/* SmartTalent — Estilos de la Landing Page Oficial
   Identidad visual: Violeta / Rosa elegante (#c084fc, #a855f7, #f43f5e), fondo corporativo oscuro con volumen 3D
*/
:root {
  --bg: #0c0818;
  --bg-card: #15102a;
  --bg-card-alt: #1e173a;
  --line: #2d2152;
  --line-light: #3f2e73;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --talent-purple: #d946ef;
  --talent-violet: #c026d3;
  --talent-rose: #f43f5e;
  --talent-pink: #f472b6;
  --talent-glow: rgba(192, 132, 252, 0.35);

  --radius: 24px;
  --nav-h: 68px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(192, 132, 252, 0.16), transparent),
    radial-gradient(circle 500px at 15% 40%, rgba(168, 85, 247, 0.1), transparent),
    radial-gradient(circle 500px at 85% 65%, rgba(244, 63, 94, 0.08), transparent);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  top: -999px;
  left: 20px;
  background: var(--talent-purple);
  color: #0c0818;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 999;
}
.skip:focus {
  top: 20px;
}

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(840px, 100% - 32px);
  margin-inline: auto;
}

.grad-talent {
  background: linear-gradient(135deg, #c084fc 0%, #f472b6 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: var(--talent-purple);
  margin-bottom: 14px;
}

/* ───────── Tarjetas con Volumen 3D ───────── */
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-card-alt), var(--bg-card));
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), border-color 0.25s, box-shadow 0.25s;
}
.card::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.card > * {
  position: relative;
  z-index: 1;
}

/* ───────── Botones 3D Talent ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn--lg {
  min-height: 56px;
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 18px;
}
.btn--sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 14px;
}
.btn--block {
  width: 100%;
}
.btn--primary {
  color: #0c0818;
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #f43f5e 100%);
  box-shadow: 0 5px 0 #7e22ce, 0 14px 28px rgba(168, 85, 247, 0.35);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 50%, #f472b6 100%);
  box-shadow: 0 5px 0 #7e22ce, 0 18px 36px rgba(192, 132, 252, 0.5);
}
.btn--primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #7e22ce;
}
.btn--glass {
  color: #fff;
  background: linear-gradient(160deg, var(--bg-card-alt), var(--bg-card));
  border: 1px solid var(--line);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn--glass:hover {
  border-color: var(--talent-purple);
  color: var(--talent-purple);
}
.btn--glass:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

/* ───────── Barra de Navegación ───────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(12, 8, 24, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(45, 33, 82, 0.6);
  transition: background 0.3s;
}
.nav__inner {
  width: min(1160px, 100% - 32px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav__brand span b {
  color: var(--talent-purple);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover {
  color: #fff;
}
.nav__burger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #0c0818;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
}

/* ───────── Hero ───────── */
.hero {
  padding: 70px 0 50px;
}
.hero__grid {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}
.hero__sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(192, 132, 252, 0.08);
  border: 1px solid rgba(192, 132, 252, 0.25);
  color: #f3e8ff;
}

/* Mockup de Talento */
.talent-mockup {
  position: relative;
}
.talent-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, #1e173a, #15102a);
  border: 1px solid rgba(192, 132, 252, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 40px rgba(192, 132, 252, 0.15);
}
.talent-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.talent-card__badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--talent-purple);
  letter-spacing: 0.5px;
}
.talent-card__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.talent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(12, 8, 24, 0.6);
  border: 1px solid var(--line);
  font-size: 0.82rem;
}
.talent-row b {
  color: #fff;
}
.talent-pill {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}
.talent-pill--high {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.talent-pill--prog {
  background: rgba(192, 132, 252, 0.2);
  color: #e9d5ff;
  border: 1px solid rgba(192, 132, 252, 0.4);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ───────── Secciones Genéricas ───────── */
.sec {
  padding: 80px 0;
}
.sec--alt {
  background: rgba(15, 10, 30, 0.5);
  border-top: 1px solid rgba(45, 33, 82, 0.4);
  border-bottom: 1px solid rgba(45, 33, 82, 0.4);
}
.sec__head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 50px;
}
.sec__head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 14px;
}
.sec__head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Grilla de Pilares HR */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.pillar-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pillar-card__ico {
  font-size: 2.2rem;
  line-height: 1;
}
.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  padding: 22px 24px;
  cursor: pointer;
}
.faq-item summary {
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--talent-purple);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Formulario Contacto B2B */
.contact-card {
  padding: 36px;
}
.contact-card form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.form-group--full {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(12, 8, 24, 0.7);
  border: 1px solid var(--line);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus {
  border-color: var(--talent-purple);
}

@media (max-width: 700px) {
  .contact-card form { grid-template-columns: 1fr; }
}

/* Footer */
.footer {
  padding: 50px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer__grid {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.footer__legal {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
  text-align: center;
  font-size: 0.78rem;
}


/* ───────── SmartTalent Dynamic Upgrades (Thinking-Orbs, PWA Logo & Floating Capsules) ───────── */
.nav__logo-pwa {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(217, 70, 239, 0.45));
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
}
.nav__brand:hover .nav__logo-pwa {
  transform: scale(1.08) rotate(-2deg);
}
.nav__brand-title {
  color: #fff;
}
.nav__brand-title b {
  color: var(--talent-purple);
}

canvas[data-orb] {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  max-width: none;
}
.hero__orb--talent {
  right: -100px;
  top: 50%;
  width: 560px;
  height: 560px;
  transform: translateY(-50%);
  opacity: 0.55;
}

.talent-mockup-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}

.float-capsule {
  position: absolute;
  z-index: 4;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(20, 10, 36, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: floatBob 5.5s ease-in-out infinite;
  pointer-events: none;
}
.float-capsule b {
  font-weight: 800;
}
.float-capsule--1 {
  left: -20px;
  top: 14%;
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.4);
}
.float-capsule--2 {
  right: -24px;
  top: 48%;
  color: #d946ef;
  border-color: rgba(217, 70, 239, 0.4);
  animation-delay: -1.8s;
}
.float-capsule--3 {
  left: 8%;
  bottom: -16px;
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  animation-delay: -3.4s;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  list-style: none;
  margin-top: 32px;
}
.hero__proof li {
  display: flex;
  flex-direction: column;
}
.hero__proof strong {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: var(--talent-purple);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero__proof span {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 160px;
  line-height: 1.35;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--talent-purple);
  animation: wheel 1.8s infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ═══════════ MOBILE PWA PHONE & FLOATING COINS (SmartBreak Essence) ═══════════ */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  z-index: 2;
}

.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(160deg, #2b1338, #0d0716);
  border: 1px solid rgba(217, 70, 239, 0.4);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(255, 255, 255, 0.03), 0 0 80px rgba(217, 70, 239, 0.3);
  transform: rotate(-3deg);
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-14px); }
}

.phone__notch {
  position: absolute;
  left: 50%;
  top: 14px;
  z-index: 3;
  width: 78px;
  height: 20px;
  margin-left: -39px;
  border-radius: 12px;
  background: #090510;
}

.phone__screen {
  height: 100%;
  padding: 40px 12px 12px;
  border-radius: 32px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 0, rgba(217, 70, 239, 0.25), transparent 55%), #140d1f;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ph-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
}

.ph-score {
  padding: 3px 10px;
  border-radius: 999px;
  color: #f5d0fe;
  background: rgba(217, 70, 239, 0.2);
  border: 1px solid rgba(217, 70, 239, 0.4);
}

.ph-hero {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 18px;
  background: linear-gradient(135deg, #c026d3, #9333ea);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  color: #fff;
}

.ph-hero img {
  width: 54px;
  height: 54px;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.ph-hero b {
  display: block;
  font-size: 0.85rem;
}

.ph-hero small, .ph-cta small {
  display: block;
  font-size: 0.62rem;
  opacity: 0.92;
  line-height: 1.25;
}

.ph-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #d946ef, #a855f7);
  box-shadow: 0 4px 0 #7e22ce, 0 8px 20px rgba(217, 70, 239, 0.35);
  cursor: pointer;
}

.ph-cta > span {
  font-size: 1.5rem;
  line-height: 1;
}

.ph-cta b {
  font-size: 0.88rem;
}

.ph-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ph-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 2px;
  border-radius: 14px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.ph-tile i {
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.1;
}

.ph-tile b {
  font-size: 0.85rem;
  font-weight: 900;
}

.ph-tile small {
  font-size: 0.55rem;
  opacity: 0.9;
}

.ph-tile--talent-1 { background: linear-gradient(135deg, #d946ef, #a855f7); }
.ph-tile--talent-2 { background: linear-gradient(135deg, #06b6d4, #0284c7); }
.ph-tile--talent-3 { background: linear-gradient(135deg, #f43f5e, #e11d48); }

.ph-quest {
  padding: 9px 11px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
}

.ph-bar {
  height: 8px;
  margin: 7px 0 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.ph-bar i {
  display: block;
  width: 94%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, #d946ef, #f43f5e);
  animation: barGrow 2.4s ease-out infinite alternate;
}

.ph-quest small {
  font-size: 0.58rem;
  color: #94a3b8;
  font-weight: 600;
}

.coin {
  position: absolute;
  z-index: 5;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(18, 12, 28, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: coinBob 5s ease-in-out infinite;
}

.coin b {
  font-weight: 900;
}

.coin--1 { left: -16px; top: 20%; color: #e879f9; border-color: rgba(217, 70, 239, 0.4); }
.coin--2 { right: -20px; top: 46%; color: #fb7185; border-color: rgba(244, 63, 94, 0.4); animation-delay: -1.7s; }
.coin--3 { left: -8px; bottom: 12%; color: #c084fc; border-color: rgba(168, 85, 247, 0.4); animation-delay: -3.2s; }
