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

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

.fcv-premium {
  --fcv-ink: #172033;
  --fcv-muted: #5f6b7a;
  --fcv-soft: #f7efe9;
  --fcv-line: rgba(23, 32, 51, 0.11);
  --fcv-shadow: 0 18px 50px rgba(31, 45, 70, 0.1);
  --fcv-shadow-hover: 0 26px 70px rgba(31, 45, 70, 0.16);
  --fcv-gradient: linear-gradient(135deg, #1d68f0 0%, #7c4dff 48%, #ff7a59 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--fcv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.fcv-premium .fcv-section,
.fcv-premium .fcv-container,
.fcv-premium .fcv-grid {
  width: 100%;
  max-width: 100%;
}

.fcv-premium .fcv-section {
  position: relative;
  padding: 86px 20px;
  overflow: hidden;
}

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

.fcv-premium .fcv-section-warm {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 122, 89, 0.14), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(29, 104, 240, 0.12), transparent 34%),
    linear-gradient(180deg, #fff8f4 0%, #f7fbff 100%);
}

.fcv-premium .fcv-container {
  max-width: 1320px;
  margin: 0 auto;
}

.fcv-premium .fcv-heading-block {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

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

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

.fcv-premium .fcv-heading-block p {
  margin: 14px auto 0;
  color: var(--fcv-muted);
  font-size: 1.02rem;
  max-width: 680px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fcv-premium .fcv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.fcv-premium .fcv-card {
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --fcv-card-a: #1d68f0;
  --fcv-card-b: #7c4dff;
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--fcv-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    linear-gradient(135deg, color-mix(in srgb, var(--fcv-card-a) 14%, transparent), color-mix(in srgb, var(--fcv-card-b) 13%, transparent));
  box-shadow: var(--fcv-shadow);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(18px);
  opacity: 0;
  overflow: hidden;
  transition: transform 320ms ease, opacity 520ms ease, box-shadow 320ms ease, border-color 320ms ease;
  will-change: transform;
}

.fcv-premium .fcv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--fg-mx) var(--fg-my), color-mix(in srgb, var(--fcv-card-a) 20%, transparent), transparent 34%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

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

.fcv-premium .fcv-card.fcv-visible {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(0);
}

.fcv-premium .fcv-card:hover {
  border-color: color-mix(in srgb, var(--fcv-card-a) 36%, rgba(23, 32, 51, 0.12));
  box-shadow: var(--fcv-shadow-hover);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-7px);
}

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

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

.fcv-premium .fcv-card:nth-child(1) { --fcv-card-a: #1d68f0; --fcv-card-b: #5fd4ff; }
.fcv-premium .fcv-card:nth-child(2) { --fcv-card-a: #7c4dff; --fcv-card-b: #ff7a59; }
.fcv-premium .fcv-card:nth-child(3) { --fcv-card-a: #0f9f8f; --fcv-card-b: #1d68f0; }
.fcv-premium .fcv-card:nth-child(4) { --fcv-card-a: #e35d8f; --fcv-card-b: #7c4dff; }
.fcv-premium .fcv-card:nth-child(5) { --fcv-card-a: #ff8a3d; --fcv-card-b: #ffd166; }
.fcv-premium .fcv-card:nth-child(6) { --fcv-card-a: #2f80ed; --fcv-card-b: #00b894; }
.fcv-premium .fcv-card:nth-child(7) { --fcv-card-a: #6c5ce7; --fcv-card-b: #00cec9; }
.fcv-premium .fcv-card:nth-child(8) { --fcv-card-a: #d35400; --fcv-card-b: #ff7675; }

.fcv-premium .fcv-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--fcv-card-a);
  background: color-mix(in srgb, var(--fcv-card-a) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fcv-card-a) 14%, transparent);
  transition: transform 320ms ease, color 320ms ease, background 320ms ease;
}

.fcv-premium .fcv-icon i {
  font-size: 1.2rem;
}

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

.fcv-premium .fcv-card h3 {
  position: relative;
  z-index: 1;
  margin: 20px 0 10px;
  color: var(--fcv-ink);
  font-size: 1.06rem;
  line-height: 1.28;
  font-weight: 780;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.fcv-premium .fcv-card:hover h3::after {
  transform: scaleX(1.9);
}

.fcv-premium .fcv-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--fcv-muted);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fcv-premium .fcv-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  color: var(--fcv-card-a);
  font-size: 0.88rem;
  font-weight: 760;
  opacity: 0.18;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease, color 300ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

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

.fcv-premium .fcv-process-card {
  padding-top: 28px;
}

.fcv-premium .fcv-process-card::before {
  content: var(--step);
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 4.8rem;
  line-height: 1;
  font-weight: 900;
  color: color-mix(in srgb, var(--fcv-card-a) 12%, transparent);
  opacity: 0.72;
  transition: transform 320ms ease, opacity 320ms ease;
  pointer-events: none;
}

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

.fcv-premium .fcv-step-number {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 14px;
  color: var(--fcv-card-a);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

@media (min-width: 1200px) {
  .fcv-premium .fcv-section {
    padding: 94px 28px;
  }

  .fcv-premium .fcv-container {
    max-width: 1320px;
  }

  .fcv-premium .fcv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .fcv-premium .fcv-section {
    padding: 78px 24px;
  }

  .fcv-premium .fcv-container {
    max-width: 1060px;
  }

  .fcv-premium .fcv-heading-block p {
    font-size: 0.98rem;
  }

  .fcv-premium .fcv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .fcv-premium .fcv-card {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .fcv-premium .fcv-section {
    padding: 66px 20px;
  }

  .fcv-premium .fcv-heading-block {
    margin-bottom: 30px;
  }

  .fcv-premium .fcv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .fcv-premium .fcv-card {
    padding: 22px;
  }

  .fcv-premium .fcv-card h3 {
    font-size: 1rem;
  }

  .fcv-premium .fcv-card p {
    font-size: 0.92rem;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .fcv-premium .fcv-section {
    padding: 54px 16px;
  }

  .fcv-premium .fcv-heading-block {
    margin-bottom: 24px;
  }

  .fcv-premium .fcv-heading-block p {
    font-size: 0.94rem;
  }

  .fcv-premium .fcv-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .fcv-premium .fcv-card {
    min-height: auto;
    padding: 20px;
  }

  .fcv-premium .fcv-cta {
    white-space: normal;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .fcv-premium .fcv-section {
    padding: 46px 14px;
  }

  .fcv-premium .fcv-heading-block {
    margin-bottom: 22px;
  }

  .fcv-premium .fcv-heading-block p {
    font-size: 0.9rem;
  }

  .fcv-premium .fcv-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .fcv-premium .fcv-card {
    min-height: auto;
    padding: 18px;
    border-radius: 18px;
  }

  .fcv-premium .fcv-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .fcv-premium .fcv-card h3 {
    font-size: 0.98rem;
  }

  .fcv-premium .fcv-card p {
    font-size: 0.9rem;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .fcv-premium .fcv-section {
    padding: 40px 12px;
  }

  .fcv-premium .fcv-heading-block {
    margin-bottom: 20px;
  }

  .fcv-premium .fcv-heading-block p {
    font-size: 0.86rem;
  }

  .fcv-premium .fcv-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .fcv-premium .fcv-card {
    min-height: auto;
    padding: 16px;
    border-radius: 16px;
  }

  .fcv-premium .fcv-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .fcv-premium .fcv-icon i {
    font-size: 1rem;
  }

  .fcv-premium .fcv-card h3 {
    margin-top: 16px;
    font-size: 0.94rem;
  }

  .fcv-premium .fcv-card p,
  .fcv-premium .fcv-cta {
    font-size: 0.86rem;
  }

  .fcv-premium .fcv-process-card::before {
    font-size: 3.8rem;
  }
}

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

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

  .fcv-premium .fcv-card,
  .fcv-premium .fcv-card:hover,
  .fcv-premium .fcv-card.fcv-visible {
    transform: none !important;
  }
}