:root {
  --bg: #111111;
  --bg-soft: #181818;
  --bg-card: #1c1c1c;
  --border: #2b2b2b;

  --text: #f5f5f5;
  --text-soft: #b7b7b7;
  --text-muted: #858585;

  --orange: #ff7a1a;
  --orange-hover: #ff8d3b;

  --danger: #ef4444;
  --success: #22c55e;

  --container: 1120px;

  --radius: 18px;
  --radius-small: 12px;
}


* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;
}


img {
  max-width: 100%;
}


button,
input {
  font: inherit;
}


button {
  cursor: pointer;
}


a {
  color: inherit;
  text-decoration: none;
}


.container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin-inline: auto;
}


/* ================= ACCESSIBILITY ================= */

.visually-hidden {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}


/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(17, 17, 17, 0.92);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(14px);
}


.header-inner {
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}


.logo {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  font-size: 1.15rem;
  font-weight: 800;

  letter-spacing: -0.02em;
}


.logo-icon {
  width: 32px;
  height: 32px;

  display: block;

  flex-shrink: 0;
}


.main-nav {
  display: flex;
  align-items: center;

  gap: 28px;
}


.main-nav a {
  color: var(--text-soft);

  font-size: 0.95rem;
  font-weight: 600;

  transition:
    color 0.2s ease;
}


.main-nav a:hover {
  color: var(--text);
}


/* ================= ADS ================= */

.ad-slot {
  width: min(
    calc(100% - 40px),
    1000px
  );

  margin: 24px auto;

  text-align: center;
}


.ad-label {
  display: block;

  margin-bottom: 7px;

  color: var(--text-muted);

  font-size: 0.68rem;

  text-transform: uppercase;

  letter-spacing: 0.12em;
}


.ad-container {
  min-height: 90px;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px dashed #303030;

  border-radius: 12px;

  background: #151515;
}


/* ================= HERO ================= */

.hero {
  padding: 76px 0 80px;

  text-align: center;
}


.eyebrow,
.section-eyebrow {
  margin: 0 0 14px;

  color: var(--orange);

  font-size: 0.75rem;

  font-weight: 800;

  letter-spacing: 0.14em;
}


.hero h1 {
  max-width: 850px;

  margin: 0 auto;

  font-size:
    clamp(2.3rem, 6vw, 4.7rem);

  line-height: 1.03;

  letter-spacing: -0.055em;
}


.hero-description {
  max-width: 720px;

  margin: 24px auto 42px;

  color: var(--text-soft);

  font-size:
    clamp(1rem, 2vw, 1.15rem);
}


/* ================= TOOL ================= */

.remover-tool {
  width: min(
    100%,
    760px
  );

  margin: 0 auto;

  text-align: left;
}


.upload-area {
  position: relative;

  min-height: 340px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;

  border: 2px dashed #3a3a3a;

  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      #1a1a1a,
      #151515
    );

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;

  outline: none;
}


.upload-area:hover,
.upload-area:focus-visible,
.upload-area.drag-over {
  border-color: var(--orange);

  background: #191919;
}


.upload-content {
  text-align: center;
}


.upload-icon {
  width: 62px;
  height: 62px;

  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 122, 26, 0.12);

  color: var(--orange);

  font-size: 2rem;
  font-weight: 700;
}


.upload-content h3 {
  margin: 0 0 8px;

  font-size: 1.4rem;
}


.upload-content p {
  margin: 0 0 20px;

  color: var(--text-soft);
}


.upload-limit {
  margin-top: 16px !important;

  color: var(--text-muted) !important;

  font-size: 0.82rem;
}


/* ================= BUTTON ================= */

.primary-button {
  min-height: 48px;

  padding: 12px 22px;

  border: 0;

  border-radius: 12px;

  background: var(--orange);

  color: #111;

  font-weight: 800;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.primary-button:hover {
  background: var(--orange-hover);

  transform: translateY(-1px);

  box-shadow:
    0 8px 24px rgba(255, 122, 26, 0.18);
}


.primary-button:active {
  transform: translateY(0);
}


/* ================= PREVIEW / RESULT ================= */

.preview-section,
.processing-section,
.result-section {
  margin-top: 24px;

  padding: 28px;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  background: var(--bg-card);

  text-align: center;
}


.section-heading h3 {
  margin: 0 0 5px;

  font-size: 1.35rem;
}


.section-heading p {
  margin: 0 0 20px;

  color: var(--text-soft);
}


.preview-container,
.result-container {
  width: 100%;

  min-height: 220px;

  margin-bottom: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 14px;

  background: #101010;
}


.preview-container img,
.result-container img {
  display: block;

  max-width: 100%;

  max-height: 520px;

  width: auto;
  height: auto;

  object-fit: contain;
}


.checkerboard {
  background-color: #f0f0f0;

  background-image:
    linear-gradient(45deg, #d8d8d8 25%, transparent 25%),
    linear-gradient(-45deg, #d8d8d8 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #d8d8d8 75%),
    linear-gradient(-45deg, transparent 75%, #d8d8d8 75%);

  background-size: 24px 24px;

  background-position:
    0 0,
    0 12px,
    12px -12px,
    -12px 0;
}


/* ================= PROCESSING ================= */

.processing-section {
  padding: 50px 28px;
}


.loading-spinner {
  width: 48px;
  height: 48px;

  margin: 0 auto 20px;

  border: 4px solid #333;

  border-top-color: var(--orange);

  border-radius: 50%;

  animation:
    spin 0.8s linear infinite;
}


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


.processing-section h3 {
  margin: 0 0 8px;
}


.processing-section p {
  margin: 0;

  color: var(--text-soft);
}


/* ================= ERROR ================= */

.error-message {
  margin-top: 20px;

  padding: 14px 16px;

  border: 1px solid rgba(239, 68, 68, 0.35);

  border-radius: 12px;

  background: rgba(239, 68, 68, 0.08);

  color: #ff8b8b;

  font-size: 0.92rem;

  text-align: center;
}


/* ================= CONTENT ================= */

.content-section {
  padding: 90px 0;
}


.content-section h2 {
  max-width: 800px;

  margin: 0;

  font-size:
    clamp(2rem, 4vw, 3rem);

  line-height: 1.12;

  letter-spacing: -0.04em;
}


.section-intro {
  max-width: 720px;

  margin: 18px 0 42px;

  color: var(--text-soft);

  font-size: 1.05rem;
}


/* ================= STEPS ================= */

.steps-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;

  margin-top: 42px;
}


.step-card {
  padding: 28px;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  background: var(--bg-card);
}


.step-number {
  display: inline-block;

  margin-bottom: 20px;

  color: var(--orange);

  font-weight: 900;

  font-size: 0.85rem;

  letter-spacing: 0.1em;
}


.step-card h3 {
  margin: 0 0 10px;

  font-size: 1.2rem;
}


.step-card p {
  margin: 0;

  color: var(--text-soft);
}


/* ================= FEATURES ================= */

.features-section {
  background: #141414;

  border-top: 1px solid #202020;
  border-bottom: 1px solid #202020;
}


.features-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;

  margin-top: 42px;
}


.feature-card {
  padding: 25px;

  border: 1px solid var(--border);

  border-radius: var(--radius-small);

  background: #191919;
}


.feature-card h3 {
  margin: 0 0 8px;

  font-size: 1.08rem;
}


.feature-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 0.95rem;
}


/* ================= SEO / AEO ARTICLE ================= */

.article-content {
  max-width: 820px;

  margin-top: 40px;
}


.article-content h3 {
  margin:
    38px 0 10px;

  font-size: 1.35rem;

  line-height: 1.3;
}


.article-content p {
  margin: 0 0 18px;

  color: var(--text-soft);

  font-size: 1rem;
}


/* ================= FAQ ================= */

.faq-section {
  background: #141414;

  border-top: 1px solid #202020;
}


.faq-list {
  max-width: 820px;

  margin-top: 38px;
}


.faq-list details {
  border-bottom: 1px solid var(--border);
}


.faq-list details:first-child {
  border-top: 1px solid var(--border);
}


.faq-list summary {
  position: relative;

  padding: 22px 44px 22px 0;

  cursor: pointer;

  list-style: none;

  font-size: 1.05rem;

  font-weight: 700;
}


.faq-list summary::-webkit-details-marker {
  display: none;
}


.faq-list summary::after {
  content: "+";

  position: absolute;

  right: 0;
  top: 18px;

  color: var(--orange);

  font-size: 1.5rem;

  font-weight: 400;
}


.faq-list details[open] summary::after {
  content: "−";
}


.faq-list details p {
  max-width: 720px;

  margin: 0 0 22px;

  color: var(--text-soft);
}


/* ================= FOOTER ================= */

.site-footer {
  padding-top: 60px;

  background: #0d0d0d;

  border-top: 1px solid #202020;
}


.footer-inner {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 40px;
}


.footer-brand {
  font-size: 1.2rem;

  font-weight: 800;
}


.footer-inner p {
  margin: 8px 0 0;

  color: var(--text-muted);

  font-size: 0.9rem;
}


.footer-nav {
  display: flex;

  flex-wrap: wrap;

  gap: 20px;
}


.footer-nav a {
  color: var(--text-soft);

  font-size: 0.9rem;
}


.footer-nav a:hover {
  color: var(--text);
}


.copyright {
  margin-top: 45px;

  padding: 20px 0;

  border-top: 1px solid #202020;

  color: var(--text-muted);

  font-size: 0.82rem;
}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

  .container {
    width: min(
      calc(100% - 28px),
      var(--container)
    );
  }


  .header-inner {
    min-height: 64px;
  }


  .main-nav {
    gap: 16px;
  }


  .main-nav a {
    font-size: 0.85rem;
  }


  .hero {
    padding: 55px 0 60px;
  }


  .hero h1 {
    font-size:
      clamp(2.15rem, 11vw, 3.5rem);
  }


  .upload-area {
    min-height: 300px;

    padding: 28px 18px;
  }


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


  .content-section {
    padding: 65px 0;
  }


  .footer-inner {
    flex-direction: column;
  }


  .footer-nav {
    gap: 14px;
  }

}


@media (max-width: 480px) {

  .main-nav {
    display: none;
  }


  .logo {
    font-size: 1rem;
  }


  .logo-icon {
    width: 28px;
    height: 28px;
  }


  .hero-description {
    font-size: 0.95rem;
  }


  .upload-area {
    min-height: 280px;

    padding: 22px 14px;
  }


  .upload-content h3 {
    font-size: 1.2rem;
  }


  .primary-button {
    width: 100%;
  }


  .preview-section,
  .processing-section,
  .result-section {
    padding: 20px 14px;
  }


  .ad-slot {
    width:
      calc(100% - 28px);
  }


  .ad-container {
    min-height: 70px;
  }

}


/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

}

.content-page {
  padding: 80px 0;
}

.article {
  max-width: 800px;
  margin: 0 auto;
}

.article h1 {
  margin-bottom: 12px;
}

.article h2 {
  margin-top: 42px;
  margin-bottom: 16px;
}

.article p,
.article li {
  color: var(--muted);
  line-height: 1.8;
}

.article ul {
  padding-left: 24px;
  margin: 20px 0;
}

.article li {
  margin-bottom: 10px;
}

.article a {
  color: var(--orange);
}

.article-meta {
  margin-bottom: 40px;
}

.eyebrow {
  color: var(--orange) !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

@media (max-width: 600px) {
  .content-page {
    padding: 50px 0;
  }
}