/**
 * Pixipie visual polish — hero video, compare tables, content visuals.
 */

.pixipie-hero-video-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 1rem;
  border: 0;
  background: #0b1020;
  box-shadow: none;
}

.pixipie-hero-video-wrap video.pixipie-hero-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #0b1020;
  border: 0;
  border-radius: 1rem;
  vertical-align: middle;
}

.pixipie-hero-video-wrap.is-playing video.pixipie-hero-video {
  /* Keep native browser controls fully clickable */
  pointer-events: auto;
}

.pixipie-hero-play-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 1rem;
  border: 0;
  border-radius: 1rem;
  background: rgba(11, 16, 32, 0.28);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pixipie-hero-play-btn:hover,
.pixipie-hero-play-btn:focus-visible {
  background: rgba(11, 16, 32, 0.4);
  outline: none;
}

.pixipie-hero-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: #702bb8;
  color: #fff;
  box-shadow: 0 10px 30px rgba(112, 43, 184, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}

.pixipie-hero-play-btn:hover .pixipie-hero-play-icon,
.pixipie-hero-play-btn:focus-visible .pixipie-hero-play-icon {
  transform: scale(1.06);
  background: #5a2294;
}

.pixipie-hero-play-label {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.pixipie-hero-video-wrap.is-playing .pixipie-hero-play-btn {
  display: none;
}

@media (max-width: 575.98px) {
  .pixipie-hero-play-icon {
    width: 3.75rem;
    height: 3.75rem;
  }

  .pixipie-hero-play-icon svg {
    width: 22px;
    height: 22px;
  }
}

.px-compare-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.dark .px-compare-wrap {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.px-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.95rem;
}

.px-compare-table thead th {
  padding: 1rem 1.15rem;
  text-align: left;
  font-weight: 700;
  background: #f3ebfa;
  color: #3d1568;
  border-bottom: 1px solid rgba(112, 43, 184, 0.15);
}

.dark .px-compare-table thead th {
  background: rgba(112, 43, 184, 0.25);
  color: #f3ebfa;
}

.px-compare-table tbody th,
.px-compare-table tbody td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  vertical-align: top;
  text-align: left;
}

.dark .px-compare-table tbody th,
.dark .px-compare-table tbody td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.px-compare-table tbody tr:last-child th,
.px-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.px-compare-table tbody th {
  width: 28%;
  font-weight: 600;
  color: #1a1625;
  background: #faf8fc;
}

.dark .px-compare-table tbody th {
  color: #f9fafb;
  background: rgba(255, 255, 255, 0.03);
}

.px-compare-table tbody td {
  width: 36%;
  color: #5c5668;
}

.dark .px-compare-table tbody td {
  color: #d1d5db;
}

.px-compare-table tbody tr:hover td,
.px-compare-table tbody tr:hover th {
  background: rgba(112, 43, 184, 0.04);
}

.px-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.px-cell img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.px-cell-yes {
  color: #0f8465;
}

.dark .px-cell-yes {
  color: #34d399;
}

.px-cell-no {
  color: #c2410c;
}

.dark .px-cell-no {
  color: #fb923c;
}

.px-compare-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.px-visual-banner {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.dark .px-visual-banner {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.px-visual-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  object-position: top center;
}

@media (min-width: 768px) {
  .px-visual-banner img {
    max-height: 280px;
  }
}

.px-feature-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .px-feature-split {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.px-feature-split-media {
  height: 100%;
}

.px-feature-split-media img {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  object-fit: cover;
  display: block;
}

.px-feature-split-media--fill {
  display: flex;
  height: 100%;
  min-height: 100%;
}

.px-feature-split-media--fill img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.dark .px-feature-split-media--fill img {
  background: rgba(255, 255, 255, 0.04);
}

.px-info-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.dark .px-info-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.px-info-card h2,
.px-info-card .h4,
.px-info-card .h3 {
  color: #1a1625;
}

.dark .px-info-card h2,
.dark .px-info-card .h4,
.dark .px-info-card .h3 {
  color: #f9fafb;
}

.px-info-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.px-info-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #4b5563;
}

.dark .px-info-card-list li {
  color: #d1d5db;
}

.px-info-card-list li img {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

@media (min-width: 992px) {
  .px-info-card {
    padding: 1.5rem 1.65rem;
    gap: 1rem;
  }

  .px-info-card-list li {
    font-size: 1rem;
  }
}

.px-icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .px-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .px-icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.px-icon-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  height: 100%;
}

.dark .px-icon-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.px-icon-card img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.px-icon-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.px-icon-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #5c5668;
}

.dark .px-icon-card p {
  color: #d1d5db;
}

/* -------------------------------------------------------------------------- */
/* Compare hub cards                                                           */
/* -------------------------------------------------------------------------- */

.px-compare-card-link {
  display: block;
  height: 100%;
}

.px-compare-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(112, 43, 184, 0.12);
  box-shadow: 0 8px 24px rgba(61, 21, 104, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.dark .px-compare-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.px-compare-card-link:hover .px-compare-card,
.px-compare-card-link:focus-visible .px-compare-card {
  transform: translateY(-3px);
  border-color: rgba(112, 43, 184, 0.35);
  box-shadow: 0 14px 32px rgba(61, 21, 104, 0.1);
}

.px-compare-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.px-compare-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #3d1568;
  background: #f3ebfa;
}

.dark .px-compare-pill {
  color: #f3ebfa;
  background: rgba(112, 43, 184, 0.28);
}

.px-compare-arrow {
  font-size: 1.1rem;
  line-height: 1;
  color: #702bb8;
  opacity: 0.55;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.px-compare-card-link:hover .px-compare-arrow,
.px-compare-card-link:focus-visible .px-compare-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.px-compare-card-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #1a1625;
}

.dark .px-compare-card-title {
  color: #f9fafb;
}

.px-compare-card-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #5c5668;
  flex: 1 1 auto;
}

.dark .px-compare-card-desc {
  color: #d1d5db;
}

.px-compare-card-points {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.px-compare-card-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 550;
  color: #0f8465;
}

.dark .px-compare-card-points li {
  color: #34d399;
}

.px-compare-card-points img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.px-compare-card-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.88rem;
  font-weight: 650;
  color: #702bb8;
}

.dark .px-compare-card-cta {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #c4a1ef;
}

/* Lite hub variant — less text, easier to scan */
.px-compare-card-lite {
  gap: 0.85rem;
  justify-content: flex-start;
}

.px-compare-card-lite .px-compare-card-title {
  font-size: 1.05rem;
  line-height: 1.35;
  flex: 1 1 auto;
}

.px-compare-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.15rem;
}

.px-compare-tags span {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border-radius: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3d1568;
  background: #f3ebfa;
}

.dark .px-compare-tags span {
  color: #e9d8f8;
  background: rgba(112, 43, 184, 0.28);
}

/* Clean compare list — Resources hub */
.px-compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-width: 820px;
  margin-inline: auto;
}

.px-compare-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.dark .px-compare-row {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.px-compare-row:hover,
.px-compare-row:focus-visible {
  border-color: rgba(112, 43, 184, 0.35);
  box-shadow: 0 10px 28px rgba(61, 21, 104, 0.08);
  transform: translateY(-2px);
}

.px-compare-row-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #3d1568;
  background: linear-gradient(145deg, #f3ebfa 0%, #e8d7f7 100%);
  flex-shrink: 0;
}

.dark .px-compare-row-brand {
  color: #f3ebfa;
  background: rgba(112, 43, 184, 0.35);
}

.px-compare-row-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.px-compare-row-title {
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.3;
  color: #1a1625;
}

.dark .px-compare-row-title {
  color: #f9fafb;
}

.px-compare-row-desc {
  font-size: 0.88rem;
  line-height: 1.4;
  color: #6b6578;
}

.dark .px-compare-row-desc {
  color: #c4c0cc;
}

.px-compare-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: #702bb8;
  white-space: nowrap;
  opacity: 0.85;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.dark .px-compare-row-cta {
  color: #c4a1ef;
}

.px-compare-row:hover .px-compare-row-cta,
.px-compare-row:focus-visible .px-compare-row-cta {
  opacity: 1;
  transform: translateX(2px);
}

@media (max-width: 575.98px) {
  .px-compare-card {
    padding: 1.1rem 1.15rem 1.2rem;
  }

  .px-compare-card-lite .px-compare-card-title {
    font-size: 1rem;
  }

  .px-compare-row {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
  }

  .px-compare-row-cta {
    grid-column: 2;
    justify-self: start;
    margin-top: -0.15rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Free tools — soft tiles (distinct from compare cards)                       */
/* -------------------------------------------------------------------------- */

.px-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 576px) {
  .px-tools-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.px-tool-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  height: 100%;
  padding: 1.2rem 1.15rem 1.15rem;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.dark .px-tool-tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.px-tool-tile:hover,
.px-tool-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(15, 132, 101, 0.28);
  box-shadow: 0 14px 28px rgba(15, 132, 101, 0.1);
  outline: none;
}

.dark .px-tool-tile:hover,
.dark .px-tool-tile:focus-visible {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.px-tool-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: #0b5f4a;
  background: #e6f7f1;
}

.px-tool-tile-icon-2 {
  color: #8a4b12;
  background: #fff1e4;
}

.px-tool-tile-icon-3 {
  color: #1e4d8c;
  background: #e8f0fb;
}

.dark .px-tool-tile-icon {
  color: #6ee7b7;
  background: rgba(15, 132, 101, 0.25);
}

.dark .px-tool-tile-icon-2 {
  color: #fdba74;
  background: rgba(194, 65, 12, 0.25);
}

.dark .px-tool-tile-icon-3 {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.25);
}

.px-tool-tile-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  color: #1a1625;
}

.dark .px-tool-tile-title {
  color: #f9fafb;
}

.px-tool-tile-desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #5c5668;
}

.dark .px-tool-tile-desc {
  color: #d1d5db;
}

.px-tool-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: #0f8465;
}

.px-tool-tile-cta::after {
  content: "→";
  transition: transform 0.2s ease;
}

.px-tool-tile:hover .px-tool-tile-cta::after,
.px-tool-tile:focus-visible .px-tool-tile-cta::after {
  transform: translateX(3px);
}

.dark .px-tool-tile-cta {
  color: #6ee7b7;
}

.px-tools-grid.px-tools-grid-compact {
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .px-tools-grid.px-tools-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .px-tool-tile {
    padding: 1.15rem 1.1rem 1.1rem;
  }

  .px-tool-tile-title {
    font-size: 1.05rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Free tool workspace                                                         */
/* -------------------------------------------------------------------------- */

.tool-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 132, 101, 0.16);
  box-shadow: 0 8px 24px rgba(15, 132, 101, 0.06);
}

.dark .tool-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(52, 211, 153, 0.2);
  box-shadow: none;
}

.px-tool-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 0.45rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0f8465;
  background: rgba(15, 132, 101, 0.1);
  border: 1px solid rgba(15, 132, 101, 0.16);
}

.dark .px-tool-badge {
  color: #6ee7b7;
  background: rgba(15, 132, 101, 0.22);
  border-color: rgba(52, 211, 153, 0.22);
}

.tool-box label {
  margin-bottom: 0.35rem;
  color: #1a1625;
}

.dark .tool-box label {
  color: #f9fafb;
}

.tool-box input,
.tool-box textarea,
.tool-box select {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0.65rem;
  background: #f4faf8;
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.tool-box select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
  background-color: #f4faf8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%230f8465' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem 1rem;
}

.tool-box select::-ms-expand {
  display: none;
}

.dark .tool-box input,
.dark .tool-box textarea,
.dark .tool-box select {
  background-color: rgba(15, 23, 42, 0.35);
  border-color: rgba(255, 255, 255, 0.12);
}

.dark .tool-box select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236ee7b7' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem 1rem;
}

.tool-box input:focus,
.tool-box textarea:focus,
.tool-box select:focus {
  outline: none;
  border-color: rgba(15, 132, 101, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 132, 101, 0.12);
  background-color: #fff;
}

.tool-box select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%230f8465' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem 1rem;
}

.dark .tool-box input:focus,
.dark .tool-box textarea:focus,
.dark .tool-box select:focus {
  background-color: rgba(15, 23, 42, 0.55);
}

.dark .tool-box select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236ee7b7' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem 1rem;
}

.tool-box input[type="range"] {
  padding: 0.35rem 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tool-box input[type="file"] {
  padding: 0.65rem 0.75rem;
}

.tool-box .btn {
  align-self: flex-start;
  margin-top: 0.15rem;
}

.hashtag-chip {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.45rem;
  font-size: 0.875rem;
  font-weight: 550;
  color: #0b5f4a;
  background: #d8f3ea;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.hashtag-chip:hover {
  background: #c5ebd9;
  transform: translateY(-1px);
}

.dark .hashtag-chip {
  color: #a7f3d0;
  background: rgba(15, 132, 101, 0.28);
}

.dark .hashtag-chip:hover {
  background: rgba(15, 132, 101, 0.4);
}

.px-tool-result {
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: #f4faf8;
  border: 1px solid rgba(15, 132, 101, 0.14);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5c5668;
}

.dark .px-tool-result {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(52, 211, 153, 0.18);
  color: #d1d5db;
}

.px-tool-result strong {
  color: #1a1625;
}

.dark .px-tool-result strong {
  color: #f9fafb;
}

/* How it works — centered step cards */
.px-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  justify-content: center;
}

.px-step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  text-align: center;
  height: 100%;
  margin: 0;
  padding: 1.25rem 1.1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.dark .px-step-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.px-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #702bb8;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(112, 43, 184, 0.12);
}

.dark .px-step-num {
  background: #9b5de5;
  box-shadow: 0 0 0 4px rgba(155, 93, 229, 0.18);
}

.px-step-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #4b5563;
}

.dark .px-step-card p {
  color: #d1d5db;
}

@media (min-width: 576px) {
  .px-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .px-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }

  .px-step-card {
    padding: 1.4rem 1rem;
  }

  .px-step-card p {
    font-size: 1rem;
  }
}

