﻿@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Outfit:wght@100..900&display=swap');

/* =========================
   GLOBAL
========================= */
:root {
  --primary: #6a5cf0;
  --primary-dark: #4b3fd6;
  --pink: #ef7ba0;
  --orange: #f0a35b;
  --teal: #4fc7ab;
  --navy: #0f1420;
  --text: #14172a;
  --muted: #6b7080;
  --border: #eaeaf1;
  --surface: #ffffff;
  --soft-bg: #f7f6fb;
  --soft-pink: #fbeef1;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 45px -20px rgba(20, 23, 42, 0.18);
  --shadow-card: 0 12px 30px -14px rgba(20, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Fraunces', 'Georgia', serif;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.container {
  max-width: 1240px;
}

.text-accent {
  color: var(--primary);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--soft-pink);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.eyebrow-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #cfd3ff;
}

.section-heading {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 480px;
  margin-bottom: 0;
}

.link-arrow {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.link-arrow:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* Buttons */
.btn {
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary-dark {
  background: var(--text);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(20, 23, 42, 0.45);
}

.btn-primary-dark:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(75, 63, 214, 0.5);
}

.btn-outline-soft {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline-soft:hover {
  border-color: var(--text);
  color: var(--text);
}

/* =========================
   HEADER
========================= */
.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 999;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-dot {
  color: var(--primary);
  font-size: 0.7em;
  vertical-align: middle;
}

.nav-links {
  gap: 6px;
}

.nav-links .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 8px 14px !important;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
  color: var(--text);
  background: var(--soft-bg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  width: 90px;
  color: var(--text);
}

.btn-signin {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-signin:hover {
  border-color: var(--text);
}

.btn-getstarted {
  background: var(--text);
  color: #fff;
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-getstarted:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* =========================
   HERO
========================= */
.hero-section {
  padding: 70px 0 40px;
  background: linear-gradient(180deg, #fdf5f0 0%, #ffffff 55%);
  position: relative;
}

.hero-content {
  max-width: 560px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-heading {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

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

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero visual composition */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
}

.hero-blob {
  position: absolute;
  border-radius: 36px;
  filter: blur(1px);
  z-index: 0;
}

.blob-1 {
  width: 493px;
  height: 340px;
  background: radial-gradient(circle at 30% 30%, #e6d9fb, #f3e6f7 70%);
  top: -15px;
  left: -50px;
  /* opacity: 0.9; */
  transform: rotate(-15deg);
}

.blob-2 {
  width: 556px;
  height: 264px;
  background: #fdf0e6;
  bottom: -25px;
  left: -45px;
  /* opacity: 0.9; */
  transform: rotate(-15deg);
  border-radius: 80px;
}

.hero-img-main {
  position: relative;
  width: 300px;
  height: 380px;
  object-fit: cover;
  border-radius: 26px;
  transform: rotate(-4deg);
  box-shadow: var(--shadow-soft);
  border: 6px solid #fff;
  z-index: 2;
}

.ba-wrap {
  position: relative;
  max-width: 460px;
  width: 100%;
  transform: rotate(6deg);
  border: 6px solid white;
  border-radius: 18px;
  box-shadow: 0 18px 30px 10px rgb(20 23 42 / 11%);
}

.ba-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/4.3;
  box-shadow: var(--shadow-soft);
  cursor: ew-resize;
  user-select: none;
}

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

.ba-after {
  filter: saturate(1.2) contrast(1.05);
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.ba-before {
  filter: grayscale(1) brightness(.9) contrast(.9);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--slider-img-w, 460px);
  max-width: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
}

.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  font-size: .9rem;
}

.ba-tag {
  position: absolute;
  top: 14px;
  font-size: .72rem;
  font-weight: 700;
  padding: .32rem .75rem;
  border-radius: 99px;
  background: #fff;
  color: var(--text);
}

.ba-tag-before {
  left: 14px;
}

.ba-tag-after {
  right: 14px;
  background: var(--navy);
  color: #fff;
}

.hero-img-secondary {
  position: absolute;
  width: 150px;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  right: 20px;
  bottom: 10px;
  transform: rotate(5deg);
  box-shadow: var(--shadow-soft);
  border: 5px solid #fff;
  z-index: 3;
}

.hero-badge {
  position: absolute;
  top: 40%;
  right: 50px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 40px 25px rgb(20 23 42 / 12%);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

.hero-badge i {
  color: var(--primary);
}

.hero-note {
  position: absolute;
  top: 50px;
  right: 10px;
  font-family: 'Caveat', cursive;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--text);
  text-align: right;
  z-index: 3;
  transform: rotate(-25deg);
}

.hero-arrow {
  position: absolute;
  bottom: 30px;
  right: 130px;
  z-index: 3;
}

/* =========================
   TOOLS
========================= */
.tools-section {
  background: var(--soft-bg);
  padding: 90px 0;
  border-radius: 40px 40px 0 0;
}

.tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -18px rgba(20, 23, 42, 0.22);
}

.tool-img-wrap {
  overflow: hidden;
}

.tool-img-wrap img {
  width: 100%;
  transition: transform 0.4s ease;
}

/* .tool-card:hover .tool-img-wrap img {
  transform: scale(1.06);
} */

.tool-body {
  padding: 18px;
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.icon-purple {
  background: #ece9fd;
  color: var(--primary);
}

.icon-orange {
  background: #fdecdc;
  color: #d9822b;
}

.icon-teal {
  background: #e0f6ef;
  color: #1f9d7c;
}

.tool-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tool-desc {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

/* =========================
   HOW IT WORKS
========================= */
.how-section {
  background: var(--navy);
  padding: 90px 0 100px;
  position: relative;
}

.sub-dark {
  color: #a6aac0;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.step-item {
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 auto 16px;
  position: relative;
}

.circle-purple {
  background: #cfc8fb;
}

.circle-orange {
  background: #f8d2ac;
}

.circle-teal {
  background: #b9ecdd;
}

.step-num {
  position: absolute;
  top: -6px;
  left: -6px;
  background: #fff;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.step-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step-desc {
  color: #9498b0;
  font-size: 0.86rem;
  max-width: 150px;
  margin: 0 auto;
}

.step-connector {
  color: #4c5170;
  font-size: 1.3rem;
  margin-top: 26px;
}

/* =========================
   TRANSFORMATION
========================= */
.transformation-section {
  padding: 100px 0;
}

.transform-visual {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}

.compare-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid #fff;
}

.compare-img-before {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%) contrast(0.95) brightness(0.95);
}

.compare-after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 55%;
  overflow: hidden;
  border-right: 3px solid #fff;
}

.compare-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: var(--img-w, 460px);
  max-width: none;
}

.after-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: lowercase;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: var(--shadow-card);
  cursor: ew-resize;
  font-size: 0.9rem;
  user-select: none;
}

.transform-note {
  position: absolute;
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.15;
}

.note-before {
  top: -10px;
  left: -14px;
  transform: rotate(-6deg);
  background: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.note-caption {
  bottom: -30px;
  left: -30px;
  text-align: left;
}

.feature-list {
  margin: 26px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.98rem;
}

.feature-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.dot-purple {
  background: #ece9fd;
  color: var(--primary);
}

.dot-orange {
  background: #fdecdc;
  color: #d9822b;
}

.dot-teal {
  background: #e0f6ef;
  color: #1f9d7c;
}

.dot-pink {
  background: var(--soft-pink);
  color: var(--pink);
}

/* =========================
   USE CASES
========================= */
.usecases-section {
  background: var(--soft-bg);
  padding: 90px 0;
}

.usecase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-card);
  z-index: 10;
}

.usecase-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(360deg, rgb(0 0 0 / 52%) 0%, rgb(0 0 0 / 10%) 40%);
  z-index: 9;
}

.usecase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.usecase-card:hover img {
  transform: scale(1.08);
}

.usecase-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 14px;
  background: linear-gradient(180deg, rgba(15, 20, 32, 0) 0%, rgba(15, 20, 32, 0.75) 100%);
  color: #fff;
  z-index: 10;
}

.usecase-overlay h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.usecase-overlay p {
  font-size: 0.74rem;
  color: #dfe1ee;
  margin: 0;
  line-height: 1.3;
}

/* =========================
   PRICING
========================= */
.pricing-section {
  padding: 100px 0;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
}

.toggle-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}

.toggle-label.active {
  color: var(--text);
}

.toggle-switch {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--border);
  border: none;
  position: relative;
  cursor: pointer;
  transition: background 0.25s ease;
}

.toggle-switch.active {
  background: var(--text);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.toggle-switch.active .toggle-knob {
  transform: translateX(18px);
}

.save-badge {
  background: #e0f6ef;
  color: #1f9d7c;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  margin-top: 25px;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 24px 44px -18px rgba(106, 92, 240, 0.35);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.plan-for {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 22px;
}

.price-amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
}

.price-period {
  font-size: 0.85rem;
  color: var(--muted);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text);
}

.plan-features i {
  color: var(--primary);
  font-size: 0.9rem;
}

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 11px;
}

.btn-plan:hover {
  border-color: var(--text);
}

.btn-plan-featured {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn-plan-featured:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* =========================
   FAQ
========================= */
.faq-section {
  padding: 90px 0;
  background: var(--soft-bg);
}

.custom-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0 !important;
}

.custom-accordion .accordion-item:first-child {
  border-top: 1px solid var(--border);
}

.custom-accordion .accordion-button {
  background: transparent;
  box-shadow: none;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  padding: 20px 4px;
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: transparent;
}

.custom-accordion .accordion-button::after {
  background-image: none;
  font-family: "bootstrap-icons";
  content: "\f4fe";
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
  content: "\f2ea";
  color: var(--primary);
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
}

.custom-accordion .accordion-body {
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 560px;
}

/* =========================
   CTA
========================= */
.cta-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  color: #fff;
  border-radius: 40px;
  margin: 0 auto 0;
  max-width: 1300px;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 22, 0.82) 20%, rgba(10, 12, 22, 0.35) 75%);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-heading {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0;
  max-width: 560px;
}

.cta-sub {
  color: #d9dbea;
  max-width: 440px;
  margin-bottom: 30px;
}

.btn-cta {
  background: var(--primary);
  color: #fff;
  padding: 13px 28px;
  box-shadow: 0 14px 30px -12px rgba(106, 92, 240, 0.6);
}

.btn-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

.cta-note {
  position: absolute;
  top: 30px;
  right: 40px;
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #fff;
  text-align: right;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  padding: 70px 0 26px;
  background: #fff;
}

.footer-brand {
  font-size: 1.1rem;
}

.footer-tag {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 10px 0 0;
  max-width: 220px;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

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

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border);
  margin-top: 50px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-legal a {
  color: var(--muted);
}

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

/* =========================
   ACCESSIBILITY
========================= */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199.98px) {
  .hero-visual {
    height: 420px;
  }

  .hero-img-main {
    width: 260px;
    height: 330px;
  }

  .hero-img-secondary {
    width: 130px;
    height: 165px;
  }

  .cta-section {
    border-radius: 24px;
    margin: 0 14px;
  }
}

@media (max-width: 991.98px) {
  .nav-links {
    display: none !important;
  }

  .header-actions {
    margin-top: 16px;
    flex-wrap: wrap;
  }

  .search-box {
    flex: 1;
    min-width: 140px;
  }

  .hero-section {
    padding-top: 40px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto 50px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    height: 380px;
  }

  .hero-note {
    display: none;
  }

  .hero-arrow {
    display: none;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .step-connector {
    transform: rotate(90deg);
    margin-top: 0;
  }

  .transform-note {
    display: none;
  }

  .transform-visual {
    margin-bottom: 20px;
  }

  .cta-note {
    display: none;
  }

  .cta-heading,
  .cta-sub {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {

  .tools-section,
  .how-section,
  .transformation-section,
  .usecases-section,
  .pricing-section,
  .faq-section {
    padding: 60px 0;
  }

  .section-sub {
    max-width: 100%;
  }

  .hero-heading {
    font-size: 2.3rem;
  }

  .hero-img-main {
    width: 220px;
    height: 280px;
  }

  .hero-img-secondary {
    width: 110px;
    height: 140px;
    right: 6px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .usecase-card {
    aspect-ratio: 1/1.1;
  }

  .price-card-featured {
    order: -1;
  }

  .cta-section {
    padding: 80px 0;
    text-align: center;
  }

  .cta-heading,
  .cta-sub {
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 430px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-stats {
    gap: 14px;
  }

  .stat-divider {
    display: none;
  }

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

  .btn {
    font-size: 0.86rem;
    padding: 11px 20px;
  }
}

#baSlider img {
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Redesigned how-it-works experience */
.how-section {
  background: #fffdfb !important;
  padding: 72px 0 !important;
  overflow: hidden
}

.how-section>.how-shape-top,
.how-section>.container:not(.how-container) {
  display: none
}

.how-container {
  position: relative;
  z-index: 2
}

.how-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 26px
}

.how-kicker {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  background: #eee5ff;
  color: #7a45ee;
  text-transform: uppercase;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .04em
}

.how-heading h2 {
  margin: 15px 0 9px;
  font: 700 clamp(2.35rem, 4vw, 3.45rem)/.98 Georgia, serif;
  letter-spacing: -.045em;
  color: #111d31
}

.how-heading h2 em {
  color: #8a45f5;
  font-weight: 600
}

.how-heading p {
  color: #5d6c84;
  font-size: .96rem;
  line-height: 1.55;
  margin: 0
}

.how-journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  padding-top: 8px
}

.how-step {
  min-width: 0;
  position: relative
}

.how-number {
  position: absolute;
  top: -3px;
  left: 58%;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.14rem;
  font-weight: 700;
  box-shadow: 0 12px 20px rgba(31, 34, 64, .14)
}

.number-purple {
  background: linear-gradient(135deg, #7c6cff, #5247ee)
}

.number-orange {
  background: linear-gradient(135deg, #ffad62, #f57335)
}

.number-green {
  background: linear-gradient(135deg, #2bdb96, #0da667)
}

.upload-scene,
.edit-scene,
.download-scene {
  height: 390px;
  position: relative
}

.upload-backdrop {
  position: absolute;
  width: 305px;
  height: 330px;
  left: 16px;
  top: 55px;
  border-radius: 82px 40px 32px 40px;
  background: linear-gradient(135deg, #e6eaff, #d9ddf6);
  transform: rotate(-9deg)
}

.upload-photo {
  position: absolute;
  width: 225px;
  height: 300px;
  left: 105px;
  top: 72px;
  border: 4px solid #fff;
  border-radius: 24px;
  overflow: hidden;
  transform: rotate(3deg);
  box-shadow: 0 20px 36px rgba(39, 49, 82, .16)
}

.upload-photo img,
.download-photo img,
.edit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.upload-polaroid {
  position: absolute;
  width: 123px;
  height: 190px;
  object-fit: cover;
  left: -11px;
  top: 128px;
  border: 4px solid #fff;
  border-radius: 13px;
  transform: rotate(-13deg);
  box-shadow: 0 14px 25px rgba(39, 49, 82, .16);
  z-index: 2
}

.upload-progress {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 282px;
  bottom: 2px;
  left: 21px;
  padding: 16px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(30, 39, 75, .12);
  font-size: .74rem;
  color: #1e293b;
  z-index: 4
}

.progress-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ebe8ff;
  color: #705df5;
  font-size: 1.35rem
}

.upload-progress strong {
  display: block;
  margin-bottom: 7px
}

.progress-line {
  width: 165px;
  height: 6px;
  border-radius: 5px;
  background: #eceefe;
  position: relative
}

.progress-line i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: #6d5ff5
}

.progress-line span {
  position: absolute;
  left: calc(100% + 10px);
  top: -5px;
  color: #6b7890
}

.how-note {
  font: 600 1.22rem/1.04 Caveat, cursive;
  color: #17243a;
  position: absolute;
  z-index: 6
}

.note-start {
  top: 3px;
  left: 0;
  transform: rotate(-8deg);
  text-align: center
}

.edit-scene {
  padding-top: 70px
}

.edit-photo {
  height: 280px;
  width: calc(100% - 52px);
  margin-left: 27px;
  overflow: hidden;
  border-radius: 19px;
  box-shadow: 0 18px 30px rgba(39, 49, 82, .15);
  position: relative
}

.edit-split {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff
}

.edit-handle {
  position: absolute;
  left: 50%;
  top: 75%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #fff;
  color: #6d5ff5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .15)
}

.edit-menu {
  position: absolute;
  z-index: 4;
  top: 70px;
  left: 0;
  width: 147px;
  padding: 13px 11px;
  background: linear-gradient(145deg, #1d2b34, #29343b);
  color: #fff;
  border-radius: 18px 0 0 18px;
  box-shadow: 0 13px 28px rgba(19, 29, 35, .25)
}

.edit-menu span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  font-size: .66rem;
  white-space: nowrap
}

.edit-menu .active {
  background: rgba(255, 255, 255, .12);
  border-radius: 9px
}

.filter-strip {
  position: absolute;
  z-index: 5;
  display: flex;
  gap: 5px;
  bottom: 3px;
  left: 50px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 25px rgba(40, 45, 65, .12)
}

.filter-strip span {
  display: grid;
  gap: 2px;
  text-align: center;
  color: #41516a;
  font-size: .55rem
}

.filter-strip img {
  width: 43px;
  height: 49px;
  object-fit: cover;
  border-radius: 6px
}

.filter-strip .selected {
  padding: 3px;
  margin-top: -3px;
  border-radius: 7px;
  background: #ded6ff;
  color: #6945ee
}

.filter-strip .bw img {
  filter: grayscale(1)
}

.download-glow {
  position: absolute;
  width: 330px;
  height: 310px;
  right: 9px;
  top: 42px;
  border-radius: 50%;
  background: #e1f6eb
}

.download-photo {
  position: absolute;
  z-index: 2;
  width: 225px;
  height: 350px;
  right: 54px;
  top: 38px;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 26px;
  transform: rotate(3deg);
  box-shadow: 0 18px 30px rgba(39, 49, 82, .15)
}

.download-menu {
  position: absolute;
  z-index: 4;
  right: -10px;
  top: 194px;
  width: 180px;
  padding: 17px 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(40, 45, 65, .14)
}

.download-menu span {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 8px 0;
  font-size: .72rem;
  font-weight: 600;
  color: #18243a
}

.download-menu i {
  font-size: 1.25rem
}

.quality-pill {
  position: absolute;
  z-index: 5;
  left: 43px;
  bottom: 27px;
  padding: 8px 12px;
  border-radius: 99px;
  background: #fff;
  color: #142039;
  font-size: .67rem;
  font-weight: 700;
  transform: rotate(-7deg);
  box-shadow: 0 10px 18px rgba(40, 45, 65, .12)
}

.quality-pill i {
  color: #16b872;
  margin-right: 5px
}

.note-finish {
  right: -2px;
  top: 5px;
  transform: rotate(7deg);
  text-align: center
}

.how-copy {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 10px 12px 0
}

.how-icon {
  display: grid;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 15px;
  font-size: 1.7rem
}

.how-copy h3 {
  margin: 6px 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #101c31
}

.how-copy p {
  margin: 0;
  color: #607089;
  font-size: .79rem;
  line-height: 1.6
}

.icon-purple {
  background: #eee9ff;
  color: #7c52f4
}

.icon-orange {
  background: #fff0e6;
  color: #ff944a
}

.icon-green {
  background: #e2f8e9;
  color: #10b76e
}

.how-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 45px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, .85);
  border-radius: 28px;
  box-shadow: 0 14px 36px rgba(43, 50, 77, .07)
}

.how-benefits>div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 23px;
  border-right: 1px solid #e4e7ee
}

.how-benefits>div:last-child {
  border: 0
}

.benefit-icon {
  display: grid;
  flex: 0 0 55px;
  width: 55px;
  height: 55px;
  place-items: center;
  border-radius: 50%;
  font-size: 1.55rem
}

.how-benefits p {
  margin: 0;
  color: #101c31;
  font-size: .8rem
}

.how-benefits b,
.how-benefits small {
  display: block
}

.how-benefits b {
  margin-bottom: 4px;
  font-size: .85rem
}

.how-benefits small {
  color: #68768c;
  font-size: .67rem
}

@media (max-width:991.98px) {
  .how-journey {
    grid-template-columns: 1fr;
    gap: 38px;
    max-width: 480px;
    margin: auto
  }

  .how-step {
    padding-top: 12px
  }

  .how-number {
    left: 55%
  }

  .upload-scene,
  .edit-scene,
  .download-scene {
    max-width: 390px;
    margin: auto
  }

  .how-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px
  }

  .how-benefits>div:nth-child(2) {
    border-right: 0
  }

  .how-benefits>div:nth-child(-n+2) {
    padding-bottom: 22px;
    border-bottom: 1px solid #e4e7ee
  }
}

@media (max-width:575.98px) {
  .how-section {
    padding: 52px 0 26px !important
  }

  .how-heading h2 {
    font-size: 2.28rem
  }

  .how-heading p {
    font-size: .87rem
  }

  .upload-scene,
  .edit-scene,
  .download-scene {
    height: 350px;
    transform: scale(.9);
    transform-origin: top center;
    margin-bottom: -35px
  }

  .how-copy {
    padding: 0 3px
  }

  .how-benefits {
    grid-template-columns: 1fr;
    padding: 20px;
    margin-top: 32px
  }

  .how-benefits>div,
  .how-benefits>div:nth-child(2) {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid #e4e7ee
  }

  .how-benefits>div:last-child {
    border-bottom: 0
  }

  .how-benefits>div:nth-child(-n+2) {
    padding-bottom: 12px
  }

  .download-menu {
    right: -4px
  }

  .note-finish {
    right: 0
  }
}

/* ============ REDEFINING SECTION ============ */
.redefining-section {
  position: relative;
  background: #f0eeff;
  padding: 96px 0;
  overflow: hidden;
}

.redefining-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

/* Heading */
.redefining-heading {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 20px;
}

.redefining-accent {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.redefining-sub {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

/* Feature 2x2 grid */
.redefining-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.redefining-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 2px 16px rgba(99, 65, 233, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.redefining-feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(99, 65, 233, 0.13);
}

.redefining-feat>div strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.redefining-feat>div p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Feature icon chips */
.rfeat-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.rfeat-purple {
  background: #ede9fe;
  color: #7c3aed;
}

.rfeat-teal {
  background: #ccfbf1;
  color: #0d9488;
}

.rfeat-orange {
  background: #ffedd5;
  color: #ea580c;
}

.rfeat-green {
  background: #dcfce7;
  color: #16a34a;
}

/* ---- Right visual ---- */
.redefining-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Photo */
.redefining-photo-wrap {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 60px rgba(99, 65, 233, 0.18);
  margin-inline: auto;
  transform: rotate(-6deg);
  border: 6px solid #fff;
}

.redefining-visual:after {
  content: "";
  display: block;
  width: 420px;
  height: 340px;
  background: radial-gradient(circle at 30% 30%, #dac3ff, #f3e6f7 70%);
  position: absolute;
  top: 15px;
  left: -15px;
  transform: rotate(-20deg);
  border-radius: 40px;
}

.redefining-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Floating slider card */
.redefining-slider-card {
  position: absolute;
  bottom: 25px;
  left: -20px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 8px 40px rgba(99, 65, 233, 0.16);
  min-width: 210px;
  animation: floatCard 3.5s ease-in-out infinite alternate;
}

@keyframes floatCard {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-10px);
  }
}

.rslider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.rslider-row:last-child {
  margin-bottom: 0;
}

.rslider-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  width: 66px;
  flex-shrink: 0;
}

.rslider-track {
  flex: 1;
  height: 5px;
  background: #e2e8f0;
  border-radius: 99px;
  position: relative;
}

.rslider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #6366f1);
  border-radius: 99px;
}

.rslider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  background: #7c3aed;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.4);
}

/* Handwritten note */
.redefining-handwrite {
  position: absolute;
  top: 30px;
  right: 15px;
  z-index: 5;
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  font-weight: 600;
  color: #4f46e5;
  line-height: 1.35;
  text-align: center;
  transform: rotate(2deg);
}

/* Responsive */
@media (max-width: 991px) {
  .redefining-slider-card {
    left: 10px;
    bottom: 24px;
  }

  .redefining-handwrite {
    right: 10px;
    top: 12px;
  }

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

@media (max-width: 575px) {
  .redefining-features {
    grid-template-columns: 1fr;
  }

  .redefining-slider-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -28px;
    min-width: 200px;
  }
}

/* ============================================================
   INTERACTIVE DEMO SECTION — "Small Changes. A Whole New You."
   ============================================================ */
.editor-section {
  background: #f0eeff;
  padding: 88px 0 64px;
  overflow: hidden;
}

/* ---- Top three-column row ---- */
.editor-top-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
}

/* ---- LEFT ---- */
.editor-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7c3aed;
  background: #ede9fe;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.editor-heading {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 18px;
}

.editor-accent {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.editor-subtitle {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 360px;
}

.editor-cta {
  margin-bottom: 28px;
}

.editor-note {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.4;
  margin-top: 16px;
  position: relative;
  padding-left: 28px;
}

.editor-note::before {
  content: "↗";
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.3rem;
  color: #7c3aed;
  font-family: serif;
}

/* ---- CENTER: before/after slider ---- */
.editor-center {
  position: relative;
}

.editor-center img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.editor-photo-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 60px rgba(99, 65, 233, 0.18);
  cursor: ew-resize;
  user-select: none;
}

.editor-photo-after {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.editor-photo-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid #fff;
}

.editor-photo-before img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--ba-img-width, 100%);
  max-width: none;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.5) brightness(0.85);
}

.editor-drag-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
  cursor: ew-resize;
  font-size: 0.85rem;
  transition: transform 0.15s ease;
}

.editor-drag-handle:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

/* BA labels */
.editor-photo-label {
  position: absolute;
  bottom: 16px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  padding: 5px 14px;
  border-radius: 999px;
  pointer-events: none;
}

.editor-label-before {
  left: 16px;
}

.editor-label-after {
  right: 16px;
}

/* ---- RIGHT: controls panel ---- */
.editor-right {
  position: relative;
}

.editor-note-right {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  font-weight: 600;
  color: #4f46e5;
  line-height: 1.35;
  text-align: center;
  margin-bottom: -16px;
  position: relative;
  z-index: 2;
  transform: rotate(2deg);
}

.editor-panel {
  background: #fff;
  border-radius: 22px;
  padding: 20px 22px 22px;
  box-shadow: 0 8px 40px rgba(99, 65, 233, 0.12);
  position: relative;
  z-index: 1;
}

/* Panel tabs */
.editor-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 1px solid #f1f0ff;
  padding-bottom: 12px;
}

.editor-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 6px 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.editor-tab i {
  font-size: 1rem;
  display: block;
}

.editor-tab.active {
  background: #ede9fe;
  color: #7c3aed;
}

.editor-tab:hover:not(.active) {
  color: #4f46e5;
}

/* Panes */
.editor-pane {
  display: none;
}

.editor-pane.active {
  display: block;
}

.pane-placeholder {
  text-align: center;
  color: #94a3b8;
  padding: 32px 0;
  font-size: 0.9rem;
}

.pane-placeholder i {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
}

/* Slider rows */
.adj-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.adj-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f1f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c3aed;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.adj-info {
  flex: 1;
  min-width: 0;
}

.adj-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}

.adj-val {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7c3aed;
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

/* Custom range input */
.adj-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #7c3aed var(--range-pct, 60%), #e2e8f0 var(--range-pct, 60%));
  outline: none;
  cursor: pointer;
}

.adj-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #7c3aed;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.4);
  cursor: pointer;
}

.adj-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #7c3aed;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.4);
  cursor: pointer;
}

/* Color swatches */
.tone-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f0ff;
}

.tone-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 10px;
}

.tone-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tone-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
  flex-shrink: 0;
}

.tone-swatch:hover {
  transform: scale(1.15);
}

.tone-swatch.active {
  border-color: #0f172a;
  transform: scale(1.15);
}

/* ---- Filter strip ---- */
.editor-filter-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 48px;
  scrollbar-width: none;
  padding-top: 10px;
}

.editor-filter-strip::-webkit-scrollbar {
  display: none;
}

.filter-item {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  padding: 0;
}

.filter-item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  margin-top: 6px;
  line-height: 1.3;
}

.filter-thumb {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.filter-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: filter 0.25s ease;
}

.filter-item.active .filter-thumb {
  border-color: #7c3aed;
}

.filter-item:hover .filter-thumb {
  transform: translateY(-3px);
}

.filter-item.active span {
  color: #7c3aed;
}

/* Upload tile */
.filter-upload-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fc;
  border: 2px dashed #c4b5fd;
  font-size: 1.5rem;
  color: #7c3aed;
}

/* ---- Bottom stats ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stat-icon.icon-purple {
  background: #ede9fe;
  color: #7c3aed;
}

.stat-icon.icon-orange {
  background: #ffedd5;
  color: #ea580c;
}

.stat-icon.icon-teal {
  background: #ccfbf1;
  color: #0d9488;
}

.stat-icon.icon-pink {
  background: #fce7f3;
  color: #db2777;
}

.stat-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.stat-card p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .editor-top-row {
    grid-template-columns: 1fr 1fr;
  }

  .editor-right {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .editor-top-row {
    grid-template-columns: 1fr;
  }

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

  .editor-photo-wrap {
    aspect-ratio: 4/5;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* ---- Filters pane grid ---- */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.preset-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: 2px solid #e2e8f0;
  background: #f8f9fc;
  border-radius: 12px;
  padding: 8px 4px 6px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  font-size: 0.68rem;
  font-weight: 600;
  color: #475569;
}

.preset-item:hover {
  border-color: #c4b5fd;
  transform: translateY(-2px);
}

.preset-item.active {
  border-color: #7c3aed;
  background: #ede9fe;
  color: #7c3aed;
}

.preset-thumb {
  display: block;
  width: 42px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f4a27a, #7c3aed 60%, #5b8dee);
}

/* ---- Background pane ---- */
.bg-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.bg-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 2px solid #e2e8f0;
  background: #f8f9fc;
  border-radius: 12px;
  padding: 10px 4px 7px;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 600;
  color: #475569;
  transition: border-color 0.2s, transform 0.2s;
}

.bg-btn i {
  font-size: 1.1rem;
  color: #7c3aed;
}

.bg-btn:hover {
  border-color: #c4b5fd;
  transform: translateY(-2px);
}

.bg-btn.active {
  border-color: #7c3aed;
  background: #ede9fe;
  color: #7c3aed;
}

/* ---- Effects pane ---- */
.fx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.fx-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 2px solid #e2e8f0;
  background: #f8f9fc;
  border-radius: 12px;
  padding: 10px 4px 7px;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 600;
  color: #475569;
  transition: border-color 0.2s, transform 0.2s;
}

.fx-btn i {
  font-size: 1.1rem;
  color: #7c3aed;
}

.fx-btn:hover {
  border-color: #c4b5fd;
  transform: translateY(-2px);
}

.fx-btn.active {
  border-color: #7c3aed;
  background: #ede9fe;
  color: #7c3aed;
}

/* Effect overlay canvas on the BA image */

#fxOverlay {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.3s ease;
}