@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.webp-converter-content {
  width: 100%;
  overflow-x: hidden;
  color: #162033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #ffffff;
}

.webp-converter-content,
.webp-converter-content div,
.webp-converter-content section,
.webp-converter-content article {
  box-sizing: border-box;
}

.webp-converter-content .wpc-section {
  position: relative;
  width: 100%;
}

.webp-converter-content .wpc-section-white {
  background: #ffffff;
}

.webp-converter-content .wpc-section-soft {
  background: linear-gradient(180deg, #f8fbff 0%, #f5f8fc 100%);
}

.webp-converter-content .wpc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.webp-converter-content .wpc-heading-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.webp-converter-content .wpc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #087f7f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.webp-converter-content .wpc-kicker::before,
.webp-converter-content .wpc-kicker::after {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #12b3a8, #2f7df6);
}

.webp-converter-content h2 {
  margin: 0;
  color: #111827;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0;
}

.webp-converter-content .wpc-heading-wrap p {
  margin: 16px auto 0;
  color: #5d6b82;
  max-width: 690px;
}

.webp-converter-content .wpc-card-grid {
  display: grid;
  align-items: stretch;
}

.webp-converter-content .wpc-card,
.webp-converter-content .wpc-benefit-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(26, 43, 73, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 18px 45px rgba(17, 33, 55, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.webp-converter-content .wpc-card::before,
.webp-converter-content .wpc-benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(18, 179, 168, 0.55), rgba(47, 125, 246, 0.22), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.webp-converter-content .wpc-card:hover,
.webp-converter-content .wpc-benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 179, 168, 0.28);
  box-shadow: 0 24px 60px rgba(17, 33, 55, 0.13);
}

.webp-converter-content .wpc-card:hover::before,
.webp-converter-content .wpc-benefit-card:hover::before {
  opacity: 1;
}

.webp-converter-content .wpc-card h3,
.webp-converter-content .wpc-step-card h3,
.webp-converter-content .wpc-benefit-card h3 {
  margin: 0;
  color: #172033;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.webp-converter-content .wpc-card p,
.webp-converter-content .wpc-step-card p,
.webp-converter-content .wpc-benefit-card p {
  margin: 10px 0 0;
  color: #607086;
}

.webp-converter-content .wpc-icon {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #11b6a8, #2f7df6);
  box-shadow: 0 12px 28px rgba(47, 125, 246, 0.2);
}

.webp-converter-content .wpc-icon::before,
.webp-converter-content .wpc-icon::after {
  content: "";
  position: absolute;
  background: #ffffff;
}

.webp-converter-content .wpc-icon-file::before {
  width: 18px;
  height: 22px;
  left: 15px;
  top: 12px;
  border-radius: 3px;
}

.webp-converter-content .wpc-icon-file::after {
  width: 8px;
  height: 8px;
  right: 14px;
  top: 12px;
  background: rgba(255, 255, 255, 0.72);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.webp-converter-content .wpc-icon-speed::before {
  width: 22px;
  height: 22px;
  left: 13px;
  top: 13px;
  border: 3px solid #ffffff;
  border-bottom-color: transparent;
  border-radius: 50%;
  background: transparent;
}

.webp-converter-content .wpc-icon-speed::after {
  width: 12px;
  height: 3px;
  left: 23px;
  top: 23px;
  border-radius: 999px;
  transform: rotate(-35deg);
}

.webp-converter-content .wpc-icon-browser::before {
  width: 26px;
  height: 20px;
  left: 11px;
  top: 15px;
  border-radius: 5px;
}

.webp-converter-content .wpc-icon-browser::after {
  width: 26px;
  height: 3px;
  left: 11px;
  top: 20px;
  background: rgba(47, 125, 246, 0.55);
}

.webp-converter-content .wpc-icon-quality::before {
  width: 22px;
  height: 22px;
  left: 13px;
  top: 13px;
  clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 34%);
}

.webp-converter-content .wpc-icon-quality::after {
  display: none;
}

.webp-converter-content .wpc-icon-web::before {
  width: 24px;
  height: 24px;
  left: 12px;
  top: 12px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: transparent;
}

.webp-converter-content .wpc-icon-web::after {
  width: 3px;
  height: 24px;
  left: 22px;
  top: 12px;
  border-radius: 999px;
}

.webp-converter-content .wpc-icon-simple::before {
  width: 24px;
  height: 14px;
  left: 12px;
  top: 17px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: transparent;
}

.webp-converter-content .wpc-icon-simple::after {
  width: 10px;
  height: 10px;
  left: 19px;
  top: 19px;
  border-radius: 50%;
}

.webp-converter-content .wpc-steps {
  display: grid;
  grid-template-columns: 1fr;
}

.webp-converter-content .wpc-step-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(26, 43, 73, 0.1);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 33, 55, 0.08);
}

.webp-converter-content .wpc-step-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  top: -70px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(18, 179, 168, 0.18), rgba(47, 125, 246, 0));
  pointer-events: none;
}

.webp-converter-content .wpc-step-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 850;
  line-height: 1;
  background: linear-gradient(135deg, #12b3a8, #2f7df6);
  box-shadow: 0 16px 34px rgba(47, 125, 246, 0.22);
}

.webp-converter-content .wpc-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid rgba(18, 179, 168, 0.24);
  border-radius: 999px;
  background: rgba(18, 179, 168, 0.08);
  color: #087f7f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.webp-converter-content .wpc-benefit-card {
  text-align: left;
}

.webp-converter-content .wpc-benefit-mark {
  display: inline-flex;
  position: relative;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #12b3a8, #2f7df6);
  box-shadow: 0 12px 28px rgba(18, 179, 168, 0.2);
}

.webp-converter-content .wpc-benefit-mark::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 8px;
  left: 13px;
  top: 15px;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(-45deg);
}

.webp-converter-content .wpc-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.webp-converter-content .wpc-reveal.wpc-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 320px) and (max-width: 374px) {
  .webp-converter-content .wpc-section {
    padding: 48px 0;
  }

  .webp-converter-content .wpc-container {
    padding: 0 16px;
  }

  .webp-converter-content h2 {
    font-size: 27px;
  }

  .webp-converter-content .wpc-heading-wrap p {
    font-size: 15px;
  }

  .webp-converter-content .wpc-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .webp-converter-content .wpc-card,
  .webp-converter-content .wpc-benefit-card {
    padding: 22px;
  }

  .webp-converter-content .wpc-card h3,
  .webp-converter-content .wpc-step-card h3,
  .webp-converter-content .wpc-benefit-card h3 {
    font-size: 18px;
  }

  .webp-converter-content .wpc-card p,
  .webp-converter-content .wpc-step-card p,
  .webp-converter-content .wpc-benefit-card p {
    font-size: 14px;
  }

  .webp-converter-content .wpc-steps {
    gap: 16px;
    margin-top: 30px;
  }

  .webp-converter-content .wpc-step-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  .webp-converter-content .wpc-step-number {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .webp-converter-content .wpc-pill {
    padding: 8px 10px;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .webp-converter-content .wpc-section {
    padding: 54px 0;
  }

  .webp-converter-content .wpc-container {
    padding: 0 18px;
  }

  .webp-converter-content h2 {
    font-size: 30px;
  }

  .webp-converter-content .wpc-heading-wrap p {
    font-size: 15.5px;
  }

  .webp-converter-content .wpc-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .webp-converter-content .wpc-card,
  .webp-converter-content .wpc-benefit-card {
    padding: 24px;
  }

  .webp-converter-content .wpc-card h3,
  .webp-converter-content .wpc-step-card h3,
  .webp-converter-content .wpc-benefit-card h3 {
    font-size: 19px;
  }

  .webp-converter-content .wpc-card p,
  .webp-converter-content .wpc-step-card p,
  .webp-converter-content .wpc-benefit-card p {
    font-size: 14.5px;
  }

  .webp-converter-content .wpc-steps {
    gap: 18px;
    margin-top: 34px;
  }

  .webp-converter-content .wpc-step-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .webp-converter-content .wpc-step-number {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }

  .webp-converter-content .wpc-pill {
    padding: 8px 11px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .webp-converter-content .wpc-section {
    padding: 60px 0;
  }

  .webp-converter-content .wpc-container {
    padding: 0 22px;
  }

  .webp-converter-content h2 {
    font-size: 34px;
  }

  .webp-converter-content .wpc-heading-wrap p {
    font-size: 16px;
  }

  .webp-converter-content .wpc-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 38px;
  }

  .webp-converter-content .wpc-card,
  .webp-converter-content .wpc-benefit-card {
    padding: 26px;
  }

  .webp-converter-content .wpc-card h3,
  .webp-converter-content .wpc-step-card h3,
  .webp-converter-content .wpc-benefit-card h3 {
    font-size: 20px;
  }

  .webp-converter-content .wpc-card p,
  .webp-converter-content .wpc-step-card p,
  .webp-converter-content .wpc-benefit-card p {
    font-size: 15px;
  }

  .webp-converter-content .wpc-steps {
    gap: 20px;
    margin-top: 38px;
  }

  .webp-converter-content .wpc-step-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px;
  }

  .webp-converter-content .wpc-step-number {
    width: 60px;
    height: 60px;
    font-size: 19px;
  }

  .webp-converter-content .wpc-pill {
    padding: 8px 12px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .webp-converter-content .wpc-section {
    padding: 76px 0;
  }

  .webp-converter-content .wpc-container {
    padding: 0 32px;
  }

  .webp-converter-content h2 {
    font-size: 40px;
  }

  .webp-converter-content .wpc-heading-wrap p {
    font-size: 17px;
  }

  .webp-converter-content .wpc-grid-3,
  .webp-converter-content .wpc-grid-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .webp-converter-content .wpc-card-grid {
    gap: 22px;
    margin-top: 44px;
  }

  .webp-converter-content .wpc-card,
  .webp-converter-content .wpc-benefit-card {
    padding: 28px;
  }

  .webp-converter-content .wpc-card h3,
  .webp-converter-content .wpc-step-card h3,
  .webp-converter-content .wpc-benefit-card h3 {
    font-size: 21px;
  }

  .webp-converter-content .wpc-card p,
  .webp-converter-content .wpc-step-card p,
  .webp-converter-content .wpc-benefit-card p {
    font-size: 15.5px;
  }

  .webp-converter-content .wpc-steps {
    gap: 22px;
    margin-top: 44px;
  }

  .webp-converter-content .wpc-step-card {
    gap: 22px;
    padding: 30px;
  }

  .webp-converter-content .wpc-step-number {
    width: 66px;
    height: 66px;
    font-size: 20px;
  }

  .webp-converter-content .wpc-pill {
    padding: 9px 13px;
  }
}

@media (min-width: 1024px) {
  .webp-converter-content .wpc-section {
    padding: 92px 0;
  }

  .webp-converter-content .wpc-container {
    padding: 0 36px;
  }

  .webp-converter-content h2 {
    font-size: 46px;
  }

  .webp-converter-content .wpc-heading-wrap p {
    font-size: 18px;
  }

  .webp-converter-content .wpc-grid-3,
  .webp-converter-content .wpc-grid-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .webp-converter-content .wpc-card-grid {
    gap: 24px;
    margin-top: 50px;
  }

  .webp-converter-content .wpc-card,
  .webp-converter-content .wpc-benefit-card {
    padding: 30px;
  }

  .webp-converter-content .wpc-card h3,
  .webp-converter-content .wpc-step-card h3,
  .webp-converter-content .wpc-benefit-card h3 {
    font-size: 22px;
  }

  .webp-converter-content .wpc-card p,
  .webp-converter-content .wpc-step-card p,
  .webp-converter-content .wpc-benefit-card p {
    font-size: 16px;
  }

  .webp-converter-content .wpc-steps {
    gap: 24px;
    margin-top: 50px;
  }

  .webp-converter-content .wpc-step-card {
    gap: 26px;
    padding: 34px;
  }

  .webp-converter-content .wpc-step-number {
    width: 74px;
    height: 74px;
    font-size: 22px;
  }

  .webp-converter-content .wpc-pill {
    padding: 9px 14px;
  }
}