/* ============================================================
   Ana Pao Marin · Sitio Oficial · social.css
   Mundo 4 · Redes & Marcas
   ============================================================ */

.world-social {
  --w: var(--cyan);
  position: relative;
  padding: 60px 0 140px;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(34,211,238,.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(244,114,182,.15), transparent 60%),
    linear-gradient(180deg, #0a0a0f, #08121a 60%, #0a0a0f);
  overflow: hidden;
}
.world-social::before {
  content: 'VIRAL';
  position: absolute;
  top: 80px;
  right: -40px;
  font-family: var(--display);
  font-weight: 200;
  font-style: italic;
  font-size: 22rem;
  color: rgba(34,211,238,.04);
  pointer-events: none;
  line-height: 1;
}
.world-social .world-head .label { color: var(--cyan); }
.world-social .world-head .label::before { background: var(--cyan); }
.world-social .world-head h2 em {
  font-style: italic;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ════════════════════════════════════════════════
   Stat cards (influencer-grade)
   ════════════════════════════════════════════════ */
.social-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}
.stat-card {
  --b1: var(--cyan);
  --b2: var(--accent);
  --b3: #1a1a22;
  position: relative;
  padding: 28px 26px 24px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)),
    #0c0c14;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition:
    transform .5s cubic-bezier(.2,.7,.2,1),
    border-color .4s ease,
    box-shadow .5s ease;
}
.stat-card::before {
  /* Gradient border on hover */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--b1), var(--b2), var(--b3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 2;
}
.stat-card .sc-glow {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, var(--b2) 0%, transparent 65%);
  filter: blur(50px);
  opacity: .25;
  z-index: 0;
  transition: opacity .5s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 70px -25px rgba(0,0,0,.6),
    0 0 0 1px transparent;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover .sc-glow {
  opacity: .55;
  transform: scale(1.1);
}

/* HEAD: icon + growth badge */
.stat-card .sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.stat-card .net-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow:
    0 10px 30px -8px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.stat-card:hover .net-icon { transform: scale(1.08) rotate(-3deg); }

.stat-card.ig .net-icon { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.stat-card.fb .net-icon { background: linear-gradient(135deg, #42A5F5, #1877F2); }
.stat-card.tk .net-icon { background: linear-gradient(135deg, #25f4ee 0%, #0a0a10 50%, #fe2c55 100%); }

.sc-platform {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}

/* BODY: huge number + label */
.stat-card .sc-body { position: relative; z-index: 1; }
.stat-card .num {
  font-family: var(--display);
  font-weight: 300;
  font-size: 3.4rem;
  line-height: .95;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--b2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.stat-card .lbl {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* SPARKLINE */
.sc-spark {
  width: 100%;
  height: 36px;
  display: block;
  position: relative;
  z-index: 1;
  opacity: .85;
}

/* FOOT: handle + arrow */
.sc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  position: relative;
  z-index: 1;
}
.sc-handle {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  background: linear-gradient(90deg, var(--b1), var(--b2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sc-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: 1rem;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s, border-color .3s;
}
.stat-card:hover .sc-arrow {
  transform: translateX(4px) rotate(-45deg);
  background: linear-gradient(135deg, var(--b1), var(--b2));
  border-color: transparent;
  color: #fff;
}

/* ════════════════════════════════════════════════
   Social section header (al nivel de Modelaje y Música)
   ════════════════════════════════════════════════ */
.social-header {
  margin: 20px 0 50px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(34,211,238,.18);
  position: relative;
}
.social-header::after {
  content: "";
  position: absolute; left: 0; right: 70%; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .8;
}
.sh-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 36px;
}
.sh-title .label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.sh-title .label::before {
  content: ""; width: 36px; height: 1px; background: var(--cyan);
}
.sh-title h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  color: #fff;
  padding-top: .06em;
}
.sh-title h2 em {
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, var(--cyan) 0%, #c4b5fd 50%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: .06em .18em .08em 0;
}

.sh-feature {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.2));
  border: 1px solid rgba(254,44,85,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: right;
}
.sh-feature-mark {
  position: relative;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.sh-frame {
  position: absolute; inset: 0;
  border: 1px solid rgba(254,44,85,.5);
  border-radius: 4px;
  transform: rotate(45deg);
  background: radial-gradient(circle at 50% 50%, rgba(254,44,85,.18), transparent 70%);
  box-shadow: 0 0 24px rgba(254,44,85,.3), inset 0 0 12px rgba(37,244,238,.18);
}
.sh-icon {
  position: relative;
  display: grid; place-items: center;
  color: #fff;
  text-shadow: 0 0 12px rgba(254,44,85,.7);
  animation: sh-icon-pulse 2.4s ease-in-out infinite;
}
@keyframes sh-icon-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .75; transform: scale(1.08); }
}
.sh-feature-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.sh-feature-label {
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted);
}
.sh-feature-name {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 400; font-style: italic;
  background: linear-gradient(90deg, #fff 30%, var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sh-feature-meta {
  font-size: .72rem; letter-spacing: .12em;
  color: rgba(255,255,255,.6);
}

.sh-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.sh-stat {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0 24px;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.sh-stat + .sh-stat::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 60%;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,.35), transparent);
}
.sh-stat:first-child { padding-left: 0; }
.sh-stat-num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.sh-unit {
  font-size: .85rem; font-weight: 400;
  color: var(--muted); letter-spacing: .05em;
  font-style: normal;
}
.sh-stat-lbl {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.sh-stat-cta { cursor: pointer; }
.sh-stat-cta .sh-stat-num.sh-stat-icon {
  background: linear-gradient(135deg, var(--cyan), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
  line-height: 1;
  transition: transform .3s ease;
}
.sh-stat-cta:hover .sh-stat-num.sh-stat-icon { transform: translateX(6px); }
.sh-stat-cta .sh-stat-lbl { color: var(--cyan); }

@media (max-width: 900px) {
  .sh-top { grid-template-columns: 1fr; gap: 24px; }
  .sh-feature { text-align: left; }
  .sh-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .sh-stat:nth-child(odd) { padding-left: 0; }
  .sh-stat:nth-child(3)::before { display: none; }
}
@media (max-width: 500px) {
  .sh-stats { grid-template-columns: 1fr; }
  .sh-stat { padding: 12px 0 !important; border-top: 1px solid rgba(255,255,255,.06); }
  .sh-stat:first-child { border-top: none; }
  .sh-stat::before { display: none !important; }
}

/* Phones video loop showcase */
.phones-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0 60px;
  perspective: 1600px;
}
.phone {
  position: relative;
  aspect-ratio: 9/19;
  border-radius: 38px;
  background: linear-gradient(135deg, #1a1a22, #0a0a10);
  border: 1.5px solid rgba(255,255,255,.1);
  box-shadow:
    0 30px 70px -20px rgba(0,0,0,.7),
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 0 0 8px rgba(0,0,0,.3);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.phone:nth-child(1) { transform: rotateY(8deg) translateZ(-20px); }
.phone:nth-child(2) { transform: translateY(-30px); z-index: 2; }
.phone:nth-child(3) { transform: rotateY(-8deg) translateZ(-20px); }
.phones-stage:hover .phone:nth-child(1) { transform: rotateY(8deg) translateZ(-20px) translateY(-8px); }
.phones-stage:hover .phone:nth-child(2) { transform: translateY(-40px); }
.phones-stage:hover .phone:nth-child(3) { transform: rotateY(-8deg) translateZ(-20px) translateY(-8px); }

.phone .notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 5;
}
.phone .screen {
  position: absolute;
  inset: 6px;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}

/* Foto de fondo en teléfonos laterales */
.phone .phone-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phone .phone-photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 18%, transparent 60%, rgba(0,0,0,.75) 100%);
  pointer-events: none;
  z-index: 2;
}
.phone .ui { z-index: 3; }

/* Botón de sonido sobre el video del teléfono central */
.phone-sound {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  z-index: 4;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.6);
}
.phone-sound:hover {
  transform: scale(1.08);
  background: rgba(254, 44, 85, .85);
  box-shadow: 0 10px 24px -6px rgba(254, 44, 85, .55);
}
.phone-sound .ps-on { display: none; }
.phone-sound[aria-pressed="true"] .ps-muted { display: none; }
.phone-sound[aria-pressed="true"] .ps-on { display: block; }
.phone-sound[aria-pressed="true"] {
  background: rgba(254, 44, 85, .9);
  border-color: rgba(255,255,255,.25);
}

/* Video nativo del teléfono central (auto-hospedado) */
.phone-tt { z-index: 3; }
.phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
  z-index: 0;
}
/* Sombras suaves arriba/abajo para integrar la UI sobrepuesta */
.ui-tt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 16%, transparent 60%, rgba(0,0,0,.7) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Loop animado dentro de cada teléfono */
.video-loop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--vx, 30%) var(--vy, 30%), var(--vc1, #f472b6) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, var(--vc2, #6d28d9) 0%, transparent 60%),
    linear-gradient(180deg, #150a1a, #2a0a2a);
  animation: loopPan 8s ease-in-out infinite;
}
.video-loop::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}
.video-loop::after {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 30%);
  animation: loopGlow 4s ease-in-out infinite alternate;
  filter: blur(30px);
}
@keyframes loopPan {
  0%, 100% { background-position: 0% 0%, 0% 0%, 0 0; transform: scale(1); }
  50%      { background-position: 30% 20%, -10% 30%, 0 0; transform: scale(1.06); }
}
@keyframes loopGlow {
  0%   { transform: translate(-10%, -10%); opacity: .5; }
  100% { transform: translate(15%, 10%); opacity: 1; }
}

/* Avatar + caption simulando TikTok/Reel */
.phone .ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 14px 18px;
  pointer-events: none;
}
.phone .ui .top-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.phone .ui .top-row span { padding: 4px 10px; border-radius: 30px; background: rgba(0,0,0,.3); }
.phone .ui .top-row span.live { background: #fe2c55; animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(254,44,85,.6); }
  50%     { box-shadow: 0 0 0 10px rgba(254,44,85,0); }
}
.phone .ui .meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.phone .ui .handle { color: #fff; font-weight: 700; font-size: .82rem; }
.phone .ui .caption { color: rgba(255,255,255,.9); font-size: .72rem; line-height: 1.3; }
.phone .ui .reactions {
  position: absolute;
  right: 10px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  font-size: .62rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.phone .ui .reactions .ic {
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
  animation: heartPulse 2.4s ease-in-out infinite;
}
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  20%      { transform: scale(1.18); }
  40%      { transform: scale(.96); }
}

/* Notificaciones flotantes */
.notif-floating {
  position: absolute;
  z-index: 6;
  background: rgba(20,12,28,.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: #fff;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,.5);
  white-space: nowrap;
  animation: floatNotif 6s ease-in-out infinite;
}
.notif-floating .nf-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: .9rem;
}
.notif-floating.pos-1 { top: 8%;  left: -4%; animation-delay: 0s; }
.notif-floating.pos-2 { top: 38%; right: -4%; animation-delay: 1.5s; }
.notif-floating.pos-3 { bottom: 8%; left: 6%; animation-delay: 3s; }
@keyframes floatNotif {
  0%, 100% { transform: translateY(0); opacity: .9; }
  50%      { transform: translateY(-12px); opacity: 1; }
}
.notif-floating .nf-icon.ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.notif-floating .nf-icon.tk { background: linear-gradient(135deg, #25f4ee, #000, #fe2c55); }
.notif-floating .nf-icon.he { background: linear-gradient(135deg, #fe2c55, #f472b6); }
.notif-floating .nf-num { color: var(--cyan); font-weight: 700; }

/* Brands strip */
.brands-strip {
  margin-top: 50px;
  padding: 40px 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34,211,238,.06), rgba(244,114,182,.06));
  border: 1px solid var(--border);
  overflow: hidden;
}
.brands-eyebrow {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255,255,255,.5);
  text-align: center;
  letter-spacing: .06em;
  margin: 0 0 28px;
}

/* Scrolling marquee */
.brands-track-wrap {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 6px 0;
}
.brands-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: brandScroll 30s linear infinite;
}
.brands-track:hover {
  animation-play-state: paused;
}
@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-chip {
  flex: 0 0 auto;
  padding: 13px 28px;
  border-radius: 50px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  font-family: var(--display);
  font-style: italic;
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background .3s, border-color .3s, color .3s;
  cursor: default;
}
.brands-track:hover .brand-chip:hover {
  background: rgba(34,211,238,.12);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .social-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .social-stats { grid-template-columns: 1fr; }
  .phones-stage { grid-template-columns: 1fr; gap: 20px; }
  .phone:nth-child(1),
  .phone:nth-child(2),
  .phone:nth-child(3) { transform: none; }
  .stat-card .num { font-size: 2.8rem; }
}