@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");

.flv-premium-content,
.flv-premium-content * {
  box-sizing: border-box;
}

.flv-premium-content {
  --flv-ink: #162033;
  --flv-muted: #667085;
  --flv-line: rgba(37, 99, 235, 0.14);
  --flv-blue: #1877f2;
  --flv-cyan: #06b6d4;
  --flv-violet: #7c3aed;
  --flv-warm: #fff7ed;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--flv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.flv-premium-content section,
.flv-premium-content .flv-container,
.flv-premium-content .flv-grid {
  width: 100%;
/*   max-width: 100%; */
}

.flv-section {
  padding: 86px 20px;
}

.flv-section-white {
  background: #fff;
}

.flv-section-warm {
  background:
    radial-gradient(circle at 12% 18%, rgba(24, 119, 242, 0.08), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(6, 182, 212, 0.09), transparent 34%),
    linear-gradient(180deg, #fffaf4 0%, #fff7ed 100%);
}

.flv-container {
  max-width: 1220px;
  margin: 0 auto;
}

.flv-section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.flv-section-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  line-height: 1.16;
  font-weight: 820;
  letter-spacing: 0;
  color: var(--flv-ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.flv-section-head h2 span {
  background: linear-gradient(135deg, var(--flv-blue), var(--flv-cyan), var(--flv-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flv-section-head p {
  margin: 14px auto 0;
  color: var(--flv-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.flv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.flv-card {
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --flv-accent: #1877f2;
  --flv-accent-soft: rgba(24, 119, 242, 0.1);
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 258px;
  padding: 26px;
  border: 1px solid var(--flv-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), color-mix(in srgb, var(--flv-accent) 18%, transparent), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.07);
  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: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.flv-card:nth-child(2) { --flv-accent: #06b6d4; --flv-accent-soft: rgba(6, 182, 212, 0.11); }
.flv-card:nth-child(3) { --flv-accent: #7c3aed; --flv-accent-soft: rgba(124, 58, 237, 0.1); }
.flv-card:nth-child(4) { --flv-accent: #0f9f6e; --flv-accent-soft: rgba(15, 159, 110, 0.1); }
.flv-card:nth-child(5) { --flv-accent: #f59e0b; --flv-accent-soft: rgba(245, 158, 11, 0.12); }
.flv-card:nth-child(6) { --flv-accent: #ef4444; --flv-accent-soft: rgba(239, 68, 68, 0.1); }
.flv-card:nth-child(7) { --flv-accent: #2563eb; --flv-accent-soft: rgba(37, 99, 235, 0.11); }
.flv-card:nth-child(8) { --flv-accent: #14b8a6; --flv-accent-soft: rgba(20, 184, 166, 0.1); }

.flv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--flv-accent-soft), transparent 48%);
  opacity: 0.82;
  pointer-events: none;
}

.flv-card::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 0;
  width: calc(100% - 52px);
  height: 3px;
  background: linear-gradient(90deg, var(--flv-accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.flv-card:hover {
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-7px);
  border-color: color-mix(in srgb, var(--flv-accent) 42%, transparent);
  box-shadow: 0 22px 48px rgba(16, 24, 40, 0.13);
}

.flv-card:hover::after {
  transform: scaleX(1);
}

.flv-icon {
  width: 54px;
  height: 54px;
  max-width: 100%;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--flv-accent-soft);
  color: var(--flv-accent);
  font-size: 1.22rem;
  transition: transform 260ms ease, background 260ms ease, color 260ms ease;
}

.flv-card:hover .flv-icon {
  transform: translateY(-3px) scale(1.05);
  background: var(--flv-accent);
  color: #fff;
}

.flv-card h3 {
  position: relative;
  margin: 22px 0 11px;
  color: var(--flv-ink);
  font-size: 1.08rem;
  line-height: 1.28;
  font-weight: 760;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.flv-card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--flv-accent);
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform 260ms ease;
}

.flv-card:hover h3::after {
  transform: scaleX(1);
}

.flv-card p {
  margin: 0;
  color: var(--flv-muted);
  font-size: 0.95rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.flv-cta {
  display: inline-block;
  max-width: 100%;
  margin-top: 18px !important;
  color: var(--flv-accent) !important;
  font-weight: 760;
  opacity: 0.35;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.flv-card:hover .flv-cta {
  opacity: 1;
  transform: translateY(0);
}

.flv-process-card {
  min-height: 274px;
}

.flv-step {
  position: absolute;
  right: 18px;
  top: 12px;
  max-width: calc(100% - 36px);
  color: color-mix(in srgb, var(--flv-accent) 16%, transparent);
  font-size: 4.4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
  transition: transform 260ms ease, color 260ms ease;
}

.flv-process-card:hover .flv-step {
  color: color-mix(in srgb, var(--flv-accent) 24%, transparent);
  transform: translateY(-4px) scale(1.04);
}

@media (min-width: 1200px) {
  .flv-section {
    padding: 92px 24px;
  }

  .flv-container {
    max-width: 1220px;
  }

  .flv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .flv-section {
    padding: 78px 22px;
  }

  .flv-container {
    max-width: 980px;
  }

  .flv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .flv-section-head p {
    font-size: 0.98rem;
  }

  .flv-card {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .flv-section {
    padding: 68px 20px;
  }

  .flv-section-head {
    margin-bottom: 30px;
  }

  .flv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .flv-card {
    padding: 22px;
  }

  .flv-card h3 {
    font-size: 1.02rem;
  }

  .flv-card p {
    font-size: 0.92rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .flv-section {
    padding: 54px 16px;
  }

  .flv-section-head {
    margin-bottom: 26px;
  }

  .flv-section-head p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .flv-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .flv-card {
    min-height: auto;
    padding: 22px;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .flv-section {
    padding: 46px 14px;
  }

  .flv-section-head {
    margin-bottom: 22px;
  }

  .flv-section-head p {
    font-size: 0.9rem;
  }

  .flv-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .flv-card {
    min-height: auto;
    padding: 20px;
    border-radius: 16px;
  }

  .flv-icon {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }

  .flv-step {
    font-size: 3.6rem;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .flv-section {
    padding: 40px 12px;
  }

  .flv-section-head {
    margin-bottom: 20px;
  }

  .flv-section-head p {
    font-size: 0.86rem;
    line-height: 1.58;
  }

  .flv-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .flv-card {
    min-height: auto;
    padding: 18px;
    border-radius: 15px;
  }

  .flv-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .flv-card h3 {
    font-size: 0.98rem;
    margin-top: 18px;
  }

  .flv-card p {
    font-size: 0.86rem;
  }

  .flv-step {
    right: 14px;
    top: 10px;
    font-size: 3.1rem;
  }
}

@media (max-width: 319px) {
  .flv-section {
    padding: 34px 10px;
  }

  .flv-grid {
    grid-template-columns: 1fr !important;
  }

  .flv-card {
    min-width: 0;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flv-premium-content *,
  .flv-premium-content *::before,
  .flv-premium-content *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .flv-card,
  .flv-card:hover {
    transform: none;
  }
}