@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-dp-viewer-premium {
  --fg-blue: #1877f2;
  --fg-indigo: #4f46e5;
  --fg-ink: #172033;
  --fg-muted: #667085;
  --fg-border: rgba(24, 119, 242, 0.14);
  --fg-card-bg: rgba(255, 255, 255, 0.9);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  color: var(--fg-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fb-dp-viewer-premium *,
.fb-dp-viewer-premium *::before,
.fb-dp-viewer-premium *::after {
  box-sizing: border-box;
}

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

.fb-dp-viewer-premium .fg-section {
  position: relative;
  padding: 92px 22px;
  overflow-x: hidden;
}

.fb-dp-viewer-premium .fg-section-white {
  background: #fff;
}

.fb-dp-viewer-premium .fg-section-warm {
  background:
    radial-gradient(circle at 12% 10%, rgba(24, 119, 242, 0.12), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(79, 70, 229, 0.12), transparent 32%),
    linear-gradient(180deg, #fff8f2 0%, #f7fbff 100%);
}

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

.fb-dp-viewer-premium .fg-heading-wrap {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

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

.fb-dp-viewer-premium .fg-heading-wrap h2 span {
  background: linear-gradient(135deg, #1877f2 0%, #4267b2 45%, #6d5dfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fb-dp-viewer-premium .fg-heading-wrap p {
  margin: 14px auto 0;
  max-width: 700px;
  color: var(--fg-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.fb-dp-viewer-premium .fg-card {
  --fg-accent: #1877f2;
  --fg-accent-2: #6d5dfc;
  --fg-soft: rgba(24, 119, 242, 0.1);
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 248px;
  padding: 26px;
  border: 1px solid var(--fg-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92));
  box-shadow: 0 18px 44px rgba(23, 32, 51, 0.08);
  opacity: 0;
  transform: translateY(24px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
  transform-style: preserve-3d;
  transition:
    opacity 700ms ease,
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
  overflow: hidden;
}

.fb-dp-viewer-premium .fg-card:nth-child(8n + 1) { --fg-accent: #1877f2; --fg-accent-2: #5b8def; --fg-soft: rgba(24, 119, 242, 0.11); }
.fb-dp-viewer-premium .fg-card:nth-child(8n + 2) { --fg-accent: #7c3aed; --fg-accent-2: #a855f7; --fg-soft: rgba(124, 58, 237, 0.1); }
.fb-dp-viewer-premium .fg-card:nth-child(8n + 3) { --fg-accent: #0891b2; --fg-accent-2: #22d3ee; --fg-soft: rgba(8, 145, 178, 0.1); }
.fb-dp-viewer-premium .fg-card:nth-child(8n + 4) { --fg-accent: #0f766e; --fg-accent-2: #2dd4bf; --fg-soft: rgba(15, 118, 110, 0.1); }
.fb-dp-viewer-premium .fg-card:nth-child(8n + 5) { --fg-accent: #db2777; --fg-accent-2: #fb7185; --fg-soft: rgba(219, 39, 119, 0.1); }
.fb-dp-viewer-premium .fg-card:nth-child(8n + 6) { --fg-accent: #ea580c; --fg-accent-2: #f59e0b; --fg-soft: rgba(234, 88, 12, 0.1); }
.fb-dp-viewer-premium .fg-card:nth-child(8n + 7) { --fg-accent: #2563eb; --fg-accent-2: #38bdf8; --fg-soft: rgba(37, 99, 235, 0.1); }
.fb-dp-viewer-premium .fg-card:nth-child(8n + 8) { --fg-accent: #16a34a; --fg-accent-2: #86efac; --fg-soft: rgba(22, 163, 74, 0.1); }

.fb-dp-viewer-premium .fg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--fg-soft), transparent 52%);
  opacity: 0.72;
  pointer-events: none;
}

.fb-dp-viewer-premium .fg-card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fg-accent), var(--fg-accent-2));
  opacity: 0.68;
  border-radius: 0 0 999px 999px;
  transform: scaleX(0.38);
  transform-origin: left;
  transition: transform 260ms ease, opacity 260ms ease;
}

.fb-dp-viewer-premium .fg-card.fg-visible {
  opacity: 1;
  transform: translateY(0) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
}

.fb-dp-viewer-premium .fg-card:hover {
  border-color: color-mix(in srgb, var(--fg-accent) 42%, transparent);
  box-shadow: 0 26px 62px rgba(23, 32, 51, 0.14);
  transform: translateY(-7px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
}

.fb-dp-viewer-premium .fg-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.fb-dp-viewer-premium .fg-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--fg-soft);
  color: var(--fg-accent);
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  transition: transform 260ms ease, background 260ms ease, color 260ms ease;
}

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

.fb-dp-viewer-premium .fg-card h3 {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 12px;
  color: var(--fg-ink);
  font-size: 1.05rem;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fb-dp-viewer-premium .fg-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--fg-accent), var(--fg-accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.fb-dp-viewer-premium .fg-card:hover h3::after {
  transform: scaleX(1);
}

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

.fb-dp-viewer-premium .fg-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  color: var(--fg-accent);
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0.32;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fb-dp-viewer-premium .fg-card:hover .fg-cta {
  opacity: 1;
  transform: translateY(0);
}

.fb-dp-viewer-premium .fg-tilt-grid .fg-card {
  perspective: 900px;
}

.fb-dp-viewer-premium .fg-process-card {
  min-height: 270px;
}

.fb-dp-viewer-premium .fg-step-number {
  position: absolute;
  right: 20px;
  top: 14px;
  z-index: 0;
  color: var(--fg-accent);
  font-size: 4.8rem;
  line-height: 1;
  font-weight: 900;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.fb-dp-viewer-premium .fg-process-card:hover .fg-step-number {
  opacity: 0.16;
  transform: translateY(-4px) scale(1.04);
}

@media (min-width: 1200px) {
  .fb-dp-viewer-premium .fg-section {
    padding: 96px 28px;
  }

  .fb-dp-viewer-premium .fg-container {
    max-width: 1240px;
  }

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

@media (min-width: 1024px) and (max-width: 1199px) {
  .fb-dp-viewer-premium .fg-section {
    padding: 82px 24px;
  }

  .fb-dp-viewer-premium .fg-container {
    max-width: 1040px;
  }

  .fb-dp-viewer-premium .fg-heading-wrap p {
    font-size: 0.98rem;
  }

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

  .fb-dp-viewer-premium .fg-card {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .fb-dp-viewer-premium .fg-section {
    padding: 70px 20px;
  }

  .fb-dp-viewer-premium .fg-heading-wrap {
    margin-bottom: 30px;
  }

  .fb-dp-viewer-premium .fg-heading-wrap p {
    font-size: 0.96rem;
  }

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

  .fb-dp-viewer-premium .fg-card {
    padding: 22px;
  }

  .fb-dp-viewer-premium .fg-card h3 {
    font-size: 1rem;
  }

  .fb-dp-viewer-premium .fg-card p {
    font-size: 0.93rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .fb-dp-viewer-premium .fg-section {
    padding: 56px 16px;
  }

  .fb-dp-viewer-premium .fg-heading-wrap {
    margin-bottom: 24px;
  }

  .fb-dp-viewer-premium .fg-heading-wrap p {
    font-size: 0.93rem;
    line-height: 1.65;
  }

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

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

  .fb-dp-viewer-premium .fg-cta {
    max-width: 100%;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .fb-dp-viewer-premium .fg-section {
    padding: 48px 14px;
  }

  .fb-dp-viewer-premium .fg-heading-wrap {
    margin-bottom: 22px;
  }

  .fb-dp-viewer-premium .fg-heading-wrap p {
    font-size: 0.9rem;
    line-height: 1.62;
  }

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

  .fb-dp-viewer-premium .fg-card {
    padding: 20px;
    border-radius: 18px;
    min-height: auto;
  }

  .fb-dp-viewer-premium .fg-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.16rem;
  }

  .fb-dp-viewer-premium .fg-step-number {
    font-size: 4rem;
    right: 16px;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .fb-dp-viewer-premium .fg-section {
    padding: 42px 12px;
  }

  .fb-dp-viewer-premium .fg-heading-wrap {
    margin-bottom: 20px;
  }

  .fb-dp-viewer-premium .fg-heading-wrap p {
    font-size: 0.88rem;
    line-height: 1.58;
  }

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

  .fb-dp-viewer-premium .fg-card {
    padding: 18px;
    border-radius: 16px;
    min-width: 0;
    min-height: auto;
  }

  .fb-dp-viewer-premium .fg-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.05rem;
    margin-bottom: 16px;
  }

  .fb-dp-viewer-premium .fg-card h3 {
    font-size: 0.96rem;
  }

  .fb-dp-viewer-premium .fg-card p {
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .fb-dp-viewer-premium .fg-step-number {
    font-size: 3.5rem;
    right: 14px;
    top: 12px;
  }
}

@media (max-width: 319px) {
  .fb-dp-viewer-premium .fg-card-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fb-dp-viewer-premium .fg-card,
  .fb-dp-viewer-premium .fg-icon,
  .fb-dp-viewer-premium .fg-card::after,
  .fb-dp-viewer-premium .fg-card h3::after,
  .fb-dp-viewer-premium .fg-cta,
  .fb-dp-viewer-premium .fg-step-number {
    transition: none !important;
    animation: none !important;
  }

  .fb-dp-viewer-premium .fg-card,
  .fb-dp-viewer-premium .fg-card.fg-visible,
  .fb-dp-viewer-premium .fg-card:hover {
    transform: none !important;
  }
}