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

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

.scv-premium-viewer {
  --scv-ink: #1d1730;
  --scv-muted: #6f687b;
  --scv-line: rgba(86, 68, 110, 0.14);
  --scv-soft: #fff7ee;
  --scv-grad-a: #ffb000;
  --scv-grad-b: #ff5a8a;
  --scv-grad-c: #7c3cff;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--scv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.scv-premium-viewer .scv-section {
  width: 100%;
  max-width: 100%;
  padding: 92px 22px;
  overflow: hidden;
}

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

.scv-premium-viewer .scv-section-warm {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 176, 0, 0.14), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(124, 60, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #fff8ed 0%, #fff3f6 100%);
}

.scv-premium-viewer .scv-container {
  width: min(1320px, 100%);
  max-width: 100%;
  margin: 0 auto;
}

.scv-premium-viewer .scv-heading-wrap {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

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

.scv-premium-viewer h2 span {
  background: linear-gradient(135deg, var(--scv-grad-a), var(--scv-grad-b) 48%, var(--scv-grad-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scv-premium-viewer .scv-heading-wrap p {
  margin: 14px auto 0;
  color: var(--scv-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.scv-premium-viewer .scv-card-grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.scv-premium-viewer .scv-card {
  --fg-mx: 50%;
  --fg-my: 50%;
  --fg-tilt-x: 0deg;
  --fg-tilt-y: 0deg;
  --scv-accent: #ffb000;
  --scv-accent-2: #ff5a8a;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--scv-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--fg-mx) var(--fg-my), color-mix(in srgb, var(--scv-accent) 18%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 246, 0.9));
  box-shadow: 0 18px 46px rgba(45, 31, 68, 0.08);
  transform: translateY(22px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.scv-premium-viewer .scv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, color-mix(in srgb, var(--scv-accent) 12%, transparent), transparent 45%, color-mix(in srgb, var(--scv-accent-2) 10%, transparent));
  opacity: 0.72;
  pointer-events: none;
}

.scv-premium-viewer .scv-card.is-visible {
  opacity: 1;
  transform: translateY(0) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
}

.scv-premium-viewer .scv-card:hover {
  border-color: color-mix(in srgb, var(--scv-accent) 46%, rgba(86, 68, 110, 0.18));
  box-shadow: 0 28px 70px rgba(45, 31, 68, 0.15);
  transform: translateY(-7px) rotateX(var(--fg-tilt-x)) rotateY(var(--fg-tilt-y));
}

.scv-premium-viewer .scv-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  max-width: 100%;
  margin-bottom: 22px;
  border-radius: 18px;
  color: var(--scv-accent-2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), color-mix(in srgb, var(--scv-accent) 15%, #fff));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 14px 28px color-mix(in srgb, var(--scv-accent) 18%, transparent);
  transition: transform 0.28s ease, color 0.28s ease, background 0.28s ease;
}

.scv-premium-viewer .scv-icon i {
  font-size: 1.28rem;
  line-height: 1;
}

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

.scv-premium-viewer h3 {
  position: relative;
  display: inline;
  margin: 0;
  color: var(--scv-ink);
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 780;
  overflow-wrap: anywhere;
  word-break: break-word;
  background-image: linear-gradient(90deg, var(--scv-accent), var(--scv-accent-2));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.28s ease;
}

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

.scv-premium-viewer .scv-card p {
  margin: 14px 0 0;
  color: var(--scv-muted);
  font-size: 0.95rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.scv-premium-viewer .scv-cta {
  display: inline-flex;
  max-width: 100%;
  margin-top: 20px;
  color: color-mix(in srgb, var(--scv-accent-2) 78%, #25192f);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.4;
  opacity: 0.2;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.scv-premium-viewer .scv-tilt {
  transform-style: preserve-3d;
  perspective: 900px;
}

.scv-premium-viewer .scv-tilt .scv-icon,
.scv-premium-viewer .scv-tilt h3,
.scv-premium-viewer .scv-tilt p {
  transform: translateZ(14px);
}

.scv-premium-viewer .scv-process::after {
  content: var(--scv-step);
  position: absolute;
  right: 18px;
  bottom: -18px;
  z-index: -1;
  color: color-mix(in srgb, var(--scv-accent) 16%, transparent);
  font-size: 6.2rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.28s ease, color 0.28s ease;
  pointer-events: none;
}

.scv-premium-viewer .scv-process:hover::after {
  color: color-mix(in srgb, var(--scv-accent) 25%, transparent);
  transform: translateY(-6px) scale(1.03);
}

.scv-premium-viewer .scv-step-text {
  display: inline-block;
  margin-bottom: 16px;
  color: color-mix(in srgb, var(--scv-accent-2) 72%, #2d2140);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.scv-premium-viewer .scv-card:nth-child(1) { --scv-accent: #ffb000; --scv-accent-2: #ff5a8a; }
.scv-premium-viewer .scv-card:nth-child(2) { --scv-accent: #ff7a45; --scv-accent-2: #7c3cff; }
.scv-premium-viewer .scv-card:nth-child(3) { --scv-accent: #00b8a9; --scv-accent-2: #ff5a8a; }
.scv-premium-viewer .scv-card:nth-child(4) { --scv-accent: #7c3cff; --scv-accent-2: #ffb000; }
.scv-premium-viewer .scv-card:nth-child(5) { --scv-accent: #13b5ea; --scv-accent-2: #ff7a45; }
.scv-premium-viewer .scv-card:nth-child(6) { --scv-accent: #ef4e7b; --scv-accent-2: #00b8a9; }
.scv-premium-viewer .scv-card:nth-child(7) { --scv-accent: #8f63ff; --scv-accent-2: #13b5ea; }
.scv-premium-viewer .scv-card:nth-child(8) { --scv-accent: #23c483; --scv-accent-2: #ffb000; }

@media (min-width: 1200px) {
  .scv-premium-viewer .scv-section {
    padding: 96px 28px;
  }

  .scv-premium-viewer .scv-container {
    width: min(1320px, 100%);
  }

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

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

  .scv-premium-viewer .scv-container {
    width: min(1080px, 100%);
  }

  .scv-premium-viewer .scv-heading-wrap p {
    font-size: 0.98rem;
  }

  .scv-premium-viewer .scv-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .scv-premium-viewer .scv-card {
    padding: 25px;
  }
}

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

  .scv-premium-viewer .scv-heading-wrap {
    margin-bottom: 34px;
  }

  .scv-premium-viewer .scv-heading-wrap p {
    font-size: 0.96rem;
  }

  .scv-premium-viewer .scv-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .scv-premium-viewer .scv-card {
    padding: 24px;
  }

  .scv-premium-viewer h3 {
    font-size: 1.02rem;
  }

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

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

  .scv-premium-viewer .scv-heading-wrap {
    margin-bottom: 28px;
  }

  .scv-premium-viewer .scv-heading-wrap p {
    font-size: 0.94rem;
    line-height: 1.65;
  }

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

  .scv-premium-viewer .scv-card {
    min-height: 0;
    padding: 22px;
  }

  .scv-premium-viewer .scv-cta {
    width: 100%;
  }
}

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

  .scv-premium-viewer .scv-heading-wrap {
    margin-bottom: 24px;
  }

  .scv-premium-viewer .scv-heading-wrap p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

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

  .scv-premium-viewer .scv-card {
    min-height: 0;
    padding: 20px;
    border-radius: 18px;
  }

  .scv-premium-viewer .scv-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .scv-premium-viewer h3 {
    font-size: 0.98rem;
  }

  .scv-premium-viewer .scv-card p {
    font-size: 0.89rem;
  }
}

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

  .scv-premium-viewer .scv-heading-wrap {
    margin-bottom: 22px;
  }

  .scv-premium-viewer .scv-heading-wrap p {
    font-size: 0.86rem;
    line-height: 1.58;
  }

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

  .scv-premium-viewer .scv-card {
    min-height: 0;
    padding: 18px;
    border-radius: 16px;
  }

  .scv-premium-viewer .scv-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 14px;
  }

  .scv-premium-viewer .scv-icon i {
    font-size: 1.05rem;
  }

  .scv-premium-viewer h3 {
    font-size: 0.94rem;
  }

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

  .scv-premium-viewer .scv-process::after {
    font-size: 4.8rem;
    right: 12px;
  }
}

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

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

  .scv-premium-viewer .scv-card {
    opacity: 1;
  }
}