.figma-home {
  background: var(--color-bg-base);
  color: var(--color-text-primary);
}

.gtg-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  padding: var(--space-5);
}

.gtg-modal.hidden {
  display: none;
}

.gtg-modal__card {
  width: min(100%, 440px);
  position: relative;
  display: grid;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #171719;
  color: var(--color-text-primary);
  box-shadow: var(--shadow-card);
}

.gtg-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--color-text-primary);
  font-size: 30px;
  cursor: pointer;
}

.gtg-modal__card h3,
.gtg-modal__card p {
  margin: 0;
}

.gtg-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.figma-hero {
  min-height: clamp(520px, 72vh, 720px);
  position: relative;
  overflow: hidden;
  margin-top: -112px;
  padding-top: 112px;
  background-image: url("../images/img/hero.webp");
  background-size: cover;
  background-position: center 36%;
}

.figma-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 15, 0.1) 0%, rgba(13, 13, 15, 0.5) 62%, rgba(13, 13, 15, 1) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.5) 100%);
}

.figma-hero__content {
  position: relative;
  z-index: 1;
  min-height: calc(clamp(520px, 72vh, 720px) - 112px);
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 96px;
}

.figma-hero h1 {
  max-width: 700px;
  margin: 0 0 var(--space-5);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-text-primary);
}

.figma-hero h1 strong {
  display: inline;
  font-weight: 800;
}

.figma-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
}

.figma-hero__dots span {
  width: 12px;
  height: 12px;
  border: 1px solid #ffffff;
  border-radius: var(--radius-pill);
}

.figma-hero__dots span.is-active {
  background: #ffffff;
}

.figma-influencer {
  width: min(100% - 32px, 960px);
  margin: 96px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
}

.figma-influencer__copy h2 {
  width: min(100%, 520px);
  margin: 0 0 var(--space-6);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.08;
}

.figma-influencer__copy h2 span {
  color: var(--color-accent);
}

.figma-login-card {
  width: min(100%, 420px);
  min-height: 360px;
  display: grid;
  align-content: center;
  gap: var(--space-4);
  padding: 42px 54px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  background: rgba(18, 18, 20, 0.78);
  box-shadow: inset 0 0 54px rgba(255, 255, 255, 0.05), 0 22px 60px rgba(0, 0, 0, 0.5);
}

.figma-login-card h3 {
  margin: 0 0 var(--space-5);
  text-align: center;
  font-size: 30px;
  font-weight: 800;
}

.figma-login-card input {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #111113;
  color: var(--color-text-primary);
  padding: 0 var(--space-3);
  font-size: 12px;
}

.figma-login-card input::placeholder {
  color: #5f5f65;
}

.figma-login-card .gtg-btn-primary {
  width: 100%;
  margin-top: var(--space-5);
}

.figma-login-card p {
  margin: var(--space-4) 0 0;
  text-align: center;
  font-size: 12px;
}

.figma-login-card a {
  color: var(--color-text-primary);
  font-weight: 800;
}

.figma-influencer__media img {
  width: 100%;
  aspect-ratio: 0.72;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.figma-products {
  width: min(100% - 32px, 1120px);
  margin: 112px auto 0;
}

.figma-products h2 {
  margin: 0 0 42px;
  text-align: center;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
}

.figma-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.figma-product-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #1b1b1d;
}

.figma-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 35%, rgba(0, 0, 0, 0.75) 100%);
}

.figma-product-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.figma-product-card:hover img {
  transform: scale(1.05);
}

.figma-product-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-4);
  z-index: 1;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
}

.figma-newsletter {
  display: none;
}

@media (max-width: 900px) {
  .figma-hero {
    margin-top: -84px;
    padding-top: 84px;
  }

  .figma-hero__content {
    min-height: calc(clamp(520px, 72vh, 720px) - 84px);
  }

  .figma-influencer {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .figma-login-card {
    width: 100%;
  }

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

@media (max-width: 560px) {
  .figma-hero h1 {
    font-size: 34px;
  }

  .figma-login-card {
    padding: var(--space-6);
  }

  .figma-products__grid {
    grid-template-columns: 1fr;
  }
}
