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

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

.ypviewer-premium-block {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background: #fff;
}

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

.ypviewer-premium-block .ypviewer-section {
  position: relative;
  padding: 92px 18px;
  overflow: hidden;
}

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

.ypviewer-premium-block .ypviewer-section-warm {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 110, 84, 0.14), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(245, 168, 74, 0.16), transparent 32%),
    linear-gradient(180deg, #fff8f3 0%, #fffdf9 100%);
}

.ypviewer-premium-block .ypviewer-container {
  max-width: 1240px;
  margin: 0 auto;
}

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

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

.ypviewer-premium-block .ypviewer-heading-wrap h2 span {
  background: linear-gradient(135deg, #ef3d36 0%, #f97316 42%, #b45309 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ypviewer-premium-block .ypviewer-heading-wrap p {
  margin: 0;
  color: #64748b;
  font-size: 1.04rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ypviewer-premium-block .ypviewer-card {
  --fg-accent: #ef4444;
  --fg-accent-2: #f97316;
  --fg-soft: rgba(239, 68, 68, 0.1);
  --fg-mx: 50%;
  --fg-my: 20%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 252px;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.92), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 246, 0.78));
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.075);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(20px);
  opacity: 0;
  overflow: hidden;
  transition: transform 320ms ease, opacity 520ms ease, box-shadow 320ms ease, border-color 320ms ease, background 320ms ease;
}

.ypviewer-premium-block .ypviewer-card:nth-child(2) { --fg-accent: #f97316; --fg-accent-2: #f59e0b; --fg-soft: rgba(249, 115, 22, 0.11); }
.ypviewer-premium-block .ypviewer-card:nth-child(3) { --fg-accent: #dc2626; --fg-accent-2: #fb7185; --fg-soft: rgba(220, 38, 38, 0.1); }
.ypviewer-premium-block .ypviewer-card:nth-child(4) { --fg-accent: #ea580c; --fg-accent-2: #facc15; --fg-soft: rgba(234, 88, 12, 0.1); }
.ypviewer-premium-block .ypviewer-card:nth-child(5) { --fg-accent: #be123c; --fg-accent-2: #fb923c; --fg-soft: rgba(190, 18, 60, 0.1); }
.ypviewer-premium-block .ypviewer-card:nth-child(6) { --fg-accent: #c2410c; --fg-accent-2: #f43f5e; --fg-soft: rgba(194, 65, 12, 0.1); }
.ypviewer-premium-block .ypviewer-card:nth-child(7) { --fg-accent: #b91c1c; --fg-accent-2: #f97316; --fg-soft: rgba(185, 28, 28, 0.1); }
.ypviewer-premium-block .ypviewer-card:nth-child(8) { --fg-accent: #d97706; --fg-accent-2: #ef4444; --fg-soft: rgba(217, 119, 6, 0.1); }

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

.ypviewer-premium-block .ypviewer-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fg-accent), var(--fg-accent-2));
  opacity: 0.72;
}

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

.ypviewer-premium-block .ypviewer-card:hover {
  border-color: color-mix(in srgb, var(--fg-accent) 42%, rgba(148, 163, 184, 0.4));
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.13);
  transform: perspective(900px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y)) translateY(-7px);
}

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

.ypviewer-premium-block .ypviewer-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--fg-soft);
  color: var(--fg-accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-accent) 22%, transparent);
  transition: transform 300ms ease, background 300ms ease, color 300ms ease;
}

.ypviewer-premium-block .ypviewer-icon i {
  font-size: 1.18rem;
  line-height: 1;
}

.ypviewer-premium-block .ypviewer-card:hover .ypviewer-icon {
  transform: translateY(-3px) scale(1.06) rotate(-3deg);
  background: linear-gradient(135deg, var(--fg-accent), var(--fg-accent-2));
  color: #fff;
}

.ypviewer-premium-block .ypviewer-card h3 {
  position: relative;
  z-index: 1;
  display: inline;
  margin: 0;
  color: #172033;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  background-image: linear-gradient(90deg, var(--fg-accent), var(--fg-accent-2));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 280ms ease, color 280ms ease;
}

.ypviewer-premium-block .ypviewer-card:hover h3 {
  background-size: 100% 2px;
}

.ypviewer-premium-block .ypviewer-card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: #5f6f86;
  font-size: 0.95rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ypviewer-premium-block .ypviewer-cta {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 100%;
  margin-top: 18px;
  color: var(--fg-accent);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.4;
  opacity: 0.18;
  transform: translateY(8px);
  transition: opacity 280ms ease, transform 280ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.ypviewer-premium-block .ypviewer-grid-tilt .ypviewer-card {
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), rgba(255, 255, 255, 0.86), transparent 26%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 238, 0.9));
}

.ypviewer-premium-block .ypviewer-process-card {
  min-height: 272px;
}

.ypviewer-premium-block .ypviewer-process-card::before {
  content: attr(data-step);
  position: absolute;
  right: 18px;
  bottom: -18px;
  color: color-mix(in srgb, var(--fg-accent) 13%, transparent);
  font-size: 5.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.85;
  transition: transform 320ms ease, opacity 320ms ease;
}

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

.ypviewer-premium-block .ypviewer-step-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 18px;
  color: var(--fg-accent);
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 1200px) {
  .ypviewer-premium-block .ypviewer-section { padding: 96px 24px; }
  .ypviewer-premium-block .ypviewer-container { max-width: 1240px; }
  .ypviewer-premium-block .ypviewer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .ypviewer-premium-block .ypviewer-section { padding: 82px 22px; }
  .ypviewer-premium-block .ypviewer-container { max-width: 1000px; }
  .ypviewer-premium-block .ypviewer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .ypviewer-premium-block .ypviewer-card { padding: 25px; }
  .ypviewer-premium-block .ypviewer-heading-wrap p { font-size: 1rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ypviewer-premium-block .ypviewer-section { padding: 70px 18px; }
  .ypviewer-premium-block .ypviewer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .ypviewer-premium-block .ypviewer-card { padding: 24px; min-height: 236px; }
  .ypviewer-premium-block .ypviewer-card h3 { font-size: 1.02rem; }
  .ypviewer-premium-block .ypviewer-card p { font-size: 0.93rem; }
}

@media (min-width: 430px) and (max-width: 767px) {
  .ypviewer-premium-block .ypviewer-section { padding: 58px 14px; }
  .ypviewer-premium-block .ypviewer-heading-wrap { margin-bottom: 30px; }
  .ypviewer-premium-block .ypviewer-heading-wrap p { font-size: 0.94rem; line-height: 1.62; }
  .ypviewer-premium-block .ypviewer-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .ypviewer-premium-block .ypviewer-card { padding: 22px; min-height: auto; border-radius: 19px; }
  .ypviewer-premium-block .ypviewer-icon { width: 50px; height: 50px; border-radius: 16px; }
}

@media (min-width: 375px) and (max-width: 429px) {
  .ypviewer-premium-block .ypviewer-section { padding: 50px 12px; }
  .ypviewer-premium-block .ypviewer-heading-wrap { margin-bottom: 26px; }
  .ypviewer-premium-block .ypviewer-heading-wrap p { font-size: 0.9rem; line-height: 1.58; }
  .ypviewer-premium-block .ypviewer-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .ypviewer-premium-block .ypviewer-card { padding: 20px; min-height: auto; border-radius: 18px; }
  .ypviewer-premium-block .ypviewer-icon { width: 46px; height: 46px; margin-bottom: 18px; border-radius: 15px; }
  .ypviewer-premium-block .ypviewer-card h3 { font-size: 0.98rem; }
  .ypviewer-premium-block .ypviewer-card p { font-size: 0.9rem; }
  .ypviewer-premium-block .ypviewer-process-card::before { font-size: 4.7rem; }
}

@media (min-width: 320px) and (max-width: 374px) {
  .ypviewer-premium-block .ypviewer-section { padding: 44px 10px; }
  .ypviewer-premium-block .ypviewer-heading-wrap { margin-bottom: 24px; }
  .ypviewer-premium-block .ypviewer-heading-wrap p { font-size: 0.86rem; line-height: 1.55; }
  .ypviewer-premium-block .ypviewer-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .ypviewer-premium-block .ypviewer-card { padding: 18px; min-height: auto; border-radius: 17px; }
  .ypviewer-premium-block .ypviewer-icon { width: 42px; height: 42px; margin-bottom: 16px; border-radius: 14px; }
  .ypviewer-premium-block .ypviewer-icon i { font-size: 1rem; }
  .ypviewer-premium-block .ypviewer-card h3 { font-size: 0.94rem; }
  .ypviewer-premium-block .ypviewer-card p,
  .ypviewer-premium-block .ypviewer-cta { font-size: 0.86rem; }
  .ypviewer-premium-block .ypviewer-process-card::before { font-size: 4.2rem; right: 12px; }
}

@media (max-width: 767px) {
  .ypviewer-premium-block .ypviewer-container,
  .ypviewer-premium-block .ypviewer-grid,
  .ypviewer-premium-block .ypviewer-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ypviewer-premium-block .ypviewer-card:hover {
    transform: translateY(-4px);
  }
}

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

  .ypviewer-premium-block .ypviewer-card {
    opacity: 1;
    transform: none !important;
  }
}