/* =============================================
   INFLUENCER LANDING - Catabum
   Prefijo: inf-  |  BEM
   ============================================= */

/* --- Custom Properties --- */
:root {
  --inf-accent: #ff3e81;
  --inf-accent-rgb: 255, 62, 129;
  --inf-text: #f4f0fb;
  --inf-text-muted: rgba(244, 240, 251, 0.72);
  --inf-gold: #ffd566;
  --inf-glass-bg: rgba(255, 255, 255, 0.06);
  --inf-glass-border: rgba(255, 255, 255, 0.12);
  --inf-glass-blur: blur(8px);
  --inf-radius: 24px;
  --inf-radius-sm: 16px;
  --inf-max-width: 1120px;
}

/* --- Body --- */
body.inf-page {
  margin: 0;
  color: var(--inf-text);
  background: radial-gradient(circle at top left, #3b006a, #1b0033 60%, #000015);
  min-height: 100vh;
}

/* --- Landing wrapper --- */
.inf-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 0 20px 80px;
}

/* =============================================
   HERO
   ============================================= */
.inf-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.inf-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
}

.inf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 0, 51, 0.5) 0%,
    rgba(27, 0, 51, 0.85) 70%,
    #1b0033 100%
  );
}

.inf-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: var(--inf-max-width);
  padding: 140px 20px 80px;
  gap: 20px;
}

/* --- Avatar --- */
.inf-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(var(--inf-accent-rgb), 0.6);
  box-shadow: 0 0 40px rgba(var(--inf-accent-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inf-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inf-avatar__initial {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--inf-accent), #7c3aed);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* --- Hero text --- */
.inf-hero__title {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.inf-hero__x {
  color: var(--inf-accent);
  font-style: italic;
}

.inf-hero__tagline {
  margin: 0;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--inf-text-muted);
  max-width: 54ch;
  line-height: 1.55;
}

/* --- CTAs --- */
.inf-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

/* --- Social links --- */
.inf-hero__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

.inf-social-link {
  font-size: 14px;
  color: var(--inf-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.inf-social-link:hover {
  color: var(--inf-accent);
}

/* =============================================
   BUTTONS
   ============================================= */
.inf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.inf-btn:hover {
  transform: translateY(-2px);
}

.inf-btn--primary {
  background: linear-gradient(120deg, var(--inf-accent), #7c3aed);
  color: #fff;
  box-shadow: 0 10px 28px rgba(var(--inf-accent-rgb), 0.35);
}

.inf-btn--primary:hover {
  box-shadow: 0 14px 36px rgba(var(--inf-accent-rgb), 0.45);
}

.inf-btn--secondary {
  border: 1px solid var(--inf-glass-border);
  color: var(--inf-text);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.inf-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.inf-btn--lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* =============================================
   SECTION TITLE
   ============================================= */
.inf-section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  text-align: center;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}

/* =============================================
   STEPS (Como funciona)
   ============================================= */
.inf-steps {
  width: min(var(--inf-max-width), 100%);
}

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

.inf-step {
  background: var(--inf-glass-bg);
  border: 1px solid var(--inf-glass-border);
  border-radius: var(--inf-radius);
  padding: 36px 28px;
  backdrop-filter: var(--inf-glass-blur);
  -webkit-backdrop-filter: var(--inf-glass-blur);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.inf-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.inf-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--inf-accent), #7c3aed);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.inf-step__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.inf-step__desc {
  margin: 0;
  color: var(--inf-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* =============================================
   TRIVIA DESTACADA
   ============================================= */
.inf-trivia {
  width: min(var(--inf-max-width), 100%);
  background: var(--inf-glass-bg);
  border: 1px solid var(--inf-glass-border);
  border-radius: var(--inf-radius);
  backdrop-filter: var(--inf-glass-blur);
  -webkit-backdrop-filter: var(--inf-glass-blur);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.inf-trivia--has-image {
  grid-template-columns: 1.1fr 0.9fr;
}

.inf-trivia__body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.inf-trivia__badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(var(--inf-accent-rgb), 0.15);
  color: var(--inf-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inf-trivia__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
}

.inf-trivia__desc {
  margin: 0;
  color: var(--inf-text-muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  max-width: 56ch;
}

.inf-trivia__meta {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inf-trivia__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--inf-text-muted);
}

.inf-check {
  color: var(--inf-accent);
  font-weight: 700;
  font-size: 16px;
}

.inf-trivia__image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.inf-trivia__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes inf-fade-up-kf {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inf-fade-up {
  animation: inf-fade-up-kf 0.6s ease both;
}

/* =============================================
   RESPONSIVE: TABLET (max 980px)
   ============================================= */
@media (max-width: 980px) {
  .inf-landing {
    gap: 60px;
  }

  .inf-hero__content {
    padding: 120px 16px 60px;
  }

  .inf-steps__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .inf-trivia--has-image {
    grid-template-columns: 1fr;
  }

  .inf-trivia__image {
    max-height: 280px;
  }

  .inf-trivia__body {
    padding: 36px 28px;
  }
}

/* =============================================
   RESPONSIVE: MOBILE (max 640px)
   ============================================= */
@media (max-width: 640px) {
  .inf-landing {
    gap: 48px;
    padding-bottom: 48px;
  }

  .inf-hero__content {
    padding: 100px 16px 48px;
  }

  .inf-avatar {
    width: 88px;
    height: 88px;
  }

  .inf-avatar__initial {
    font-size: 36px;
  }

  .inf-hero__cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .inf-hero__cta .inf-btn {
    width: 100%;
  }

  .inf-step {
    padding: 28px 22px;
    border-radius: var(--inf-radius-sm);
  }

  .inf-trivia {
    border-radius: var(--inf-radius-sm);
  }

  .inf-trivia__body {
    padding: 28px 22px;
  }

}
