/* ── Gemini Watermark Remover Design System ── */
:root {
  --bg-primary: #f4f7fb;
  --bg-card: #ffffff;
  --bg-card-border: #e2e8f0;
  --bg-header: rgba(255, 255, 255, 0.92);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #d8dadd;

  --brand-primary: #093270;
  --brand-primary-hover: #0a2150;
  --brand-gradient: linear-gradient(135deg, #0f8ea8 0%, #093270 55%, #061633 100%);
  --brand-glow: rgba(56, 184, 208, 0.15);

  --accent-blue: #093270;
  --accent-green: #16a34a;

  --radius-xl: 1.25rem;
  --radius-lg: 1rem;
  --radius-md: 0.625rem;
  --radius-sm: 0.375rem;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 8px 25px -4px rgba(9, 50, 112, 0.2);

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Sticky Top Header Navbar ── */
.app-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  box-shadow: none;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand:hover {
  opacity: 0.9;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: #000000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

/* ── Desktop Navigation Menu ── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.04);
}

/* ── Tools Dropdown ── */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-dropdown-btn {
  font-weight: 600;
  color: #1e293b;
}

.nav-dropdown-btn:hover {
  color: #0f172a;
}

.dropdown-arrow {
  transition: transform var(--transition-fast);
}

.nav-dropdown.open .dropdown-arrow,
.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  margin-top: 0.35rem;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 330px;
  background: #ffffff;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.1), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
  z-index: 150;
}

/* Invisible Hover Bridge to ensure smooth mouse movement without closing */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
  display: block;
}

.nav-dropdown.open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: all var(--transition-fast);
  position: relative;
}

.dropdown-item:hover {
  background: #f8fafc;
}

.dropdown-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #64748b;
  flex-shrink: 0;
  margin-top: 2px;
  overflow: hidden;
}

.tool-favicon-img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: contain;
  display: block;
}

.promo-item:hover .promo-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(56, 184, 208, 0.25);
}

.promo-icon {
  background: linear-gradient(135deg, #eef5fb 0%, #e8f7fa 100%);
  border: 1px solid rgba(56, 184, 208, 0.15);
  color: #093270;
  transition: all var(--transition-fast);
}

.active-tool .dropdown-item-icon {
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #059669;
}

.dropdown-item-content {
  flex: 1;
  min-width: 0;
}

.dropdown-item-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.dropdown-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
}

.badge-featured {
  font-size: 0.625rem;
  font-weight: 700;
  background: linear-gradient(135deg, #093270 0%, #0f8ea8 100%);
  color: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}

.badge-current {
  font-size: 0.625rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #475569;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  line-height: 1;
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.2rem;
  line-height: 1.35;
}

.dropdown-ext-icon {
  color: #94a3b8;
  margin-top: 6px;
  flex-shrink: 0;
}

.dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0.35rem 0.25rem;
}

.mobile-nav-links {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-toggle {
  display: none;
}

.btn-github,
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: calc(var(--radius-lg) - 0.25rem);
  font-size: 0.825rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  line-height: 1;
}

.btn-github {
  background: #111828;
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.btn-github:hover {
  background: #202533;
  box-shadow: var(--shadow-md);
}

.btn-donate {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-sm);
}

.btn-donate:hover {
  background: #f8f8f8;
  border-color: #c0bfbf;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
}

/* ── Main Container ── */
.container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  flex: 1;
}

/* ── Hero Section ── */
.hero-section {
  position: relative;
  z-index: 3;
  text-align: center;
  margin: 2rem auto 2.5rem;
  max-width: 900px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.hero-badge-link:hover {
  border-color: #0f8ea8;
  background: #f0f9fb;
  color: #0b7286;
  transform: translateY(-1px);
}

/* ── Decorative Background Showcase Frames ── */
.hero-bg-frame-container {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bg-frame-container.left {
  top: 180px;
  left: -10%;
  width: 250px;
  height: 250px;
}

.hero-bg-frame-container.left .hero-bg-frame {
  transform: rotate(-6deg);
}

.hero-bg-frame-container.right {
  top: 220px;
  right: -18%;
  left: auto;
  width: 350px;
  height: 350px;
}

.hero-bg-frame-container.right .hero-bg-frame {
  transform: rotate(6deg);
}

.hero-bg-frame {
  width: 100%;
  height: 100%;
  background: #ffffff;
  padding: 1rem;
  border-radius: 2.6rem;
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.08);
  opacity: 0.9;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

/* ── Tab Switcher ── */
.tab-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  background: #e9eef5;
  padding: 0.35rem;
  border-radius: var(--radius-lg);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: calc(var(--radius-lg) - 0.25rem);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* ── Cards ── */
.card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

/* ── Custom Select Component ── */
.custom-select-wrapper {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.preset-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.custom-select {
  position: relative;
  display: inline-block;
  min-width: 270px;
}

.custom-select-trigger {
  width: 100%;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-card-border);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.85rem;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
  border-color: #cbd5e1;
  background: #fcfcfd;
}

.custom-select-trigger:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 1px;
}

.custom-select-arrow {
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 50;
  background: #ffffff;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition-fast);
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 0.55rem 0.75rem;
  border-radius: calc(var(--radius-md) - 0.2rem);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: background var(--transition-fast);
}

.custom-option:hover {
  background: #f1f5f9;
}

.custom-option.selected {
  background: #f1f5f9;
  font-weight: 600;
  color: var(--text-main);
}

.option-check {
  color: var(--brand-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.custom-option.selected .option-check {
  opacity: 1;
}

/* ── Dropzone ── */
.dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  cursor: pointer;
  background: var(--bg-primary);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dropzone:hover,
.dropzone.drag-over {
  border-color: var(--brand-primary);
  background: rgba(56, 184, 208, 0.03);
  transform: translateY(-2px);
}

.dropzone-icon {
  font-size: 2.75rem;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
  transition: transform var(--transition-normal);
}

.dropzone:hover .dropzone-icon {
  transform: scale(1.1);
}

.dropzone-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.dropzone-sub {
  color: var(--text-muted);
  font-size: 0.825rem;
  margin-top: 0.35rem;
}

.dropzone.loading {
  pointer-events: none;
  cursor: wait;
  border-color: var(--brand-primary);
  background: rgba(56, 184, 208, 0.04);
  opacity: 0.9;
}

.dropzone-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.dropzone-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(56, 184, 208, 0.2);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: dropzoneSpin 0.8s linear infinite;
}

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

/* ── Watermark Tuner & Smooth Scroll Margins ── */
#how-it-works,
#comparison,
#features,
#faq,
.tuner-container,
#img-results,
#video-results,
#video-status {
  scroll-margin-top: 5.5rem;
}

.tuner-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg-card-border);
}

.detect-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  color: #093270;
  font-size: 0.8rem;
  width: fit-content;
  margin: 0 auto;
}

.detect-badge.warning {
  color: #d97706;
}

@keyframes fadeInBadge {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

.tuner-preview-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: center;
}

.tuner-canvas-box {
  display: flex;
  flex-direction: column;
}

.tuner-canvas-box.main-box {
  flex: 1 1 340px;
  min-width: 0;
  align-items: center;
}

.tuner-canvas-box.zoom-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 0 0 auto;
}

.zoom-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-sm);
}

.canvas-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.canvas-title.text-blue-600 {
  color: var(--accent-blue);
}

.canvas-title.text-green-600 {
  color: var(--accent-green);
}

.canvas-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-card-border);
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-box canvas {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.zoom-card canvas {
  display: block;
  border-radius: var(--radius-sm);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* ── Sliders ── */
.tuner-sliders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  width: 100%;
  background: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-card-border);
}

.slider-group {
  display: flex;
  flex-direction: column;
}

.tuner-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.tuner-slider-label span:last-child {
  color: var(--brand-primary);
  font-family: monospace;
}

.tuner-sliders input[type="range"] {
  width: 100%;
  accent-color: var(--brand-primary);
  cursor: pointer;
  height: 6px;
  border-radius: 3px;
}

/* ── Actions & Buttons ── */
.tuner-actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  box-shadow: 0 10px 25px -4px rgba(9, 50, 112, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-primary);
  border-color: #cbd5e1;
}

/* ── Previews & Result Checkerboard ── */
.checker {
  background-image:
    linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
    linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-card-border);
}

/* ── Progress Bar ── */
.progress-bar-container {
  width: 100%;
  max-width: 340px;
  height: 10px;
  background: #e2e8f0;
  border-radius: 9999px;
  margin: 0.75rem auto 0;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 9999px;
  transition: width 0.2s ease-out;
}

.progress-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-top: 0.4rem;
}

/* ── How It Works Section ── */
.how-it-works-section,
.guide-section,
.comparison-section,
.features-section,
.faq-section {
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}

.how-it-works-section {
  margin-top: 5.5rem;
  margin-bottom: 4.5rem;
}

.section-title {
  text-align: center;
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-badge {
  position: absolute;
  top: -0.85rem;
  left: 1.5rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111828;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Comparison Section ── */
.comparison-section {
  margin-top: 7rem;
  margin-bottom: 7rem;
  padding: 3rem 2.5rem;
}

.comparison-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
}

.comparison-content {
  display: flex;
  flex-direction: column;
}

.comparison-title {
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.comparison-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.comparison-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.comparison-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
}

.badge-before {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.badge-after {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.comparison-img-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg-card-border);
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-img-wrapper img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
}

.text-amber {
  color: #d97706;
}

/* ── Features Grid Section ── */
.features-section {
  margin-top: 7rem;
  margin-bottom: 7rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.75rem 2rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.feature-icon {
  flex-shrink: 0;
  color: var(--text-main);
  margin-top: 0.15rem;
}

.feature-card-body {
  display: flex;
  flex-direction: column;
}

.feature-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.feature-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── FAQ Section (Adaptive Desktop & Mobile) ── */
.faq-section {
  margin-top: 5.5rem;
  margin-bottom: 4.5rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.faq-header-col {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
}


.faq-title {
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.faq-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-list-col {
  width: 100%;
}

.faq-container {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--bg-card-border);
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--bg-card-border);
  transition: background var(--transition-fast);
}

.faq-question {
  padding: 1.25rem 0.25rem;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
  transition: color var(--transition-fast);
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-num {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.faq-item[open] .faq-num,
.faq-question:hover .faq-num {
  color: var(--text-main);
}

.faq-question:hover {
  color: #000000;
}

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

.faq-icon {
  color: var(--text-muted);
  transition: transform var(--transition-normal), color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--text-main);
}

.faq-answer {
  padding: 0 0.25rem 1.25rem 2.4rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-answer code {
  background: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.825rem;
  color: var(--text-main);
  border: 1px solid var(--bg-card-border);
}

/* ── Footer ── */
.app-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bg-card-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-credit {
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
}

.footer-credit strong {
  font-weight: 700;
  color: var(--text-main);
}

.footer-author-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-author-link:hover {
  color: var(--primary, #0f8ea8);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.825rem;
}

.footer-link,
.footer-link-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-family: inherit;
  font-size: 0.825rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition-fast);
  padding: 0;
}

.footer-link:hover,
.footer-link-btn:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.footer-dot {
  color: #cbd5e1;
  font-size: 0.75rem;
}

.footer-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── App Dialog Modals ── */
.app-modal {
  margin: auto;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  background: #ffffff;
  padding: 0;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.app-modal::backdrop {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
}

.modal-box {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.modal-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Utility Classes ── */
.hidden {
  display: none !important;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

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

.text-xs {
  font-size: 0.75rem;
}

.font-bold {
  font-weight: 700;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-4 {
  gap: 1rem;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .hero-bg-frame-container {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Tablet & Mobile Navigation Breakpoint (992px) ── */
@media (max-width: 992px) {
  .header-container {
    padding: 0.65rem 0.85rem;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: 0px;
    color: var(--text-main);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: transparent;
    flex-shrink: 0;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: background var(--transition-fast);
    white-space: nowrap;
  }

  .mobile-nav-link:hover {
    background: #f8fafc;
    color: #093270;
  }

  .mobile-promo-card {
    margin-top: 0.35rem;
    padding: 0.65rem 0.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9fb 100%);
    border: 1px solid #e8f7fa;
    border-radius: var(--radius-md);
  }

  .mobile-promo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
  }

  .mobile-promo-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #093270;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .mobile-promo-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text-main);
  }

  .mobile-promo-info strong {
    display: block;
    font-size: 0.825rem;
    color: #0f172a;
  }

  .mobile-promo-info p {
    font-size: 0.725rem;
    color: #64748b;
    margin-top: 0.1rem;
  }

  .mobile-promo-ext {
    color: #0f8ea8;
    margin-left: auto;
  }

  .header-actions {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0.85rem;
    left: auto;
    width: 320px;
    max-width: calc(100vw - 1.7rem);
    background: #ffffff;
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: 0.85rem;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    z-index: 200;
  }

  .header-actions.open {
    display: flex;
    animation: menuFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .header-action-buttons {
    display: flex;
    gap: 0.5rem;
    width: 100%;
  }

  .header-action-buttons .btn-github,
  .header-action-buttons .btn-donate {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0.75rem;
    font-size: 0.825rem;
  }
}

/* ── Mobile View (767px) ── */
@media (max-width: 767px) {
  .container {
    padding: 1rem 0.75rem 2.5rem;
  }

  .hero-section {
    margin: 1rem auto 1.5rem;
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.22;
    letter-spacing: -0.025em;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .privacy-text {
    display: none;
  }

  .badge-privacy {
    padding: 0.35rem;
    border-radius: 50%;
  }

  .card {
    padding: 1.25rem 0.85rem;
  }

  .custom-select-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .custom-select {
    width: 100%;
  }

  .tuner-preview-row {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .tuner-canvas-box.main-box {
    width: 100%;
  }

  .tuner-canvas-box.zoom-box {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .zoom-card canvas {
    width: 100%;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .tuner-sliders {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.85rem;
  }

  .tuner-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .how-it-works-section {
    margin-top: 4.75rem;
    margin-bottom: 4.75rem;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step-title {
    font-size: 1.1rem;
  }

  .comparison-section {
    margin-top: 4.75rem;
    margin-bottom: 4.75rem;
    padding: 2rem 1.15rem;
  }

  .comparison-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .comparison-title {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 0.65rem;
    text-align: center;
  }

  .comparison-subtitle {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.35rem;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .comparison-media {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .features-section {
    margin-top: 4.75rem;
    margin-bottom: 4.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card-title {
    font-size: 1.05rem;
  }

  .faq-section {
    margin-top: 4.75rem;
    margin-bottom: 4.75rem;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .faq-header-col {
    position: static;
    text-align: center;
    align-items: center;
  }

  .faq-title {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 0.65rem;
  }

  .faq-subtitle {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .faq-container {
    border-top: none;
    gap: 0.6rem;
  }

  .faq-item {
    background: #ffffff;
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    padding: 0.1rem 0.5rem;
    box-shadow: var(--shadow-sm);
  }

  .faq-question {
    padding: 0.85rem 0.5rem;
    font-size: 0.9rem;
  }

  .faq-num {
    background: var(--bg-primary);
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
  }

  .faq-answer {
    padding: 0 0.5rem 0.85rem 0.5rem;
    font-size: 0.825rem;
  }

  .app-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .comparison-media {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ── Results Screen Promo / Ad Banner ── */
.results-promo-banner {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f0fdf4 50%, #eef5fb 100%);
  border: 1.5px dashed #38b8d0;
  border-radius: var(--radius-lg);
  position: relative;
  text-align: left;
  box-shadow: 0 4px 14px rgba(56, 184, 208, 0.08);
  transition: all var(--transition-fast);
}

.results-promo-banner:hover {
  border-color: #0f8ea8;
  box-shadow: 0 8px 22px rgba(56, 184, 208, 0.15);
  transform: translateY(-1px);
}

.results-promo-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.results-promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  color: #093270;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.results-promo-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.results-promo-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.results-promo-info {
  flex: 1;
  min-width: 220px;
}

.results-promo-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.results-promo-desc {
  font-size: 0.8rem;
  color: #475569;
  margin-top: 0.2rem;
  line-height: 1.4;
}

.results-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: #ffffff;
  color: #093270;
  border: 1.5px solid #bfe7ef;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.results-promo-btn:hover {
  background: #093270;
  color: #ffffff;
  border-color: #093270;
  box-shadow: 0 4px 14px rgba(9, 50, 112, 0.3);
}

@media (max-width: 640px) {
  .results-promo-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .results-promo-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Methods & Settings Guide Section ── */
.guide-section {
  margin-top: 6.5rem;
  margin-bottom: 6.5rem;
}

.guide-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.guide-subtitle {
  max-width: 720px;
  margin: -1.5rem auto 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.method-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.method-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.method-card.featured-method {
  border-color: #bfe7ef;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9fb 100%);
  box-shadow: 0 4px 20px -2px rgba(56, 184, 208, 0.08);
}

.method-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.official-badge {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.tool-badge {
  background: #e8f7fa;
  color: #0a2150;
  border: 1px solid #bfe7ef;
}

.method-title {
  font-size: 1.175rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.method-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.method-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.method-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.865rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-num-pill {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.featured-method .step-num-pill {
  background: var(--brand-primary);
}

.step-text strong {
  color: var(--text-main);
  font-weight: 600;
}

.text-link {
  color: var(--brand-primary);
  text-decoration: underline;
  font-weight: 600;
}

.method-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  font-size: 0.8rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
  margin-top: auto;
}

.note-icon {
  color: #64748b;
  flex-shrink: 0;
  margin-top: 2px;
}

.method-action {
  margin-top: auto;
  padding-top: 0.5rem;
}

.method-btn {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

/* ── SynthID vs Visible Watermark Callout Box ── */
.synthid-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.synthid-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.synthid-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.synthid-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.synthid-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.synthid-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--bg-card-border);
}

.synthid-col-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.synthid-col p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .methods-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .synthid-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ── Dedicated Video Remover Guide Section (SEO Optimized) ── */
.video-guide-section {
  margin: 3.5rem 0;
}

.video-guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.video-guide-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.video-guide-header .method-badge {
  margin: 0 auto 0.75rem;
}

.video-guide-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.video-guide-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.video-guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.video-guide-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.video-guide-step:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.video-guide-step .step-num-pill {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8f7fa;
  color: #0b7286;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-guide-step-content strong {
  display: block;
  font-size: 0.925rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.video-guide-step-content p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.video-guide-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* ==========================================================================
   AJ TechSoft theme layer (header brand, hero, comparison slider, footer)
   ========================================================================== */
:root { --aj-navy: #093270; --aj-navy-900: #061633; --aj-cyan: #38b8d0; --aj-cyan-700: #0b7286; }

.app-header { background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid #e3e9f2; }
.aj-brand { gap: 14px; }
.aj-brand-logo { width: 150px; height: auto; display: block; }
.aj-brand-divider { width: 1px; height: 28px; background: #d4dce8; }
.aj-brand-tool { font-size: 15px; font-weight: 700; color: var(--aj-navy); white-space: nowrap; }
.nav-menu .nav-link { font-weight: 600; }

.btn-aj {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 2px solid var(--aj-navy);
  background: var(--aj-navy); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap;
}
.btn-aj:hover { background: #0a2150; border-color: #0a2150; transform: translateY(-1px); }
.btn-aj-ghost { background: transparent; color: var(--aj-navy); border-color: #d4dce8; }
.btn-aj-ghost:hover { background: transparent; color: var(--aj-navy); border-color: var(--aj-navy); }

/* hero */
.aj-hero {
  position: relative; width: 100%; overflow: hidden; color: #c9d4e6;
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(56, 184, 208, 0.18), transparent 60%),
    linear-gradient(160deg, var(--aj-navy-900) 0%, var(--aj-navy) 100%);
}
.aj-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.aj-hero-inner { position: relative; max-width: 900px; margin: 0 auto; padding: 48px 20px 104px; text-align: center; }
.aj-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13.5px; color: #9fb0cc; margin-bottom: 22px; }
.aj-crumbs a { color: #c9d4e6; text-decoration: none; }
.aj-crumbs a:hover { color: #fff; }
.aj-crumbs span[aria-hidden] { opacity: .5; }
.aj-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(56, 184, 208, 0.12); border: 1px solid rgba(56, 184, 208, 0.35);
  color: #9fe3f0; font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.aj-hero-badge img { border-radius: 6px; }
.aj-hero .hero-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 14px; }
.aj-hero .hero-description { color: #c9d4e6; font-size: 1.05rem; max-width: 640px; }
.aj-hero .hero-description strong { color: #fff; font-weight: 600; }
.aj-hero .hero-badges { margin-top: 24px; }
.aj-hero .hero-badge-pill { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.18); color: #e6edf7; box-shadow: none; }
.aj-hero .hero-badge-pill iconify-icon { color: var(--aj-cyan); }
.aj-hero .hero-badge-link:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); color: #fff; }

/* the tool card rises into the hero */
.tl-hero + .container { margin-top: -76px; padding-top: 0; z-index: 2; }
.tl-hero + .container .tab-container { margin-top: 0; background: #fff; border: 1px solid #e3e9f2; box-shadow: 0 10px 30px -12px rgba(6, 22, 51, 0.35); }
.tab-btn.active { background: var(--aj-navy); color: #fff; box-shadow: 0 6px 16px -8px rgba(9, 50, 112, 0.7); }
.card { border-color: #e3e9f2; box-shadow: 0 2px 4px rgba(13, 27, 51, 0.04), 0 18px 40px -16px rgba(13, 27, 51, 0.22); }

/* comparison slider */
.aj-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aj-cyan-700); margin-bottom: 10px; }
.comparison-hint { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--text-muted); }
.comparison-hint iconify-icon { color: var(--aj-cyan-700); flex: none; }
.compare-slider {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin: 0 auto;
  border-radius: 18px; overflow: hidden; border: 6px solid #fff;
  box-shadow: 0 2px 4px rgba(13, 27, 51, 0.04), 0 24px 50px -18px rgba(13, 27, 51, 0.35);
  user-select: none; touch-action: pan-y;
}
.compare-slider > img, .compare-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-slider::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(6, 22, 51, .15); pointer-events: none; }
.compare-handle {
  position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; z-index: 2;
  display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--aj-navy);
  box-shadow: 0 6px 18px -4px rgba(6, 22, 51, 0.5); pointer-events: none;
}
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare-tag { position: absolute; top: 12px; z-index: 1; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(6, 22, 51, 0.72); color: #fff; pointer-events: none; }
.compare-tag-before { left: 12px; }
.compare-tag-after { right: 12px; background: rgba(11, 114, 134, 0.85); }

/* footer */
.aj-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left;
  padding: 28px 32px; margin-bottom: 28px; border-radius: 18px; color: #c9d4e6;
  background: linear-gradient(120deg, var(--aj-navy) 0%, var(--aj-navy-900) 75%);
}
.aj-cta h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.aj-cta p { margin: 0; font-size: .95rem; }
.aj-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.aj-cta .btn-aj { background: var(--aj-cyan); border-color: var(--aj-cyan); color: var(--aj-navy-900); }
.aj-cta .btn-aj:hover { background: #5cc8db; border-color: #5cc8db; }
.aj-cta .btn-aj-ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.aj-cta .btn-aj-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.app-footer .footer-credit { font-size: .8rem; margin-top: 10px; }

@media (max-width: 900px) {
  .aj-brand-logo { width: 120px; }
  .aj-brand-divider, .aj-brand-tool { display: none; }
}
@media (max-width: 640px) {
  .aj-hero-inner { padding: 36px 16px 92px; }
  .aj-cta { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
}

button, input, select, textarea { font-family: inherit; }

/* video guide: four steps in one row on desktop, 2x2 on tablets */
.video-guide-steps-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .video-guide-steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .video-guide-steps-grid { grid-template-columns: 1fr; } }
