/* ==========================================================================
   Indiater — Design System & Theme
   Inspired by Indiater (https://indiater.com)
   ========================================================================== */

:root {
  --primary: #0F101F;
  --text-muted: #5F6275;
  --text-dark: #1E293B;
  --text-light: #94A3B8;
  --border: #E3E4ED;
  --border-light: #F1F2F6;
  --border-hover: #CBD5E1;
  --bg-main: #FFFFFF;
  --bg-subtle: transparent;
  --bg-card: transparent;

  /* Brand Colors & Gradients - Apple Store Difference Gradient Palette */
  --accent-purple: #D80183;
  --accent-purple-light: #EE4F72;
  --accent-purple-hover: #B5006D;
  --accent-purple-border: rgba(216, 1, 131, 0.25);
  --accent-pink: #EE4F72;
  --accent-blue: #00A7EA;
  --accent-orange: #FD8967;
  --badge-bg: transparent;

  --gradient-brand: linear-gradient(90deg, rgb(216, 1, 131) 0%, rgb(238, 79, 114) 50%, rgb(253, 137, 103) 100%);
  --gradient-apple: linear-gradient(90deg, rgb(216, 1, 131) 0%, rgb(238, 79, 114) 50%, rgb(253, 137, 103) 100%);
  --gradient-cta: linear-gradient(135deg, #00A7EA, #8A4AF5 45%, #FF48B3 80%, #FF8F3B);
  --shadow-purple: 0 4px 14px rgba(216, 1, 131, 0.25);
  --shadow-purple-hover: 0 6px 20px rgba(216, 1, 131, 0.38);
  --shadow-card: 0 4px 20px rgba(15, 16, 31, 0.04);
  --shadow-card-hover: 0 10px 25px rgba(15, 16, 31, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-muted);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Accessible focus rings */
:focus-visible {
  outline: 2px solid var(--accent-purple) !important;
  outline-offset: 3px !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6, .text-primary-custom {
  font-family: var(--font-heading);
  color: var(--primary);
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* ==========================================================================
   Navigation (Indiater Glass Nav)
   ========================================================================== */
.glass-nav {
  background-color: rgba(253, 253, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.25s ease;
  z-index: 1030;
}

/* Force navbar visibility & prevent Tailwind .collapse conflict */
.navbar-collapse-custom,
.navbar-expand-lg .navbar-collapse {
  visibility: visible !important;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse,
  .navbar-collapse-custom {
    display: flex !important;
    visibility: visible !important;
    flex-basis: auto !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse:not(.show) {
    display: none !important;
  }
  .navbar-collapse.show {
    display: block !important;
    visibility: visible !important;
  }
  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
    padding: 14px 0 8px;
  }
  .navbar-nav .nav-link {
    width: 100%;
    padding: 10px 16px !important;
  }
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 170px;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-wrapper:hover .brand-logo-img {
  opacity: 0.92;
  transform: scale(1.02);
}

.footer-logo-img {
  height: 32px;
  width: auto;
  max-width: 150px;
  display: inline-block;
  object-fit: contain;
}

.brand-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(216, 1, 131, 0.3);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.brand-wrapper:hover .brand-logo-icon {
  transform: rotate(-6deg) scale(1.05);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.2;
}

.brand-byline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #334155 !important;
  font-size: 0.9rem;
  padding: 7px 14px !important;
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent-purple) !important;
  background-color: rgba(216, 1, 131, 0.06);
}

.badge-free-tag {
  background: transparent !important;
  border: 1px solid rgba(216, 1, 131, 0.35) !important;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: linear-gradient(90deg, rgb(216, 1, 131) 0%, rgb(238, 79, 114) 50%, rgb(253, 137, 103) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-free-tag i,
.badge-free-tag svg {
  color: #D80183 !important;
  stroke: #D80183 !important;
  -webkit-text-fill-color: initial !important;
}

/* ==========================================================================
   Buttons (Indiater Design Language)
   ========================================================================== */
.btn-primary-solid {
  background: linear-gradient(90deg, rgb(216, 1, 131) 0%, rgb(238, 79, 114) 50%, rgb(253, 137, 103) 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: none !important;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px -4px rgba(216, 1, 131, 0.42) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary-solid:hover {
  background: linear-gradient(90deg, rgb(226, 10, 140) 0%, rgb(248, 89, 124) 50%, rgb(255, 147, 113) 100%) !important;
  border: none !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px -4px rgba(216, 1, 131, 0.52) !important;
  color: #FFFFFF !important;
}

.btn-primary-solid:active {
  transform: translateY(0) scale(0.99);
}

.btn-dark-custom {
  background-color: var(--primary);
  color: #FDFDFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border: 1px solid var(--primary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-dark-custom:hover {
  background-color: #000000;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-secondary-gray {
  background-color: #FFFFFF;
  color: #4B5563 !important;
  border: 1px solid #E5E7EB;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-secondary-gray:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  color: var(--primary) !important;
  transform: translateY(-1px);
}

.badge-custom {
  background-color: transparent !important;
  color: var(--primary);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Cards & Layout
   ========================================================================== */
.card-custom {
  background-color: transparent !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-custom:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: #F1F0FF;
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.card-custom:hover .icon-wrapper {
  transform: scale(1.08);
}

/* Mac dots header */
.mac-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mac-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mac-dots span:nth-child(1) { background: #FF5F56; }
.mac-dots span:nth-child(2) { background: #FFBD2E; }
.mac-dots span:nth-child(3) { background: #27C93F; }

/* ==========================================================================
   Hero Section & Upload Mockup
   ========================================================================== */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #0F101F;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.text-gradient,
.text-gradient-apple,
.section-eyebrow,
.eyebrow-gradient,
.section-subtitle-gradient {
  background: linear-gradient(90deg, rgb(216, 1, 131) 0%, rgb(238, 79, 114) 50%, rgb(253, 137, 103) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
  padding-bottom: 3px;
}

.glow-ambient {
  display: none !important;
}

/* Window Mockup Card */
.mockup-window {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 45px -15px rgba(15, 16, 31, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.mockup-window-header {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-address-pill {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
}

/* ==========================================================================
   Hero Interactive Mockup Window & Image Processing Workspace
   ========================================================================== */
.hero-window-body {
  padding: 36px 36px 32px;
  background: #FFFFFF;
}

@media (max-width: 768px) {
  .hero-window-body {
    padding: 24px 18px 22px;
  }
}

.hero-window-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  color: #0F101F;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.hero-window-desc {
  font-size: 0.95rem;
  color: #64748B;
  text-align: center;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   1. Initial Upload State
   -------------------------------------------------------------------------- */
.hero-dropzone {
  border: 2px dashed rgba(216, 1, 131, 0.45);
  border-radius: 20px;
  padding: 44px 24px;
  background-color: #FAF7FD;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  margin-bottom: 24px;
  outline: none;
}

.hero-dropzone:hover,
.hero-dropzone:focus-visible {
  border-color: #D80183;
  background-color: #F6F0FC;
  box-shadow: 0 10px 30px rgba(216, 1, 131, 0.12);
  transform: translateY(-2px);
}

.hero-dropzone.drag-active {
  border-color: #D80183;
  background-color: #F1E6FB;
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(216, 1, 131, 0.2);
  transform: scale(1.01);
}

.dropzone-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(216, 1, 131, 0.25);
  color: #D80183;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 18px rgba(216, 1, 131, 0.12);
  transition: transform 0.25s ease;
}

.hero-dropzone:hover .dropzone-icon-box {
  transform: scale(1.08);
}

.dropzone-primary-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 6px;
}

.dropzone-sub-or {
  font-size: 0.88rem;
  color: #94A3B8;
  font-weight: 500;
  margin-bottom: 16px;
}

.btn-choose-image {
  margin: 0 auto;
}

.dropzone-formats-note {
  font-size: 0.82rem;
  color: #94A3B8;
  margin-top: 16px;
  margin-bottom: 0;
}

/* Drag-over overlay */
.dropzone-drag-overlay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-dropzone.drag-active .dropzone-normal-content {
  display: none !important;
}

.hero-dropzone.drag-active .dropzone-drag-overlay {
  display: flex !important;
}

.drag-icon-pulse {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #D80183;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(216, 1, 131, 0.25);
  margin-bottom: 14px;
  animation: pulseDot 1.2s infinite ease-in-out;
}

.drag-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #D80183;
  margin-bottom: 4px;
}

.drag-subtitle {
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 500;
}

/* Inline Error State */
.dropzone-error-box {
  background: #FEF2F2;
  border: 2px dashed #FCA5A5;
  border-radius: 18px;
  padding: 36px 20px;
  text-align: center;
}

.error-badge-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FEE2E2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.error-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #991B1B;
  margin-bottom: 6px;
}

.error-desc {
  font-size: 0.9rem;
  color: #B91C1C;
  max-width: 440px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.btn-error-retry {
  background: #FFFFFF;
  border: 1.5px solid #F87171;
  color: #DC2626;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-error-retry:hover {
  background: #DC2626;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Trust Indicators */
.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid #F1F5F9;
}

@media (max-width: 768px) {
  .hero-trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.hero-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.trust-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-title {
  font-weight: 700;
  font-size: 0.86rem;
  color: #1E293B;
  line-height: 1.3;
}

.trust-item-sub {
  font-size: 0.78rem;
  color: #64748B;
  margin-top: 2px;
}

/* Sample Images Section */
.hero-samples-section {
  text-align: left;
}

.samples-section-heading {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 14px;
}

.hero-sample-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .hero-sample-cards {
    grid-template-columns: 1fr;
  }
}

.hero-sample-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
  outline: none;
}

.hero-sample-card:hover,
.hero-sample-card:focus-visible {
  border-color: rgba(216, 1, 131, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(216, 1, 131, 0.16);
}

.hero-sample-card.is-selected {
  border-color: #D80183 !important;
  box-shadow: 0 0 0 3px rgba(216, 1, 131, 0.25), 0 10px 24px -4px rgba(216, 1, 131, 0.2) !important;
}

.sample-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #F1F5F9;
}

.sample-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.hero-sample-card:hover .sample-card-media img {
  transform: scale(1.05);
}

.sample-check-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #D80183;
  color: #FFFFFF;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.hero-sample-card.is-selected .sample-check-badge {
  display: flex;
}

.sample-card-caption {
  padding: 11px 14px;
  background: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  border-top: 1px solid #F1F5F9;
}

/* --------------------------------------------------------------------------
   2. Processing State
   -------------------------------------------------------------------------- */
.processing-preview-wrap {
  max-width: 460px;
  margin: 0 auto 24px;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #F8FAFC;
  box-shadow: 0 12px 32px rgba(15, 16, 31, 0.08);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.processing-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.scan-bracket {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: #D80183;
  border-style: solid;
  pointer-events: none;
  z-index: 3;
}

.scan-bracket.tl {
  top: 12px;
  left: 12px;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 8px;
}

.scan-bracket.tr {
  top: 12px;
  right: 12px;
  border-width: 3px 3px 0 0;
  border-top-right-radius: 8px;
}

.scan-bracket.bl {
  bottom: 12px;
  left: 12px;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: 8px;
}

.scan-bracket.br {
  bottom: 12px;
  right: 12px;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 8px;
}

.scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #D80183 40%, #FD8967 60%, transparent);
  box-shadow: 0 0 14px #D80183;
  z-index: 4;
  pointer-events: none;
  animation: scanLaser 2.2s infinite ease-in-out;
}

.processing-center-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D80183;
  z-index: 5;
}

.processing-bar-row {
  max-width: 460px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.processing-bar-track {
  flex: 1;
  height: 8px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
}

.processing-bar-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #D80183 0%, #EE4F72 50%, #FD8967 100%);
  border-radius: 9999px;
  transition: width 0.35s ease;
}

.processing-bar-percent {
  font-weight: 700;
  font-size: 0.92rem;
  color: #64748B;
  font-variant-numeric: tabular-nums;
  min-width: 44px;
  text-align: right;
}

.processing-stepper {
  max-width: 480px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 2px solid #CBD5E1;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.step-node.completed .step-circle {
  background: #D80183;
  border-color: #D80183;
  color: #FFFFFF;
}

.step-node.active .step-circle {
  background: #FFFFFF;
  border-color: #D80183;
  box-shadow: 0 0 0 4px rgba(216, 1, 131, 0.2);
}

.step-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D80183;
  animation: pulseDot 1.2s infinite ease-in-out;
}

.step-idle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
}

.step-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
  white-space: nowrap;
}

.step-node.active .step-label,
.step-node.completed .step-label {
  color: #1E293B;
  font-weight: 700;
}

.step-connector {
  height: 2px;
  background: #CBD5E1;
  flex: 1;
  margin: -18px 8px 0;
  transition: background 0.3s ease;
}

.step-connector.completed {
  background: #D80183;
}

.processing-privacy-card {
  background: #FAF7FD;
  border: 1px solid rgba(216, 1, 131, 0.25);
  border-radius: 14px;
  padding: 12px 18px;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #475569;
  font-weight: 500;
  text-align: left;
}

/* --------------------------------------------------------------------------
   3. Result & Edit State
   -------------------------------------------------------------------------- */
.hero-slider-wrap {
  max-width: 680px;
  margin: 0 auto 24px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 36px rgba(15, 16, 31, 0.09);
  border: 1px solid #E2E8F0;
  aspect-ratio: 4 / 3;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none !important;
  cursor: ew-resize;
  background-color: #FFFFFF;
  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 0px;
  transition: background-color 0.25s ease, background-image 0.25s ease;
}

.hero-slider-wrap.custom-backdrop-active {
  background-image: none !important;
}

.hero-slider-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.hero-orig-layer {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
  transition: clip-path 0.05s ease-out;
}

.hero-split-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, #D80183 0%, #EE4F72 50%, #FD8967 100%);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 5;
  box-shadow: 0 0 10px rgba(216, 1, 131, 0.5);
  outline: none;
}

.hero-split-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 6px #D80183, 0 8px 20px rgba(216, 1, 131, 0.4);
  color: #D80183;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  transition: transform 0.15s ease;
}

.hero-split-line:hover .hero-split-handle,
.hero-split-line:focus .hero-split-handle {
  transform: translate(-50%, -50%) scale(1.08);
}

.slider-badge {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(15, 16, 31, 0.75);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  z-index: 4;
  letter-spacing: 0.02em;
}

.slider-badge-orig {
  left: 14px;
}

.slider-badge-cutout {
  right: 14px;
}

/* Background Customisation Toolbar */
.hero-bg-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.bg-tool-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 78px;
  position: relative;
  outline: none;
}

.bg-tool-btn:hover {
  border-color: rgba(216, 1, 131, 0.45);
  transform: translateY(-2px);
}

.bg-tool-btn.active {
  border-color: #D80183 !important;
  box-shadow: 0 0 0 3px rgba(216, 1, 131, 0.2) !important;
}

.bg-swatch {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.swatch-transparent {
  background-color: #FFFFFF;
  background-image: 
    linear-gradient(45deg, #cbd5e1 25%, transparent 25%),
    linear-gradient(-45deg, #cbd5e1 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #cbd5e1 75%),
    linear-gradient(-45deg, transparent 75%, #cbd5e1 75%);
  background-size: 8px 8px;
}

.swatch-white {
  background: #FFFFFF;
  border-color: #CBD5E1;
}

.swatch-black {
  background: #0F101F;
}

.swatch-colorwheel {
  background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
  color: #FFFFFF;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.swatch-gradient {
  background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
}

.swatch-image {
  background: #F1F5F9;
  color: #64748B;
}

.bg-tool-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.bg-tool-btn.active .bg-tool-label {
  color: #D80183;
  font-weight: 700;
}

/* Result Action Buttons */
.hero-result-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-download-hero {
  padding: 13px 32px;
  font-size: 1rem;
}

.btn-secondary-outline {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #1E293B;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary-outline:hover {
  border-color: #D80183;
  color: #D80183;
  background: #FAF7FD;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(216, 1, 131, 0.12);
}

.hero-tip-card {
  background: #FAF7FD;
  border: 1px solid rgba(216, 1, 131, 0.2);
  border-radius: 12px;
  padding: 10px 18px;
  max-width: 540px;
  margin: 0 auto;
  font-size: 0.84rem;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   4. Download Success Banner
   -------------------------------------------------------------------------- */
.hero-success-banner {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: 18px;
  padding: 26px 20px;
  max-width: 520px;
  margin: 20px auto 0;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.success-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #14532D;
  margin-bottom: 4px;
}

.success-desc {
  font-size: 0.9rem;
  color: #166534;
  margin-bottom: 16px;
}

@keyframes scanLaser {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* ==========================================================================
   Live Counter & Social Proof Strip (Hero Section)
   ========================================================================== */
.live-counter-strip {
  background: transparent !important;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 18px 28px;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
}

.live-counter-strip:hover {
  box-shadow: 0 10px 24px -6px rgba(15, 16, 31, 0.04) !important;
  border-color: rgba(216, 1, 131, 0.25);
}

.live-counter-main {
  flex: 1 1 auto;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: transparent !important;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  display: inline-block;
}

.live-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #10B981;
  animation: liveDotPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.live-counter-subtag {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 500;
}

.live-counter-number {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0F101F;
  line-height: 1.1;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  font-variant-numeric: tabular-nums;
}

.live-counter-number.tick-flash {
  color: #D80183;
  transform: scale(1.04);
}

.live-counter-plus {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, rgb(216, 1, 131) 0%, rgb(238, 79, 114) 50%, rgb(253, 137, 103) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
  margin-left: 2px;
}

.live-counter-label {
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 500;
  margin-top: 2px;
}

.live-counter-divider {
  width: 1px;
  height: 56px;
  background: #E2E8F0;
  flex-shrink: 0;
}

.live-counter-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.badge-speed-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: transparent !important;
  border: 1px solid rgba(216, 1, 131, 0.35);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-purple);
}

@media (max-width: 767px) {
  .live-counter-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 20px;
    gap: 16px;
  }
  .live-counter-main {
    text-align: center;
  }
  .live-counter-stats {
    width: 100%;
    border-top: 1px solid #F1F5F9;
    padding-top: 14px;
    align-items: center;
  }
}

/* ==========================================================================
   Real Examples Cards
   ========================================================================== */
.example-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.example-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.example-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border-light);
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}

.example-side {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #FFFFFF;
}

.example-side.is-cutout {
  background-color: #FFFFFF;
  background-image: 
    linear-gradient(45deg, #F1F5F9 25%, transparent 25%),
    linear-gradient(-45deg, #F1F5F9 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #F1F5F9 75%),
    linear-gradient(-45deg, transparent 75%, #F1F5F9 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}

.example-side img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.example-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 16, 31, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

.example-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ==========================================================================
   Transparency Comparison Table
   ========================================================================== */
.transparency-table-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.table-custom {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.table-custom th {
  background: #F8FAFC;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.table-custom td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  font-size: 0.95rem;
}

.table-custom tr:last-child td {
  border-bottom: none;
}

/* Checkerboard Swatch */
.checkerboard-swatch {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background-color: #FFFFFF;
  background-image: 
    linear-gradient(45deg, #CBD5E1 25%, transparent 25%),
    linear-gradient(-45deg, #CBD5E1 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #CBD5E1 75%),
    linear-gradient(-45deg, transparent 75%, #CBD5E1 75%);
  background-size: 8px 8px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ==========================================================================
   Progress State
   ========================================================================== */
.progress-card {
  max-width: 600px;
  margin: 60px auto;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 32px;
  text-align: center;
  box-shadow: 0 20px 45px -10px rgba(15, 16, 31, 0.08);
  display: none;
  animation: fadeIn 0.3s ease;
}

.spinner {
  width: 52px;
  height: 52px;
  border: 3px solid #F1F0FF;
  border-top-color: var(--accent-purple);
  border-right-color: var(--accent-pink);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}

.progress-status {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #F1F2F6;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 18px 0 12px;
}

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

.progress-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Workspace Section (Result & Comparison)
   ========================================================================== */
.workspace-section {
  display: none;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 10px 0 60px;
}

/* Top bar above workspace */
.workspace-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 4px 20px -4px rgba(15, 16, 31, 0.05);
}

.workspace-header-info {
  display: flex;
  flex-direction: column;
}

.workspace-ready-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.22);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.workspace-main-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.workspace-subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.btn-workspace-back {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-workspace-back:hover {
  background: #F8FAFC;
  border-color: var(--accent-purple-border);
  color: var(--accent-purple);
  transform: translateX(-2px);
  box-shadow: 0 4px 14px rgba(216, 1, 131, 0.12);
}

/* Two-column layout */
.workspace-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 991px) {
  .workspace-layout {
    grid-template-columns: 1fr;
  }
}

/* Workspace Mockup Window */
.workspace-mockup-window {
  box-shadow: 0 24px 50px -15px rgba(15, 16, 31, 0.09);
  border-radius: 22px;
  border: 1px solid var(--border);
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mac-red { background: #FF5F56; }
.mac-yellow { background: #FFBD2E; }
.mac-green { background: #27C93F; }

.split-hint-tag {
  background: #F1F0FF;
  color: var(--accent-purple);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  letter-spacing: 0.02em;
}

.workspace-hd-chip {
  background: linear-gradient(135deg, rgba(216, 1, 131, 0.1) 0%, rgba(255, 72, 179, 0.1) 100%);
  color: var(--accent-purple);
  border: 1px solid var(--accent-purple-border);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

/* Canvas container */
.canvas-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(15, 16, 31, 0.06);
  border: 1px solid var(--border);
  user-select: none;
  background-color: #FFFFFF;
  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 0px;
}

.canvas-container.solid-bg {
  background-image: none !important;
}

.canvas-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.original-layer {
  clip-path: inset(0 50% 0 0);
  transition: none;
}

/* Split slider */
.split-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, #D80183 0%, #FD8967 100%);
  box-shadow: 0 0 14px rgba(216, 1, 131, 0.6);
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
}

.split-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  background: #FFFFFF;
  color: var(--accent-purple);
  border: 2px solid #D80183;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(216, 1, 131, 0.38), 0 0 0 4px rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.split-slider-handle:hover,
.split-slider-line:active .split-slider-handle {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(216, 1, 131, 0.5), 0 0 0 5px rgba(255, 255, 255, 1);
}

/* Sleek Floating Badges (FIXED: align-items flex-start prevents vertical pill stretch) */
.split-labels {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 6;
}

.split-badge {
  background: rgba(15, 16, 31, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: auto;
  white-space: nowrap;
}

.split-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.split-dot.dot-original {
  background: #94A3B8;
}
.split-dot.dot-removed {
  background: #C084FC;
  box-shadow: 0 0 8px #C084FC;
}

/* Controls Sidebar */
.control-panel {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 20px 45px -15px rgba(15, 16, 31, 0.08);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.control-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.control-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #F1F0FF;
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.panel-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.bg-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.bg-opt-btn {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-opt-white {
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

.bg-opt-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.bg-opt-btn.active {
  transform: scale(1.05);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--accent-purple), 0 8px 18px rgba(216, 1, 131, 0.3);
}

.swatch-check {
  display: none;
  color: #FFFFFF;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
}

.bg-opt-btn.active .swatch-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-opt-white .swatch-check,
.bg-opt-transparent .swatch-check,
[data-bg="#F1F0FF"] .swatch-check {
  color: var(--accent-purple);
  filter: none;
}

.bg-opt-transparent {
  background-color: transparent;
  background-image: 
    linear-gradient(45deg, #cbd5e1 25%, transparent 25%),
    linear-gradient(-45deg, #cbd5e1 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #cbd5e1 75%),
    linear-gradient(-45deg, transparent 75%, #cbd5e1 75%);
  background-size: 10px 10px;
}

/* Custom Color Picker Card */
.color-picker-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.color-picker-card:hover {
  background: #FFFFFF;
  border-color: var(--accent-purple-border);
  box-shadow: 0 4px 14px rgba(216, 1, 131, 0.1);
}

.color-picker-preview-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.color-picker {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: absolute;
  top: -10px;
  left: -10px;
  width: 52px;
  height: 52px;
  border: none;
  cursor: pointer;
  background: transparent;
}

.color-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker::-webkit-color-swatch {
  border: none;
}

.color-picker-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.picker-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.color-hex {
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.color-picker-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.color-picker-card:hover .color-picker-icon {
  color: var(--accent-purple);
}

/* Action buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.btn-download-highlight {
  background: linear-gradient(135deg, #D80183 0%, #EE4F72 50%, #FD8967 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(216, 1, 131, 0.42);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-download-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(216, 1, 131, 0.52);
  color: #FFFFFF;
}

.btn-download-highlight:active {
  transform: translateY(0);
}

.download-subtext {
  font-size: 0.72rem;
  opacity: 0.9;
  font-weight: 500;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.btn-secondary-outline {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 12px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary-outline:hover {
  background: #F8FAFC;
  border-color: var(--accent-purple-border);
  color: var(--accent-purple);
  box-shadow: 0 4px 12px rgba(216, 1, 131, 0.08);
}

.workspace-specs-card {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ==========================================================================
   Steps / How it Works
   ========================================================================== */
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(216, 1, 131) 0%, rgb(253, 137, 103) 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none !important;
  box-shadow: 0 4px 14px rgba(216, 1, 131, 0.3) !important;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.3s ease;
  height: 100%;
}

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

/* ==========================================================================
   FAQ Accordion (Indiater Style)
   ========================================================================== */
/* Fix Tailwind CSS conflict where .collapse sets visibility: collapse */
.accordion-collapse,
.accordion-collapse.collapse,
.accordion-collapse.collapse.show,
.accordion-collapse.collapsing {
  visibility: visible !important;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 16px !important;
  margin-bottom: 16px;
  background-color: transparent !important;
  overflow: hidden;
  box-shadow: none !important;
}

.accordion-button {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  padding: 1.25rem 1.5rem;
  background-color: transparent !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: transparent !important;
  background: linear-gradient(90deg, rgb(216, 1, 131) 0%, rgb(238, 79, 114) 50%, rgb(253, 137, 103) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.accordion-button:focus {
  border-color: rgba(216, 1, 131, 0.25);
  box-shadow: none;
}

.accordion-body {
  visibility: visible !important;
  color: #475569;
  font-size: 0.96rem;
  padding: 0.25rem 1.5rem 1.35rem 1.5rem;
  line-height: 1.65;
}

/* ==========================================================================
   CTA Gradient Banner (Indiater Signature)
   ========================================================================== */
.cta-gradient {
  background: var(--gradient-cta);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 60px 36px;
  box-shadow: 0 20px 50px -10px rgba(216, 1, 131, 0.35);
}

.cta-gradient h2 {
  color: #FFFFFF;
}

.cta-gradient p {
  color: rgba(255, 255, 255, 0.9);
}

.btn-cta-luminous {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #FFFFFF !important;
  color: #0F101F !important;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 16px 42px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 12px 32px -4px rgba(15, 16, 31, 0.28), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  outline: none !important;
}

.btn-cta-luminous i,
.btn-cta-luminous svg {
  color: var(--accent-purple) !important;
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.btn-cta-luminous:hover {
  background-color: #FFFFFF !important;
  color: #D80183 !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px -6px rgba(15, 16, 31, 0.35), 0 6px 16px rgba(0, 0, 0, 0.1) !important;
}

.btn-cta-luminous:hover i,
.btn-cta-luminous:hover svg {
  transform: translateY(-2px);
}

.btn-cta-luminous:active {
  background-color: #F8FAFC !important;
  color: #0F101F !important;
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 8px 20px -4px rgba(15, 16, 31, 0.25) !important;
}

.btn-cta-luminous:focus,
.btn-cta-luminous:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5), 0 12px 32px -4px rgba(15, 16, 31, 0.28) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.app-footer {
  border-top: 1px solid #E2E8F0;
  background-color: #F8FAFC;
  padding: 60px 0 36px;
  margin-top: auto;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #8A4AF5;
}

/* ==========================================================================
   Footer Explore Tools Card & Related Search Terms (Reference UI)
   ========================================================================== */
.footer-explore-card {
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 24px;
  text-align: left;
  max-width: 1160px;
  margin: 0 auto 44px;
}

@media (max-width: 768px) {
  .footer-explore-card {
    padding: 0 0 16px;
    margin-bottom: 32px;
  }
}

.footer-explore-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

.footer-explore-desc {
  font-size: 0.94rem;
  color: #6B7280;
  margin-bottom: 24px;
}

/* Single Row 4-Column Grid */
.footer-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 1024px) {
  .footer-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 576px) {
  .footer-tools-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.footer-tool-item {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 18px;
  background: #FFFFFF;
  border: none;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  outline: none;
  overflow: hidden;
}

.footer-tool-item:hover,
.footer-tool-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(138, 74, 245, 0.16);
  color: inherit;
}

/* Real Half-Image & Half-PNG Cutout Preview */
.footer-card-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background-color: #0F172A;
}

.preview-bg-checkerboard {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  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: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0px;
}

.preview-overlay-original {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid #FFFFFF;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-overlay-original .preview-img {
  width: 200%;
  max-width: 200%;
  height: 100%;
  object-fit: cover;
}

.preview-split-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A4AF5;
  z-index: 4;
  pointer-events: none;
}

.preview-tag-half {
  position: absolute;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
}

.preview-tag-left {
  left: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.preview-tag-right {
  right: 8px;
  background: rgba(138, 74, 245, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.footer-tool-content {
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.footer-tool-name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.35;
}

.footer-tool-desc {
  font-size: 0.82rem;
  color: #6B7280;
  margin-bottom: 8px;
  line-height: 1.4;
}

.footer-tool-status {
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 500;
  margin-top: auto;
}

.footer-search-terms-section {
  border-top: 1px solid #E2E8F0;
  padding-top: 24px;
  margin-top: 8px;
}

.footer-search-terms-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #4B5563;
  margin-bottom: 14px;
}

.footer-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-search-tags-extra {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  animation: fadeIn 0.3s ease forwards;
}

.footer-search-tags-extra.is-open {
  display: flex;
}

.footer-search-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  font-size: 0.88rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-search-tag:hover,
.footer-search-tag:focus-visible {
  border-color: #8A4AF5;
  color: #8A4AF5;
  background: #FAF8FF;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(138, 74, 245, 0.12);
}

.footer-search-expand-wrap {
  margin-top: 18px;
}

/* Centered circular expand button */
.footer-explore-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  color: #64748B;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
}

.footer-explore-expand-btn:hover,
.footer-explore-expand-btn:focus-visible {
  color: #8A4AF5;
  border-color: #8A4AF5;
  box-shadow: 0 4px 14px rgba(138, 74, 245, 0.22);
  transform: scale(1.08);
}

.footer-explore-expand-btn.is-expanded i,
.footer-explore-expand-btn.is-expanded svg {
  transform: rotate(180deg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}



/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}



/* Neural Precision Architecture Cards (Light Theme matching Bento Grid) */
.step-card-light {
  background-color: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 20px rgba(15, 16, 31, 0.03);
}

.step-card-light:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 1, 131, 0.35);
  box-shadow: 0 16px 36px rgba(216, 1, 131, 0.1);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bento-span-2 {
    grid-column: span 2 / span 2;
  }
}

.bento-card {
  border-radius: 24px;
  background: transparent !important;
  border: 1px solid var(--border);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: none !important;
}

.step-card-light {
  background: transparent !important;
  box-shadow: none !important;
}

.bg-purple-50,
.bg-pink-50,
.bg-indigo-50,
.bg-emerald-50,
.bg-purple-50\/70,
.bg-pink-50\/70,
.bg-indigo-50\/70,
.bg-emerald-50\/70 {
  background-color: transparent !important;
}

.bento-card:hover {
  border-color: rgba(216, 1, 131, 0.35);
  box-shadow: 0 16px 36px rgba(216, 1, 131, 0.1);
}

.counter-value {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Clean In-Flow Footer Layout (Eliminates hidden content and fixed overlap) */
.site-content-wrapper {
  position: relative;
  background: var(--bg-main);
  margin-bottom: 0;
}

.app-footer-reveal {
  position: relative;
  width: 100%;
  background-color: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  padding: 60px 0 36px;
}

/* Ensure no elements get hidden by animations */
.reveal-up,
.reveal-stagger-item,
.card-custom,
.bento-card,
.step-card-light {
  opacity: 1 !important;
}

/* ==========================================================================
   Showcase Sections: Stunning Quality & Just Picture It
   ========================================================================== */

/* Category Filter Pills */
.category-pill {
  border: none;
  background: transparent;
  color: #64748B;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 24px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  cursor: pointer;
  outline: none;
}

.category-pill:hover {
  color: #0F101F;
  background-color: #F1F5F9;
}

.category-pill.active {
  background-color: #E2E8F0;
  color: #0F101F;
}

/* Stunning Quality Comparison Slider */
.comparison-slider-wrapper {
  max-width: 960px;
  width: 100%;
  padding: 0 12px;
}

.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 992 / 558;
  border-radius: 28px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none !important;
  background-color: #FFFFFF;
  box-shadow: 0 12px 36px rgba(15, 16, 31, 0.06);
  border: 1px solid var(--border);
  cursor: ew-resize;
  --split: 50%;
}

.comparison-slider * {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Transparent Checkerboard Base */
.comparison-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(45deg, #f1f5f9 25%, transparent 25%),
    linear-gradient(-45deg, #f1f5f9 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f1f5f9 75%),
    linear-gradient(-45deg, transparent 75%, #f1f5f9 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  background-color: #FFFFFF;
  pointer-events: none;
}

.comparison-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* Original Photo Layer on Top, Clipped */
.comparison-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, var(--split, 50%) 0, var(--split, 50%) 100%, 0 100%);
  pointer-events: none;
}

.comparison-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* Divider Handle */
.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.comparison-handle-line {
  flex: 1;
  width: 2px;
  background-color: #FFFFFF;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.comparison-handle-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(30, 32, 34, 0.9);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFFFFF;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.comparison-slider:hover .comparison-handle-button,
.comparison-slider.is-dragging .comparison-handle-button {
  transform: scale(1.12);
  background-color: #111827;
  box-shadow: 0 0 0 4px rgba(216, 1, 131, 0.35), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.comparison-slider.is-dragging {
  cursor: ew-resize !important;
}

body.sq-slider-dragging,
body.sq-slider-dragging * {
  cursor: ew-resize !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.sq-see-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563EB;
  font-size: 1.05rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sq-see-more:hover {
  color: #1D4ED8;
  transform: translateX(4px);
}

/* Just Picture It Section */
.jpi-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.jpi-img-box {
  width: 100%;
  aspect-ratio: 604 / 802;
  border-radius: 20px;
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15, 16, 31, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jpi-img-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 16, 31, 0.08);
}

.jpi-img-box.is-checkerboard {
  background-image: 
    linear-gradient(45deg, #f1f5f9 25%, transparent 25%),
    linear-gradient(-45deg, #f1f5f9 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f1f5f9 75%),
    linear-gradient(-45deg, transparent 75%, #f1f5f9 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  background-color: #FFFFFF;
}

.jpi-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jpi-label {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4B5563;
  font-family: var(--font-body);
}

/* ==========================================================================
   Shared Apple Store Difference Gradient Rules (Global Enforcement)
   linear-gradient(90deg, rgb(216, 1, 131) 0%, rgb(238, 79, 114) 50%, rgb(253, 137, 103) 100%)
   ========================================================================== */
.text-gradient-apple,
.eyebrow-gradient,
.section-eyebrow,
.section-subtitle-gradient,
span[style*="accent-purple"],
span.text-purple-600,
span.text-purple-700,
p.text-purple-600,
h2.text-purple-600,
h3.text-purple-600,
div.text-purple-700 {
  background: linear-gradient(90deg, rgb(216, 1, 131) 0%, rgb(238, 79, 114) 50%, rgb(253, 137, 103) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
}

/* Maintain crisp icon colors when inside or near gradient elements */
i[style*="accent-purple"],
svg[style*="accent-purple"],
.text-purple-600 i,
.text-purple-600 svg,
.border-purple-200 i,
.border-purple-200 svg,
.step-card-light i,
.step-card-light svg {
  color: #D80183 !important;
  stroke: #D80183 !important;
  -webkit-text-fill-color: initial !important;
  background: none !important;
}

.border-purple-200,
.border-purple-100 {
  border-color: rgba(216, 1, 131, 0.28) !important;
}


