@import url('./styles.css?v=18');

/* The blue-violet design remains primary. Rose is only a light accent. */
:root {
  --rose: #ef8fbd;
  --rose-soft: #fff1f8;
}

.glow-two {
  background: rgba(239, 143, 189, 0.14);
}

.orbit-b {
  border-color: rgba(239, 143, 189, 0.52);
}

.campaign.active {
  border-color: rgba(218, 75, 145, 0.38);
  background: var(--rose-soft);
  color: #b63a79;
}

.card-index {
  background: var(--rose-soft);
  color: #bd4a82;
}

.campaign-number {
  color: #ffa9d1;
}

.final-cta-inner::after {
  border-color: rgba(239, 143, 189, 0.5);
}

/* A slightly larger type scale without changing the original composition. */
body {
  font-size: 17px;
}

.nav a,
.button {
  font-size: 15px;
}

.language,
.hero-note,
.floating-card,
.footer {
  font-size: 12px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
}

.button {
  min-height: 54px;
}

.section-topline,
.campaign-switch,
.campaign-card p,
.benefit-card p,
.step-list p,
.faq details p {
  font-size: 14px;
}

.campaign-card h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.section-heading h2 {
  font-size: clamp(29px, 3.3vw, 46px);
}

.benefit-card h3,
.step-list h3 {
  font-size: 19px;
}

.steps-summary {
  font-size: 17px;
}

@media (max-width: 850px) {
  .hero {
    gap: 24px;
  }

  .hero-description {
    font-size: 17px;
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(38px, 10.2vw, 46px);
    line-height: 1.08;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-heading h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .campaign-card h2 {
    font-size: 26px;
  }

  .benefit-card h3,
  .step-list h3 {
    font-size: 18px;
  }

  .benefit-card p,
  .step-list p,
  .faq details p {
    font-size: 14px;
    line-height: 1.6;
  }

  .steps-summary,
  .faq summary {
    font-size: 16px;
  }

  .final-cta h2 {
    font-size: 32px;
  }
}

@media (max-width: 390px) {
  .hero-actions {
    flex-direction: column;
  }

  .button {
    padding-inline: 16px;
  }
}

/* Dark mode overrides for variant-4 rose accents */
[data-theme='dark'] .campaign.active {
  border-color: rgba(239, 143, 189, 0.52);
  background: rgba(239, 143, 189, 0.15);
  color: var(--rose);
}
[data-theme='dark'] .card-index {
  background: rgba(239, 143, 189, 0.15);
  color: var(--rose);
}

/* ==========================================================================
   WorkHold UGC Team Section Styles
   ========================================================================== */
.team {
  padding: 80px 0 40px;
  position: relative;
}

.team .section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.team .section-subtitle {
  color: var(--muted, #64748b);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-top: 10px;
}

.team-carousel {
  position: relative;
}

/* Native horizontal scroller: JS auto-scrolls it, arrows and swipe move it */
.team-marquee {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  padding: 12px 0 24px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.team-marquee::-webkit-scrollbar {
  display: none;
}

.team-track {
  display: flex;
  width: max-content;
  gap: 28px;
  margin: 0;
  padding: 12px 16px 20px;
  flex-direction: row;
}

.team-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border-color, rgba(226, 232, 240, 0.9));
  border-radius: 50%;
  background: var(--card-bg, #ffffff);
  color: var(--ink, #0f172a);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.team-arrow--prev {
  left: 0;
}

.team-arrow--next {
  right: 0;
}

.team-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.team-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.team-arrow:focus-visible {
  outline: 2px solid var(--violet, #6d4aff);
  outline-offset: 3px;
}

[data-theme='dark'] .team-arrow {
  background: #1e1e2e;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.team-card {
  flex: 0 0 320px;
  width: 320px;
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color, rgba(226, 232, 240, 0.8));
  border-radius: 28px;
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  user-select: none;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: rgba(155, 92, 255, 0.35);
}

.team-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.7;
  border-radius: 20px;
  overflow: hidden;
  background: #f1f5f9;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.3s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.03);
}

.team-role-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 15, 25, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.team-info {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  width: 100%;
}

.team-name {
  font-family: var(--font-display, 'Unbounded', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-color, #0f172a);
  margin: 0;
  line-height: 1.3;
}

.team-role-sub {
  font-size: 0.88rem;
  color: var(--muted, #64748b);
  margin: 0 0 10px;
  line-height: 1.4;
}

.team-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.team-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}

.team-social-link:hover {
  transform: translateY(-1px);
}

.team-social-link.linkedin {
  background: rgba(10, 102, 194, 0.08);
  color: #0a66c2;
}
.team-social-link.linkedin:hover {
  background: rgba(10, 102, 194, 0.15);
}

.team-social-link.instagram {
  background: rgba(225, 48, 108, 0.08);
  color: #e1306c;
}
.team-social-link.instagram:hover {
  background: rgba(225, 48, 108, 0.15);
}

/* Dark mode for Team Section */
[data-theme='dark'] .team-card {
  background: #15162b;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

[data-theme='dark'] .team-card:hover {
  border-color: rgba(155, 92, 255, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

[data-theme='dark'] .team-name {
  color: #f8fafc;
}

[data-theme='dark'] .team-role-sub {
  color: #94a3b8;
}

[data-theme='dark'] .team .section-subtitle {
  color: #94a3b8;
}

[data-theme='dark'] .team-social-link.linkedin {
  background: rgba(10, 102, 194, 0.18);
  color: #38bdf8;
}

[data-theme='dark'] .team-social-link.instagram {
  background: rgba(225, 48, 108, 0.18);
  color: #f472b6;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .team {
    padding: 50px 0 20px;
  }
  .team-marquee {
    padding: 10px 0 8px;
  }
  .team-track {
    gap: 16px;
    padding: 10px 16px 20px;
  }
  /* Phones: arrows sit under the cards so they never cover a face */
  .team-carousel {
    padding-bottom: 60px;
  }
  .team-arrow {
    top: auto;
    bottom: 0;
    width: 46px;
    height: 46px;
    transform: none;
  }
  .team-arrow:hover {
    transform: none;
  }
  .team-arrow:active {
    transform: scale(0.94);
  }
  .team-arrow--prev {
    left: calc(50% - 56px);
  }
  .team-arrow--next {
    right: calc(50% - 56px);
  }
  .team-card {
    flex: 0 0 260px !important;
    width: 260px !important;
    padding: 14px 14px 18px !important;
    border-radius: 22px !important;
  }
  .team-name {
    font-size: 1.05rem;
  }
  .team-role-sub {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
  .team-role-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    bottom: 10px;
    left: 10px;
  }
}

/* Giveaway strip: one continuous running line above the fixed header, lime in both themes. */
.has-promo {
  --promo-h: 40px;
}

.promo-bar {
  display: none;
}

.has-promo .promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: var(--promo-h);
  background: #d1fe17;
  color: #0b0b14;
  font:
    600 13px/1 Unbounded,
    Arial,
    sans-serif;
  letter-spacing: 0.02em;
}

.promo-link {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.promo-bar b {
  font-weight: 800;
}

.promo-bar u {
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
}

.promo-track {
  display: flex;
  flex-shrink: 0;
  animation: promo-run 40s linear infinite;
}

.promo-item {
  padding-right: 64px;
}

.promo-link:hover .promo-track {
  animation-play-state: paused;
}

.promo-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--promo-h);
  border: 0;
  border-left: 1px solid rgba(11, 11, 20, 0.15);
  background: #d1fe17;
  color: #0b0b14;
  cursor: pointer;
}

.promo-close:hover {
  background: #c2ee00;
}

@keyframes promo-run {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-track {
    animation: none;
  }
}

.has-promo .header-wrap {
  top: var(--promo-h);
}

@media (max-width: 640px) {
  .has-promo {
    --promo-h: 34px;
  }

  .has-promo .promo-bar {
    font-size: 11px;
  }
}
