/* ============================================================
   SelfyStudio — Premium Landing v5.0 "Light Awwwards Edition"
   Warm light theme · Asymmetric layouts · Bento grids
   Custom cursor · Glassmorphism · Scroll animations
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --bg:         #FAFAFE;
  --bg-alt:     #F1F3F9;
  --surface:    #FFFFFF;
  --text:       #1E293B;
  --text-soft:  #475569;
  --text-muted: #94A3B8;
  --accent:     #7C3AED;
  --accent-soft:#A78BFA;
  --cta:        #F97316;
  --cta-hover:  #EA580C;
  --pink:       #EC4899;
  --gold:       #F59E0B;
  --success:    #059669;
  --border:     #E2E8F0;
  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --ease-out:   cubic-bezier(.16,1,.3,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --font:       'Manrope', system-ui, sans-serif;
  --font-display:'Onest', system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
.btn, [role="button"], .faq__q, .gallery__item, .testimonial__dot { cursor: pointer; }

/* --- Preloader --- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.preloader--done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__word {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--accent), var(--cta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.preloader__bar {
  width: 120px; height: 3px; border-radius: 3px;
  background: var(--border); margin-top: 24px; overflow: hidden;
}
.preloader__fill {
  height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  animation: preload-fill 1.2s var(--ease-out) forwards;
}
@keyframes preload-fill { to { width: 100%; } }

/* --- Scroll Progress --- */
.scroll-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9000;
  background: linear-gradient(90deg, var(--accent), var(--pink), var(--gold));
  border-radius: 0 3px 3px 0;
  width: 0; transition: none;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 1440px; }
.container--narrow { max-width: 860px; }

/* --- Typography --- */
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  font-size: clamp(42px, 8vw, 88px);
}
.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-size: clamp(32px, 5vw, 56px);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-size: clamp(26px, 4vw, 44px);
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  font-size: clamp(18px, 2.5vw, 26px);
}
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--pink), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted { color: var(--text-soft); }
.section-subtitle {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
}
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.label__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  border-radius: var(--radius-lg);
  padding: 16px 32px;
  transition: all .4s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; transition: opacity .4s;
}
.btn:hover::after { opacity: 1; }
.btn--primary {
  background: var(--cta);
  color: #FFF;
}
.btn--primary::after {
  background: var(--cta-hover);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(249,115,22,.3); }
.btn--dark {
  background: var(--text);
  color: #FFF;
}
.btn--dark::after { background: #334155; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(30,41,59,.2); }
.btn--outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn--white {
  background: #FFF;
  color: var(--text);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.btn--lg { padding: 20px 40px; font-size: 17px; }
.btn--sm { padding: 10px 20px; font-size: 14px; border-radius: var(--radius-md); }
.btn--full { width: 100%; }
.btn__icon {
  width: 20px; height: 20px; flex-shrink: 0;
  position: relative; z-index: 1;
}
.btn span, .btn svg { position: relative; z-index: 1; }

/* --- Navigation --- */
.nav {
  position: fixed; top: var(--announce-h, 40px); left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: all .5s var(--ease-out);
}
body.announce-hidden .nav { top: 0; }
.nav--scrolled {
  padding: 12px 0;
  background: rgba(248, 247, 244, .85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.nav--hidden { transform: translateY(-100%); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 22px;
  letter-spacing: -.02em;
  display: flex; align-items: center; gap: 8px;
}
.nav__logo-spark {
  font-size: 20px;
  animation: sparkle 3s ease-in-out infinite;
}
@keyframes sparkle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(10deg) scale(1.1); }
  75% { transform: rotate(-5deg) scale(.95); }
}
.nav__links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin: 0; padding: 0;
}
.nav__item { /* no position: relative — mega panel needs .nav as containing block */ }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 500; color: var(--text-soft);
  letter-spacing: -.01em;
  position: relative; padding: 8px 0;
  transition: color .3s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--accent);
  transition: width .4s var(--ease-out);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.nav__chevron {
  transition: transform .3s var(--ease-out);
  flex-shrink: 0;
}
.nav__item--has-mega.is-open .nav__chevron { transform: rotate(180deg); }
.nav__item--has-mega.is-open .nav__link { color: var(--accent); }
.nav__item--has-mega.is-open .nav__link::after { width: 100%; }
.nav__cta { border-radius: var(--radius-lg); }

/* ============================================
   MEGA MENU — Full-width two-columns flyout
   ============================================ */
.mega {
  position: static;
}
/* Global backdrop — lives outside <nav> to avoid backdrop-filter containing block */
.mega-backdrop {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(0,0,0,.08);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .3s var(--ease-out);
}
.mega-backdrop.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
.mega__panel {
  position: absolute; left: 0; right: 0;
  top: 100%;
  z-index: 101;
  padding: 24px 0 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.03);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  opacity: 0; pointer-events: none; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
}
.mega.is-open .mega__panel {
  opacity: 1; pointer-events: auto; visibility: visible;
  transform: translateY(0);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s 0s;
}
.mega__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px;
}
.mega__col { padding-bottom: 24px; }
.mega__col-title {
  font-family: var(--font); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px; padding-left: 4px;
}
.mega__item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  transition: background .2s, transform .2s var(--ease-out);
  text-decoration: none; color: inherit;
}
.mega__item:hover {
  background: rgba(124,58,237,.04);
  transform: translateX(4px);
}
.mega__icon {
  font-size: 20px; line-height: 1; flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt, #F0EFEB); border-radius: var(--radius-sm);
}
.mega__item-body { display: flex; flex-direction: column; gap: 2px; }
.mega__item-title {
  font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.3;
}
.mega__item-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.4;
}
.mega__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 12px; border-top: 1px solid var(--border); margin-top: 8px;
}
.mega__footer-text { font-size: 14px; color: var(--text-soft); }

/* Mobile menu accordion */
.mobile-menu__section { width: 100%; max-width: 400px; }
.mobile-menu__toggle {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: var(--text);
  letter-spacing: -.02em;
  width: 100%; padding: 6px 0; transition: color .3s;
  background: none; border: none; cursor: pointer;
}
.mobile-menu__toggle:hover { color: var(--accent); }
.mobile-menu__chevron { transition: transform .3s var(--ease-out); }
.mobile-menu__section.is-open .mobile-menu__chevron { transform: rotate(180deg); }
.mobile-menu__panel {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease-out);
}
.mobile-menu__item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 16px; font-weight: 500;
  color: var(--text-soft); transition: color .2s;
}
.mobile-menu__item:hover { color: var(--accent); }
.mobile-menu__icon { font-size: 18px; width: 32px; text-align: center; }

/* Burger */
.nav__burger {
  display: none;
  width: 32px; height: 24px;
  flex-direction: column; justify-content: space-between;
}
.nav__burger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: all .3s var(--ease-out);
  transform-origin: center;
}
.nav__burger--open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(248, 247, 244, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
  padding: calc(var(--announce-h, 40px) + 72px) 24px 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: all .5s var(--ease-out);
}
body.announce-hidden .mobile-menu { padding-top: 72px; }
.mobile-menu--open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -.02em;
  transition: color .3s;
  text-align: center;
}
.mobile-menu a:hover { color: var(--accent); }

/* ============================================
   HERO — Full viewport, asymmetric layout
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: calc(var(--announce-h, 40px) + 100px) 0 80px;
}
.hero__mesh {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .35;
  animation: blob-float 20s ease-in-out infinite;
}
.hero__blob--1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -10%; right: -5%;
  animation-delay: 0s;
}
.hero__blob--2 {
  width: 500px; height: 500px;
  background: var(--pink);
  bottom: -15%; left: -10%;
  animation-delay: -7s;
}
.hero__blob--3 {
  width: 400px; height: 400px;
  background: var(--gold);
  top: 30%; left: 40%;
  animation-delay: -14s;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -80px) scale(1.1); }
  50% { transform: translate(-40px, 40px) scale(.9); }
  75% { transform: translate(30px, 70px) scale(1.05); }
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__content { max-width: 600px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px 20px;
  font-size: 14px; font-weight: 500;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s infinite;
}
.hero__title {
  margin-bottom: 24px;
}
.hero__typed {
  display: block;
  width: fit-content;
  min-height: 1.15em;
  border-right: 3px solid var(--accent);
  animation: blink-cursor .8s infinite;
}
/* Keep display:block even when text-split adds .split-unit (which sets inline-block) */
.split-ready .hero__typed.split-unit {
  display: block;
}
@keyframes blink-cursor {
  0%, 100% { border-color: var(--accent); }
  50% { border-color: transparent; }
}
.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 40px;
  max-width: 520px;
}
.hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__micro {
  font-size: 14px; color: var(--text-muted);
  display: flex; gap: 16px; flex-wrap: wrap;
}
.hero__micro span { display: flex; align-items: center; gap: 6px; }
.hero__micro span::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); opacity: .5;
}

/* Hero carousel */
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 600px;
}
.hero__carousel {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.08) translateX(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  z-index: 0;
}
.hero__slide--active {
  opacity: 1;
  transform: scale(1) translateX(0);
  z-index: 2;
}
.hero__slide--exit {
  opacity: 0;
  transform: scale(.95) translateX(-30px);
  z-index: 1;
}
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__photo-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  color: var(--text);
  z-index: 3;
}
/* Carousel dots */
.hero__dots {
  display: flex; gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.hero__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  transition: all .4s var(--ease-out);
  cursor: pointer;
}
.hero__dot--active {
  background: var(--accent);
  width: 32px;
  border-radius: 5px;
}
.hero__scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted); letter-spacing: .05em;
  animation: hint-bounce 2s ease-in-out infinite;
}
.hero__scroll-hint svg {
  width: 20px; height: 20px; stroke: var(--text-muted);
}
@keyframes hint-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   SHOWCASE — Before/After photo strip
   ============================================ */
.showcase {
  padding: 32px 0;
  overflow: hidden;
}
.showcase__track {
  display: flex; gap: 24px;
  animation: showcase-scroll 45s linear infinite;
  width: max-content;
}
.showcase__track:hover { animation-play-state: paused; }
.showcase__card {
  position: relative;
  flex-shrink: 0;
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.showcase__card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
}
.showcase__selfie,
.showcase__result {
  width: 180px; height: 225px;
  display: block;
  object-fit: cover;
}
.showcase__selfie {
  border-right: 2px solid rgba(255,255,255,.6);
}
.showcase__badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
@keyframes showcase-scroll {
  to { transform: translateX(-50%); }
}

/* ============================================
   PROOF — Bento stats
   ============================================ */
.proof {
  padding: 100px 0;
  overflow: hidden;
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.proof__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all .5s var(--ease-out);
}
.proof__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
  border-color: rgba(124,58,237,.2);
}
.proof__number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  display: block; margin-bottom: 8px;
}
.proof__number--accent { color: var(--accent); }
.proof__label {
  font-size: 14px; color: var(--text-muted); font-weight: 500;
  word-break: break-word;
}
.proof__stars {
  font-size: 28px; color: var(--gold); margin-bottom: 8px;
  letter-spacing: 2px;
}

/* ============================================
   STEPS — How it works (creative layout)
   ============================================ */
.steps {
  padding: 100px 0;
  background: var(--bg-alt);
  position: relative;
}
.steps__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}
.steps__header .label { margin-bottom: 16px; }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
/* Connecting line between steps */
.steps__grid::before {
  content: '';
  position: absolute;
  top: 80px; left: 16.6%; right: 16.6%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--pink), var(--gold));
  opacity: .25;
  z-index: 0;
}
.steps__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all .5s var(--ease-spring);
  cursor: default;
}
.steps__card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 80px rgba(0,0,0,.1), 0 0 0 1px rgba(124,58,237,.12);
  border-color: rgba(124,58,237,.2);
}
.steps__card:nth-child(2) { transform: translateY(-12px); }
.steps__card:nth-child(2):hover { transform: translateY(-20px); }
.steps__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 20px;
  color: #FFF;
  margin: 0 auto 24px;
}
.steps__num--1 { background: var(--accent); }
.steps__num--2 { background: var(--pink); }
.steps__num--3 { background: var(--gold); }
.steps__icon {
  width: 48px; height: 48px; margin: 0 auto 20px;
  color: var(--text-soft);
}
.steps__title { margin-bottom: 12px; }
.steps__text {
  font-size: 15px; line-height: 1.6; color: var(--text-soft);
}
/* Video placeholder in steps */
.steps__video {
  margin: 20px 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #E2E8F0 100%);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.steps__video:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
}
.steps__video video,
.steps__video img {
  width: 100%; height: 100%; object-fit: cover;
}
.steps__video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}
.steps__video-placeholder svg {
  opacity: .4;
  animation: step-icon-float 3s ease-in-out infinite;
}
.steps__video-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .6;
}
@keyframes step-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.steps__video-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.08);
  transition: background .3s;
}
.steps__video:hover .steps__video-play { background: rgba(0,0,0,.18); }
.steps__video-play svg {
  width: 56px; height: 56px;
  color: #FFF;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
  transition: transform .3s var(--ease-spring);
}
.steps__video:hover .steps__video-play svg { transform: scale(1.15); }

/* Section heading accent line */
.section-accent {
  width: 48px; height: 4px;
  border-radius: 2px;
  background: var(--cta);
  margin: 0 auto 20px;
}

/* Parallax enhanced */
[data-parallax] {
  will-change: transform;
}

/* Floating decorative shapes for multi-layer parallax depth */
.floating-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.floating-decor__shape {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
}
.floating-decor__shape--1 {
  width: 300px; height: 300px;
  background: var(--accent);
  top: 20%; right: -80px;
}
.floating-decor__shape--2 {
  width: 180px; height: 180px;
  background: var(--pink);
  top: 55%; left: -40px;
}
.floating-decor__shape--3 {
  width: 240px; height: 240px;
  background: var(--gold);
  top: 75%; right: 10%;
}
.floating-decor__shape--4 {
  width: 140px; height: 140px;
  background: var(--cta);
  top: 40%; left: 15%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* ============================================
   GALLERY — Full bleed horizontal scroll
   ============================================ */
.gallery {
  padding: 100px 0;
  overflow: clip;
  position: relative;
}
.gallery__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.gallery__track {
  display: flex; gap: 16px;
  justify-content: center;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track--dragging, .gallery__track:active { cursor: grabbing; scroll-behavior: auto; }
.gallery__item {
  flex: 0 0 auto;
  display: block;
  width: 220px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.gallery__item--wide { width: 280px; }
.gallery__slideshow {
  position: absolute;
  inset: 0;
}
.gallery__slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1s var(--ease-out), transform .6s var(--ease-out);
}
.gallery__slideshow img.active {
  opacity: 1;
}
.gallery__item:hover .gallery__slideshow img.active { transform: scale(1.05); }
/* Overlay: bottom gradient always visible, full overlay on hover (desktop) */
.gallery__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 35%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  transition: background .4s var(--ease-out);
}
.gallery__overlay .btn {
  align-self: flex-start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.gallery__item:hover .gallery__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 45%, transparent 65%);
}
.gallery__item:hover .gallery__overlay .btn {
  opacity: 1;
  transform: translateY(0);
}
.gallery__tag {
  display: inline-flex;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 600; color: #FFF;
  letter-spacing: .02em;
  margin-bottom: 6px; align-self: flex-start;
}
.gallery__item-title {
  color: #FFF;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 600;
  margin-bottom: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
/* Arrows: desktop only (pointer:fine) */
.gallery__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: none;
  align-items: center; justify-content: center;
  color: var(--text);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  z-index: 5;
  transition: all .3s var(--ease-spring);
}
@media (pointer: fine) {
  .gallery__arrow { display: flex; }
}
.gallery__arrow svg { width: 20px; height: 20px; }
.gallery__arrow:hover {
  background: var(--text);
  color: #FFF;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.gallery__arrow--left { left: 16px; }
.gallery__arrow--right { right: 16px; }
.gallery__hint {
  text-align: center;
  margin-top: 24px;
  font-size: 13px; color: var(--text-muted);
}
/* Mobile: always show button in overlay */
@media (pointer: coarse) {
  .gallery__overlay .btn {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   FEATURES — Bento grid
   ============================================ */
.features {
  padding: 100px 0;
  background: var(--bg-alt);
}
.features__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.features__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all .5s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
  border-color: rgba(124,58,237,.15);
}
.feature-card--span2 {
  grid-column: span 2;
  display: flex; gap: 32px; align-items: center;
}
.feature-card--span2 .feature-card__body { flex: 1; }
.feature-card__images {
  flex: 0 0 280px;
  display: flex; gap: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.feature-card__images img {
  width: 50%; aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform .5s var(--ease-out);
}
.feature-card:hover .feature-card__images img { transform: scale(1.05); }
/* Small card preview image */
.feature-card__preview {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.feature-card__preview img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.feature-card:hover .feature-card__preview img { transform: scale(1.06); }
.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}
.feature-card__icon--violet { background: #EDE9FE; color: var(--accent); }
.feature-card__icon--pink   { background: #FCE7F3; color: var(--pink); }
.feature-card__icon--gold   { background: #FEF3C7; color: var(--gold); }
.feature-card__icon--green  { background: #D1FAE5; color: #059669; }
.feature-card__icon--blue   { background: #DBEAFE; color: #2563EB; }
.feature-card__title { margin-bottom: 12px; }
.feature-card__text {
  font-size: 15px; line-height: 1.6; color: var(--text-soft);
}
.feature-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  transition: gap .3s var(--ease-out);
}
.feature-card__link:hover { gap: 10px; }
/* Removed decorative visual — now using real product images */

/* ============================================
   USE CASES
   ============================================ */
.usecases {
  padding: 100px 0;
}
.usecases__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.usecase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .5s var(--ease-out);
}
.usecase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,.08);
}
.usecase-card__img {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.usecase-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.usecase-card:hover .usecase-card__img img { transform: scale(1.06); }
.usecase-card__body {
  padding: 28px 32px 32px;
}
.usecase-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: #F3F0FF;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  margin-bottom: 16px;
}
.usecase-card__title { margin-bottom: 8px; }
.usecase-card__text {
  font-size: 15px; line-height: 1.6; color: var(--text-soft);
  margin-bottom: 12px;
}
.usecase-card__link {
  font-size: 14px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .3s var(--ease-out);
}
.usecase-card__link:hover { gap: 10px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: var(--bg-alt);
}
.testimonials__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.testimonials__slider {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
}
.testimonial__quote {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #FFF; font-size: 24px; font-weight: 700;
}
.testimonial__stars {
  font-size: 20px; color: var(--gold);
  margin-bottom: 24px; letter-spacing: 4px;
}
.testimonial__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 32px;
  font-style: italic;
}
.testimonial__author {
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.testimonial__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  display: flex; align-items: center; justify-content: center;
  color: #FFF; font-weight: 700; font-size: 20px;
}
.testimonial__name { font-weight: 600; }
.testimonial__role { font-size: 14px; color: var(--text-muted); }
.testimonials__dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 32px;
}
.testimonials__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border);
  transition: all .3s;
  cursor: pointer;
}
.testimonials__dot--active {
  background: var(--accent);
  width: 32px;
  border-radius: 5px;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison {
  padding: 100px 0;
}
.comparison__header {
  text-align: center;
  margin-bottom: 64px;
}
.comparison__table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comparison__table th,
.comparison__table td {
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  word-break: break-word;
}
.comparison__table thead th {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 16px;
}
.comparison__table tr:last-child td { border-bottom: none; }
.comparison__hl {
  color: var(--accent); font-weight: 600;
}
.comparison__cta {
  text-align: center;
  margin-top: 48px;
}
.comparison__cta-text {
  font-size: 17px; color: var(--text-soft);
  margin-bottom: 20px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 100px 0;
  background: var(--bg-alt);
}
.pricing__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all .5s var(--ease-out);
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,.08);
}
.pricing-card--popular {
  border-color: var(--accent);
  transform: translateY(-12px);
  box-shadow: 0 24px 64px rgba(124,58,237,.12);
}
.pricing-card--popular:hover { transform: translateY(-20px); }
.pricing-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--pink));
  color: #FFF;
  padding: 6px 20px;
  border-radius: var(--radius-lg);
  font-size: 13px; font-weight: 700;
  white-space: nowrap;
}
.pricing-card__name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em;
  color: var(--text);
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.pricing-card__price span {
  font-size: 15px; font-weight: 500; color: var(--text-muted);
  letter-spacing: 0;
}
.pricing-card__desc {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 32px;
}
.pricing-card__features {
  margin-bottom: 32px;
}
.pricing-card__features li {
  padding: 10px 0;
  font-size: 15px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features li::before {
  content: '✓';
  color: var(--accent); font-weight: 700;
  flex-shrink: 0;
}
.pricing__note {
  text-align: center;
  margin-top: 48px;
  font-size: 14px; color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 0;
}
.faq__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__question {
  width: 100%; text-align: left;
  padding: 24px 0;
  font-size: 17px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  color: var(--text);
  cursor: pointer;
  transition: color .3s;
}
.faq__question:hover { color: var(--accent); }
.faq__question-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 18px; color: var(--text-soft);
  transition: all .3s var(--ease-out);
}
.faq__item--open .faq__question-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #FFF;
}
.faq__answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .4s var(--ease-out);
}
.faq__item--open .faq__answer {
  padding-bottom: 24px;
}
.faq__answer p {
  font-size: 15px; line-height: 1.7; color: var(--text-soft);
}
.faq__cta {
  text-align: center;
  margin-top: 64px;
}
.faq__cta-text {
  font-size: 16px; color: var(--text-soft);
  margin-bottom: 20px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-section {
  padding: 120px 0;
  position: relative; overflow: hidden;
  text-align: center;
  background: var(--text);
  color: #FFF;
}
.cta-section__mesh {
  position: absolute; inset: 0; overflow: hidden;
}
.cta-section__blob {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: .3;
}
.cta-section__blob--1 {
  width: 500px; height: 500px;
  background: var(--accent); top: -20%; left: -10%;
}
.cta-section__blob--2 {
  width: 400px; height: 400px;
  background: var(--pink); bottom: -20%; right: -10%;
}
.cta-section__content {
  position: relative; z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-section__title {
  margin-bottom: 20px;
  color: #FFF;
}
.cta-section__subtitle {
  font-size: 16px; color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin-bottom: 40px;
}
.cta-section__proof {
  margin-top: 32px;
  font-size: 14px; color: rgba(255,255,255,.5);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 20px;
  letter-spacing: -.02em;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.footer__desc {
  font-size: 14px; color: var(--text-muted);
  max-width: 280px; line-height: 1.7;
  margin-bottom: 20px;
}
.footer__heading {
  font-weight: 600; font-size: 15px;
  margin-bottom: 20px;
}
.footer__links li { margin-bottom: 12px; }
.footer__links a {
  font-size: 14px; color: var(--text-soft);
  transition: color .3s;
}
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
}
.footer__trust {
  display: flex; gap: 24px;
  font-size: 13px; color: var(--text-muted);
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announce {
  background: var(--text);
  color: #FFF;
  padding: 10px 0;
  font-size: 14px; font-weight: 500;
  text-align: center;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  transition: transform .4s var(--ease-out);
}
.announce--hidden { transform: translateY(-100%); pointer-events: none; }
.announce__inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.announce__link {
  color: var(--gold); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.announce__close {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.5);
  font-size: 18px;
  transition: color .3s;
}
.announce__close:hover { color: #FFF; }

/* ============================================
   EXIT POPUP
   ============================================ */
.popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all .4s var(--ease-out);
}
.popup--visible { opacity: 1; visibility: visible; }
.popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
}
.popup__content {
  position: relative; z-index: 1;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 440px; width: 90%;
  text-align: center;
  transform: translateY(20px) scale(.95);
  transition: transform .4s var(--ease-spring);
}
.popup--visible .popup__content { transform: translateY(0) scale(1); }
.popup__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%; background: var(--bg-alt);
  font-size: 18px; color: var(--text-soft);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.popup__close:hover { background: var(--border); }
.popup__emoji { font-size: 48px; margin-bottom: 16px; }
.popup__title { margin-bottom: 12px; }
.popup__text {
  font-size: 15px; color: var(--text-soft); line-height: 1.6;
  margin-bottom: 24px;
}
.popup__dismiss {
  display: block; margin: 12px auto 0;
  font-size: 13px; color: var(--text-muted);
  text-decoration: underline;
}
/* Hide exit popup on desktop (pointer: fine = mouse) */
@media (pointer: fine) {
  .popup { display: none !important; }
}

/* ACTIVITY TOAST */
.toast {
  position: fixed; bottom: 24px; left: 24px; z-index: 900;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transform: translateY(calc(100% + 48px));
  transition: transform .5s var(--ease-spring);
}
.toast--visible { transform: translateY(0); }
.toast__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  color: #FFF; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.toast__text {
  font-size: 13px; line-height: 1.5;
}
.toast__text strong { font-weight: 600; }
.toast__text span { color: var(--text-muted); }

/* STICKY MOBILE CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  width: 100%;
  max-width: 100vw;
  padding: 12px 16px;
  background: rgba(248, 247, 244, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 90;
  display: none;
  box-sizing: border-box;
  overflow: hidden;
}
.sticky-cta .btn {
  border-radius: var(--radius-md);
  white-space: nowrap;
}

/* ============================================
   SECTION GRADIENT TRANSITIONS
   ============================================ */
/* Smooth gradient fade between sections with different backgrounds */
.steps::before,
.gallery::before,
.usecases::before,
.comparison::before,
.faq::before {
  content: '';
  position: absolute;
  top: -60px; left: 0; right: 0;
  height: 60px;
  pointer-events: none;
  z-index: 1;
}
/* bg → bg-alt (section enters bg-alt after bg) */
.steps::before { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-alt) 100%); }
/* bg-alt → bg (section enters bg after bg-alt) */
.gallery::before { background: linear-gradient(to bottom, var(--bg-alt) 0%, var(--bg) 100%); }
.usecases::before { background: linear-gradient(to bottom, var(--bg-alt) 0%, var(--bg) 100%); }
.comparison::before { background: linear-gradient(to bottom, var(--bg-alt) 0%, var(--bg) 100%); }
.faq::before { background: linear-gradient(to bottom, var(--bg-alt) 0%, var(--bg) 100%); }

/* Ensure sections with transitions have position:relative + overflow containment */
.steps, .gallery, .usecases, .comparison, .faq { position: relative; }
.features, .steps, .usecases, .comparison, .testimonials, .pricing, .faq, .ba { overflow: hidden; }

/* ============================================
   SCROLL REVEAL SYSTEM
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal--left  { transform: translateX(-60px); }
.reveal--right { transform: translateX(60px); }
.reveal--scale { transform: scale(.88); }
.reveal--visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Text split — dramatic 3D flip-in */
.split-ready .split-unit {
  display: inline-block;
  opacity: 0;
  transform: translateY(120%) rotateX(-90deg);
  transform-origin: bottom center;
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-spring);
  transition-delay: calc(var(--si) * .07s);
}
.split-visible .split-unit {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* Stagger children — bigger movement */
.stagger > * {
  opacity: 0;
  transform: translateY(40px) scale(.95);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-spring);
}
.stagger--visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* no-scroll */
.no-scroll { overflow: hidden; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-height: 460px; }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__grid { gap: 20px; }
  .steps__grid::before { display: none; }
  .features__bento { grid-template-columns: repeat(2, 1fr); }
  .feature-card--span2 { grid-column: span 1; flex-direction: column; }
  .feature-card__images { flex: none; width: 100%; }
  .feature-card__images img { aspect-ratio: 4/5; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card--popular { transform: none; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  .announce { font-size: 12px; padding: 8px 40px 8px 12px; }
  .announce__inner { gap: 6px; flex-wrap: wrap; }
  .announce__close { right: 10px; font-size: 16px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .mega { display: none; }
  .nav__chevron { display: none; }
  .hero { padding: calc(var(--announce-h, 40px) + 95px) 0 60px; }
  .hero__visual { max-height: 380px; }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .proof__card { padding: 28px 20px; }
  .steps__grid { grid-template-columns: 1fr; }
  .steps__card:nth-child(2) { transform: none; }
  .features__bento { grid-template-columns: 1fr; }
  .usecases__grid { grid-template-columns: 1fr; }
  .usecase-card { flex-direction: column; }
  .comparison__table { font-size: 14px; }
  .comparison__table th,
  .comparison__table td { padding: 14px 10px; }
  .testimonial { padding: 48px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .sticky-cta { display: block; }
  .gallery { padding: 60px 0; }
  .gallery__header { margin-bottom: 32px; }
  .gallery__track { gap: 12px; padding: 0 16px; }
  .gallery__item { width: calc((100vw - 56px) / 2.3); max-width: 180px; }
  .gallery__item--wide { width: calc((100vw - 56px) / 1.8); max-width: 220px; }
  .gallery__overlay { padding: 16px; }
  .gallery__tag { font-size: 10px; padding: 3px 10px; }
  .gallery__item-title { font-size: 13px; }
  .gallery__overlay .btn { font-size: 11px; padding: 6px 14px; }
  .gallery__hint { margin-top: 16px; font-size: 12px; display: none; }
  .showcase { padding: 20px 0; }
  .showcase__track { gap: 14px; }
  .showcase__selfie,
  .showcase__result { width: 140px; height: 175px; }
  .showcase__badge { bottom: 8px; right: 8px; font-size: 11px; padding: 3px 10px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__visual { max-height: none; }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof { padding: 48px 0; }
  .proof__card { padding: 20px 14px; border-radius: var(--radius-md); }
  .proof__number { font-size: clamp(28px, 8vw, 36px); }
  .features { padding: 60px 0; }
  .steps { padding: 60px 0; }
  .usecases { padding: 60px 0; }
  .comparison { padding: 60px 0; }
  .testimonials { padding: 60px 0; }
  .pricing { padding: 60px 0; }
  .faq { padding: 60px 0; }
  .cta-section { padding: 60px 0; }
  .ba { padding: 48px 0; }
  .gallery__item { width: calc((100vw - 48px) / 2.2); max-width: 160px; }
  .gallery__item--wide { width: calc((100vw - 48px) / 1.7); max-width: 200px; }
  .gallery__overlay { padding: 12px; }
  .gallery__tag { font-size: 10px; padding: 2px 8px; }
  .gallery__item-title { font-size: 12px; }
  .gallery__overlay .btn { font-size: 10px; padding: 5px 10px; }
}

@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .gallery__track { gap: 8px; padding: 0 12px; }
  .gallery__item { width: calc((100vw - 36px) / 2); max-width: 150px; }
  .gallery__item--wide { width: calc((100vw - 36px) / 1.6); max-width: 190px; }
  .sticky-cta { padding: 10px 12px; }
  .sticky-cta .btn { padding: 12px 16px; font-size: 14px; }
  .hero { padding: calc(var(--announce-h, 40px) + 95px) 0 40px; }
  .h1 { font-size: 24px; }
  .h2 { font-size: 20px; }
  .section-subtitle { font-size: 14px; }
  .btn--lg { padding: 14px 24px; font-size: 15px; }
  .comparison__table { font-size: 13px; }
  .comparison__table th,
  .comparison__table td { padding: 12px 8px; }
  .comparison__table th:first-child,
  .comparison__table td:first-child { width: 38%; }
  .comparison__table th:nth-child(2),
  .comparison__table td:nth-child(2) { width: 32%; }
  .comparison__table th:nth-child(3),
  .comparison__table td:nth-child(3) { width: 30%; }
}

/* ============================================
   HERO — scroll-link (replaces second CTA)
   ============================================ */
.hero__see-examples {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  margin-bottom: 24px;
  transition: color .3s;
}
.hero__see-examples:hover { color: var(--accent); }

/* ============================================
   BEFORE / AFTER SLIDER
   ============================================ */
.ba {
  padding: 80px 0;
  position: relative;
}
.ba__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.ba__slider {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 24px 80px rgba(0,0,0,.12);
}
.ba__img {
  position: absolute; inset: 0;
}
.ba__img img {
  width: 100%; height: 100%; object-fit: cover;
}
.ba__img--after {
  clip-path: inset(0 0 0 50%);
  z-index: 2;
}
.ba__img--before {
  z-index: 1;
}
.ba__label {
  position: absolute; top: 16px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #FFF;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  z-index: 5;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }
.ba__handle {
  position: absolute; top: 0; bottom: 0;
  left: 50%;
  z-index: 10;
  width: 4px;
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
}
.ba__handle-line {
  position: absolute; inset: 0;
  background: #FFF;
  box-shadow: 0 0 8px rgba(0,0,0,.3);
}
.ba__handle-circle {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  color: var(--text);
  transition: transform .2s var(--ease-spring);
}
.ba__handle-circle:hover,
.ba__slider--active .ba__handle-circle {
  transform: scale(1.15);
}
.ba__handle-circle svg {
  width: 14px; height: 14px;
}
.ba__proof {
  text-align: center;
  margin-top: 24px;
  font-size: 15px; color: var(--text-soft);
  font-style: italic;
}

/* ============================================
   TESTIMONIAL — timestamps & verified badge
   ============================================ */
.testimonial__verified {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #22C55E;
  color: #FFF;
  font-size: 11px; font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}
.testimonial__time {
  font-size: 12px; color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================
   PRICING — anchor pricing
   ============================================ */
.pricing-card__old-price {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.pricing-card__save {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: #059669;
  background: #D1FAE5;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE — new components
   ============================================ */
@media (max-width: 768px) {
  .ba__slider { max-width: 100%; aspect-ratio: 3/4; }
  .ba__handle-circle { width: 40px; height: 40px; }
  .ba__handle-circle svg { width: 12px; height: 12px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .split-ready .split-unit { opacity: 1; transform: none; }
}


/* ============================================
   FROM-SCRATCH PAGE — Custom Components
   ============================================ */

/* --- Prompt Cards --- */
.prompt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.prompt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all .4s var(--ease-out);
}
.prompt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  border-color: var(--accent);
}
.prompt-card__icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.prompt-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.prompt-card__desc {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 16px;
}
.prompt-card__example {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px;
  border-left: 3px solid var(--accent);
}
.prompt-card__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.prompt-card__text {
  font-size: 14px;
  color: var(--text);
  font-style: italic;
  line-height: 1.5;
}

/* --- Steps (Horizontal) --- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  transition: all .4s var(--ease-out);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.06);
}
.step__number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.step__icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.step__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.step__desc {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}
.step__arrow {
  font-size: 32px;
  color: var(--accent);
  align-self: center;
  opacity: .6;
}
.steps__cta {
  text-align: center;
  margin-top: 48px;
}
@media (max-width: 992px) {
  .steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); }
  .step { max-width: 400px; }
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.gallery-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all .4s var(--ease-out);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
}
.gallery-item__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
}
.gallery-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.gallery-item:hover .gallery-item__image img {
  transform: scale(1.05);
}
.gallery-item__prompt {
  padding: 20px;
  background: var(--surface);
}
.gallery-item__prompt p {
  font-size: 14px;
  color: var(--text-soft);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* --- Tips Grid --- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all .4s var(--ease-out);
}
.tip-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(124,58,237,.08);
}
.tip-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.tip-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.tip-card__text {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all .4s var(--ease-out);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.08);
}
.testimonial__stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial__name {
  font-weight: 600;
  font-size: 15px;
}
.testimonial__role {
  font-size: 13px;
  color: var(--text-soft);
}

/* --- CTA Block --- */
.cta-block {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #FFF;
}
.cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.cta-block__text {
  font-size: 18px;
  opacity: .9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-block .btn--primary {
  background: #FFF;
  color: var(--accent);
}
.cta-block .btn--primary:hover {
  background: #FFF;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}

/* --- SEO Text --- */
.seo-text h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  color: var(--text);
}
.seo-text p {
  margin-bottom: 16px;
  line-height: 1.7;
}

/* --- Section utilities --- */
.section--alt {
  background: var(--bg-alt);
}
.section__subtitle {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 600px;
  margin: 16px auto 0;
}

/* --- Mobile responsive for new components --- */
@media (max-width: 768px) {
  .prompt-cards,
  .tips-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .cta-block {
    padding: 40px 24px;
  }
  .step {
    min-width: 100%;
  }
}

/* ============================================================
   UNIVERSAL BLOCKS — Page Header, Social Proof Bar, Inline CTA
   ============================================================ */

/* --- Section Block wrapper (universal blocks) --- */
.section-block { padding: 60px 0; }

/* --- Page Header --- */
.page-header { padding: 140px 0 60px; text-align: center; }
.page-header--gradient { background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(139,92,246,.04)); }
.page-header--dark { background: #0a0a0a; color: #fff; }
.page-header--dark .page-header__subtitle { color: rgba(255,255,255,.7); }
.page-header--dark .breadcrumbs__link { color: rgba(255,255,255,.5); }
.page-header--dark .breadcrumbs__link:hover { color: #fff; }
.page-header__title { margin-bottom: 16px; }
.page-header__subtitle { color: var(--text-muted); font-size: 1.125rem; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 24px; }
.breadcrumbs__list { display: flex; align-items: center; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: .875rem; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumbs__item { display: flex; align-items: center; gap: 8px; }
.breadcrumbs__link { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.breadcrumbs__link:hover { color: var(--accent); }
.breadcrumbs__separator { opacity: .4; }

/* --- Social Proof Bar --- */
.social-proof-bar { padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.social-proof-bar__grid { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.social-proof-bar__item { display: flex; align-items: center; gap: 8px; }
.social-proof-bar__number { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.social-proof-bar__label { font-size: .875rem; color: var(--text-muted); }
.social-proof-bar__divider { color: var(--border); font-size: .875rem; }

/* --- Inline CTA --- */
.inline-cta { padding: 60px 0; }
.inline-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 48px; border-radius: var(--radius-lg); }
.inline-cta--accent .inline-cta__inner { background: linear-gradient(135deg, #7C3AED, #8B5CF6); color: #fff; }
.inline-cta--dark .inline-cta__inner { background: var(--surface); border: 1px solid var(--border); }
.inline-cta--light .inline-cta__inner { background: rgba(124,58,237,.06); }
.inline-cta__heading { margin: 0 0 4px; color: var(--text); }
.inline-cta--accent .inline-cta__heading { color: #fff; }
.inline-cta--dark .inline-cta__heading { color: #fff; }
.inline-cta__text { margin: 0; opacity: .9; }
.inline-cta--accent .btn { background: #fff; color: #7C3AED; }
.inline-cta--accent .btn:hover { background: rgba(255,255,255,.9); }

@media (max-width: 768px) {
  .inline-cta__inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .social-proof-bar__grid { gap: 16px; }
  .social-proof-bar__divider { display: none; }
  .page-header { padding: 120px 0 40px; }
  .section-block { padding: 40px 0; }
}

/* === Article Layout === */
.article { padding-top: calc(var(--announce-h, 40px) + 80px); }
.article__header { max-width: 820px; margin: 0 auto; padding: 0 20px; margin-bottom: 2rem; }
.article__title { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; margin-bottom: 0.5rem; font-weight: 800; letter-spacing: -0.02em; }
.article__meta { font-size: 0.9rem; color: var(--text-secondary, #888); margin-bottom: 1.5rem; }
.article__body { margin-bottom: 3rem; }

/* --- Table of Contents --- */
.article-toc {
  background: var(--bg-alt, #F1F5F9);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 0;
  margin-top: 0.5rem;
}
.article-toc__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text, #1a1a1a);
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.article-toc__toggle::-webkit-details-marker { display: none; }
.article-toc__toggle::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--accent, #FF6B00);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h12v2H3v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h12v2H3v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.article-toc__toggle::after {
  content: '';
  width: 16px; height: 16px;
  margin-left: auto;
  background: var(--text-secondary, #888);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s ease;
}
.article-toc[open] .article-toc__toggle::after { transform: rotate(180deg); }
.article-toc__nav { padding: 0 20px 16px; }
.article-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.article-toc__list li {
  counter-increment: toc;
}
.article-toc__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text, #1a1a1a);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.article-toc__list a::before {
  content: counter(toc);
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: rgba(124,58,237,0.08);
  color: var(--accent, #FF6B00);
  font-size: 0.8rem;
  font-weight: 700;
}
.article-toc__list a:hover {
  background: rgba(0,0,0,0.04);
  color: var(--accent, #FF6B00);
}

/* --- Block Text (Landing context) --- */
.section-block--text { padding: 48px 0; }
.block-text { max-width: 860px; }
.block-text-align-center { margin: 0 auto; text-align: center; }
.block-text-align-right { margin-left: auto; text-align: right; }
.block-text-heading { margin-bottom: 16px; }
.block-text-paragraph {
  font-size: 16px; line-height: 1.7; color: var(--text-soft);
}
.block-text-paragraph p { margin: 0 0 1em; }
.block-text-quote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.7;
}
.block-text-list {
  list-style: disc;
  padding-left: 1.5em;
  line-height: 1.7;
  color: var(--text-soft);
}
.block-text-list li { margin-bottom: 8px; }
.block-text-list li::marker { color: var(--accent); }

/* --- Article Text Content --- */
.article__text { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.article__text .block-text-paragraph {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.5em;
  color: var(--text-primary, #333);
}

/* H2 — prominent section headers */
.article__text .block-text-paragraph h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 2.5em 0 0.75em;
  padding: 0.6em 0 0.6em 1em;
  line-height: 1.3;
  color: var(--text, #1a1a1a);
  border-left: 4px solid var(--accent, #FF6B00);
  background: linear-gradient(90deg, rgba(255,107,0,0.05) 0%, transparent 100%);
  border-radius: 0 8px 8px 0;
  scroll-margin-top: 120px;
}

/* H3 — sub-section headers */
.article__text .block-text-paragraph h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2em 0 0.5em;
  padding-bottom: 0.3em;
  line-height: 1.3;
  color: var(--text, #222);
  border-bottom: 2px solid rgba(0,0,0,0.06);
}

/* Paragraphs inside rich text */
.article__text .block-text-paragraph p {
  margin: 0 0 1.1em;
}

/* Lists — restore markers */
.article__text .block-text-paragraph ul {
  list-style: disc;
  padding-left: 1.6em;
  margin: 0.75em 0 1.5em;
}
.article__text .block-text-paragraph ol {
  list-style: decimal;
  padding-left: 1.6em;
  margin: 0.75em 0 1.5em;
}
.article__text .block-text-paragraph li {
  margin-bottom: 0.5em;
  padding-left: 0.3em;
  line-height: 1.7;
}
.article__text .block-text-paragraph li::marker {
  color: var(--accent, #FF6B00);
  font-weight: 600;
}

/* Links */
.article__text .block-text-paragraph a {
  color: var(--accent, #FF6B00);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(255,107,0,0.3);
  transition: text-decoration-color 0.15s;
}
.article__text .block-text-paragraph a:hover {
  text-decoration-color: var(--accent, #FF6B00);
}

/* Bold */
.article__text .block-text-paragraph strong {
  font-weight: 700;
  color: var(--text, #1a1a1a);
}

/* Blockquote */
.article__text .block-text-paragraph blockquote {
  border-left: 4px solid var(--accent, #FF6B00);
  padding: 1em 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  background: var(--bg-alt, #F1F5F9);
  border-radius: 0 10px 10px 0;
  color: var(--text-secondary, #555);
}

/* Inline figure/figcaption in article text */
.article__text .block-text-paragraph figure {
  display: block;
  width: 728px;
  max-width: 100%;
  margin: 2em auto;
  text-align: center;
}
.article__text .block-text-paragraph figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.article__text .block-text-paragraph figcaption {
  font-size: 0.85rem;
  color: var(--text-secondary, #888);
  text-align: center;
  margin-top: 0.75em;
  font-style: italic;
  line-height: 1.5;
}
.article__text .block-text-paragraph img {
  display: block;
  width: 728px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.5em auto;
}

/* Block-level text types */
.article__text .block-text-heading {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 2.5em 0 0.75em;
  padding: 0.6em 0 0.6em 1em;
  border-left: 4px solid var(--accent, #FF6B00);
  background: linear-gradient(90deg, rgba(255,107,0,0.05) 0%, transparent 100%);
  border-radius: 0 8px 8px 0;
}
.article__text .block-text-quote {
  border-left: 4px solid var(--accent, #FF6B00);
  padding: 1em 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  background: var(--bg-alt, #F1F5F9);
  border-radius: 0 10px 10px 0;
}
.article__text .block-text-list {
  list-style: disc;
  padding-left: 1.6em;
  margin-bottom: 1.5em;
  line-height: 1.8;
}
.article__text .block-text-list li::marker {
  color: var(--accent, #FF6B00);
}

/* Image & CTA containers */
.article__image { max-width: 820px; margin: 2em auto; padding: 0 20px; }
.article__image figcaption {
  font-size: 0.85rem;
  color: var(--text-secondary, #888);
  text-align: center;
  margin-top: 0.75em;
  font-style: italic;
}
.article__cta { max-width: 820px; margin: 2em auto; padding: 0 20px; }

.breadcrumbs { font-size: 0.85rem; margin-bottom: 1rem; color: var(--text-secondary, #888); }
.breadcrumbs a { color: var(--accent, #FF6B00); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs__sep { margin: 0 0.5em; }

/* === Block Visibility === */
@media (min-width: 769px) { .hide-desktop { display: none !important; } }
@media (max-width: 768px) { .hide-mobile { display: none !important; } }

/* === CTA Section Fix === */
.cta-section { position: relative; overflow: hidden; }

/* ============================================
   BLOG CATALOG
   ============================================ */
.blog-catalog {
  padding: 140px 0 80px;
  min-height: 60vh;
}

.blog-catalog__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.blog-catalog__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 16px;
}

.blog-catalog__subtitle {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-top: 16px;
  line-height: 1.6;
}

/* Blog Card Grid */
.blog-catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .blog-catalog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .blog-catalog__grid { grid-template-columns: 1fr; gap: 24px; }
  .blog-catalog { padding: 120px 0 60px; }
}

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-alt);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

/* Placeholder when no image */
.blog-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 50%, var(--cta) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.blog-card__placeholder::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  top: -20px;
  right: -20px;
}

.blog-card__placeholder::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  bottom: -10px;
  left: 20px;
}

.blog-card__placeholder-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

/* Card Body */
.blog-card__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text);
  transition: color .2s;
}

.blog-card:hover .blog-card__title {
  color: var(--accent);
}

.blog-card__excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card__read {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform .2s;
}

.blog-card:hover .blog-card__read {
  transform: translateX(4px);
}

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.blog-pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}

.blog-pagination__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-pagination__link--active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.blog-pagination__link--active:hover {
  color: #fff;
}

/* Empty state */
.blog-catalog__empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ================================
   SEO LANDING PAGES
   ================================ */

/* Hero section */
.seo-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, rgba(124,58,237,0.05) 0%, rgba(236,72,153,0.05) 100%);
}

.seo-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--accent) 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-hero__intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 32px;
}

.seo-hero__intro p {
  margin-bottom: 16px;
}

.seo-hero__cta {
  margin-top: 8px;
}

/* Photo grid */
.seo-gallery {
  padding: 60px 0;
}

.seo-gallery__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.seo-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .seo-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .seo-gallery__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.seo-gallery__item {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

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

.seo-gallery__item:hover img {
  transform: scale(1.05);
}

.seo-gallery__cta {
  text-align: center;
  margin-top: 32px;
}

/* Related items */
.seo-related {
  padding: 60px 0;
  background: var(--surface-glass);
}

.seo-related__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.seo-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.seo-related__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.seo-related__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.15);
}

.seo-related__card-title {
  font-weight: 600;
  font-size: 1rem;
}

.seo-related__card-arrow {
  font-size: 1.2rem;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
}

.seo-related__card:hover .seo-related__card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.seo-related__card-image {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 16px;
  flex-shrink: 0;
}

/* FAQ */
.seo-faq {
  padding: 60px 0;
}

.seo-faq__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.seo-faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.seo-faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0;
}

.seo-faq__question {
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.seo-faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
}

.seo-faq__item[open] .seo-faq__question::after {
  transform: rotate(45deg);
}

.seo-faq__answer {
  padding: 0 0 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Final CTA */
.seo-cta {
  padding: 80px 0;
  text-align: center;
}

.seo-cta__inner {
  background: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(236,72,153,0.1) 100%);
  border-radius: 24px;
  padding: 60px 40px;
}

.seo-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.seo-cta__text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Breadcrumbs (shared) */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs__sep {
  opacity: 0.5;
}
