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

.ysviewer-wrap,
.ysviewer-wrap * {
  box-sizing: border-box;
}

.ysviewer-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
  background: #ffffff;
  color: #1d1f24;
  font-family: Arial, Helvetica, sans-serif;
}

.ysviewer-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  min-width: 0;
}

.ysviewer-section {
  position: relative;
  width: 100%;
  text-align: center;
  isolation: isolate;
}

.ysviewer-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
}

.ysviewer-section-one::before,
.ysviewer-section-three::before {
  background: #ffffff;
}

.ysviewer-section-two::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 0, 64, 0.08), transparent 38%),
    linear-gradient(180deg, #fff7f8 0%, #fffafa 100%);
}

.ysviewer-section h2 {
  width: 100%;
  margin: 0 auto;
  color: #18191f;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
}

.ysviewer-intro {
  max-width: 760px;
  margin: 0 auto;
  color: #575b66;
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
}

.ysviewer-grid {
  display: grid !important;
  align-items: stretch !important;
  width: 100%;
  min-width: 0;
}

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

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

.ysviewer-card {
  position: relative;
  display: block;
  height: 100% !important;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 1)),
    radial-gradient(circle at top, rgba(255, 0, 64, 0.08), transparent 52%);
  border: 1px solid rgba(255, 0, 64, 0.14);
  box-shadow: 0 18px 45px rgba(22, 24, 35, 0.08);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background-position 260ms ease;
}

.ysviewer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 0, 64, 0.08), rgba(0, 242, 234, 0.07));
  opacity: 0;
  transition: opacity 260ms ease;
}

.ysviewer-card:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: rgba(255, 0, 64, 0.34);
  box-shadow: 0 26px 58px rgba(255, 0, 64, 0.16);
}

.ysviewer-card:hover::after {
  opacity: 1;
}

.ysviewer-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  background:
    linear-gradient(135deg, #ff0040 0%, #ff4f70 48%, #00d8d2 100%);
  box-shadow: 0 14px 30px rgba(255, 0, 64, 0.25);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

.ysviewer-card:hover .ysviewer-icon {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 216, 210, 0.26);
  filter: saturate(1.08);
}

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

.ysviewer-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  color: #1b1d23;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}

.ysviewer-card p {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  color: #60646f;
  font-weight: 400;
  line-height: 1.58;
  text-align: center;
}

.ysviewer-card.ysviewer-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.ysviewer-card.ysviewer-reveal.ysviewer-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .ysviewer-section {
    padding: 88px 28px;
  }

  .ysviewer-section h2 {
    max-width: 980px;
    font-size: 42px;
  }

  .ysviewer-intro {
    margin-top: 16px;
    font-size: 18px;
  }

  .ysviewer-grid {
    gap: 26px;
    margin-top: 44px;
  }

  .ysviewer-card {
    min-height: 300px;
    padding: 34px 26px 30px;
    border-radius: 22px;
  }

  .ysviewer-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 24px;
    border-radius: 20px;
  }

  .ysviewer-i {
    font-size: 28px;
  }

  .ysviewer-card h3 {
    font-size: 21px;
  }

  .ysviewer-card p {
    margin-top: 14px;
    font-size: 15.5px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ysviewer-section {
    padding: 72px 24px;
  }

  .ysviewer-section h2 {
    max-width: 760px;
    font-size: 34px;
  }

  .ysviewer-intro {
    margin-top: 14px;
    font-size: 16.5px;
  }

  .ysviewer-grid,
  .ysviewer-grid-3,
  .ysviewer-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 36px;
  }

  .ysviewer-card {
    min-height: 270px;
    padding: 30px 22px 26px;
    border-radius: 20px;
  }

  .ysviewer-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 22px;
    border-radius: 18px;
  }

  .ysviewer-i {
    font-size: 25px;
  }

  .ysviewer-card h3 {
    font-size: 19px;
  }

  .ysviewer-card p {
    margin-top: 12px;
    font-size: 15px;
  }
}

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

  .ysviewer-section h2 {
    max-width: 520px;
    font-size: 28px;
  }

  .ysviewer-intro {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .ysviewer-grid,
  .ysviewer-grid-3,
  .ysviewer-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
  }

  .ysviewer-card {
    min-height: 230px;
    padding: 22px 14px 20px;
    border-radius: 16px;
  }

  .ysviewer-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 15px;
  }

  .ysviewer-i {
    font-size: 21px;
  }

  .ysviewer-card h3 {
    font-size: 16px;
  }

  .ysviewer-card p {
    margin-top: 9px;
    font-size: 13.2px;
    line-height: 1.48;
  }
}

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

  .ysviewer-section h2 {
    max-width: 360px;
    font-size: 25px;
  }

  .ysviewer-intro {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  .ysviewer-grid,
  .ysviewer-grid-3,
  .ysviewer-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .ysviewer-card {
    min-height: 222px;
    padding: 20px 11px 18px;
    border-radius: 14px;
  }

  .ysviewer-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .ysviewer-i {
    font-size: 19px;
  }

  .ysviewer-card h3 {
    font-size: 15px;
  }

  .ysviewer-card p {
    margin-top: 8px;
    font-size: 12.6px;
    line-height: 1.45;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .ysviewer-section {
    padding: 42px 10px;
  }

  .ysviewer-section h2 {
    max-width: 300px;
    font-size: 22px;
  }

  .ysviewer-intro {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.45;
  }

  .ysviewer-grid,
  .ysviewer-grid-3,
  .ysviewer-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .ysviewer-card {
    min-height: 214px;
    padding: 18px 9px 16px;
    border-radius: 13px;
  }

  .ysviewer-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 13px;
  }

  .ysviewer-i {
    font-size: 18px;
  }

  .ysviewer-card h3 {
    font-size: 14px;
  }

  .ysviewer-card p {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.42;
  }
}