@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.0.0/css/all.min.css');

.tfv-premium-viewer,
.tfv-premium-viewer * {
  box-sizing: border-box;
  min-width: 0;
}

.tfv-premium-viewer {
  --tfv-primary: #ff2d55;
  --tfv-secondary: #20d5ec;
  --tfv-accent: #111827;
  --tfv-soft: #f4fbfc;
  --tfv-text: #17202a;
  --tfv-muted: #637083;
  --tfv-border: rgba(255, 45, 85, 0.18);
  --tfv-shadow: rgba(17, 24, 39, 0.11);
  width: 100% !important;
  overflow: hidden;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.tfv-premium-viewer .tfv-section {
  width: 100% !important;
  text-align: center;
}

.tfv-premium-viewer .tfv-section-white {
  background: #ffffff;
}

.tfv-premium-viewer .tfv-section-tint {
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 213, 236, 0.16), transparent 34%),
    linear-gradient(180deg, #f4fbfc 0%, #fff7fa 100%);
}

.tfv-premium-viewer .tfv-container {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.tfv-premium-viewer .tfv-heading {
  margin: 0 auto;
  color: var(--tfv-text);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0;
  text-align: center;
}

.tfv-premium-viewer .tfv-intro {
  margin: 14px auto 0;
  color: var(--tfv-muted);
  line-height: 1.65;
  text-align: center;
}

.tfv-premium-viewer .tfv-grid {
  display: grid !important;
  align-items: stretch !important;
}

.tfv-premium-viewer .tfv-card {
  position: relative;
  height: 100% !important;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at top, rgba(255, 45, 85, 0.08), transparent 42%);
  border: 1px solid var(--tfv-border);
  box-shadow: 0 18px 45px var(--tfv-shadow);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease, background-position 280ms ease;
}

.tfv-premium-viewer .tfv-card::after {
  content: "";
  position: absolute;
  inset: auto 18% 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tfv-primary), var(--tfv-secondary));
  border-radius: 999px 999px 0 0;
  transform: scaleX(0.44);
  transform-origin: center;
  opacity: 0.75;
  transition: transform 280ms ease, opacity 280ms ease;
}

.tfv-premium-viewer .tfv-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(32, 213, 236, 0.42);
  box-shadow: 0 24px 60px rgba(255, 45, 85, 0.16), 0 14px 34px rgba(32, 213, 236, 0.12);
}

.tfv-premium-viewer .tfv-card:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.tfv-premium-viewer .tfv-card:hover .tfv-icon {
  transform: translateY(-4px);
  background-position: 100% 50%;
}

.tfv-premium-viewer .tfv-icon {
  display: inline-grid;
  place-items: center;
  margin: 0 auto;
  color: #ffffff;
  background: linear-gradient(135deg, var(--tfv-primary), var(--tfv-accent) 52%, var(--tfv-secondary));
  background-size: 180% 180%;
  box-shadow: 0 14px 28px rgba(255, 45, 85, 0.22);
  transition: transform 280ms ease, background-position 280ms ease;
}

.tfv-premium-viewer .tfv-i {
  color: #ffffff;
  line-height: 1;
  text-align: center;
}

.tfv-premium-viewer .tfv-card h3 {
  margin: 0;
  color: var(--tfv-text);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}

.tfv-premium-viewer .tfv-card p {
  margin: 0 auto;
  color: var(--tfv-muted);
  line-height: 1.58;
  text-align: center;
}

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

.tfv-premium-viewer.tfv-js .tfv-card {
  opacity: 0;
  transform: translateY(18px);
}

.tfv-premium-viewer.tfv-js .tfv-card.tfv-show {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .tfv-premium-viewer .tfv-section {
    padding: 88px 0;
  }

  .tfv-premium-viewer .tfv-container {
    padding: 0 28px;
  }

  .tfv-premium-viewer .tfv-heading {
    max-width: 980px;
    font-size: 42px;
    white-space: nowrap;
  }

  .tfv-premium-viewer .tfv-intro {
    max-width: 760px;
    font-size: 17px;
  }

  .tfv-premium-viewer .tfv-grid {
    gap: 26px;
    margin-top: 42px;
  }

  .tfv-premium-viewer .tfv-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tfv-premium-viewer .tfv-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tfv-premium-viewer .tfv-card {
    min-height: 292px;
    padding: 34px 28px 38px;
    border-radius: 22px;
  }

  .tfv-premium-viewer .tfv-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    margin-bottom: 24px;
  }

  .tfv-premium-viewer .tfv-i {
    font-size: 28px;
  }

  .tfv-premium-viewer .tfv-card h3 {
    font-size: 21px;
    margin-bottom: 13px;
  }

  .tfv-premium-viewer .tfv-card p {
    font-size: 15.5px;
  }
}

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

  .tfv-premium-viewer .tfv-container {
    padding: 0 24px;
  }

  .tfv-premium-viewer .tfv-heading {
    max-width: 760px;
    font-size: 34px;
  }

  .tfv-premium-viewer .tfv-intro {
    max-width: 680px;
    font-size: 16px;
  }

  .tfv-premium-viewer .tfv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px;
    margin-top: 34px;
  }

  .tfv-premium-viewer .tfv-card {
    min-height: 268px;
    padding: 30px 24px 34px;
    border-radius: 20px;
  }

  .tfv-premium-viewer .tfv-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    margin-bottom: 21px;
  }

  .tfv-premium-viewer .tfv-i {
    font-size: 25px;
  }

  .tfv-premium-viewer .tfv-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .tfv-premium-viewer .tfv-card p {
    font-size: 15px;
  }
}

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

  .tfv-premium-viewer .tfv-container {
    padding: 0 16px;
  }

  .tfv-premium-viewer .tfv-heading {
    max-width: 520px;
    font-size: 27px;
  }

  .tfv-premium-viewer .tfv-intro {
    max-width: 520px;
    font-size: 14.5px;
  }

  .tfv-premium-viewer .tfv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
    margin-top: 28px;
  }

  .tfv-premium-viewer .tfv-card {
    min-height: 232px;
    padding: 22px 14px 26px;
    border-radius: 17px;
  }

  .tfv-premium-viewer .tfv-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    margin-bottom: 16px;
  }

  .tfv-premium-viewer .tfv-i {
    font-size: 21px;
  }

  .tfv-premium-viewer .tfv-card h3 {
    font-size: 16px;
    margin-bottom: 9px;
  }

  .tfv-premium-viewer .tfv-card p {
    font-size: 13.2px;
    line-height: 1.48;
  }
}

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

  .tfv-premium-viewer .tfv-container {
    padding: 0 12px;
  }

  .tfv-premium-viewer .tfv-heading {
    max-width: 360px;
    font-size: 24px;
  }

  .tfv-premium-viewer .tfv-intro {
    max-width: 360px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .tfv-premium-viewer .tfv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
    margin-top: 24px;
  }

  .tfv-premium-viewer .tfv-card {
    min-height: 226px;
    padding: 20px 12px 24px;
    border-radius: 16px;
  }

  .tfv-premium-viewer .tfv-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 14px;
  }

  .tfv-premium-viewer .tfv-i {
    font-size: 19px;
  }

  .tfv-premium-viewer .tfv-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .tfv-premium-viewer .tfv-card p {
    font-size: 12.6px;
    line-height: 1.45;
  }
}

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

  .tfv-premium-viewer .tfv-container {
    padding: 0 10px;
  }

  .tfv-premium-viewer .tfv-heading {
    max-width: 300px;
    font-size: 22px;
  }

  .tfv-premium-viewer .tfv-intro {
    max-width: 300px;
    font-size: 13px;
    line-height: 1.5;
  }

  .tfv-premium-viewer .tfv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    margin-top: 22px;
  }

  .tfv-premium-viewer .tfv-card {
    min-height: 218px;
    padding: 18px 9px 22px;
    border-radius: 14px;
  }

  .tfv-premium-viewer .tfv-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    margin-bottom: 13px;
  }

  .tfv-premium-viewer .tfv-i {
    font-size: 18px;
  }

  .tfv-premium-viewer .tfv-card h3 {
    font-size: 14px;
    margin-bottom: 7px;
  }

  .tfv-premium-viewer .tfv-card p {
    font-size: 12px;
    line-height: 1.42;
  }
}

@media (max-width: 319px) {
  .tfv-premium-viewer .tfv-section {
    padding: 38px 0;
  }

  .tfv-premium-viewer .tfv-container {
    padding: 0 10px;
  }

  .tfv-premium-viewer .tfv-heading {
    font-size: 21px;
  }

  .tfv-premium-viewer .tfv-intro {
    font-size: 13px;
  }

  .tfv-premium-viewer .tfv-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-top: 22px;
  }

  .tfv-premium-viewer .tfv-card {
    min-height: 210px;
    padding: 18px 12px 22px;
    border-radius: 14px;
  }

  .tfv-premium-viewer .tfv-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    margin-bottom: 13px;
  }

  .tfv-premium-viewer .tfv-i {
    font-size: 18px;
  }

  .tfv-premium-viewer .tfv-card h3 {
    font-size: 14px;
    margin-bottom: 7px;
  }

  .tfv-premium-viewer .tfv-card p {
    font-size: 12px;
    line-height: 1.42;
  }
}