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

.ifv-premium-content {
  --ifv-ink: #241621;
  --ifv-muted: #6f6570;
  --ifv-soft: #fff6f1;
  --ifv-line: rgba(160, 81, 105, 0.16);
  --ifv-grad: linear-gradient(135deg, #f05a8a 0%, #b84ed8 52%, #ff8a3d 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ifv-ink);
}

.ifv-premium-content *,
.ifv-premium-content *::before,
.ifv-premium-content *::after {
  box-sizing: border-box;
}

.ifv-premium-content .ifv-section,
.ifv-premium-content .ifv-container,
.ifv-premium-content .ifv-card-grid {
  width: 100%;
  max-width: 100%;
}

.ifv-premium-content .ifv-section {
  position: relative;
  overflow: hidden;
}

.ifv-premium-content .ifv-section-white {
  background: #fff;
}

.ifv-premium-content .ifv-section-warm {
  background:
    radial-gradient(circle at top left, rgba(255, 138, 61, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(184, 78, 216, 0.12), transparent 38%),
    linear-gradient(180deg, #fff8f4 0%, #fff3f7 100%);
}

.ifv-premium-content .ifv-container {
  margin: 0 auto;
}

.ifv-premium-content .ifv-heading-wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.ifv-premium-content .ifv-heading-wrap h2 {
  margin: 0;
  color: var(--ifv-ink);
  font-size: clamp(1.2rem, 4vw, 2.2rem) !important;
  line-height: 1.12;
  font-weight: 820;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ifv-premium-content .ifv-heading-wrap h2 span {
  display: inline-block;
  background: var(--ifv-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ifv-premium-content .ifv-heading-wrap p {
  margin: 14px auto 0;
  color: var(--ifv-muted);
  line-height: 1.72;
  font-weight: 450;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ifv-premium-content .ifv-card-grid {
  display: grid;
  align-items: stretch;
}

.ifv-premium-content .ifv-card {
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --ifv-a: #f05a8a;
  --ifv-b: #ff8a3d;
  --ifv-rgb: 240, 90, 138;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--ifv-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(var(--ifv-rgb), 0.18), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 245, 0.86));
  box-shadow: 0 18px 44px rgba(74, 36, 51, 0.08);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(18px);
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.ifv-premium-content .ifv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(var(--ifv-rgb), 0.1), transparent 44%),
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.8), transparent 22%);
  opacity: 0.82;
  transition: opacity 0.28s ease;
}

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

.ifv-premium-content .ifv-card:hover {
  border-color: rgba(var(--ifv-rgb), 0.42);
  box-shadow: 0 24px 62px rgba(74, 36, 51, 0.14);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-7px);
}

.ifv-premium-content .ifv-card:hover::before {
  opacity: 1;
}

.ifv-premium-content .ifv-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  max-width: 100%;
  border-radius: 18px;
  color: var(--ifv-a);
  background: rgba(var(--ifv-rgb), 0.11);
  box-shadow: inset 0 0 0 1px rgba(var(--ifv-rgb), 0.14);
  transition: transform 0.28s ease, color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.ifv-premium-content .ifv-icon i {
  font-size: 1.2rem;
  line-height: 1;
}

.ifv-premium-content .ifv-card:hover .ifv-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--ifv-a), var(--ifv-b));
  box-shadow: 0 14px 30px rgba(var(--ifv-rgb), 0.24);
  transform: translateY(-4px) rotate(-3deg) scale(1.04);
}

.ifv-premium-content .ifv-card h3 {
  position: relative;
  margin: 22px 0 0;
  color: var(--ifv-ink);
  line-height: 1.25;
  font-weight: 760;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ifv-premium-content .ifv-card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ifv-a), var(--ifv-b));
  transform-origin: left center;
  transform: scaleX(0.55);
  transition: transform 0.28s ease;
}

.ifv-premium-content .ifv-card:hover h3::after {
  transform: scaleX(1.45);
}

.ifv-premium-content .ifv-card p {
  margin: 15px 0 0;
  color: var(--ifv-muted);
  line-height: 1.68;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ifv-premium-content .ifv-card:hover .ifv-cta {
  opacity: 1;
  transform: translateY(0);
  color: var(--ifv-b);
}

.ifv-premium-content .ifv-tilt-card {
  transform-style: preserve-3d;
}

.ifv-premium-content .ifv-tilt-card .ifv-icon,
.ifv-premium-content .ifv-tilt-card h3,
.ifv-premium-content .ifv-tilt-card p {
  transform: translateZ(18px);
}

.ifv-premium-content .ifv-process-card::after {
  content: var(--ifv-step);
  position: absolute;
  right: 18px;
  top: 10px;
  z-index: -1;
  font-size: 5.1rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(var(--ifv-rgb), 0.08);
  letter-spacing: 0;
  transition: transform 0.28s ease, color 0.28s ease;
  pointer-events: none;
}

.ifv-premium-content .ifv-process-card:hover::after {
  color: rgba(var(--ifv-rgb), 0.14);
  transform: translateY(-4px) scale(1.05);
}

.ifv-premium-content .ifv-step-text {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 16px;
  color: var(--ifv-a);
  font-weight: 790;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ifv-premium-content .ifv-card:nth-child(1) { --ifv-a: #f05a8a; --ifv-b: #ff8a3d; --ifv-rgb: 240, 90, 138; }
.ifv-premium-content .ifv-card:nth-child(2) { --ifv-a: #b84ed8; --ifv-b: #f05a8a; --ifv-rgb: 184, 78, 216; }
.ifv-premium-content .ifv-card:nth-child(3) { --ifv-a: #ff7a59; --ifv-b: #f7b733; --ifv-rgb: 255, 122, 89; }
.ifv-premium-content .ifv-card:nth-child(4) { --ifv-a: #4c7dff; --ifv-b: #b84ed8; --ifv-rgb: 76, 125, 255; }
.ifv-premium-content .ifv-card:nth-child(5) { --ifv-a: #10a878; --ifv-b: #55c7a6; --ifv-rgb: 16, 168, 120; }
.ifv-premium-content .ifv-card:nth-child(6) { --ifv-a: #e2559c; --ifv-b: #7c5cff; --ifv-rgb: 226, 85, 156; }
.ifv-premium-content .ifv-card:nth-child(7) { --ifv-a: #e0a11b; --ifv-b: #ff6a5f; --ifv-rgb: 224, 161, 27; }
.ifv-premium-content .ifv-card:nth-child(8) { --ifv-a: #178fbd; --ifv-b: #47c6d8; --ifv-rgb: 23, 143, 189; }

@media (min-width: 1200px) {
  .ifv-premium-content .ifv-section { padding: 96px 28px; }
  .ifv-premium-content .ifv-container { max-width: 1240px; }
  .ifv-premium-content .ifv-heading-wrap p { font-size: 1.08rem; }
  .ifv-premium-content .ifv-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin-top: 48px;
  }
  .ifv-premium-content .ifv-card { padding: 30px; }
  .ifv-premium-content .ifv-card h3 { font-size: 1.1rem; }
  .ifv-premium-content .ifv-card p { font-size: 0.96rem; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .ifv-premium-content .ifv-section { padding: 82px 24px; }
  .ifv-premium-content .ifv-container { max-width: 1060px; }
  .ifv-premium-content .ifv-heading-wrap p { font-size: 1rem; }
  .ifv-premium-content .ifv-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 42px;
  }
  .ifv-premium-content .ifv-card { padding: 26px; }
  .ifv-premium-content .ifv-card h3 { font-size: 1.05rem; }
  .ifv-premium-content .ifv-card p { font-size: 0.94rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ifv-premium-content .ifv-section { padding: 68px 22px; }
  .ifv-premium-content .ifv-container { max-width: 820px; }
  .ifv-premium-content .ifv-heading-wrap p { font-size: 0.97rem; }
  .ifv-premium-content .ifv-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
  }
  .ifv-premium-content .ifv-card { padding: 24px; border-radius: 22px; }
  .ifv-premium-content .ifv-card h3 { font-size: 1rem; }
  .ifv-premium-content .ifv-card p { font-size: 0.92rem; }
}

@media (min-width: 430px) and (max-width: 767px) {
  .ifv-premium-content .ifv-section { padding: 54px 18px; }
  .ifv-premium-content .ifv-heading-wrap p { font-size: 0.93rem; }
  .ifv-premium-content .ifv-card-grid {
    grid-template-columns: 1fr !important;
    gap: 17px;
    margin-top: 30px;
  }
  .ifv-premium-content .ifv-card {
    padding: 22px;
    border-radius: 20px;
    min-width: 0;
  }
  .ifv-premium-content .ifv-icon { width: 50px; height: 50px; border-radius: 16px; }
  .ifv-premium-content .ifv-card h3 { font-size: 0.99rem; }
  .ifv-premium-content .ifv-card p { font-size: 0.91rem; }
  .ifv-premium-content .ifv-process-card::after { font-size: 4.2rem; }
}

@media (min-width: 375px) and (max-width: 429px) {
  .ifv-premium-content .ifv-section { padding: 48px 15px; }
  .ifv-premium-content .ifv-heading-wrap p { font-size: 0.9rem; line-height: 1.62; }
  .ifv-premium-content .ifv-card-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
    margin-top: 26px;
  }
  .ifv-premium-content .ifv-card { padding: 20px; border-radius: 18px; }
  .ifv-premium-content .ifv-icon { width: 46px; height: 46px; border-radius: 15px; }
  .ifv-premium-content .ifv-icon i { font-size: 1.05rem; }
  .ifv-premium-content .ifv-card h3 { font-size: 0.96rem; margin-top: 18px; }
  .ifv-premium-content .ifv-card p { font-size: 0.88rem; line-height: 1.62; }
  .ifv-premium-content .ifv-cta { font-size: 0.86rem; }
  .ifv-premium-content .ifv-process-card::after { font-size: 3.8rem; right: 12px; }
}

@media (min-width: 320px) and (max-width: 374px) {
  .ifv-premium-content .ifv-section { padding: 42px 12px; }
  .ifv-premium-content .ifv-heading-wrap p { font-size: 0.86rem; line-height: 1.58; }
  .ifv-premium-content .ifv-card-grid {
    grid-template-columns: 1fr !important;
    gap: 13px;
    margin-top: 22px;
  }
  .ifv-premium-content .ifv-card { padding: 17px; border-radius: 17px; }
  .ifv-premium-content .ifv-icon { width: 42px; height: 42px; border-radius: 14px; }
  .ifv-premium-content .ifv-icon i { font-size: 0.98rem; }
  .ifv-premium-content .ifv-card h3 { font-size: 0.92rem; margin-top: 16px; }
  .ifv-premium-content .ifv-card p { font-size: 0.84rem; line-height: 1.56; }
  .ifv-premium-content .ifv-cta { font-size: 0.82rem; }
  .ifv-premium-content .ifv-process-card::after { font-size: 3.25rem; right: 10px; top: 10px; }
  .ifv-premium-content .ifv-step-text { font-size: 0.7rem; }
}

@media (max-width: 319px) {
  .ifv-premium-content .ifv-card-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ifv-premium-content .ifv-card,
  .ifv-premium-content .ifv-card::before,
  .ifv-premium-content .ifv-icon,
  .ifv-premium-content .ifv-card h3::after,
  .ifv-premium-content .ifv-cta,
  .ifv-premium-content .ifv-process-card::after {
    transition: none !important;
    animation: none !important;
  }

  .ifv-premium-content .ifv-card,
  .ifv-premium-content .ifv-card.is-visible,
  .ifv-premium-content .ifv-card:hover {
    transform: none !important;
    opacity: 1 !important;
  }
}