/* ═══════════════════════════════════════════════════════════
   Dualme Landing — CSS
   Style: Brutalist Editorial (Space Grotesk, #F0EDE8, rose accents)
   ═══════════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #F0EDE8;
  color: #0a0a0a;
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:        #F0EDE8;
  --bg-dark:   #0a0a0a;
  --rose:      #edcbc9;
  --rose-dark: #d4a09d;
  --ink:       #0a0a0a;
  --ink-mid:   rgba(10,10,10,0.45);
  --ink-light: rgba(10,10,10,0.22);
  --nav-h:     72px;
  --radius:    0px;
  --max-w:     1200px;
  --pad:       2rem;
}

/* ── TYPOGRAPHY BASE ───────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
p { line-height: 1.65; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── LAYOUT HELPERS ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: 6rem var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* alternanza sfondo su sezioni pari */
#showcase,
#pricing,
#contact {
  background: #e8e4de;
}
#showcase .section,
#pricing .section,
#contact .section {
  background: transparent;
}

/* full-bleed sections */
#showcase,
#solutions,
#use-cases,
#benefits,
#pricing,
#faq,
#contact {
  padding-left: 0;
  padding-right: 0;
}
#showcase > *,
#solutions > *,
#use-cases > *,
#benefits > *,
#pricing > *,
#faq > *,
#contact > * {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ── SECTION LABELS ────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  background: var(--ink);
  padding: 0.25rem 0.6rem;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  max-width: 480px;
  line-height: 1.65;
  font-weight: 400;
}

/* ── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-lg { padding: 1.05rem 2.4rem; font-size: 0.85rem; }
.btn-block { display: block; text-align: center; width: 100%; margin-top: 1.5rem; }

.btn-glow {
  background: var(--ink);
  color: var(--bg);
}
.btn-glow:hover { background: var(--rose); color: var(--ink); }

.btn-glass {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-glass:hover { background: var(--ink); color: var(--bg); }

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

.btn-light {
  background: var(--bg);
  color: var(--ink);
  border: 2px solid var(--bg);
}
.btn-light:hover { background: var(--rose); border-color: var(--rose); }


/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo { flex-shrink: 0; }
.nav-logo-img { height: 32px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: 2rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: var(--ink);
  color: var(--bg);
}
.nav-links a.active {
  background: var(--rose);
  color: var(--ink);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-login {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-login:hover { color: var(--ink); }

.nav-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  padding: 0.55rem 1.2rem;
  transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--rose); color: var(--ink); }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: all 0.25s ease;
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
  z-index: 899;
  flex-direction: column;
  padding: 1.5rem var(--pad);
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--ink-light);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--ink); }
.nav-mobile .nav-cta {
  margin-top: 1rem;
  border-bottom: none;
  padding: 0.875rem 0;
}


/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
#home {
  padding-top: calc(var(--nav-h) + 0px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  border-bottom: 2px solid var(--ink);
}

.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  background: var(--ink);
  padding: 0.25rem 0.6rem;
}

.hero-index {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-mid);
  letter-spacing: 0.05em;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--pad);
}

/* Visual: colonna 1, occupa entrambe le righe */
.hero-visual {
  grid-column: 1;
  grid-row: 1 / 3;
  border-right: 2px solid var(--ink);
  overflow: hidden;
  min-height: 480px;
}

.hero-carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.77,0,0.175,1);
}
.hero-carousel-slide {
  min-width: 100%;
  height: 100%;
}
.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Titolo grande: colonne 2-3, riga 1 */
.hero-title-col {
  grid-column: 2 / 4;
  grid-row: 1;
  padding-top: 2rem;
  padding-left: 2.5rem;
}

.hero-title {
  font-size: clamp(4.5rem, 10vw, 9.5rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  display: block;
}
.hero-title-rose {
  color: var(--rose);
  display: block;
}

/* Subtitle + bottoni: colonne 2-3, riga 2 */
.hero-content {
  grid-column: 2 / 4;
  grid-row: 2;
  padding: 2rem 0 2rem 2.5rem;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.hero-sub {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  line-height: 1.7;
  font-weight: 400;
  max-width: 400px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.hero-carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.77,0,0.175,1);
}
.hero-carousel-slide {
  min-width: 100%;
  height: 100%;
}
.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}


/* ═══════════════════════════════════════════════════════════
   BEFORE / AFTER SHOWCASE
   ═══════════════════════════════════════════════════════════ */
#showcase {
  background: #e8e4de;
  padding: 6rem 0;
}

.showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) 3rem;
  border-bottom: 2px solid var(--ink);
}
.showcase-head .section-title { margin-bottom: 0; }

/* ── INTERACTIVE DEMO ──────────────────────────────── */
.demo-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
}

/* Preview */
.demo-preview {
  border-right: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: sticky;
  top: var(--nav-h);
  align-self: start;
}

.demo-media {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background: var(--ink-light);
  border-bottom: 2px solid var(--ink);
}
.demo-media img,
.demo-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.4s ease;
}
.demo-media img.fade-out,
.demo-media video.fade-out { opacity: 0; }

.demo-step-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  padding: 0.25rem 0.6rem;
}

.demo-reset {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem var(--pad);
  width: 100%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.demo-reset:hover { color: var(--ink); }

/* Feature list */
.demo-features {
  display: flex;
  flex-direction: column;
}

.demo-features-label {
  padding: 1.25rem var(--pad);
  border-bottom: 1.5px solid var(--ink-light);
}
.demo-features-label span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.demo-feature-btn {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
  padding: 1.5rem var(--pad);
  border: none;
  border-bottom: 1.5px solid var(--ink-light);
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  transition: background 0.15s;
  position: relative;
}
.demo-feature-btn:last-child { border-bottom: none; }
.demo-feature-btn:hover { background: rgba(237,203,201,0.15); }

.demo-feature-btn.active {
  background: var(--ink);
}
.demo-feature-btn.active .demo-feature-num,
.demo-feature-btn.active .demo-feature-name,
.demo-feature-btn.active .demo-feature-desc,
.demo-feature-btn.active .demo-feature-arrow { color: var(--bg); }
.demo-feature-btn.active .demo-feature-desc { opacity: 0.5; }

.demo-feature-btn.done {
  background: rgba(10,10,10,0.03);
}
.demo-feature-btn.done .demo-feature-name { text-decoration: line-through; opacity: 0.4; }
.demo-feature-btn.done .demo-feature-num { color: var(--rose); }

.demo-feature-btn.locked {
  opacity: 0.3;
  cursor: not-allowed;
}
.demo-feature-btn.locked:hover { background: none; }

.demo-feature-num {
  grid-column: 1;
  grid-row: 1 / 3;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-mid);
  align-self: center;
}

.demo-feature-name {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.demo-feature-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.75rem;
  color: var(--ink-mid);
  font-weight: 400;
  margin-top: 0.1rem;
}

.demo-feature-arrow {
  grid-column: 3;
  grid-row: 1 / 3;
  font-size: 1rem;
  color: var(--ink-mid);
  align-self: center;
  transition: transform 0.2s;
}
.demo-feature-btn:hover .demo-feature-arrow { transform: translateX(4px); }


/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS — 3 STEP
   ═══════════════════════════════════════════════════════════ */
#solutions {
  padding: 0;
}

.solutions-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--pad) 0;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2rem;
}

.how-steps {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--ink);
}

.how-step:nth-child(even) .how-step-media { order: 2; }
.how-step:nth-child(even) .how-step-text  { order: 1; border-right: 2px solid var(--ink); border-left: none; }

.how-step-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink-light);
}
.how-step-media video,
.how-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-step-text {
  padding: 3.5rem var(--pad);
  border-left: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.how-step-num {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--ink-light);
  display: block;
  margin-bottom: 0.5rem;
}

.how-step-text h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.how-step-text h3 em {
  font-style: normal;
  color: var(--ink-mid);
  font-weight: 300;
  display: block;
}
.how-step-text p {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  font-weight: 400;
  max-width: 340px;
}


/* ═══════════════════════════════════════════════════════════
   USE CASES
   ═══════════════════════════════════════════════════════════ */
#use-cases {
  padding: 6rem 0 0;
}

.use-cases-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) 2.5rem;
  border-bottom: 2px solid var(--ink);
}

.uc-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-top: none;
}
.uc-grid.uc-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.uc-card {
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  transition: background 0.2s;
  position: relative;
}
.uc-card:last-child { border-right: none; }

.uc-card.large { grid-row: span 1; }

.uc-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: var(--ink-light);
  border-bottom: 2px solid var(--ink);
}
.uc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}
.uc-img-hidden { opacity: 0; position: absolute; inset: 0; pointer-events: none; }

.uc-inner-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 10;
}
.uc-inner-dot {
  width: 5px; height: 5px;
  background: rgba(240,237,232,0.5);
  transition: background 0.3s;
}
.uc-inner-dot.active { background: var(--bg); }

.uc-content {
  padding: 1.75rem var(--pad);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.uc-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  background: var(--ink);
  padding: 0.2rem 0.5rem;
  align-self: flex-start;
}

.uc-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.uc-content p {
  font-size: 0.875rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

.uc-cta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-top: auto;
  padding-top: 0.75rem;
  display: block;
  transition: color 0.2s;
}
.uc-card:hover .uc-cta { color: var(--ink); }
.uc-card:hover { background: rgba(237,203,201,0.12); }


/* ═══════════════════════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════════════════════ */
#benefits {
  padding: 6rem 0;
}

.benefits-outer-head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) 3rem;
  border-bottom: 2px solid var(--ink);
}

.benefits-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: none;
}

.benefits-content {
  padding: 3rem var(--pad);
  border-right: 2px solid var(--ink);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1.5px solid var(--ink-light);
}
.benefit-item:last-child { border-bottom: none; }

.benefit-icon-wrap {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink-light);
}
.benefit-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink);
}

.benefit-item h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.benefit-item p {
  font-size: 0.875rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

.benefits-visual {
  padding: 3rem var(--pad);
}

.compare-table {
  border: 2px solid var(--ink);
}

.compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--ink);
}
.compare-col-label {
  padding: 0.75rem 1.25rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.compare-col-label.new {
  border-left: 2px solid var(--ink);
  background: var(--ink);
  color: var(--rose);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1.5px solid var(--ink-light);
}
.compare-row:last-child { border-bottom: none; }

.compare-old,
.compare-new {
  padding: 0.875rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
}
.compare-old {
  color: var(--ink-mid);
}
.compare-old s { text-decoration-color: var(--rose-dark); }
.compare-new {
  border-left: 2px solid var(--ink);
  font-weight: 700;
}


/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
#pricing {
  background: #e8e4de;
  padding: 6rem 0;
}

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) 2.5rem;
  border-bottom: 2px solid var(--ink);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.toggle-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.toggle-label.active { color: var(--ink); }

.toggle-switch {
  width: 44px; height: 24px;
  background: var(--ink-light);
  border: 1.5px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.toggle-switch.on { background: var(--ink); }
.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--bg);
  transition: transform 0.2s;
}
.toggle-switch.on .toggle-thumb { transform: translateX(20px); background: var(--rose); }

.save-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--rose);
  color: var(--ink);
  padding: 0.25rem 0.6rem;
  display: none;
}
.save-badge.visible { display: inline-block; }

.pricing-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}

.pricing-card {
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: relative;
  background: var(--bg);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
}
.pricing-card:last-child { border-right: none; }
.pricing-card.featured {
  background: var(--bg);
  color: var(--ink);
}

.pricing-card-inner {
  padding: 2.5rem var(--pad);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.popular-badge {
  position: absolute;
  top: -1px; right: var(--pad);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--rose);
  color: var(--ink);
  padding: 0.2rem 0.55rem;
}

.pricing-plan-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.5;
}

.pricing-price {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: inherit;
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  margin-top: 0.25rem;
}
.pricing-price .currency {
  font-size: 1.1rem;
  font-weight: 500;
}
.pricing-price.custom {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.pricing-price .period {
  font-size: 0.7rem;
  font-weight: 400;
  color: inherit;
  opacity: 0.5;
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 0.8125rem;
  color: inherit;
  opacity: 0.55;
  line-height: 1.55;
}

.pricing-annual {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rose);
  min-height: 1.1em;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex: 1;
}
.pricing-features li {
  font-size: 0.8rem;
  color: inherit;
  opacity: 0.75;
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}
.pricing-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: inherit;
  opacity: 0.4;
}
.pricing-features li.disabled { opacity: 0.3; }

/* ── Pro Slider ─────────────────────────────────────── */
.pro-slider-wrap {
  margin: 0.25rem 0 0.5rem;
  position: relative;
}
.pro-slider-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 12px;
  transform: translateY(-50%);
  background:
    repeating-linear-gradient(
      to right,
      var(--ink-light) 0px, var(--ink-light) 1px,
      transparent 1px, transparent calc(50% - 0.5px),
      var(--ink-light) calc(50% - 0.5px), var(--ink-light) calc(50% + 0.5px),
      transparent calc(50% + 0.5px), transparent calc(100% - 1px),
      var(--ink-light) calc(100% - 1px), var(--ink-light) 100%
    );
  pointer-events: none;
}

.pro-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--ink-light);
  outline: none;
  cursor: pointer;
  border-radius: 0;
  position: relative;
}
.pro-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px; height: 16px;
  background: var(--rose);
  cursor: pointer;
  border-radius: 0;
  border: none;
}
.pro-slider::-moz-range-thumb {
  width: 16px; height: 16px;
  background: var(--rose);
  cursor: pointer;
  border-radius: 0;
  border: none;
}

.pro-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
}
.pro-slider-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.35);
  transition: color 0.2s;
  cursor: pointer;
}
.pro-slider-label.active { color: var(--rose); }


/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
#faq {
  padding: 6rem 0;
}

.faq-head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) 2.5rem;
  border-bottom: 2px solid var(--ink);
}

.faq-grid {
  max-width: var(--max-w);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1.5px solid var(--ink-light);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--pad);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--ink-mid); }

.faq-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  position: relative;
  transition: transform 0.25s ease, background 0.2s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s;
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }

.faq-item.open .faq-icon { background: var(--ink); transform: rotate(45deg); }
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after { background: var(--bg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }

.faq-a-inner {
  padding: 0 var(--pad) 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 680px;
}


/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
#contact {
  background: #e8e4de;
  padding: 6rem 0;
}

.cta-box {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-box h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════════ */
.newsletter-section { padding: 3rem var(--pad); }
.newsletter-box {
  background: var(--ink);
  color: var(--bg);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.newsletter-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.newsletter-text p { opacity: 0.6; font-size: 0.9rem; }
.newsletter-form { display: flex; gap: 0; flex-shrink: 0; }
.newsletter-form input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  padding: 0.75rem 1.2rem;
  color: var(--bg);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  width: 280px;
}
.newsletter-form input::placeholder { opacity: 0.5; }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.5); }
.newsletter-success { color: var(--rose); font-size: 0.85rem; font-weight: 600; }
@media (max-width: 768px) {
  .newsletter-box { flex-direction: column; align-items: flex-start; padding: 2rem; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { width: 100%; border-right: 1px solid rgba(255,255,255,0.2); border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-left .section-sub { margin-top: 1.5rem; max-width: 380px; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  background: transparent;
  border: 1px solid var(--ink-light);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-color: var(--ink); }
.contact-success {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer-advanced {
  background: var(--ink);
  color: var(--bg);
  padding: 5rem var(--pad) 2rem;
  border-top: 3px solid var(--rose);
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1.5px solid rgba(240,237,232,0.12);
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--bg);
  display: block;
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--rose); }

.footer-desc {
  font-size: 0.8125rem;
  color: rgba(240,237,232,0.45);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(240,237,232,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--rose); background: rgba(237,203,201,0.1); }
.footer-social svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: rgba(240,237,232,0.5);
  stroke-width: 1.5;
  transition: stroke 0.2s;
}
.footer-social a:hover svg { stroke: var(--rose); }

.footer-links h4 {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.25rem;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links ul li a {
  font-size: 0.8125rem;
  color: rgba(240,237,232,0.45);
  transition: color 0.2s;
}
.footer-links ul li a:hover { color: var(--bg); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(240,237,232,0.3);
  letter-spacing: 0.05em;
}

.footer-lang {
  display: flex;
  gap: 0.25rem;
}
.lang-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.6rem;
  background: transparent;
  border: 1.5px solid rgba(240,237,232,0.2);
  color: rgba(240,237,232,0.35);
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active,
.lang-btn:hover {
  border-color: var(--rose);
  color: var(--rose);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card { border-right: 2px solid var(--ink); }
  .pricing-card:nth-child(2n) { border-right: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-title-col { grid-column: 1; }
  .hero-content { grid-column: 2; }
  .hero-visual { grid-column: 1 / 3; }

  .uc-grid { grid-template-columns: repeat(4, 1fr); }
  .uc-grid.uc-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .uc-card.large { grid-column: span 1; }

  .benefits-layout { grid-template-columns: 1fr; }
  .benefits-content { border-right: none; border-bottom: 2px solid var(--ink); }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --pad: 1.25rem; --nav-h: 64px; }

  /* Nav */
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .hero-visual     { grid-column: 1; grid-row: 1; border-right: none; min-height: 260px; }
  .hero-title-col  { grid-column: 1; grid-row: 2; padding-left: 0; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
  .hero-content    { grid-column: 1; grid-row: 3; padding-left: 0; border-top: 2px solid var(--ink); }
  .hero-title      { font-size: clamp(3rem, 14vw, 5.5rem); }

  /* Demo */
  .demo-grid { grid-template-columns: 1fr; }
  .demo-preview { position: static; border-right: none; border-bottom: 2px solid var(--ink); }
  .demo-media { aspect-ratio: 4/3; }

  /* Sections */
  .showcase-head, .solutions-head, .use-cases-head,
  .pricing-head, .faq-head { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* How steps */
  .how-step { grid-template-columns: 1fr; }
  .how-step .how-step-media { order: 1 !important; }
  .how-step .how-step-text  { order: 2 !important; border-left: none !important; border-right: none !important; border-top: 2px solid var(--ink); }

  /* UC */
  .uc-grid { grid-template-columns: 1fr; }
  .uc-grid.uc-grid-4 { grid-template-columns: 1fr; }
  .uc-card.large { grid-column: span 1; }
  .uc-card { border-right: none; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card { border-right: 2px solid var(--ink); }
  .pricing-card:nth-child(2n) { border-right: none; }

  /* CTA */
  .cta-box { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; width: 100%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }

  /* Section title */
  .section-title { font-size: clamp(2rem, 9vw, 3rem); }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.8rem, 16vw, 4rem); }
  .cta-box h2 { font-size: clamp(2.2rem, 12vw, 3.5rem); }
  .ba-slider { aspect-ratio: 3/4; }
  .btn-lg { padding: 0.875rem 1.5rem; }
}
