.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

.check {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.page-home .site-main > h1,
.page-home .site-main > p,
.page-home .site-main > div,
.page-home .site-main > article,
.page-home .site-main > section > h1,
.page-home .site-main > section > p {
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

section {
  padding: 58px 0;
}

.hero {
  padding: 78px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.97;
  letter-spacing: -0.075em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(135deg, var(--primary), #8b5cf6, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 12% 10%, rgba(99, 91, 255, 0.15), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(16, 185, 129, 0.15), transparent 22%);
  pointer-events: none;
}

.demo-card-inner {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  background: #fbfbff;
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.traffic i:nth-child(1) { background: #ff5f57; }
.traffic i:nth-child(2) { background: #ffbd2e; }
.traffic i:nth-child(3) { background: #28c840; }

.mock-url {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
}

.before-after {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff, #f5f3ff);
}

.sample-photo {
  position: absolute;
  inset: 28px;
  border-radius: 24px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%2393c5fd'/%3E%3Cstop offset='0.52' stop-color='%23ddd6fe'/%3E%3Cstop offset='1' stop-color='%2386efac'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='900' height='600' fill='url(%23g)'/%3E%3Ccircle cx='690' cy='130' r='78' fill='%23fff7ed' opacity='0.9'/%3E%3Cpath d='M0 420 L210 260 L360 390 L480 280 L900 520 L900 600 L0 600 Z' fill='%231e293b' opacity='0.75'/%3E%3Cpath d='M0 470 L260 320 L420 450 L560 330 L900 560 L900 600 L0 600 Z' fill='%230f172a' opacity='0.75'/%3E%3Crect x='90' y='90' width='260' height='170' rx='28' fill='%23ffffff' opacity='0.34'/%3E%3C/svg%3E");
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.watermark-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 46px;
  font-weight: 1000;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transform: rotate(-18deg);
  user-select: none;
  pointer-events: none;
}

.clean-strip {
  position: absolute;
  inset: 0 0 0 50%;
  overflow: hidden;
  border-left: 3px solid #fff;
  box-shadow: -14px 0 30px rgba(17, 24, 39, 0.14);
}

.clean-strip .sample-photo {
  filter: saturate(1.08) contrast(1.05);
  left: calc(-50% + 28px);
  right: calc(50% + 28px);
  width: calc(200% - 56px);
}

.clean-strip .watermark-text {
  opacity: 0;
}

.slider-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.18);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 1000;
}

.compare-labels {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.compare-labels span {
  background: rgba(17, 24, 39, 0.7);
  color: #fff;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  margin: 12px 0 10px;
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.section-title p {
  margin: 0 auto;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.uploader-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  padding: 24px;
}

.quota-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  border-radius: 18px;
  margin-bottom: 18px;
}

.quota-bar strong {
  color: #1d4ed8;
}

.quota-copy {
  color: #4b5563;
  font-size: 14px;
  margin-top: 3px;
}

.quota-meter {
  width: 180px;
  max-width: 34vw;
  height: 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  overflow: hidden;
}

.quota-meter span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #8b5cf6);
  transition: width 0.35s ease;
}

.upload-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
}

.dropzone {
  min-height: 360px;
  border: 2px dashed #c7d2fe;
  border-radius: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(99, 91, 255, 0.06), rgba(16, 185, 129, 0.04)),
    #fbfbff;
  transition: 0.2s ease;
  cursor: pointer;
}

.dropzone.dragover {
  transform: scale(1.01);
  border-color: var(--primary);
  background: rgba(99, 91, 255, 0.1);
}

.upload-icon {
  width: 76px;
  height: 76px;
  border-radius: 26px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  box-shadow: 0 18px 36px rgba(99, 91, 255, 0.25);
}

.dropzone h3 {
  margin: 0 0 8px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.dropzone p {
  margin: 0 0 20px;
  color: var(--muted);
}

.fineprint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}

.tool-disclaimer {
  margin-bottom: 0;
}

.workspace {
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fcfcff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.workspace-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
}

.workspace-header strong {
  letter-spacing: -0.02em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--warning);
}

.preview-area {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 290px;
}

.preview-box {
  position: relative;
  padding: 16px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-box:last-child {
  border-right: 0;
}

.preview-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.image-stage {
  flex: 1;
  border-radius: 18px;
  background:
    linear-gradient(45deg, #f3f4f6 25%, transparent 25%),
    linear-gradient(-45deg, #f3f4f6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f3f4f6 75%),
    linear-gradient(-45deg, transparent 75%, #f3f4f6 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 215px;
  position: relative;
}

.image-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 250px;
}

.empty-state {
  color: #9ca3af;
  font-weight: 800;
  text-align: center;
  padding: 24px;
}

.processed-img {
  filter: saturate(1.08) contrast(1.05) brightness(1.02);
}

.processed-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #065f46;
  background: rgba(209, 250, 229, 0.92);
  font-size: 12px;
  font-weight: 1000;
  backdrop-filter: blur(8px);
}

.progress-wrap {
  padding: 0 16px 16px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.progress-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  padding: 14px 0 8px;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
}

.progress span {
  height: 100%;
  width: 0%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #10b981);
  transition: width 0.22s ease;
}

.workspace-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.workspace-primary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  overflow: hidden;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  right: 22px;
  top: 14px;
  font-size: 54px;
  font-weight: 1000;
  letter-spacing: -0.08em;
  color: rgba(99, 91, 255, 0.09);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.pricing {
  background: #101827;
  color: #fff;
  border-radius: 36px;
  padding: 48px 28px;
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.35), transparent 62%);
  top: -240px;
  right: -130px;
}

.pricing .section-title {
  position: relative;
}

.pricing .section-title p {
  color: #a7b0c0;
}

.pricing-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.price-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(14px);
}

.price-card.featured {
  background: #fff;
  color: var(--text);
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(99, 91, 255, 0.26);
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.price-card .desc {
  color: #a7b0c0;
  min-height: 44px;
}

.price-card.featured .desc {
  color: var(--muted);
}

.price {
  margin: 18px 0;
  font-size: 44px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -0.07em;
}

.price small {
  font-size: 15px;
  letter-spacing: 0;
  color: #a7b0c0;
  font-weight: 800;
}

.price-card.featured .price small {
  color: var(--muted);
}

.price-list {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
  color: #d1d5db;
  font-weight: 700;
  font-size: 14px;
}

.price-card.featured .price-list {
  color: #374151;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 100px;
}

.faq-copy h2 {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 12px 0;
}

.faq-copy p {
  color: var(--muted);
  margin: 0;
}

.accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.1), rgba(16, 185, 129, 0.08)), #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 48px 24px;
  box-shadow: var(--card-shadow);
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.cta p {
  max-width: 620px;
  color: var(--muted);
  margin: 0 auto 24px;
  font-size: 17px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal-backdrop.show {
  display: flex;
}

.modal {
  width: min(620px, 100%);
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  animation: pop 0.18s ease-out;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-head {
  padding: 24px;
  background: radial-gradient(circle at top right, rgba(99, 91, 255, 0.2), transparent 35%), #fbfbff;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.modal-head h3 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.modal-head p {
  margin: 0;
  color: var(--muted);
}

.close-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal-body {
  padding: 24px;
}

.upgrade-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.upgrade-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  color: #374151;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 130;
  background: #101827;
  color: #fff;
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  font-weight: 800;
  display: none;
  max-width: min(420px, calc(100% - 40px));
}

.toast.show {
  display: block;
  animation: pop 0.18s ease-out;
}

@media (max-width: 980px) {
  .hero-grid,
  .upload-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .before-after {
    height: 360px;
  }

  .faq-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 48px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quota-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .quota-meter {
    width: 100%;
    max-width: 100%;
  }

  .preview-area {
    grid-template-columns: 1fr;
  }

  .preview-box {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .preview-box:last-child {
    border-bottom: 0;
  }

  .workspace-actions {
    display: grid;
  }

  .workspace-primary-actions,
  .workspace-actions .btn {
    width: 100%;
  }

  .watermark-text {
    font-size: 30px;
  }
}