
.hero-framer {
  overflow: hidden;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  margin-top: calc(var(--header-height) * -1);
  padding-top: clamp(130px, 16vw, 210px);
}

.hero-framer__container {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-framer__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  min-height: 620px;
  background: var(--gradient-soft);
  filter: blur(18px);
  opacity: 0.95;
}

.hero-framer__stars {
  position: absolute;
  inset: -60px 0 auto;
  height: 760px;
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 1.6px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 255, 255, 0.56) 0 1.1px, transparent 1.3px);
  background-size: 128px 136px, 197px 213px;
  background-position: 14px 20px, 69px 84px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 76%, transparent);
  opacity: 0.46;
}

.hero-framer__content {
  display: grid;
  justify-items: center;
  gap: 24px;
  width: min(980px, 100%);
}

.hero-framer__pill {
  margin-bottom: 18px;
}

.hero-framer h1 {
  max-width: 1010px;
  font-size: clamp(48px, 9.6vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.085em;
  color: #fff;
}

.hero-framer__content > p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(19px, 2.55vw, 30px);
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.hero-framer__actions {
  justify-content: center;
  margin-top: 10px;
}

.hero-framer__quick-links {
  position: absolute;
  right: max(var(--container-padding), 4vw);
  bottom: clamp(0px, 3vw, 22px);
  display: grid;
  gap: 14px;
  justify-items: end;
}

.floating-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding-inline: 22px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 750;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.floating-link--primary {
  margin-right: 48px;
  background: var(--gradient-primary);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 70px rgba(129, 74, 200, 0.42);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  display: grid;
  gap: 6px;
  min-height: 132px;
  align-content: center;
  text-align: center;
}

.stat-card strong {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 650;
}

.feature-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  display: grid;
  gap: 16px;
  min-height: 310px;
  align-content: start;
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(223, 122, 254, 0.24);
  border-radius: 16px;
  background: rgba(129, 74, 200, 0.16);
  color: var(--color-primary-2);
  font-size: 24px;
}

.feature-card h3,
.workflow-item h3 {
  color: #fff;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.feature-card p,
.workflow-item p,
.review-card p {
  color: rgba(255, 255, 255, 0.64);
}

.feature-card .text-link {
  margin-top: auto;
}

.system-panel,
.discord-panel,
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
}

.system-panel::before,
.discord-panel::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: auto -20% -50% 35%;
  height: 320px;
  background: radial-gradient(circle, rgba(129, 74, 200, 0.30), transparent 68%);
  pointer-events: none;
}

.system-panel__copy,
.discord-panel > div:first-child,
.final-cta > div:first-child {
  display: grid;
  gap: 16px;
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.workflow-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
}

.workflow-item div {
  display: grid;
  gap: 6px;
}

.discord-panel__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.discord-panel__facts span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.76);
  font-weight: 650;
}

.discord-panel__facts svg {
  color: var(--color-primary-2);
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  display: grid;
  gap: 18px;
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 999px;
}

.review-card__avatar img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
}

.review-card__top div {
  display: grid;
  gap: 2px;
}

.review-card__top strong {
  color: #fff;
}

.review-card__top span:not(.review-card__avatar) {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 650;
}

.review-card__stars {
  display: flex;
  gap: 5px;
  color: rgba(255, 255, 255, 0.18);
}

.review-card__stars .is-filled {
  color: var(--color-primary-2);
}

.final-cta {
  grid-template-columns: minmax(0, 1fr) auto;
}

.final-cta__actions {
  justify-content: flex-end;
}

@media (max-width: 1090px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-panel,
  .discord-panel,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 809.98px) {
  .hero-framer {
    min-height: auto;
    margin-top: -84px;
    padding-top: 132px;
  }

  .hero-framer__content {
    gap: 20px;
  }

  .hero-framer h1 {
    font-size: clamp(48px, 15vw, 72px);
    letter-spacing: -0.08em;
  }

  .hero-framer__content > p {
    font-size: 18px;
    letter-spacing: -0.02em;
  }

  .hero-framer__pill {
    width: min(100%, 430px);
  }

  .hero-framer__quick-links {
    position: static;
    width: 100%;
    margin-top: 24px;
    justify-items: stretch;
  }

  .floating-link,
  .floating-link--primary {
    justify-content: center;
    width: 100%;
    margin-right: 0;
  }

  .stats-grid,
  .feature-grid,
  .review-grid,
  .discord-panel__facts {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 118px;
  }

  .feature-card {
    min-height: auto;
  }

  .workflow-item {
    grid-template-columns: 1fr;
  }
}

.home-title span {
  color: var(--color-primary-2);
  text-shadow: 0 0 42px rgba(223, 122, 254, 0.34);
}

.home-hero-subtitle {
  max-width: 760px !important;
  margin-top: -6px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: clamp(18px, 2.25vw, 28px) !important;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.agency-marquee-item--logo-only {
  min-width: clamp(390px, 35vw, 520px);
  justify-content: center;
  padding-inline: 0;
}

.agency-marquee-item__wordmark {
  display: block;
  width: clamp(390px, 35vw, 500px);
  max-width: 500px;
  height: auto;
  aspect-ratio: 500 / 150;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 24px rgba(223,122,254,0.18));
}

.page-home .hero-framer__content {
  transform: translateY(calc(-1 * clamp(14px, 3.2vw, 46px)));
}

.page-home .hero-framer__content:has(.hero-framer__actions) {
  gap: clamp(20px, 3.2vw, 34px);
}

.page-home .home-stats {
  padding-bottom: clamp(18px, 3vw, 34px);
}

.page-home .home-stats .stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.home-agencies {
  padding-top: clamp(8px, 2vw, 22px);
  padding-bottom: clamp(54px, 8vw, 100px);
}

.home-agencies__heading {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(18px, 3vw, 30px);
  text-align: center;
}

.home-agencies__heading .eyebrow {
  color: var(--color-primary-2);
  letter-spacing: 0.16em;
}

.agencies-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.agencies-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(0px, 0.7vw, 8px);
  animation: agencies-marquee 64s linear infinite;
  will-change: transform;
}

.agencies-marquee:hover .agencies-marquee__track {
  animation-play-state: paused;
}

.agency-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.agency-marquee-item__icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--color-primary-2);
}

.agency-marquee-item__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
}

.agency-marquee-item__icon svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 14px rgba(223,122,254,0.35));
}

@keyframes agencies-marquee {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

@media (prefers-reduced-motion: reduce) {
  .agencies-marquee__track {
    animation: none;
    overflow-x: auto;
    width: 100%;
  }
}

@media (max-width: 809.98px) {
  .page-home .hero-framer {
    padding-top: 116px;
  }

  .page-home .hero-framer__content {
    transform: translateY(-18px);
  }

  .agency-marquee-item--logo-only {
    min-width: min(82vw, 360px);
  }

  .agency-marquee-item__wordmark {
    width: min(82vw, 360px);
    max-width: 360px;
    height: auto;
    aspect-ratio: 500 / 150;
  }

  .page-home .home-stats .stats-grid {
    grid-template-columns: 1fr;
  }

  .agencies-marquee {
    mask-image: none;
  }

  .agencies-marquee__track {
    gap: 4px;
    animation-duration: 54s;
  }
}

.page-home .hero-framer {
  min-height: auto;
  margin-top: 0;
  place-items: start center;
  padding-top: clamp(34px, 7vw, 76px);
  padding-bottom: clamp(62px, 10vw, 128px);
}

.page-home .hero-framer__content {
  transform: none;
}

.page-home .hero-framer__container {
  min-height: auto;
}

.page-home .hero-framer h1 {
  margin-top: 0;
}

@media (max-width: 809.98px) {
  .page-home .hero-framer {
    padding-top: clamp(32px, 8vw, 52px);
    padding-bottom: clamp(52px, 12vw, 86px);
  }
}

.review-card__avatar {
  border-radius: 50% !important;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.review-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.home-reviews__empty {
  padding: 26px;
  color: rgba(255,255,255,.68);
  text-align: center;
  font-weight: 800;
}

.review-card__role-line {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px;
  align-items: baseline;
  color: rgba(255,255,255,.56) !important;
}

.review-card__role-line strong {
  color: #df7afe !important;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.review-card__role-line em {
  color: rgba(255,255,255,.54) !important;
  font-style: normal;
  font-weight: 700;
}
