:root {
  --bg: #ffffff;
  --ink: #0B0B0F;
  --muted: #5b5b6a;
  --brand: #6C5CE7;
  --brand-2: #A29BFE;
  --accent: #F6F0FF;
  --card: #ffffff;
  --ring: rgba(108, 92, 231, 0.35);
  --shadow: 0 8px 24px rgba(12, 6, 32, .08);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(12, 6, 32, .06)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .2px
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800
}

.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center
}

.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(12, 6, 32, .08);
  background: #fff
}

.lang-switch a.active {
  color: #000;
  border-color: var(--brand);
  box-shadow: 0 0 0 6px var(--ring)
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow)
}

.cta.secondary {
  background: #0B0B0F;
  color: #fff
}

.cta.small {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #3b2f63;
  font-weight: 700;
  font-size: 12px
}

.hero {
  padding: 40px 0 10px;
  position: relative;
  overflow: hidden
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.1;
  margin: 12px 0 8px
}

.hero p {
  color: var(--muted);
  max-width: 680px;
  font-size: clamp(16px, 2vw, 18px)
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px
}

.hero-media {
  position: relative;
  margin: 30px auto 0;
  max-width: 980px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 14px
}

/* Before/After slider styling (mobile friendly) */
.before-after {
  position: relative;
  aspect-ratio: 3/2;
  border-radius: 16px;
  overflow: hidden;
  /* disable page scroll during drag */
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

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

.before-after .after {
  will-change: clip-path;
  clip-path: inset(0 0 0 50%);
}

.before-after .ba-slider {
  /* keep native input for a11y but hide it visually */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.before-after .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pos, 50%) - 18px);
  width: 36px;
  z-index: 3;
  outline: none;
}

.before-after .ba-handle:focus-visible {
  box-shadow: 0 0 0 3px var(--ring);
  border-radius: 6px;
}

.before-after .ba-handle .ba-grab {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  cursor: ew-resize;
}

.before-after .ba-handle .ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 100vmax rgba(108, 92, 231, .08);
  pointer-events: none;
}

.before-after .ba-handle .ba-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(12, 6, 32, .16);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .before-after .ba-handle .ba-knob {
    box-shadow: none;
  }

  .before-after .ba-handle:focus-visible {
    box-shadow: 0 0 0 2px var(--ring);
  }
}

.section {
  padding: 56px 0
}

.grid {
  display: grid;
  gap: 18px
}

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

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

@media (max-width:900px) {
  .grid.cols-3 {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:680px) {

  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr
  }
}

.card {
  background: var(--card);
  border: 1px solid rgba(12, 6, 32, .06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow)
}

.card h3 {
  margin: 6px 0 8px
}

.card p {
  color: var(--muted)
}

.feature {
  display: flex;
  gap: 12px
}

.feature i {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: var(--brand);
  font-style: normal;
  font-weight: 900
}

.pricing .price {
  font-size: 34px;
  font-weight: 900
}

.pricing .price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700
}

.pricing .line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0;
  color: var(--muted);
  font-weight: 600
}

.pricing .btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px
}

.reviews .item {
  display: flex;
  gap: 14px
}

.reviews .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800
}

.faq details {
  background: #fff;
  border: 1px solid rgba(12, 6, 32, .06);
  border-radius: 14px;
  padding: 14px
}

.faq details+details {
  margin-top: 12px
}

.faq summary {
  cursor: pointer;
  font-weight: 800
}

.faq p {
  color: var(--muted);
  margin-top: 10px
}

.footer {
  padding: 40px 0 80px;
  border-top: 1px solid rgba(12, 6, 32, .06);
  background: linear-gradient(180deg, #fff, #faf7ff)
}

.sticky-cta {
  position: fixed;
  z-index: 60;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 28px));
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: #0B0B0F;
  color: #fff;
  padding: 12px 14px;
  border-radius: 16px;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25)
}

.sticky-cta .cta {
  box-shadow: none
}

.sticky-cta small {
  opacity: .8
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .hero-media,
  .card,
  .cta {
    transition: none
  }
}

/* App-like mobile (disable pinch zoom per request) */
@viewport {
  width: device-width;
  zoom: 1.0
}