/* ═══════════════════════════════════════════════
   ATELIER AI — Landing Page Styles
   ═══════════════════════════════════════════════ */

:root {
  --bg-cream: #f4ece3;
  --bg-white: #ffffff;
  --bg-dark: #2a1e14;
  --accent: #986445;
  --accent-deep: #6f4128;
  --gold: #c4a265;
  --gold-soft: #d4b87a;
  --gold-light: rgba(196, 162, 101, 0.10);
  --gold-glow: rgba(196, 162, 101, 0.25);
  --text-primary: #2a1e14;
  --text-secondary: #7a6b5d;
  --text-muted: #a09385;
  --border-sand: #e0d5c8;
  --border-subtle: rgba(96, 64, 44, 0.08);
  --shadow-soft: 0 8px 40px rgba(60, 36, 18, 0.07);
  --shadow-card: 0 4px 24px rgba(60, 36, 18, 0.06);
  --shadow-hover: 0 12px 48px rgba(60, 36, 18, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: "Crimson Pro", "Bellefair", Georgia, serif;
  --font-sans: "Rubik", system-ui, sans-serif;
}

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

html {
  font-size: 22px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-cream);
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Typography ─── */

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 16px;
}

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

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 240ms var(--ease), background 240ms var(--ease);
  border: none;
}

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

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

.btn-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 4px 20px rgba(111, 65, 40, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(111, 65, 40, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-deep);
  border: 1.5px solid rgba(111, 65, 40, 0.25);
}

.btn-secondary:hover {
  background: rgba(111, 65, 40, 0.06);
  border-color: rgba(111, 65, 40, 0.4);
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 700;
  padding: 16px 40px;
  font-size: 1rem;
  box-shadow: 0 6px 28px rgba(196, 162, 101, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 10px 36px rgba(196, 162, 101, 0.5);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-gold-outline:hover {
  background: rgba(196, 162, 101, 0.1);
}

.btn-full {
  width: 100%;
}

/* ─── Sections ─── */

.section {
  padding: 100px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.section-white {
  background: var(--bg-white);
}

.section-cream {
  background: var(--bg-cream);
}

.section-dark {
  background: var(--bg-dark);
}

.section-dark h2,
.section-dark h3 {
  color: #f5efe8;
}

.section-dark .section-sub {
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  font-size: 1.05rem;
}

.section-header {
  margin-bottom: 56px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ═══ 1. NAVBAR ═══ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  transition: background 300ms var(--ease), box-shadow 300ms var(--ease);
}

.navbar.scrolled {
  background: #f4ece3;
  box-shadow: 0 1px 0 var(--border-sand);
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  direction: ltr;
}

.nav-slogan {
  font-family: var(--font-sans);
  font-size: 0.38rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-top: 3px;
  text-transform: uppercase;
  align-self: center;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms var(--ease);
  letter-spacing: 0.01em;
}

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

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease), box-shadow 240ms var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(111, 65, 40, 0.2);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 200ms var(--ease);
}

/* ═══ MOBILE DRAWER ═══ */

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}

.mobile-drawer.open {
  display: block;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 30, 20, 0.5);
  animation: fadeIn 250ms var(--ease);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--bg-cream);
  padding: 24px;
  animation: slideIn 300ms var(--ease);
}

.drawer-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}

.drawer-links {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-links a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-sand);
}

.drawer-cta {
  margin-top: 16px;
  text-align: center;
  padding: 14px 0 !important;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius);
  border: none !important;
}

/* ═══ 0. PROMO BANNER ═══ */

.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #2a1e14, #3a2a1a, #2a1e14);
  border-bottom: 1px solid rgba(196, 162, 101, 0.25);
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent 25%, rgba(196, 162, 101, 0.07) 50%, transparent 75%);
  animation: promoSweep 4s linear infinite;
}

@keyframes promoSweep {
  0%   { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.promo-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.promo-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c4a265;
  box-shadow: 0 0 6px rgba(196, 162, 101, 0.6);
  animation: promoPulse 2s ease-in-out infinite;
}

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

.promo-text {
  color: #e8ddd0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.promo-mobile {
  display: none;
}

.promo-text strong {
  color: #c4a265;
  font-weight: 700;
}

.promo-link {
  color: #c4a265;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 162, 101, 0.4);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.promo-link:hover {
  color: #d4b87a;
  border-color: #d4b87a;
}

.promo-close {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #8a7d6f;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}

.promo-close:hover {
  color: #d5c8b8;
}

/* Push navbar + hero down when banner is visible */
body:has(.promo-banner) .navbar {
  top: 40px;
}

body:has(.promo-banner) .hero {
  padding-top: 120px;
}

/* When banner is hidden */
.promo-banner.hidden {
  display: none;
}

body:has(.promo-banner.hidden) .navbar {
  top: 0;
}

body:has(.promo-banner.hidden) .hero {
  padding-top: 80px;
}

@media (max-width: 768px) {
  .promo-banner {
    height: 36px;
    padding: 0 40px 0 12px;
  }

  .promo-banner-inner {
    gap: 8px;
  }

  .promo-desktop {
    display: none;
  }

  .promo-mobile {
    display: inline;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .promo-link {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  body:has(.promo-banner) .navbar {
    top: 36px;
  }

  body:has(.promo-banner) .hero {
    padding-top: 116px;
  }

  body:has(.promo-banner.hidden) .hero {
    padding-top: 80px;
  }
}

@media (max-width: 480px) {
  .promo-pulse {
    display: none;
  }

  .promo-mobile {
    font-size: 0.68rem;
  }

  .promo-link {
    font-size: 0.68rem;
  }

  .promo-close {
    left: 8px;
    padding: 4px 6px;
  }
}

/* ═══ 2. HERO ═══ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  background: linear-gradient(170deg, #f6efe7 0%, #f4ece3 50%, #efe3d4 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.trust-line {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-image {
  position: relative;
}

.hero-image > img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(42, 30, 20, 0.15);
}

.hero-before-badge {
  position: absolute;
  bottom: -24px;
  left: -16px;
  background: var(--bg-white);
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(42, 30, 20, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-sand);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}

.hero-before-badge:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 48px rgba(42, 30, 20, 0.22);
}

.hero-before-badge img {
  width: 80px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-sand);
}

.hero-before-badge span {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding: 2px 8px;
  background: var(--gold-light);
  border-radius: 999px;
}

/* ═══ 3. TRUST BAR ═══ */

.trust-bar {
  padding: 48px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-sand);
  border-bottom: 1px solid var(--border-sand);
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logo-placeholder {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 300ms var(--ease);
  white-space: nowrap;
}

.trust-logo-placeholder:hover {
  opacity: 0.8;
}

/* ═══ 4. PAIN POINTS ═══ */

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

.pain-card {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border-top: 3px solid var(--gold);
  transition: transform 200ms var(--ease), box-shadow 300ms var(--ease);
}

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

.pain-icon {
  color: var(--gold);
  margin-bottom: 20px;
}

.pain-card h3 {
  margin-bottom: 10px;
}

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

/* ═══ 5. STEPS ═══ */

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

.step {
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--border-sand);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.step-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

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

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

.step-image-grid .persona-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
}

.step h3 {
  margin-bottom: 10px;
}

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

/* ═══ 6. BEFORE / AFTER ═══ */

.ba-pairs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.ba-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
}

.ba-after {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.ba-before {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Match the after image dimensions exactly */
  position: absolute;
  top: 0;
  left: 0;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.ba-handle-circle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(42, 30, 20, 0.65);
  backdrop-filter: blur(4px);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.ba-caption {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ═══ 6b. INTERACTIVE DEMO ═══ */

.demo-flow {
  display: flex;
  gap: 24px;
}

/* ─── Step labels (side timeline) ─── */

.demo-labels {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 130px;
  position: relative;
  padding: 16px 0;
}

/* Vertical gold line connecting the steps */
.demo-labels::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  right: 16px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), var(--gold), transparent);
  opacity: 0.25;
}

.demo-label {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  padding: 14px 10px;
  border-radius: var(--radius-lg);
  transition: all 500ms var(--ease);
  line-height: 1.4;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Gold dot on the timeline */
.demo-label::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-sand);
  border: 2px solid var(--bg-cream);
  transition: all 500ms var(--ease);
}

.demo-label-active {
  color: var(--accent-deep);
  background: var(--gold-light);
}

.demo-label-active::after {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(196, 162, 101, 0.5);
}

.demo-label-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--border-sand);
  margin-bottom: 4px;
  transition: color 500ms var(--ease);
}

.demo-label-active .demo-label-num {
  color: var(--gold);
}

/* ─── Grid ─── */

.demo-grid {
  flex: 1;
  min-width: 0;
}

/* ─── Rows ─── */

.demo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.demo-row-hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.demo-row-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Animated arrows between rows ─── */

.demo-arrows {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 10px 0;
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.demo-arrows-hidden {
  opacity: 0;
  transform: scaleY(0);
}

.demo-arrows-visible {
  opacity: 1;
  transform: scaleY(1);
}

.demo-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gold);
}

.demo-arrow::before {
  content: "";
  width: 1px;
  height: 16px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: arrowPulse 2s ease-in-out infinite;
}

.demo-arrow::after {
  content: "";
  width: 7px;
  height: 7px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
  margin-top: -2px;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ─── Cells ─── */

.demo-cell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 250ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
  position: relative;
}

.demo-cell:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-glow);
}

.demo-cell img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease);
}

.demo-cell img {
  will-change: transform;
}

.demo-cell:hover img {
  transform: scale(1.05);
}

.demo-cell-label {
  display: block;
  padding: 10px 8px;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  background: var(--bg-white);
  position: relative;
}

/* ─── Selected persona cell ─── */

.demo-cell-selected {
  border: 3px solid var(--gold);
  box-shadow: 0 0 24px rgba(196, 162, 101, 0.7), 0 0 56px rgba(196, 162, 101, 0.4), 0 0 80px rgba(196, 162, 101, 0.15);
  position: relative;
  animation: selectedGlow 2s ease-in-out infinite;
}

.demo-cell-selected::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196, 162, 101, 0.35);
  background: linear-gradient(145deg, rgba(196,162,101,0.25), transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.demo-cell-selected .demo-cell-label {
  color: var(--gold);
  font-weight: 700;
}

@keyframes selectedGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(196, 162, 101, 0.7), 0 0 56px rgba(196, 162, 101, 0.4), 0 0 80px rgba(196, 162, 101, 0.15); }
  50% { box-shadow: 0 0 36px rgba(196, 162, 101, 0.9), 0 0 72px rgba(196, 162, 101, 0.55), 0 0 100px rgba(196, 162, 101, 0.25); }
}

/* ─── Location cells ─── */

.demo-cell-location {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 8px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(155deg, var(--bg-white) 0%, var(--bg-cream) 100%);
  position: relative;
  overflow: hidden;
}

.demo-cell-location::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, var(--gold-light), transparent 70%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}

.demo-cell-location:hover::before {
  opacity: 1;
}

.demo-loc-icon {
  color: var(--gold);
  margin-bottom: 12px;
  transition: transform 300ms var(--ease);
}

.demo-cell-location:hover .demo-loc-icon {
  transform: scale(1.15);
}

.demo-cell-location .demo-cell-label {
  padding: 0;
  font-size: 0.62rem;
  background: transparent;
}

/* ─── Result cells — gold accent ─── */

.demo-cell-result {
  border: 2px solid var(--gold);
  box-shadow: 0 4px 28px rgba(196, 162, 101, 0.18);
  position: relative;
}

.demo-cell-result::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(196,162,101,0.15), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.demo-cell-result:hover {
  box-shadow: 0 8px 36px rgba(196, 162, 101, 0.3);
  border-color: var(--gold-soft);
}

.demo-cell-result .demo-cell-label {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

/* ─── Sparkle animation on results ─── */

.demo-row-visible .demo-cell-result {
  animation: resultGlow 3s ease-in-out infinite;
}

@keyframes resultGlow {
  0%, 100% { box-shadow: 0 4px 28px rgba(196, 162, 101, 0.18); }
  50% { box-shadow: 0 6px 36px rgba(196, 162, 101, 0.35); }
}


/* Inline step titles - hidden on desktop, shown on mobile */
.demo-row-title {
  display: none;
}

@media (max-width: 1024px) {
  .demo-labels {
    display: none;
  }

  .demo-row-title {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-align: center;
    padding: 12px 0 6px;
    transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  }

  .demo-row-title.demo-row-hidden {
    opacity: 0;
    transform: translateY(16px);
  }

  .demo-row-title.demo-row-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .demo-row,
  .demo-arrows {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }

  .demo-cell-label {
    font-size: 0.48rem;
    padding: 6px 4px;
  }
}

@media (max-width: 768px) {
  .demo-row,
  .demo-arrows {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .demo-row,
  .demo-arrows {
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }

  .demo-cell-label {
    font-size: 0.4rem;
    padding: 4px 2px;
  }

  .demo-cell-location {
    padding: 10px 4px;
  }
}

/* ═══ 7. FEATURES ═══ */

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

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 200ms var(--ease), box-shadow 300ms var(--ease);
}

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

.feature-icon {
  color: var(--gold);
  margin-bottom: 18px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

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

.feature-card-highlight {
  border: 1.5px solid var(--gold);
  background: linear-gradient(155deg, var(--bg-white) 0%, rgba(196, 162, 101, 0.06) 100%);
}

/* ═══ 8. GALLERY ═══ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  background: #1e150e;
}

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


.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 30, 20, 0.7), transparent 50%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ═══ 9. TESTIMONIALS ═══ */

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

.testimonial-card {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-left: 3px solid var(--gold);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.8;
  display: block;
  margin-bottom: 8px;
  opacity: 0.4;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-soft), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══ 10. PRICING ═══ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 1px solid var(--border-sand);
  position: relative;
  transition: transform 200ms var(--ease), box-shadow 300ms var(--ease);
}

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

.pricing-card-featured {
  border: 2px solid var(--gold);
  box-shadow: 0 8px 40px rgba(196, 162, 101, 0.15);
  transform: scale(1.03);
}

.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg-dark);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  padding-left: 24px;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--gold-light);
  border-radius: 50%;
}

.pricing-features li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 4px;
  height: 8px;
  border-bottom: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
}

/* ═══ 11. FAQ ═══ */

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-sand);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  gap: 16px;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 300ms var(--ease);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms var(--ease), padding 350ms var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 0 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ═══ 11.5 FREE TRIAL OFFER ═══ */

.trial-section {
  background: linear-gradient(170deg, #2a1e14 0%, #1e150d 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.trial-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.trial-section .section-header h2 {
  color: #fff;
}

.trial-section .eyebrow-center {
  color: var(--gold);
}

.trial-subtitle {
  color: #d5c8b8;
  font-size: 1.15rem;
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-sans);
}

.trial-card {
  position: relative;
  max-width: 520px;
  margin: 48px auto 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1.5px solid rgba(196, 162, 101, 0.3);
  border-radius: 16px;
  padding: 48px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.trial-glow {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(196, 162, 101, 0.25), transparent 40%, transparent 60%, rgba(196, 162, 101, 0.15));
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
  animation: trialGlow 4s ease-in-out infinite alternate;
}

@keyframes trialGlow {
  0%   { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.7; transform: scale(1.02); }
}

.trial-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #c4a265, #d4b87a);
  color: #2a1e14;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 6px 28px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(196, 162, 101, 0.4);
}

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

.trial-title {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.trial-desc {
  color: #c5b8a8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
  font-family: var(--font-sans);
}

.trial-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}

.trial-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e8ddd0;
  font-size: 0.95rem;
  font-family: var(--font-sans);
}

.trial-check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(196, 162, 101, 0.12);
  border: 1px solid rgba(196, 162, 101, 0.25);
}

.trial-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, #c4a265, #d4b87a);
  color: #2a1e14;
  box-shadow: 0 6px 32px rgba(196, 162, 101, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trial-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: trialShimmer 3s ease-in-out infinite;
}

@keyframes trialShimmer {
  0%   { left: -100%; }
  50%  { left: 100%; }
  100% { left: 100%; }
}

.trial-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(196, 162, 101, 0.55);
}

.trial-trust {
  color: #8a7d6f;
  font-size: 0.78rem;
  margin-top: 16px;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

/* ═══ 12. FINAL CTA ═══ */

.final-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #2a1e14;
  min-height: 420px;
}

.final-cta-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.final-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.final-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
}

.final-cta-content h2 {
  color: #fff;
  margin-bottom: 12px;
}

.final-cta-content p {
  color: #d5c8b8;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ═══ 13. FOOTER ═══ */

.footer {
  background: var(--bg-dark);
  color: #d5c8b8;
  padding: 60px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f5efe8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  direction: ltr;
  margin-bottom: 10px;
}

.footer-logo .nav-slogan {
  align-self: center;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 260px;
  text-align: start;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 200ms var(--ease);
}

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

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

.footer-social a {
  color: var(--gold);
  transition: opacity 200ms var(--ease);
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 20px 24px;
  border-top: 1px solid rgba(196, 162, 101, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 200ms var(--ease);
}

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

/* ═══ SCROLL REVEAL ═══ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }
.reveal:nth-child(6) { transition-delay: 400ms; }

/* Hero cascade */
.hero-text.reveal.visible .eyebrow { animation: fadeUp 500ms var(--ease) both; }
.hero-text.reveal.visible h1 { animation: fadeUp 500ms 100ms var(--ease) both; }
.hero-text.reveal.visible .hero-sub { animation: fadeUp 500ms 200ms var(--ease) both; }
.hero-text.reveal.visible .hero-buttons { animation: fadeUp 500ms 300ms var(--ease) both; }
.hero-text.reveal.visible .trust-line { animation: fadeUp 500ms 400ms var(--ease) both; }

/* ═══ ANIMATIONS ═══ */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* ─── Reduced motion ─── */

/* ─── Focus styles for keyboard navigation ─── */

*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

/* ─── Skip to content link ─── */

.skip-link {
  position: absolute;
  top: -100px;
  right: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  z-index: 200;
  font-size: 0.8rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 200ms;
}

.skip-link:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ═══ RESPONSIVE ═══ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-before-badge {
    bottom: 12px;
    left: auto;
    right: 12px;
    z-index: 10;
  }

  .pain-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .ba-pairs {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-card-featured {
    transform: none;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand .footer-logo {
    align-items: center;
  }

  .footer-brand p {
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-social {
    justify-content: center;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

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

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta-image {
    max-height: 350px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trial-card {
    padding: 40px 24px;
    margin-top: 36px;
  }

  .trial-section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .trust-logos {
    gap: 24px;
  }

  .trust-logo-placeholder {
    font-size: 0.8rem;
  }

  .gallery-grid {
    gap: 8px;
  }
}

/* ═══ RTL OVERRIDES ═══ */

[dir="rtl"] .faq-question {
  text-align: right;
}

[dir="rtl"] .testimonial-card {
  border-left: none;
  border-right: 3px solid var(--gold);
}

[dir="rtl"] .pricing-features {
  text-align: right;
}

[dir="rtl"] .pricing-features li {
  padding-left: 0;
  padding-right: 24px;
}

[dir="rtl"] .pricing-features li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .pricing-features li::after {
  left: auto;
  right: 5px;
}

[dir="rtl"] .hero-before-badge {
  left: auto;
  right: -16px;
}

[dir="rtl"] .drawer-panel {
  right: auto;
  left: 0;
}

[dir="rtl"] .drawer-close {
  right: auto;
  left: 20px;
}

[dir="rtl"] .demo-labels::before {
  right: auto;
  left: 16px;
}

[dir="rtl"] .demo-label::after {
  right: auto;
  left: 12px;
}

[dir="rtl"] .ba-before-clip {
  left: auto;
  right: 0;
}

[dir="rtl"] .ba-before {
  left: auto;
  right: 0;
}

[dir="rtl"] .ba-handle {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

[dir="rtl"] .ba-handle-line {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

@keyframes slideInRtl {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

[dir="rtl"] .drawer-panel {
  animation: slideInRtl 300ms var(--ease);
}

@media (max-width: 1024px) {
  [dir="rtl"] .hero-before-badge {
    right: auto;
    left: 12px;
  }
}

/* ═══ WHATSAPP FLOATING BUTTON ═══ */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 200ms var(--ease), box-shadow 300ms var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
  transform: scale(1);
}

/* ═══ LIGHTBOX ═══ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 14, 8, 0.88);
  animation: fadeIn 200ms var(--ease);
  cursor: pointer;
}

.lightbox.lightbox-out {
  animation: fadeOut 200ms var(--ease) forwards;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 200ms;
}

.lightbox-close:hover {
  opacity: 1;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ═══ UserWay accessibility widget — tiny, bottom position ═══ */

.userway_buttons_wrapper,
.uwy.userway_p1 .uai,
#userwayAccessibilityIcon {
  max-width: 24px !important;
  max-height: 24px !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
}

.userway_buttons_wrapper img,
.uwy.userway_p1 .uai img {
  max-width: 24px !important;
  max-height: 24px !important;
}

.uwy.userway_p1,
.userway_buttons_wrapper {
  top: auto !important;
  bottom: 12px !important;
  right: 12px !important;
  left: auto !important;
}
