@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-wrap,
.ifv-premium-wrap * {
  box-sizing: border-box;
}

.ifv-premium-wrap {
  --ifv-ink: #181421;
  --ifv-muted: #6f6477;
  --ifv-line: rgba(71, 45, 78, 0.13);
  --ifv-gradient: linear-gradient(135deg, #f0478a 0%, #ff8b4a 48%, #7a5cff 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ifv-ink);
  background: #fff;
}

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

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

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

.ifv-premium-wrap .ifv-section-warm {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 139, 74, 0.18), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(122, 92, 255, 0.13), transparent 34%),
    linear-gradient(180deg, #fff7f2 0%, #fff9f6 54%, #fff 100%);
}

.ifv-premium-wrap .ifv-container {
  margin: 0 auto;
  position: relative;
}

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

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

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

.ifv-premium-wrap .ifv-heading-block p {
  margin: 14px auto 0;
  color: var(--ifv-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ifv-premium-wrap .ifv-card {
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --ifv-a: #f0478a;
  --ifv-b: #ff8b4a;
  --ifv-soft: rgba(240, 71, 138, 0.1);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--ifv-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.98), transparent 0 18%, transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 247, 0.88));
  box-shadow: 0 18px 44px rgba(48, 32, 56, 0.08);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(18px);
  opacity: 0;
  transition:
    opacity 0.65s ease,
    transform 0.65s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
  will-change: transform;
}

.ifv-premium-wrap .ifv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), color-mix(in srgb, var(--ifv-a) 18%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--ifv-a) 10%, transparent), color-mix(in srgb, var(--ifv-b) 8%, transparent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ifv-premium-wrap .ifv-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ifv-a), var(--ifv-b));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

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

.ifv-premium-wrap .ifv-card:hover {
  border-color: color-mix(in srgb, var(--ifv-a) 36%, rgba(71, 45, 78, 0.16));
  box-shadow: 0 26px 64px rgba(48, 32, 56, 0.14);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-7px);
}

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

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

.ifv-premium-wrap .ifv-card:nth-child(1) { --ifv-a: #f0478a; --ifv-b: #ff8b4a; --ifv-soft: rgba(240, 71, 138, 0.11); }
.ifv-premium-wrap .ifv-card:nth-child(2) { --ifv-a: #7a5cff; --ifv-b: #20c7a8; --ifv-soft: rgba(122, 92, 255, 0.1); }
.ifv-premium-wrap .ifv-card:nth-child(3) { --ifv-a: #ff8b4a; --ifv-b: #ffd166; --ifv-soft: rgba(255, 139, 74, 0.12); }
.ifv-premium-wrap .ifv-card:nth-child(4) { --ifv-a: #20c7a8; --ifv-b: #4c8cff; --ifv-soft: rgba(32, 199, 168, 0.11); }
.ifv-premium-wrap .ifv-card:nth-child(5) { --ifv-a: #e8497f; --ifv-b: #8b5cf6; --ifv-soft: rgba(232, 73, 127, 0.1); }
.ifv-premium-wrap .ifv-card:nth-child(6) { --ifv-a: #4c8cff; --ifv-b: #f0478a; --ifv-soft: rgba(76, 140, 255, 0.1); }
.ifv-premium-wrap .ifv-card:nth-child(7) { --ifv-a: #ff6b6b; --ifv-b: #20c7a8; --ifv-soft: rgba(255, 107, 107, 0.1); }
.ifv-premium-wrap .ifv-card:nth-child(8) { --ifv-a: #9b5de5; --ifv-b: #ff8b4a; --ifv-soft: rgba(155, 93, 229, 0.1); }

.ifv-premium-wrap .ifv-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, var(--ifv-soft));
  color: var(--ifv-a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 12px 26px color-mix(in srgb, var(--ifv-a) 14%, transparent);
  transition: transform 0.28s ease, color 0.28s ease, background 0.28s ease;
}

.ifv-premium-wrap .ifv-card:hover .ifv-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--ifv-a), var(--ifv-b));
  transform: translateY(-3px) rotate(-3deg) scale(1.04);
}

.ifv-premium-wrap .ifv-card h3 {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  color: #201729;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ifv-premium-wrap .ifv-card:hover h3::after {
  width: 58px;
  transform: scaleX(1);
}

.ifv-premium-wrap .ifv-card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--ifv-muted);
  line-height: 1.62;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ifv-premium-wrap .ifv-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  color: var(--ifv-a);
  font-weight: 760;
  line-height: 1.35;
  opacity: 0.3;
  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-wrap .ifv-card:hover .ifv-cta {
  opacity: 1;
  transform: translateY(0);
  color: color-mix(in srgb, var(--ifv-a) 78%, #201729);
}

.ifv-premium-wrap .ifv-grid-why .ifv-card:hover {
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-8px);
}

.ifv-premium-wrap .ifv-process-card {
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.96), transparent 0 18%, transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 242, 0.9));
}

.ifv-premium-wrap .ifv-process-card::before {
  content: attr(data-step);
  position: absolute;
  right: 18px;
  top: 10px;
  font-size: 4.4rem;
  line-height: 1;
  font-weight: 900;
  color: color-mix(in srgb, var(--ifv-a) 13%, transparent);
  letter-spacing: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.78;
}

.ifv-premium-wrap .ifv-process-card:hover::before {
  transform: translateY(-4px) scale(1.04);
  opacity: 1;
}

.ifv-premium-wrap .ifv-step-text {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--ifv-a) 78%, #201729);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 1200px) {
  .ifv-premium-wrap .ifv-section { padding: 92px 28px; }
  .ifv-premium-wrap .ifv-container { max-width: 1240px; }
  .ifv-premium-wrap .ifv-heading-block p { font-size: 1.04rem; }
  .ifv-premium-wrap .ifv-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 46px; }
  .ifv-premium-wrap .ifv-card { padding: 28px; }
  .ifv-premium-wrap .ifv-icon { width: 58px; height: 58px; font-size: 1.35rem; }
  .ifv-premium-wrap .ifv-card h3 { font-size: 1.08rem; }
  .ifv-premium-wrap .ifv-card p { font-size: 0.95rem; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .ifv-premium-wrap .ifv-section { padding: 78px 24px; }
  .ifv-premium-wrap .ifv-container { max-width: 1040px; }
  .ifv-premium-wrap .ifv-heading-block p { font-size: 1rem; }
  .ifv-premium-wrap .ifv-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
  .ifv-premium-wrap .ifv-card { padding: 25px; }
  .ifv-premium-wrap .ifv-icon { width: 56px; height: 56px; font-size: 1.28rem; }
  .ifv-premium-wrap .ifv-card h3 { font-size: 1.04rem; }
  .ifv-premium-wrap .ifv-card p { font-size: 0.94rem; }
}

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

@media (min-width: 430px) and (max-width: 767px) {
  .ifv-premium-wrap .ifv-section { padding: 54px 18px; }
  .ifv-premium-wrap .ifv-container { max-width: 100%; }
  .ifv-premium-wrap .ifv-heading-block p { font-size: 0.94rem; }
  .ifv-premium-wrap .ifv-card-grid { grid-template-columns: 1fr !important; gap: 16px; margin-top: 28px; }
  .ifv-premium-wrap .ifv-card { width: 100%; min-width: 0; padding: 22px; border-radius: 18px; }
  .ifv-premium-wrap .ifv-icon { width: 52px; height: 52px; font-size: 1.12rem; }
  .ifv-premium-wrap .ifv-card h3 { font-size: 0.98rem; }
  .ifv-premium-wrap .ifv-card p { font-size: 0.9rem; }
  .ifv-premium-wrap .ifv-cta { font-size: 0.9rem; }
}

@media (min-width: 375px) and (max-width: 429px) {
  .ifv-premium-wrap .ifv-section { padding: 46px 15px; }
  .ifv-premium-wrap .ifv-card-grid { grid-template-columns: 1fr !important; gap: 14px; margin-top: 24px; }
  .ifv-premium-wrap .ifv-heading-block p { font-size: 0.9rem; line-height: 1.62; }
  .ifv-premium-wrap .ifv-card { padding: 19px; border-radius: 17px; }
  .ifv-premium-wrap .ifv-icon { width: 48px; height: 48px; font-size: 1.02rem; border-radius: 15px; }
  .ifv-premium-wrap .ifv-card h3 { font-size: 0.96rem; }
  .ifv-premium-wrap .ifv-card p { font-size: 0.88rem; }
  .ifv-premium-wrap .ifv-process-card::before { font-size: 3.6rem; right: 14px; }
}

@media (max-width: 374px) {
  .ifv-premium-wrap .ifv-section { padding: 40px 12px; }
  .ifv-premium-wrap .ifv-card-grid { grid-template-columns: 1fr !important; gap: 12px; margin-top: 22px; }
  .ifv-premium-wrap .ifv-heading-block p { font-size: 0.86rem; line-height: 1.58; }
  .ifv-premium-wrap .ifv-card { padding: 16px; border-radius: 16px; }
  .ifv-premium-wrap .ifv-icon { width: 44px; height: 44px; font-size: 0.95rem; border-radius: 14px; }
  .ifv-premium-wrap .ifv-card h3 { margin-top: 16px; font-size: 0.92rem; }
  .ifv-premium-wrap .ifv-card p { font-size: 0.84rem; line-height: 1.55; }
  .ifv-premium-wrap .ifv-cta { font-size: 0.84rem; }
  .ifv-premium-wrap .ifv-process-card::before { font-size: 3.1rem; right: 12px; top: 8px; }
  .ifv-premium-wrap .ifv-step-text { font-size: 0.7rem; }
}

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

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