/* ============================================================
   MEMORAI — Main Stylesheet
   Design: warm cinematic luxury, Cormorant + DM Sans
   ============================================================ */

:root {
  --ink:       #1a1614;
  --ink-soft:  #3d3330;
  --ink-muted: #7a6e6a;
  --sand:      #f5f0ea;
  --sand-dark: #ece5db;
  --cream:     #faf7f3;
  --gold:      #c9a96e;
  --gold-light:#e8d5b0;
  --gold-dark: #9d7e4a;
  --amber:     #d4895a;
  --white:     #ffffff;

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  --shadow-sm: 0 2px 8px rgba(26,22,20,.08);
  --shadow-md: 0 8px 32px rgba(26,22,20,.12);
  --shadow-lg: 0 24px 64px rgba(26,22,20,.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(.22,.68,0,1.2);
  --ease-in:  cubic-bezier(.4,0,1,1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
details summary { cursor: pointer; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

/* ── Layout ─────────────────────────────────────────────── */
.container        { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
  background: var(--ink);
  color: var(--white);
}
.btn:hover { background: var(--ink-soft); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--sm   { padding: 9px 20px; font-size: .82rem; }
.btn--lg   { padding: 18px 38px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn--light:hover { background: rgba(255,255,255,.22); }
.btn--ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1.5px solid var(--sand-dark);
}
.btn--ghost:hover { background: var(--sand); }

/* ── Section labels ──────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.section-title {
  margin-bottom: 16px;
  color: var(--ink);
}
.section-sub {
  color: var(--ink-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 500px;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(250,247,243,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--sand-dark);
  padding: 14px 0;
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-right: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: .88rem;
  color: var(--ink-muted);
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all .25s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1614 0%, #2d2420 40%, #3d3020 100%);
}
.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__glow--left  { bottom: -100px; left: -200px; background: rgba(201,169,110,.12); }
.hero__glow--right { top: -50px; right: -150px; background: rgba(212,137,90,.08); }
.hero__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 100px;
}
.hero__title {
  font-size: clamp(3.2rem, 8vw, 7rem);
  color: var(--white);
  max-width: 800px;
  margin-bottom: 28px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  color: rgba(255,255,255,.6);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 44px;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__cta-note {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.hero__scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  bottom: 40px;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}
.hero__scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine { 0%{left:-100%} 100%{left:100%} }

/* ── Demo / Slider ───────────────────────────────────────── */
.demo {
  padding: 120px 0;
  background: var(--cream);
  text-align: center;
}
.demo .section-sub { margin-left: auto; margin-right: auto; }
.slider-wrap { max-width: 860px; margin: 0 auto; }
.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: ew-resize;
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: none;
}
.slider__before, .slider__after {
  position: absolute;
  inset: 0;
}
.slider__before { z-index: 1; }
.slider__after  { z-index: 2; clip-path: inset(0 50% 0 0); transition: none; }

.slider__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
/* Placeholder gradients — replace with real before/after img */
.slider__img--before {
  background: linear-gradient(135deg, #3d3020 0%, #6b5540 30%, #8a7060 60%, #9d8870 100%);
  filter: grayscale(70%) contrast(1.1) brightness(.7);
}
.slider__img--after {
  background: linear-gradient(135deg, #2d3a28 0%, #5a7a4a 30%, #8aaa6a 60%, #c8d8b0 100%);
  filter: none;
}
.slider__label {
  position: absolute;
  top: 16px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  padding: 5px 12px;
  background: rgba(0,0,0,.35);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.slider__label--left  { left: 16px; z-index: 3; }
.slider__label--right { right: 16px; z-index: 3; }
.slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
}
.slider__handle-bar {
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,.8);
  position: absolute;
}
.slider__handle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 1;
  background: var(--gold);
}
.slider__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
}
.slider__stat {
  text-align: center;
  font-size: .82rem;
  color: var(--ink-muted);
}
.slider__stat span {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

/* ── Process ─────────────────────────────────────────────── */
.process {
  padding: 100px 0;
  background: var(--sand);
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin-top: 64px;
}
.process__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 16px;
}
.process__step h3 { margin-bottom: 10px; }
.process__step p  { color: var(--ink-muted); font-size: .95rem; }

/* ── Features ────────────────────────────────────────────── */
.features {
  padding: 120px 0;
  background: var(--cream);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--sand-dark);
  border: 1px solid var(--sand-dark);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 48px;
}
.feat-card {
  background: var(--cream);
  padding: 44px 36px;
  transition: background .2s;
}
.feat-card:hover { background: var(--sand); }
.feat-card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.feat-card__icon svg { width: 100%; height: 100%; }
.feat-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feat-card p  { color: var(--ink-muted); font-size: .9rem; line-height: 1.65; }

/* ── Emotional ───────────────────────────────────────────── */
.emotional {
  position: relative;
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
}
.emotional__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2a1f1a 0%, #3d2e20 50%, #1a1614 100%);
}
.emotional blockquote.emotional__quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 24px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.emotional__cite {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.emotional .btn { position: relative; z-index: 1; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials {
  padding: 120px 0;
  background: var(--sand);
}
.testi__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.testi__card {
  background: var(--cream);
  padding: 36px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--sand-dark);
}
.testi__card--featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: scale(1.02);
}
.testi__stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: .9rem;
}
.testi__card p  { font-size: .95rem; line-height: 1.7; opacity: .85; }
.testi__author  { margin-top: 20px; font-size: .8rem; opacity: .5; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  padding: 120px 0;
  background: var(--cream);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}
.price-card {
  padding: 44px 36px;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--r-xl);
  background: var(--cream);
  position: relative;
}
.price-card--featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.price-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-card__plan {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.price-card--featured .price-card__plan { color: var(--gold-light); }
.price-card__price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
}
.price-card__price span {
  font-size: 1.2rem;
  opacity: .5;
}
.price-card__period {
  font-size: .8rem;
  opacity: .5;
  margin-bottom: 28px;
  margin-top: 4px;
}
.price-card__features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card__features li {
  font-size: .88rem;
  padding-left: 18px;
  position: relative;
  opacity: .8;
}
.price-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: var(--sand);
}
.faq__list { margin-top: 56px; display: flex; flex-direction: column; gap: 2px; }
.faq__item {
  background: var(--cream);
  border-radius: var(--r-md);
  border: 1px solid var(--sand-dark);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__item summary {
  padding: 22px 28px;
  font-weight: 500;
  font-size: .95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 28px 22px;
  color: var(--ink-muted);
  font-size: .9rem;
  line-height: 1.7;
}
.faq__item p a { color: var(--gold-dark); text-decoration: underline; }

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta {
  padding: 120px 24px;
  text-align: center;
  background: var(--cream);
}
.final-cta h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.5rem); }
.final-cta p  { color: var(--ink-muted); margin-bottom: 36px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 80px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.footer__brand p { font-size: .88rem; line-height: 1.7; }
.footer__heading {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a { font-size: .88rem; transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem;
}

/* ── Cookie banner ───────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--ink);
  color: rgba(255,255,255,.8);
  padding: 18px 24px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease-out), opacity .4s;
}
.cookie-bar.hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie-bar__text  { font-size: .82rem; line-height: 1.5; }
.cookie-bar__text a { color: var(--gold-light); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Forms (shared) ──────────────────────────────────────── */
.form-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
  background: var(--cream);
}
.form-card {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: var(--r-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
}
.form-card__logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-card__title {
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.form-card__sub {
  font-size: .85rem;
  color: var(--ink-muted);
  margin-bottom: 36px;
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.15);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.form-check input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.form-check label {
  font-size: .82rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.form-check a { color: var(--gold-dark); text-decoration: underline; }
.form-error {
  background: #fef0f0;
  border: 1px solid #fcc;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: .85rem;
  color: #c00;
  margin-bottom: 18px;
}
.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: .85rem;
  color: #166534;
  margin-bottom: 18px;
}
.form-footer {
  text-align: center;
  font-size: .82rem;
  color: var(--ink-muted);
  margin-top: 20px;
}
.form-footer a { color: var(--gold-dark); font-weight: 500; }
.form-divider {
  border: none;
  border-top: 1px solid var(--sand-dark);
  margin: 24px 0;
}

/* ── Dashboard ───────────────────────────────────────────── */
.dash {
  min-height: 100svh;
  background: var(--cream);
  display: grid;
  grid-template-columns: 240px 1fr;
}
.dash__sidebar {
  background: var(--ink);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100svh;
  overflow-y: auto;
}
.dash__sidebar-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 40px;
  padding: 0 8px;
}
.dash__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.dash__nav a {
  padding: 11px 12px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .2s;
}
.dash__nav a:hover, .dash__nav a.active {
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.dash__nav a.active { color: var(--gold-light); }
.dash__sidebar-footer {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}
.dash__main {
  padding: 40px 48px;
  overflow-y: auto;
}
.dash__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.dash__greeting {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
}
.dash__greeting small {
  display: block;
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--ink-muted);
  font-weight: 400;
}

/* Storage bar */
.storage-bar {
  background: var(--sand-dark);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
  margin-top: 6px;
}
.storage-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  border-radius: 100px;
  transition: width .6s var(--ease-out);
}

/* Upload zone */
.upload-zone {
  min-height: 200px;
  border: 2px dashed var(--sand-dark);
  border-radius: var(--r-xl);
  padding: 64px 32px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  background: var(--white);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--gold);
  background: rgba(201,169,110,.04);
}
.upload-zone__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  color: var(--gold);
}
.upload-zone__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.upload-zone__sub { font-size: .85rem; color: var(--ink-muted); }

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.photo-card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--sand-dark);
  background: var(--white);
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.photo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.photo-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--sand);
}
.photo-card__info {
  padding: 12px 14px;
}
.photo-card__name {
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-card__status {
  font-size: .72rem;
  color: var(--ink-muted);
  margin-top: 3px;
}
.photo-card__status.done    { color: #166534; }
.photo-card__status.processing { color: var(--gold-dark); }

/* Processing animation */
.processing-modal {
  position: fixed; inset: 0;
  background: rgba(26,22,20,.8);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.processing-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 60px 56px;
  max-width: 420px;
  width: 90%;
  text-align: center;
}
.processing-spinner {
  width: 56px;
  height: 56px;
  border: 2px solid var(--sand-dark);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 28px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing-step {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
  min-height: 2em;
}
.processing-progress {
  margin-top: 24px;
  background: var(--sand-dark);
  border-radius: 100px;
  height: 3px;
  overflow: hidden;
}
.processing-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  border-radius: 100px;
  animation: progressAnim 4s ease-out forwards;
}
@keyframes progressAnim { from{width:0%} to{width:95%} }

/* ── Privacy/Legal pages ─────────────────────────────────── */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal-page h1 {
  font-size: 2.8rem;
  margin-bottom: 8px;
}
.legal-page .legal-date {
  font-size: .82rem;
  color: var(--ink-muted);
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1.4rem;
  margin: 36px 0 10px;
}
.legal-page p, .legal-page li {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page a { color: var(--gold-dark); text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash__sidebar { display: none; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .hero__inner { padding: 100px 24px 60px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .form-card { padding: 36px 28px; }
  .slider-container { border-radius: var(--r-lg); }
  .slider__stats { gap: 24px; }
  .dash__main { padding: 24px 20px; }
  .price-card--featured { transform: none; }
  .testi__card--featured { transform: none; }
  .cookie-bar { flex-direction: column; }
}

/* ── Animations ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: none; }
