/* ============================================================
   DESIGN TOKENS & VARIABLES (Unified Light Theme)
   ============================================================ */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-glow: rgba(37, 99, 235, 0.25);

  --secondary: #7c3aed;
  --secondary-glow: rgba(124, 58, 237, 0.15);
  --accent: #06b6d4;

  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --surface: #f1f5f9;

  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --nav-bg: rgba(15, 23, 42, 0.92);
  --nav-text: #f1f5f9;
  --nav-active: #60a5fa;
  --nav-hover: rgba(255, 255, 255, 0.12);

  --border: #e2e8f0;
  --border-focus: #2563eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.14);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 100px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-h: 68px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);

  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.08);
  --success-border: rgba(16, 185, 129, 0.2);

  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.08);
  --warning-border: rgba(245, 158, 11, 0.2);

  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.08);
  --error-border: rgba(239, 68, 68, 0.2);
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

img {
  display: block;
  max-width: 100%;
}

/* ============================================================
   SHARED REUSABLE COMPONENTS
   ============================================================ */

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.20);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 20px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--primary-glow);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  border: none;
  width: fit-content;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 99, 235, 0.35);
  filter: brightness(1.08);
}

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

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   NAVBAR (Sticky, Backdrop blur, Hamburger)
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
  background: rgba(10, 16, 35, 0.97);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background: var(--nav-hover);
}

.nav-links a.active {
  color: var(--nav-active);
  background: rgba(96, 165, 250, 0.1);
}

/* CTA pill in nav */
.nav-cta {
  flex-shrink: 0;
}

.nav-cta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 12px var(--primary-glow);
}

.nav-cta a:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--primary-glow);
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  border: none;
  background: transparent;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Mobile nav open state */
.nav-mobile-open .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-mobile-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 16, 35, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile-open .nav-mobile-menu {
  display: flex;
}

.nav-mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s, color 0.2s;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-mobile-menu a.active {
  color: var(--nav-active);
}

/* ============================================================
   HERO SECTION (Home Page)
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #f8faff 0%, #eef2ff 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.07) 0%, transparent 70%);
  bottom: -50px;
  left: 5%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Hero Content Styling */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
  transform: translateX(30px);
  animation: fadeSlideRight 0.7s 0.25s var(--ease) forwards;
}

@keyframes fadeSlideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text);
}

.hero-headline span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.075rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-note {
  font-size: 0.83rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Trust stats row */
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
}

/* ============================================================
   BEFORE/AFTER COMPARISON SLIDER
   ============================================================ */
.comparison-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeSlideLeft 0.7s 0.1s var(--ease) forwards;
}

@keyframes fadeSlideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.comparison-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
}

/* Demo gallery layout (matches reference) */
.demo-gallery .section-inner {
  padding-top: 10px;
  padding-bottom: 30px;
  text-align: center;
  margin-top: 30px;
}

.demo-gallery .section-title {
  margin: 0 auto 24px;
  display: inline-block;
  position: relative;
}

.demo-gallery .section-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.95);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
}

.demo-gallery .demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: start;
}

.demo-gallery .comparison-wrap {
  background: var(--bg-card);
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.12);
  border-radius: var(--radius-lg);
}

.demo-gallery .comparison-container {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}

/* Make images fill and crop like the reference */
.comparison-container .img-after img,
.comparison-container .img-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Divider & handle tweaks for demo look */
.demo-gallery .cmp-divider {
  width: 2px;
  background: #ffffff;
  opacity: 0.95;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.12);
}

.demo-gallery .cmp-handle {
  width: 56px;
  height: 56px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
}

.demo-gallery .cmp-handle svg {
  color: #0f172a;
  width: 18px;
  height: 18px;
}

/* Responsive: single column on small screens */
@media (max-width: 900px) {
  .demo-gallery .demo-grid {
    grid-template-columns: 1fr;
  }
}

/* Checkerboard background structure (reusable) */
.checkerboard-bg {
  background-color: #f8fafc;
  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: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}

.img-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-after img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.img-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s;
}

.img-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmp-label {
  position: absolute;
  bottom: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  pointer-events: none;
  z-index: 10;
}

.label-before {
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  backdrop-filter: blur(6px);
}

.label-after {
  right: 14px;
  background: rgba(37, 99, 235, 0.85);
  color: #fff;
  backdrop-filter: blur(6px);
}

.cmp-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
  margin: 0;
  -webkit-appearance: none;
}

.cmp-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  transition: left 0s;
}

.cmp-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cmp-handle svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-strip {
  background: var(--text);
  padding: 20px 24px;
}

.features-strip-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.strip-item svg {
  width: 18px;
  height: 18px;
  color: #4ade80;
  flex-shrink: 0;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-section {
  padding: 100px 24px;
  background: var(--bg-alt);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  background: linear-gradient(160deg, #eef4ff 0%, #ffffff 100%);
  position: relative;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 35%);
  pointer-events: none;
}

.contact-hero .hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-hero .hero-content {
  gap: 24px;
}

.contact-summary-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.summary-label {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 22px;
}

.summary-item {
  margin-bottom: 20px;
}

.summary-item:last-child {
  margin-bottom: 0;
}

.summary-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.summary-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-section {
  padding: 80px 24px 120px;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.contact-card,
.contact-info-panel {
  border-radius: 30px;
}

.contact-card {
  background: #ffffff;
  padding: 34px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 28px 68px rgba(15, 23, 42, 0.06);
}

.contact-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 10px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 100%;
  min-height: 48px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-textarea {
  min-height: 180px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
  outline: none;
}

.contact-submit {
  width: min(240px, 100%);
  padding: 16px 22px;
}

.contact-info-panel {
  display: grid;
  gap: 20px;
}

.info-card {
  padding: 24px;
  background: rgba(37, 99, 235, 0.04);
  border-radius: 24px;
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.info-highlight {
  background: rgba(96, 165, 250, 0.12);
}

.info-card .info-small {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.info-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.info-card a.footer-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
}

@media (max-width: 980px) {

  .contact-hero .hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding-top: 60px;
  }
}

@media (max-width: 700px) {
  .contact-hero {
    padding: 50px 18px;
  }

  .contact-section {
    padding: 60px 18px 90px;
  }
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 64px;
  line-height: 1.7;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

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

.step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

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

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   TOOL LAYOUT & HEADER (remove_bg.html)
   ============================================================ */
main#app {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-grow: 1;
}

.app-header {
  text-align: center;
  padding: 24px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-header h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 60%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.app-header .subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Drop Zone / Upload Area */
#drop-zone {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 52px 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#drop-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.05), transparent 70%);
  pointer-events: none;
}

#drop-zone:hover,
#drop-zone.drag-active {
  border-color: var(--primary);
  background: var(--bg-alt);
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(37, 99, 235, 0.05);
}

#drop-zone.drag-active {
  border-style: solid;
}

.upload-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

#drop-zone:hover .upload-icon,
#drop-zone.drag-active .upload-icon {
  transform: translateY(-4px) scale(1.06);
  background: rgba(37, 99, 235, 0.16);
}

.upload-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.drop-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.drop-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

#file-input {
  display: none;
}

.browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.browse-btn:hover {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

/* ============================================================
   STATUS / PROGRESS AREA
   ============================================================ */
#status-area {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

#status-area.visible {
  display: flex;
}

#status-area.error {
  border-color: var(--error-border);
  color: var(--error);
  background: var(--error-bg);
}

#status-area.success {
  border-color: var(--success-border);
  color: var(--success);
  background: var(--success-bg);
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(37, 99, 235, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

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

/* Progress bar */
.progress-wrap {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-top: -8px;
  display: none;
}

.progress-wrap.visible {
  display: block;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 100px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--primary-glow);
}

/* ============================================================
   IMAGE COMPARISON CARDS
   ============================================================ */
#results-section {
  display: none;
  flex-direction: column;
  gap: 20px;
}

#results-section.visible {
  display: flex;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.image-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.image-card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.card-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-original {
  background: var(--warning);
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

.dot-result {
  background: var(--success);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-alt);
  overflow: hidden;
}

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

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.img-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.3;
}

/* ============================================================
   ACTION BUTTONS
   ============================================================ */
.actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#download-btn {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

#download-btn.visible {
  display: inline-flex;
}

#download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4);
  filter: brightness(1.1);
}

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

#reset-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

#reset-btn.visible {
  display: inline-flex;
}

#reset-btn:hover {
  border-color: var(--text-muted);
  color: var(--text);
  background: var(--bg-alt);
}

/* ============================================================
   INFO BANNER & ALERTS
   ============================================================ */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-banner svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 2px;
}

.info-banner strong {
  color: var(--text);
}

/* ============================================================
   ABOUT PAGE LAYOUT (about.html)
   ============================================================ */
.about-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  flex-grow: 1;
}

.about-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.about-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-card h2 svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.about-card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.faq-home-section {
  padding: 100px 24px;
  background: var(--bg);
}

.faq-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
}

.faq-section #faq-heading {
  margin: 0 auto 24px;
  display: inline-block;
  position: relative;
}

.faq-section #faq-heading::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.95);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
}

.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.faq-question {
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

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

/* ============================================================
   FOOTER (Unified Dark Bar)
   ============================================================ */
.site-footer {
  background: var(--text);
  padding: 28px 24px;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-meta {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-links-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.35);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-copy a:hover {
  color: #fff;
}

.footer-link {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-link:hover {
  color: #fff;
}

/* ============================================================
   RESPONSIVE DESIGN STYLES
   ============================================================ */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 20px 60px;
  }

  /* Slider goes on top, text details below on tablet/mobile */
  .comparison-wrap {
    order: 0;
  }

  .hero-content {
    order: 1;
  }

  .hero-headline {
    font-size: 2rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Collapse nav links */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  #download-btn,
  #reset-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .features-strip-inner {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  #drop-zone {
    padding: 36px 20px;
  }
}



/* ═════════════════════════════════════════════════════
   ADDED: Background Color Picker Styles
   ═════════════════════════════════════════════════════ */

.color-picker-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface, rgba(255, 255, 255, 0.05));
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}

.color-picker-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary, #aaa);
  margin-right: 0.25rem;
  white-space: nowrap;
}

.color-options {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Circular swatch base */
.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  flex-shrink: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch:focus-visible {
  outline: 2px solid var(--color-primary, #4f9ef8);
  outline-offset: 2px;
}

/* Active swatch highlight */
.color-swatch.active {
  border-color: var(--color-primary, #4f9ef8);
  box-shadow: 0 0 0 2px var(--color-primary, #4f9ef8);
}

/* Transparent indicator (checkerboard + slash) */
.transparent-indicator {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  background: conic-gradient(#ccc 0deg 90deg,
      #fff 90deg 180deg,
      #ccc 180deg 270deg,
      #fff 270deg 360deg);
  position: relative;
}

.transparent-indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 2px;
  background: #e00;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
}

/* Custom color label wrapper (hides the native input, shows swatch) */
.custom-color-label {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--color-surface, rgba(255, 255, 255, 0.1));
  transition: border-color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custom-color-label.active {
  border-color: var(--color-primary, #4f9ef8);
  box-shadow: 0 0 0 2px var(--color-primary, #4f9ef8);
}

.custom-color-label input[type="color"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
}

/* Place a small palette icon on the custom swatch */
.custom-color-label::before {
  content: "🎨";
  font-size: 14px;
  position: relative;
  z-index: 0;
  pointer-events: none;
}

/* Fade‑in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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




/* ============================================================
    BLOG MAIN CONTENT
   ============================================================ */
main#main-content {
  flex: 1;
  padding: 48px 24px 64px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Blog Header */
.blog-header {
  text-align: center;
  padding: 32px 0 48px;
}

.blog-header .badge {
  margin-left: auto;
  margin-right: auto;
}

.blog-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.15;
}

.blog-header .subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 400;
}

/* Decorative icon row */
.blog-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
  margin-bottom: 20px;
  font-size: 1.6rem;
}

@media (max-width: 600px) {
  .blog-header h1 {
    font-size: 2rem;
  }

  .blog-header .subtitle {
    font-size: 0.95rem;
  }

  main {
    padding: 32px 14px 48px;
  }
}

/* ============================================================
    BLOG CARD GRID
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* Individual card */
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-content {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-content time {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.blog-card-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.blog-card-content .excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition), color var(--transition);
  align-self: flex-start;
  margin-top: auto;
}

.read-more:hover {
  color: var(--primary-dark);
  gap: 10px;
}

.read-more::after {
  content: '→';
  display: inline-block;
  transition: transform var(--transition);
}

.read-more:hover::after {
  transform: translateX(3px);
}


/* ============================================================
   BLOG ARTICLE PAGE — CLEAN, MODERN DESIGN
   ============================================================ */

/* --- Article container --- */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

@media (min-width: 768px) {
  .blog-article {
    padding: 56px 32px 72px;
  }
}

/* --- Hero image --- */
.article-hero {
  margin: 0 0 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.article-hero img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s var(--ease);
}

.article-hero:hover img {
  transform: scale(1.01);
}

/* --- Article header --- */
.article-header {
  margin-bottom: 32px;
  text-align: left;
}

.article-header .badge {
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 16px;
}

@media (max-width: 600px) {
  .article-header h1 {
    font-size: 1.8rem;
  }
}

/* Meta line (date & reading time) */
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.article-meta time {
  color: var(--text-secondary);
}

/* --- Article body (content) --- */
.article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto;
}

.article-body p {
  margin-bottom: 1.5em;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2em 0 0.6em;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3em;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.6em 0 0.5em;
  color: var(--text-secondary);
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-body ul,
.article-body ol {
  margin: 1.2em 0;
  padding-left: 1.5em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

/* Nice blockquote if you ever need it */
.article-body blockquote {
  border-left: 4px solid var(--primary-light);
  padding: 0.8em 1.2em;
  margin: 1.5em 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* --- Back to blog link --- */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.2s;
}

.btn-back:hover {
  background: rgba(37, 99, 235, 0.12);
  transform: translateX(-3px);
}

/* Optional: subtle gradient background for the whole page when viewing an article */
body.article-page {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}