@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

.fb-profile-viewer-editorial,
.fb-profile-viewer-editorial * {
  box-sizing: border-box;
}

.fb-profile-viewer-editorial {
  --fg-primary: #4267b2;
  --fg-secondary: #1877f2;
  --fg-ink: #162033;
  --fg-muted: #667085;
  --fg-soft: #f7f3ed;
  --fg-line: rgba(66, 103, 178, 0.16);
  --fg-shadow: 0 18px 45px rgba(22, 32, 51, 0.08);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--fg-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.fb-profile-viewer-editorial .fg-section,
.fb-profile-viewer-editorial .fg-container,
.fb-profile-viewer-editorial .fg-card-grid {
  width: 100%;
  max-width: 100%;
}

.fb-profile-viewer-editorial .fg-section {
  padding: 84px 18px;
  overflow: hidden;
}

.fb-profile-viewer-editorial .fg-section-white {
  background: #fff;
}

.fb-profile-viewer-editorial .fg-section-warm {
  background:
    radial-gradient(circle at 12% 10%, rgba(24, 119, 242, 0.08), transparent 32%),
    linear-gradient(180deg, #fff8f0 0%, #f9fbff 100%);
}

.fb-profile-viewer-editorial .fg-container {
  max-width: 1240px;
  margin: 0 auto;
}

.fb-profile-viewer-editorial .fg-section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.fb-profile-viewer-editorial .fg-section-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--fg-ink);
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fb-profile-viewer-editorial .fg-section-head h2 span {
  background: linear-gradient(135deg, var(--fg-primary), var(--fg-secondary), #6a8cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fb-profile-viewer-editorial .fg-section-head p {
  margin: 14px auto 0;
  max-width: 660px;
  color: var(--fg-muted);
  font-size: 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fb-profile-viewer-editorial .fg-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.fb-profile-viewer-editorial .fg-card {
  --fg-accent: #1877f2;
  --fg-accent-2: #6a8cff;
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--fg-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), color-mix(in srgb, var(--fg-accent) 16%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.86));
  box-shadow: var(--fg-shadow);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fb-profile-viewer-editorial .fg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--fg-accent) 12%, transparent), transparent 42%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.fb-profile-viewer-editorial .fg-card:hover {
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-7px);
  border-color: color-mix(in srgb, var(--fg-accent) 46%, transparent);
  box-shadow: 0 24px 64px rgba(22, 32, 51, 0.14);
}

.fb-profile-viewer-editorial .fg-card:hover::before {
  opacity: 1;
}

.fb-profile-viewer-editorial .fg-card:nth-child(8n+1) { --fg-accent: #1877f2; --fg-accent-2: #6a8cff; }
.fb-profile-viewer-editorial .fg-card:nth-child(8n+2) { --fg-accent: #0ea5a4; --fg-accent-2: #67e8f9; }
.fb-profile-viewer-editorial .fg-card:nth-child(8n+3) { --fg-accent: #f59e0b; --fg-accent-2: #fcd34d; }
.fb-profile-viewer-editorial .fg-card:nth-child(8n+4) { --fg-accent: #8b5cf6; --fg-accent-2: #c4b5fd; }
.fb-profile-viewer-editorial .fg-card:nth-child(8n+5) { --fg-accent: #ef4444; --fg-accent-2: #fca5a5; }
.fb-profile-viewer-editorial .fg-card:nth-child(8n+6) { --fg-accent: #10b981; --fg-accent-2: #86efac; }
.fb-profile-viewer-editorial .fg-card:nth-child(8n+7) { --fg-accent: #ec4899; --fg-accent-2: #f9a8d4; }
.fb-profile-viewer-editorial .fg-card:nth-child(8n+8) { --fg-accent: #334155; --fg-accent-2: #94a3b8; }

.fb-profile-viewer-editorial .fg-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--fg-accent) 12%, #fff);
  color: var(--fg-accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-accent) 18%, transparent);
  transition: transform 260ms ease, background 260ms ease, color 260ms ease;
}

.fb-profile-viewer-editorial .fg-icon i {
  font-size: 1.25rem;
  line-height: 1;
}

.fb-profile-viewer-editorial .fg-card:hover .fg-icon {
  transform: translateY(-3px) scale(1.04);
  background: linear-gradient(135deg, var(--fg-accent), var(--fg-accent-2));
  color: #fff;
}

.fb-profile-viewer-editorial .fg-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--fg-ink);
  font-size: 1.08rem;
  line-height: 1.28;
  font-weight: 760;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fb-profile-viewer-editorial .fg-card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fg-accent), var(--fg-accent-2));
  transition: width 260ms ease;
}

.fb-profile-viewer-editorial .fg-card:hover h3::after {
  width: 74px;
}

.fb-profile-viewer-editorial .fg-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fb-profile-viewer-editorial .fg-card-note {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 100%;
  margin-top: 18px;
  color: var(--fg-accent);
  font-size: 0.88rem;
  font-weight: 720;
  opacity: 0.48;
  transform: translateY(6px);
  transition: opacity 260ms ease, transform 260ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fb-profile-viewer-editorial .fg-card:hover .fg-card-note {
  opacity: 1;
  transform: translateY(0);
}

.fb-profile-viewer-editorial .fg-benefit-grid .fg-card:hover {
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-8px);
}

.fb-profile-viewer-editorial .fg-process-card {
  min-height: 270px;
}

.fb-profile-viewer-editorial .fg-step-number {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 0;
  color: color-mix(in srgb, var(--fg-accent) 14%, transparent);
  font-size: 4.4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
  transition: transform 260ms ease, color 260ms ease;
}

.fb-profile-viewer-editorial .fg-process-card:hover .fg-step-number {
  transform: translateY(-4px) scale(1.05);
  color: color-mix(in srgb, var(--fg-accent) 24%, transparent);
}

@media (min-width: 1200px) {
  .fb-profile-viewer-editorial .fg-section {
    padding: 90px 24px;
  }

  .fb-profile-viewer-editorial .fg-container {
    max-width: 1240px;
  }

  .fb-profile-viewer-editorial .fg-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .fb-profile-viewer-editorial .fg-section {
    padding: 78px 22px;
  }

  .fb-profile-viewer-editorial .fg-container {
    max-width: 1040px;
  }

  .fb-profile-viewer-editorial .fg-section-head p {
    font-size: 0.98rem;
  }

  .fb-profile-viewer-editorial .fg-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .fb-profile-viewer-editorial .fg-card {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .fb-profile-viewer-editorial .fg-section {
    padding: 64px 18px;
  }

  .fb-profile-viewer-editorial .fg-section-head {
    margin-bottom: 30px;
  }

  .fb-profile-viewer-editorial .fg-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .fb-profile-viewer-editorial .fg-card {
    padding: 22px;
  }

  .fb-profile-viewer-editorial .fg-card h3 {
    font-size: 1.02rem;
  }

  .fb-profile-viewer-editorial .fg-card p {
    font-size: 0.93rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .fb-profile-viewer-editorial .fg-section {
    padding: 52px 14px;
  }

  .fb-profile-viewer-editorial .fg-section-head {
    margin-bottom: 26px;
  }

  .fb-profile-viewer-editorial .fg-section-head p {
    font-size: 0.94rem;
  }

  .fb-profile-viewer-editorial .fg-card-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .fb-profile-viewer-editorial .fg-card {
    min-height: auto;
    padding: 22px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .fb-profile-viewer-editorial .fg-section {
    padding: 46px 12px;
  }

  .fb-profile-viewer-editorial .fg-section-head {
    margin-bottom: 24px;
  }

  .fb-profile-viewer-editorial .fg-section-head p {
    font-size: 0.9rem;
  }

  .fb-profile-viewer-editorial .fg-card-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .fb-profile-viewer-editorial .fg-card {
    min-height: auto;
    padding: 20px;
  }

  .fb-profile-viewer-editorial .fg-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .fb-profile-viewer-editorial .fg-step-number {
    font-size: 3.7rem;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .fb-profile-viewer-editorial .fg-section {
    padding: 40px 10px;
  }

  .fb-profile-viewer-editorial .fg-section-head {
    margin-bottom: 22px;
  }

  .fb-profile-viewer-editorial .fg-section-head p {
    font-size: 0.86rem;
  }

  .fb-profile-viewer-editorial .fg-card-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .fb-profile-viewer-editorial .fg-card {
    min-height: auto;
    padding: 18px;
    border-radius: 18px;
  }

  .fb-profile-viewer-editorial .fg-card h3 {
    font-size: 0.98rem;
  }

  .fb-profile-viewer-editorial .fg-card p {
    font-size: 0.88rem;
  }

  .fb-profile-viewer-editorial .fg-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .fb-profile-viewer-editorial .fg-icon i {
    font-size: 1.05rem;
  }

  .fb-profile-viewer-editorial .fg-step-number {
    top: 14px;
    right: 14px;
    font-size: 3.2rem;
  }
}

@media (max-width: 319px) {
  .fb-profile-viewer-editorial .fg-section {
    padding: 34px 8px;
  }

  .fb-profile-viewer-editorial .fg-card-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .fb-profile-viewer-editorial .fg-card {
    min-height: auto;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fb-profile-viewer-editorial .fg-card,
  .fb-profile-viewer-editorial .fg-card::before,
  .fb-profile-viewer-editorial .fg-icon,
  .fb-profile-viewer-editorial .fg-card h3::after,
  .fb-profile-viewer-editorial .fg-card-note,
  .fb-profile-viewer-editorial .fg-step-number {
    transition: none;
  }

  .fb-profile-viewer-editorial .fg-card,
  .fb-profile-viewer-editorial .fg-card:hover,
  .fb-profile-viewer-editorial .fg-benefit-grid .fg-card:hover {
    transform: none;
  }
}