@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");

.fgfv-premium-wrap,
.fgfv-premium-wrap * {
  box-sizing: border-box;
}

.fgfv-premium-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: #241f2f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
}

.fgfv-premium-wrap .fgfv-section {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.fgfv-premium-wrap .fgfv-section-white {
  background: #fff;
}

.fgfv-premium-wrap .fgfv-section-warm {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 125, 97, 0.14), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(183, 99, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #fff7f1 0%, #fff3ec 48%, #fffaf7 100%);
}

.fgfv-premium-wrap .fgfv-container {
  width: min(1280px, 100%);
  max-width: 100%;
  margin: 0 auto;
}

.fgfv-premium-wrap .fgfv-heading-block {
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}

.fgfv-premium-wrap .fgfv-heading-block h2 {
  margin: 0;
  color: #251b33;
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  line-height: 1.15;
  font-weight: 820;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fgfv-premium-wrap .fgfv-heading-block h2 span {
  display: inline;
  background: linear-gradient(135deg, #f04486 0%, #ff7a59 43%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fgfv-premium-wrap .fgfv-heading-block p {
  margin: 14px auto 0;
  max-width: 690px;
  color: #6d6578;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fgfv-premium-wrap .fgfv-card-grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.fgfv-premium-wrap .fgfv-card {
  --fg-accent: #f04486;
  --fg-accent-2: #ff7a59;
  --fg-soft: rgba(240, 68, 134, 0.1);
  --fg-border: rgba(240, 68, 134, 0.18);
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;

  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 245px;
  padding: 26px;
  border: 1px solid rgba(45, 29, 55, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 244, 0.82));
  box-shadow: 0 16px 42px rgba(46, 31, 68, 0.08);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(22px);
  opacity: 0;
  transition:
    opacity 0.65s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fgfv-premium-wrap .fgfv-card:nth-child(2) { --fg-accent: #7c3aed; --fg-accent-2: #fb7185; --fg-soft: rgba(124, 58, 237, 0.1); --fg-border: rgba(124, 58, 237, 0.22); }
.fgfv-premium-wrap .fgfv-card:nth-child(3) { --fg-accent: #0ea5e9; --fg-accent-2: #f97316; --fg-soft: rgba(14, 165, 233, 0.1); --fg-border: rgba(14, 165, 233, 0.22); }
.fgfv-premium-wrap .fgfv-card:nth-child(4) { --fg-accent: #10b981; --fg-accent-2: #f43f5e; --fg-soft: rgba(16, 185, 129, 0.1); --fg-border: rgba(16, 185, 129, 0.22); }
.fgfv-premium-wrap .fgfv-card:nth-child(5) { --fg-accent: #f59e0b; --fg-accent-2: #8b5cf6; --fg-soft: rgba(245, 158, 11, 0.12); --fg-border: rgba(245, 158, 11, 0.24); }
.fgfv-premium-wrap .fgfv-card:nth-child(6) { --fg-accent: #ec4899; --fg-accent-2: #06b6d4; --fg-soft: rgba(236, 72, 153, 0.1); --fg-border: rgba(236, 72, 153, 0.22); }
.fgfv-premium-wrap .fgfv-card:nth-child(7) { --fg-accent: #6366f1; --fg-accent-2: #22c55e; --fg-soft: rgba(99, 102, 241, 0.1); --fg-border: rgba(99, 102, 241, 0.22); }
.fgfv-premium-wrap .fgfv-card:nth-child(8) { --fg-accent: #ef4444; --fg-accent-2: #14b8a6; --fg-soft: rgba(239, 68, 68, 0.1); --fg-border: rgba(239, 68, 68, 0.22); }

.fgfv-premium-wrap .fgfv-card.fgfv-visible {
  opacity: 1;
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(0);
}

.fgfv-premium-wrap .fgfv-card:hover {
  border-color: var(--fg-border);
  box-shadow: 0 24px 60px rgba(52, 32, 70, 0.14);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-7px);
}

.fgfv-premium-wrap .fgfv-card-shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), color-mix(in srgb, var(--fg-accent) 22%, transparent), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--fg-accent) 7%, transparent), color-mix(in srgb, var(--fg-accent-2) 7%, transparent));
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.fgfv-premium-wrap .fgfv-card:hover .fgfv-card-shine {
  opacity: 1;
}

.fgfv-premium-wrap .fgfv-icon-box {
  width: 54px;
  height: 54px;
  max-width: 100%;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--fg-accent);
  background: var(--fg-soft);
  border: 1px solid color-mix(in srgb, var(--fg-accent) 20%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: transform 0.28s ease, color 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.fgfv-premium-wrap .fgfv-icon-box i {
  font-size: 1.25rem;
  line-height: 1;
}

.fgfv-premium-wrap .fgfv-card:hover .fgfv-icon-box {
  color: #fff;
  background: linear-gradient(135deg, var(--fg-accent), var(--fg-accent-2));
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px) rotate(-3deg) scale(1.04);
}

.fgfv-premium-wrap .fgfv-card h3 {
  position: relative;
  margin: 22px 0 10px;
  color: #251b33;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 780;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fgfv-premium-wrap .fgfv-card h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fg-accent), var(--fg-accent-2));
  transform-origin: left center;
  transform: scaleX(0.45);
  transition: transform 0.28s ease;
}

.fgfv-premium-wrap .fgfv-card:hover h3::after {
  transform: scaleX(1);
}

.fgfv-premium-wrap .fgfv-card p {
  margin: 0;
  color: #6e6578;
  font-size: 0.94rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fgfv-premium-wrap .fgfv-card-cta {
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  color: var(--fg-accent);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.3;
  opacity: 0.35;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fgfv-premium-wrap .fgfv-card:hover .fgfv-card-cta {
  opacity: 1;
  transform: translateY(0);
}

.fgfv-premium-wrap .fgfv-tilt-card {
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.86), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 241, 0.9));
}

.fgfv-premium-wrap .fgfv-process-card {
  padding-top: 72px;
}

.fgfv-premium-wrap .fgfv-step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  max-width: calc(100% - 40px);
  color: color-mix(in srgb, var(--fg-accent) 20%, transparent);
  font-size: 3.15rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
  transition: transform 0.28s ease, color 0.28s ease;
  overflow: hidden;
}

.fgfv-premium-wrap .fgfv-process-card:hover .fgfv-step-num {
  color: color-mix(in srgb, var(--fg-accent) 34%, transparent);
  transform: translateY(-3px) scale(1.04);
}

@media (min-width: 1200px) {
  .fgfv-premium-wrap .fgfv-section { padding: 92px 28px; }
  .fgfv-premium-wrap .fgfv-container { width: min(1280px, 100%); }
  .fgfv-premium-wrap .fgfv-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .fgfv-premium-wrap .fgfv-heading-block { margin-bottom: 46px; }
  .fgfv-premium-wrap .fgfv-heading-block p { font-size: 1.03rem; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .fgfv-premium-wrap .fgfv-section { padding: 78px 24px; }
  .fgfv-premium-wrap .fgfv-container { width: min(1080px, 100%); }
  .fgfv-premium-wrap .fgfv-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .fgfv-premium-wrap .fgfv-heading-block { margin-bottom: 38px; }
  .fgfv-premium-wrap .fgfv-heading-block p { font-size: 0.98rem; }
  .fgfv-premium-wrap .fgfv-card { padding: 24px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .fgfv-premium-wrap .fgfv-section { padding: 66px 20px; }
  .fgfv-premium-wrap .fgfv-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .fgfv-premium-wrap .fgfv-heading-block { margin-bottom: 34px; }
  .fgfv-premium-wrap .fgfv-card { padding: 22px; min-height: 232px; }
  .fgfv-premium-wrap .fgfv-card h3 { font-size: 1rem; }
  .fgfv-premium-wrap .fgfv-card p { font-size: 0.92rem; }
}

@media (min-width: 430px) and (max-width: 767px) {
  .fgfv-premium-wrap .fgfv-section { padding: 54px 16px; }
  .fgfv-premium-wrap .fgfv-card-grid { grid-template-columns: 1fr !important; gap: 18px; }
  .fgfv-premium-wrap .fgfv-heading-block { margin-bottom: 30px; }
  .fgfv-premium-wrap .fgfv-heading-block p { font-size: 0.93rem; line-height: 1.65; }
  .fgfv-premium-wrap .fgfv-card { padding: 21px; min-height: auto; }
  .fgfv-premium-wrap .fgfv-process-card { padding-top: 64px; }
  .fgfv-premium-wrap .fgfv-card-cta { width: 100%; }
}

@media (min-width: 375px) and (max-width: 429px) {
  .fgfv-premium-wrap .fgfv-section { padding: 48px 14px; }
  .fgfv-premium-wrap .fgfv-card-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .fgfv-premium-wrap .fgfv-heading-block { margin-bottom: 26px; }
  .fgfv-premium-wrap .fgfv-heading-block p { font-size: 0.9rem; line-height: 1.62; }
  .fgfv-premium-wrap .fgfv-card { padding: 19px; border-radius: 19px; min-height: auto; }
  .fgfv-premium-wrap .fgfv-icon-box { width: 48px; height: 48px; border-radius: 15px; }
  .fgfv-premium-wrap .fgfv-icon-box i { font-size: 1.1rem; }
  .fgfv-premium-wrap .fgfv-card h3 { font-size: 0.98rem; }
  .fgfv-premium-wrap .fgfv-card p { font-size: 0.9rem; }
  .fgfv-premium-wrap .fgfv-process-card { padding-top: 60px; }
  .fgfv-premium-wrap .fgfv-step-num { font-size: 2.7rem; right: 17px; }
}

@media (min-width: 320px) and (max-width: 374px) {
  .fgfv-premium-wrap .fgfv-section { padding: 42px 12px; }
  .fgfv-premium-wrap .fgfv-card-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .fgfv-premium-wrap .fgfv-heading-block { margin-bottom: 24px; }
  .fgfv-premium-wrap .fgfv-heading-block p { font-size: 0.86rem; line-height: 1.58; }
  .fgfv-premium-wrap .fgfv-card { padding: 17px; border-radius: 18px; min-height: auto; }
  .fgfv-premium-wrap .fgfv-icon-box { width: 44px; height: 44px; border-radius: 14px; }
  .fgfv-premium-wrap .fgfv-icon-box i { font-size: 1rem; }
  .fgfv-premium-wrap .fgfv-card h3 { margin-top: 18px; font-size: 0.94rem; }
  .fgfv-premium-wrap .fgfv-card p { font-size: 0.86rem; line-height: 1.58; }
  .fgfv-premium-wrap .fgfv-card-cta { font-size: 0.84rem; }
  .fgfv-premium-wrap .fgfv-process-card { padding-top: 56px; }
  .fgfv-premium-wrap .fgfv-step-num { top: 14px; right: 15px; font-size: 2.35rem; }
}

@media (max-width: 319px) {
  .fgfv-premium-wrap .fgfv-section { padding: 38px 10px; }
  .fgfv-premium-wrap .fgfv-card-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .fgfv-premium-wrap .fgfv-card { padding: 15px; min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .fgfv-premium-wrap .fgfv-card,
  .fgfv-premium-wrap .fgfv-card *,
  .fgfv-premium-wrap .fgfv-card::before,
  .fgfv-premium-wrap .fgfv-card::after {
    transition: none !important;
    animation: none !important;
  }

  .fgfv-premium-wrap .fgfv-card {
    opacity: 1;
    transform: none !important;
  }
}