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

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

.ifv-viewer-wrap {
  width: 100% !important;
  max-width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #1f2733;
  font-family: inherit;
  --ifv-primary: #e1306c;
  --ifv-secondary: #f77737;
  --ifv-accent: #405de6;
  --ifv-soft: #fff5f8;
  --ifv-text: #1f2733;
  --ifv-muted: #657184;
  --ifv-border: rgba(225, 48, 108, 0.16);
  --ifv-shadow: rgba(31, 39, 51, 0.11);
}

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

.ifv-viewer-wrap .ifv-section-one,
.ifv-viewer-wrap .ifv-section-three {
  background: #ffffff;
}

.ifv-viewer-wrap .ifv-section-two {
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 48, 108, 0.08), transparent 34%),
    linear-gradient(180deg, #fff7fa 0%, #fffdfb 100%);
}

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

.ifv-viewer-wrap h2 {
  margin: 0 auto;
  max-width: 980px;
  color: var(--ifv-text);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
}

.ifv-viewer-wrap .ifv-intro {
  margin: 14px auto 0;
  max-width: 760px;
  color: var(--ifv-muted);
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}

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

.ifv-viewer-wrap .ifv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92)),
    radial-gradient(circle at 50% 0%, rgba(225, 48, 108, 0.10), transparent 52%);
  border: 1px solid var(--ifv-border);
  box-shadow: 0 18px 45px var(--ifv-shadow);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background-position 320ms ease;
}

.ifv-viewer-wrap .ifv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.12), rgba(247, 119, 55, 0.08), rgba(64, 93, 230, 0.08));
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.ifv-viewer-wrap .ifv-card:hover {
  transform: translateY(-7px) scale(1.012);
  border-color: rgba(225, 48, 108, 0.34);
  box-shadow: 0 24px 62px rgba(225, 48, 108, 0.18);
}

.ifv-viewer-wrap .ifv-card:hover::before {
  opacity: 1;
}

.ifv-viewer-wrap .ifv-card:hover .ifv-icon {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(225, 48, 108, 0.24);
}

.ifv-viewer-wrap .ifv-card:hover .ifv-i {
  transform: scale(1.08);
}

.ifv-viewer-wrap .ifv-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ifv-primary), var(--ifv-secondary) 58%, var(--ifv-accent));
  box-shadow: 0 14px 30px rgba(225, 48, 108, 0.22);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.ifv-viewer-wrap .ifv-i {
  display: block;
  line-height: 1;
  transition: transform 260ms ease;
}

.ifv-viewer-wrap h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ifv-text);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}

.ifv-viewer-wrap .ifv-card p {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  color: var(--ifv-muted);
  font-weight: 500;
  line-height: 1.62;
  text-align: center;
}

.ifv-viewer-wrap.ifv-ready .ifv-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.ifv-viewer-wrap.ifv-ready .ifv-reveal.ifv-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

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

  .ifv-viewer-wrap .ifv-container {
    padding: 0 28px;
  }

  .ifv-viewer-wrap h2 {
    font-size: 44px;
    white-space: nowrap;
  }

  .ifv-viewer-wrap .ifv-intro {
    font-size: 18px;
    margin-bottom: 42px;
  }

  .ifv-viewer-wrap .ifv-grid-six,
  .ifv-viewer-wrap .ifv-grid-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ifv-viewer-wrap .ifv-grid {
    gap: 26px;
  }

  .ifv-viewer-wrap .ifv-card {
    min-height: 300px;
    padding: 34px 28px 30px;
    border-radius: 24px;
  }

  .ifv-viewer-wrap .ifv-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
    border-radius: 22px;
    font-size: 29px;
  }

  .ifv-viewer-wrap h3 {
    font-size: 21px;
    margin-bottom: 13px;
  }

  .ifv-viewer-wrap .ifv-card p {
    font-size: 16px;
  }
}

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

  .ifv-viewer-wrap .ifv-container {
    padding: 0 24px;
  }

  .ifv-viewer-wrap h2 {
    font-size: 36px;
  }

  .ifv-viewer-wrap .ifv-intro {
    font-size: 17px;
    margin-bottom: 34px;
  }

  .ifv-viewer-wrap .ifv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .ifv-viewer-wrap .ifv-card {
    min-height: 270px;
    padding: 30px 24px 26px;
    border-radius: 22px;
  }

  .ifv-viewer-wrap .ifv-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 21px;
    border-radius: 20px;
    font-size: 26px;
  }

  .ifv-viewer-wrap h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .ifv-viewer-wrap .ifv-card p {
    font-size: 15.5px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .ifv-viewer-wrap .ifv-section {
    padding: 52px 0;
  }

  .ifv-viewer-wrap .ifv-container {
    padding: 0 16px;
  }

  .ifv-viewer-wrap h2 {
    font-size: 28px;
    line-height: 1.16;
  }

  .ifv-viewer-wrap .ifv-intro {
    font-size: 15px;
    line-height: 1.58;
    margin-bottom: 24px;
  }

  .ifv-viewer-wrap .ifv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ifv-viewer-wrap .ifv-card {
    min-height: 230px;
    padding: 21px 14px 18px;
    border-radius: 18px;
  }

  .ifv-viewer-wrap .ifv-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    border-radius: 16px;
    font-size: 21px;
  }

  .ifv-viewer-wrap h3 {
    font-size: 16px;
    margin-bottom: 9px;
  }

  .ifv-viewer-wrap .ifv-card p {
    font-size: 13.4px;
    line-height: 1.48;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .ifv-viewer-wrap .ifv-section {
    padding: 46px 0;
  }

  .ifv-viewer-wrap .ifv-container {
    padding: 0 12px;
  }

  .ifv-viewer-wrap h2 {
    font-size: 25px;
    line-height: 1.18;
  }

  .ifv-viewer-wrap .ifv-intro {
    font-size: 14px;
    line-height: 1.54;
    margin-bottom: 20px;
  }

  .ifv-viewer-wrap .ifv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ifv-viewer-wrap .ifv-card {
    min-height: 222px;
    padding: 18px 11px 16px;
    border-radius: 16px;
  }

  .ifv-viewer-wrap .ifv-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 13px;
    border-radius: 15px;
    font-size: 19px;
  }

  .ifv-viewer-wrap h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .ifv-viewer-wrap .ifv-card p {
    font-size: 12.8px;
    line-height: 1.45;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .ifv-viewer-wrap .ifv-section {
    padding: 40px 0;
  }

  .ifv-viewer-wrap .ifv-container {
    padding: 0 10px;
  }

  .ifv-viewer-wrap h2 {
    font-size: 22px;
    line-height: 1.18;
  }

  .ifv-viewer-wrap .ifv-intro {
    font-size: 13px;
    line-height: 1.48;
    margin-bottom: 18px;
  }

  .ifv-viewer-wrap .ifv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ifv-viewer-wrap .ifv-card {
    min-height: 214px;
    padding: 16px 9px 14px;
    border-radius: 14px;
  }

  .ifv-viewer-wrap .ifv-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 13px;
    font-size: 17px;
  }

  .ifv-viewer-wrap h3 {
    font-size: 14px;
    margin-bottom: 7px;
  }

  .ifv-viewer-wrap .ifv-card p {
    font-size: 12px;
    line-height: 1.4;
  }
}