/* ============================================================
   ROZENSOFT — Design System
   ============================================================ */

:root {
  /* Brand */
  --navy-900: #0a1a36;
  --navy-800: #0e2a55;
  --navy-700: #163b73;
  --navy-600: #1f4d94;

  /* Accent — electric blue */
  --accent-500: #2b55ff;
  --accent-600: #1f44e8;
  --accent-400: #5779ff;
  --accent-100: #e6ecff;
  --accent-50:  #f1f4ff;

  /* Productivity green for status pills */
  --green-500: #16a06b;
  --green-100: #d8f3e4;

  /* Ink / neutrals */
  --ink-900: #0a0f1e;
  --ink-700: #1f2638;
  --ink-500: #5b6478;
  --ink-400: #8a93a6;
  --ink-300: #b8bfcd;

  /* Surfaces */
  --bg:         #f7f8fb;
  --bg-soft:    #f1f3f8;
  --surface:    #ffffff;
  --surface-2:  #fcfcfe;
  --line:       #e7e9ee;
  --line-soft:  #eef0f5;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(14,42,85,0.04), 0 1px 1px rgba(14,42,85,0.03);
  --shadow-md:  0 4px 16px -4px rgba(14,42,85,0.08), 0 2px 6px -2px rgba(14,42,85,0.05);
  --shadow-lg:  0 24px 48px -16px rgba(14,42,85,0.18), 0 8px 18px -10px rgba(14,42,85,0.10);
  --shadow-xl:  0 40px 80px -24px rgba(14,42,85,0.22), 0 12px 28px -12px rgba(14,42,85,0.12);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ===================== Layout ===================== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--navy-900); color: #e6ebf5; }

/* ===================== Eyebrow / labels ===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-500);
  padding: 6px 10px;
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
  border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-500); }

/* ===================== Headings ===================== */
.h-display {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0;
  text-wrap: balance;
}
.h-section {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0 0 18px;
  text-wrap: balance;
}
.h-section em {
  font-style: normal;
  color: var(--accent-500);
}
.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-500);
  max-width: 60ch;
  margin: 0;
  text-wrap: pretty;
}
.lede--center { margin-inline: auto; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  letter-spacing: -0.005em;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, var(--shadow-md);
}
.btn--primary:hover { background: #06122a; box-shadow: var(--shadow-lg); }
.btn--accent {
  background: var(--accent-500);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(43,85,255,0.55);
}
.btn--accent:hover { background: var(--accent-600); box-shadow: 0 10px 22px -8px rgba(43,85,255,0.6); }
.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface); border-color: #cdd3df; }
.btn--ghost-dark {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.btn--ghost-dark:hover { background: rgba(255,255,255,0.1); }
.btn--lg { padding: 16px 26px; font-size: 16px; border-radius: 14px; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===================== Cards ===================== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card--pad-lg { padding: 28px; }
.card--pad-xl { padding: 32px; }
.card-interactive {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #d5dae6;
}

/* ===================== Reveal animation ===================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
  will-change: transform, opacity;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }
.reveal[data-delay="4"] { transition-delay: .24s; }
.reveal[data-delay="5"] { transition-delay: .3s; }
.reveal[data-delay="6"] { transition-delay: .36s; }

/* ===================== Nav ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,248,251,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  transition: height .3s ease;
}
.nav.is-scrolled .nav__inner {
  height: 64px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--navy-900);
  font-size: 19px; letter-spacing: -0.02em;
  text-decoration: none;
}
.nav__brand img {
  height: 40px; width: auto;
  transition: height .3s ease;
}
.nav.is-scrolled .nav__brand img {
  height: 32px;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  color: var(--ink-700); text-decoration: none; font-size: 14px;
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--navy-900); }
.nav__cta { display: flex; gap: 10px; }
@media (max-width: 880px) {
  .nav__links { display: none; }
}

/* ===================== Hero ===================== */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero__copy { max-width: 580px; }
.hero__title { margin: 22px 0 22px; }
.hero__title em { font-style: normal; color: var(--accent-500); }
.hero__sub {
  font-size: 18.5px; line-height: 1.6; color: var(--ink-500);
  margin: 0 0 32px; text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__reassure {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-400);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.hero__reassure .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-700);
}
.hero__reassure .check { color: var(--green-500); }

/* ===================== Hero dashboard ===================== */
.dash-wrap {
  position: relative;
  isolation: isolate;
}
.dash-glow {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background:
    radial-gradient(60% 40% at 70% 30%, rgba(43,85,255,0.18), transparent 60%),
    radial-gradient(50% 50% at 20% 80%, rgba(14,42,85,0.10), transparent 60%);
  filter: blur(20px);
  z-index: -1;
}
.dash {
  background: linear-gradient(180deg, #ffffff, #fafbfe);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-xl);
  padding: 18px;
  position: relative;
}
.dash__chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 16px;
}
.dash__dots { display: flex; gap: 5px; }
.dash__dot { width: 9px; height: 9px; border-radius: 50%; background: #e3e6ee; }
.dash__title {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-400);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.dash__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.dash-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px;
}
.dash-card__label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink-400);
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
.dash-card__value {
  font-size: 26px; font-weight: 600; color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.dash-card__delta {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--green-500);
  margin-left: 8px;
}
.dash-chart { grid-column: 1 / 2; grid-row: 2 / 3; min-height: 140px; }
.dash-side  { grid-column: 2 / 3; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 12px; }

.dash-task {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f7f8fb;
  border: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-700);
  transition: background .4s ease, color .4s ease;
}
.dash-task.is-done {
  background: var(--green-100);
  border-color: #b9e5cb;
  color: #0e6b46;
  text-decoration: line-through;
  text-decoration-thickness: 1.2px;
}
.dash-task__tag {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 5px;
  background: #fff; color: var(--ink-500); border: 1px solid var(--line);
}
.dash-task.is-done .dash-task__tag {
  background: var(--green-500); color: #fff; border-color: var(--green-500);
}

.dash-floats { position: absolute; pointer-events: none; inset: 0; }
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px;
  color: var(--navy-900);
  animation: floatY 5s ease-in-out infinite;
}
.float-card__icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--accent-50); color: var(--accent-500);
}
.float-card--a { top: -16px; left: -28px; animation-delay: -1s; }
.float-card--b { bottom: 30px; right: -28px; animation-delay: -3s; }

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* mini sparkline animation */
.spark-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLine 2.4s ease-out forwards;
  animation-delay: .4s;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
.spark-area { opacity: 0; animation: fadeIn 1s ease .8s forwards; }
@keyframes fadeIn { to { opacity: .7; } }

/* ===================== Trustbar ===================== */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--surface);
}
.trustbar__inner {
  display: flex; align-items: center; gap: 32px;
  justify-content: space-between;
}
.trustbar__label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-400);
}
.trustbar__logos {
  display: flex; gap: 32px; flex-wrap: wrap;
  align-items: center; justify-content: flex-end;
}

/* ===================== 7-day Timeline ===================== */
.timeline-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 1000px) { .timeline-wrap { grid-template-columns: 1fr; } }

.timeline {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.timeline__bar {
  position: absolute; top: 28px; bottom: 28px; left: 56px; width: 2px;
  background: var(--line);
  border-radius: 2px;
}
.timeline__progress {
  position: absolute; top: 28px; left: 56px; width: 2px;
  background: linear-gradient(180deg, var(--accent-500), var(--navy-700));
  border-radius: 2px;
  height: 0;
  transition: height 2s cubic-bezier(.4, .8, .3, 1);
}
.timeline.is-in .timeline__progress { height: calc(100% - 56px); }

.timeline__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 14px 0;
  position: relative;
  opacity: 0.35;
  transform: translateX(-4px);
  transition: opacity .6s ease, transform .6s ease;
}
.timeline.is-in .timeline__step { opacity: 1; transform: translateX(0); }
.timeline.is-in .timeline__step[data-d="1"] { transition-delay: .3s; }
.timeline.is-in .timeline__step[data-d="2"] { transition-delay: .6s; }
.timeline.is-in .timeline__step[data-d="3"] { transition-delay: .9s; }
.timeline.is-in .timeline__step[data-d="4"] { transition-delay: 1.2s; }
.timeline.is-in .timeline__step[data-d="5"] { transition-delay: 1.5s; }

.timeline__day {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-500);
  display: block;
  margin-bottom: 6px;
}
.timeline__node {
  position: absolute;
  left: 47px; top: 22px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  z-index: 2;
  transition: background .4s ease, border-color .4s ease;
}
.timeline.is-in .timeline__node { background: var(--accent-500); border-color: var(--accent-500); }
.timeline__step:last-child .timeline__node { background: var(--green-500); border-color: var(--green-500); box-shadow: 0 0 0 6px rgba(22,160,107,0.16); }
.timeline__title {
  font-size: 18px; font-weight: 600; color: var(--navy-900);
  letter-spacing: -0.01em; margin: 2px 0 4px;
}
.timeline__desc { font-size: 14px; color: var(--ink-500); margin: 0; }
.timeline__step[data-d="2"] .timeline__title::after {
  content: "★ MAQUETTE";
  margin-left: 10px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--accent-500);
  letter-spacing: 0.08em;
  vertical-align: middle;
}

/* ===================== Offer benefits grid ===================== */
.bgrid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 1000px) { .bgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .bgrid { grid-template-columns: 1fr; } }
.bcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d5dae6;
}
.bcard__num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent-500); letter-spacing: 0.1em;
}
.bcard__title {
  font-size: 17px; font-weight: 600; color: var(--navy-900);
  letter-spacing: -0.01em; margin: 10px 0 8px;
}
.bcard__desc { font-size: 14px; line-height: 1.55; color: var(--ink-500); margin: 0; }

.reassure-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.reassure-row .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px;
  font-size: 13px; color: var(--ink-700);
}
.reassure-row .pill svg { color: var(--green-500); }

/* ===================== Problem cards ===================== */
.pcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d5dae6;
}
.pcard__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-50); color: var(--accent-500);
  display: grid; place-items: center;
}
.pcard__title { font-size: 17px; font-weight: 600; color: var(--navy-900); margin: 0; letter-spacing: -0.01em; }
.pcard__desc { font-size: 14px; line-height: 1.55; color: var(--ink-500); margin: 0; }

/* ===================== Solution blocks ===================== */
.sgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 1000px) { .sgrid { grid-template-columns: 1fr; } }
.sblock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.sblock:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #c6cee0;
}
.sblock__icon-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.sblock__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy-900); color: #fff;
  display: grid; place-items: center;
  transition: transform .3s ease;
}
.sblock:hover .sblock__icon { transform: rotate(-6deg) scale(1.04); }
.sblock__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--accent-500); text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; background: var(--accent-50);
  border: 1px solid var(--accent-100);
}
.sblock__title {
  font-size: 22px; font-weight: 600; color: var(--navy-900);
  letter-spacing: -0.018em; margin: 0 0 10px;
}
.sblock__desc { font-size: 15px; line-height: 1.55; color: var(--ink-500); margin: 0 0 18px; }
.sblock__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sblock__list li {
  font-size: 13px; color: var(--ink-700);
  padding-left: 18px; position: relative;
}
.sblock__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; background: var(--accent-500);
  border-radius: 50%;
}
.sblock__preview {
  margin-top: 20px;
  height: 100px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, #fafbfe, #f3f5fb);
  position: relative;
  overflow: hidden;
}

/* ===================== Workflow ===================== */
.workflow {
  background: var(--navy-900);
  color: #e6ebf5;
  border-radius: 28px;
  padding: 56px;
  position: relative; overflow: hidden;
}
.workflow::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(43,85,255,0.25), transparent 60%),
    radial-gradient(50% 60% at 20% 80%, rgba(43,85,255,0.12), transparent 60%);
  pointer-events: none;
}
.workflow > * { position: relative; }
.workflow__head { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.workflow__head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08; letter-spacing: -0.025em;
  font-weight: 600; color: #fff; margin: 12px 0 0;
  max-width: 22ch;
}
.workflow__head p {
  font-size: 16px; line-height: 1.6;
  color: #b9c2d6; max-width: 44ch; margin: 12px 0 0;
}
.workflow-canvas {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 36px 24px;
  min-height: 260px;
}
.wf-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
}
@media (max-width: 880px) { .wf-nodes { grid-template-columns: 1fr 1fr; } }
.wf-node {
  background: #fff;
  color: var(--navy-900);
  padding: 14px 14px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.4);
}
.wf-node__icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent-50); color: var(--accent-500);
  display: grid; place-items: center; margin-bottom: 8px;
}
.wf-node__title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.wf-node__sub {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-400); margin-top: 2px;
}
.wf-wire {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 60px; transform: translateY(-50%);
  z-index: 1; pointer-events: none;
}
.wf-foot {
  margin-top: 28px; font-size: 16px; color: #b9c2d6;
  display: flex; align-items: center; gap: 12px;
}
.wf-foot strong { color: #fff; font-weight: 500; }

/* ===================== Benefits ===================== */
.bgrid6 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .bgrid6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .bgrid6 { grid-template-columns: 1fr; } }
.b6 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; gap: 12px;
}
.b6:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d5dae6; }
.b6__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-50); color: var(--accent-500);
  display: grid; place-items: center;
  transition: transform .35s ease;
}
.b6:hover .b6__icon { transform: scale(1.08) rotate(-3deg); }
.b6 h4 { font-size: 16px; font-weight: 600; color: var(--navy-900); margin: 0; letter-spacing: -0.01em; }
.b6 p { font-size: 14px; line-height: 1.55; color: var(--ink-500); margin: 0; }

/* ===================== Method ===================== */
.method {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  margin-top: 56px;
  position: relative;
}
@media (max-width: 1080px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .method { grid-template-columns: 1fr; } }
.mstep {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  position: relative;
}
.mstep--featured {
  background: linear-gradient(180deg, #fff, #f3f6ff);
  border-color: var(--accent-100);
  box-shadow: 0 14px 28px -16px rgba(43,85,255,0.4);
}
.mstep--featured::after {
  content: "OFFRE GRATUITE";
  position: absolute; top: -10px; right: 14px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em;
  background: var(--accent-500); color: #fff;
  padding: 4px 8px; border-radius: 4px;
}
.mstep__num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent-500);
  letter-spacing: 0.08em;
}
.mstep__title { font-size: 17px; font-weight: 600; color: var(--navy-900); margin: 10px 0 6px; letter-spacing: -0.01em; }
.mstep__desc { font-size: 13.5px; line-height: 1.55; color: var(--ink-500); margin: 0; }

/* ===================== Examples grid (modules) ===================== */
.mods {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 1080px) { .mods { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .mods { grid-template-columns: repeat(2, 1fr); } }
.mod {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.mod:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-100);
}
.mod__icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--navy-900); color: #fff;
  display: grid; place-items: center;
}
.mod__title { font-size: 14px; font-weight: 600; color: var(--navy-900); margin: 0; letter-spacing: -0.005em; }
.mod__desc { font-size: 12.5px; color: var(--ink-500); margin: 0; line-height: 1.5; }
.mod__plus {
  position: absolute; right: 12px; top: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 12px; color: var(--ink-400);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.mod:hover .mod__plus { background: var(--accent-500); color: #fff; border-color: var(--accent-500); }

/* ===================== Compare slider ===================== */
.compare-wrap {
  position: relative;
  margin-top: 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  user-select: none;
}
.compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 460px;
}
.compare__pane {
  position: absolute; inset: 0;
  padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
}
.compare__pane--before {
  background:
    repeating-linear-gradient(135deg, #fdfdff 0 16px, #f4f5fa 16px 32px);
}
.compare__pane--after {
  background: linear-gradient(180deg, #f7faff, #fff);
  clip-path: inset(0 0 0 var(--split, 50%));
}
.compare__header {
  display: flex; justify-content: space-between; align-items: center;
}
.compare__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
}
.compare__pane--before .compare__label { background: #fbecec; color: #b04141; border: 1px solid #f3d6d6; }
.compare__pane--after  .compare__label { background: var(--green-100); color: #0e6b46; border: 1px solid #b9e5cb; }

.before-chaos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  flex: 1; align-content: center;
  transform: rotate(-1deg);
}
.chaos-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-700);
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.chaos-item:nth-child(2n)  { transform: rotate(2deg) translateY(4px); }
.chaos-item:nth-child(3n)  { transform: rotate(-3deg) translateY(-3px); }
.chaos-item:nth-child(5n)  { transform: rotate(1.5deg); }
.chaos-item .x { color: #c25656; font-weight: 600; }

.after-clean {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.after-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.after-stat {
  border: 1px solid var(--line-soft);
  border-radius: 10px; padding: 10px;
}
.after-stat__l {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em;
  color: var(--ink-400); text-transform: uppercase;
}
.after-stat__v { font-size: 18px; font-weight: 600; color: var(--navy-900); margin-top: 4px; font-variant-numeric: tabular-nums; }
.after-rows { display: grid; gap: 6px; align-content: start; }
.after-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8faff;
  border: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--ink-700);
}
.after-row .check { color: var(--green-500); }

.compare__handle {
  position: absolute; top: 0; bottom: 0;
  width: 2px; background: var(--navy-900);
  left: var(--split, 50%);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 5;
}
.compare__handle::before {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-lg);
}
.compare__handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%; left: 50%;
  color: #fff; font-size: 16px; letter-spacing: 1px;
  transform: translate(-50%, -50%);
  z-index: 6; pointer-events: none;
}
.compare__finale {
  margin-top: 24px;
  font-size: 18px; color: var(--ink-700);
  text-align: center; text-wrap: balance;
}
.compare__finale em { font-style: normal; color: var(--navy-900); font-weight: 600; }

/* ===================== CTA Final ===================== */
.ctaFinal {
  background: linear-gradient(135deg, var(--navy-900) 0%, #0c2253 60%, #11367b 100%);
  color: #fff;
  border-radius: 28px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
@media (max-width: 980px) { .ctaFinal { grid-template-columns: 1fr; padding: 48px 32px; } }
.ctaFinal::before {
  content: ""; position: absolute; inset: -20% -20% auto auto;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(43,85,255,0.35), transparent 70%);
  pointer-events: none;
}
.ctaFinal h2 {
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.06; letter-spacing: -0.028em; font-weight: 600;
  margin: 12px 0 18px; text-wrap: balance;
}
.ctaFinal p {
  font-size: 17px; line-height: 1.6;
  color: #c8d0e3;
  margin: 0 0 28px;
  max-width: 50ch;
}
.ctaFinal__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.ctaFinal__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ctaFinal__pills .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px; padding: 6px 12px;
  font-size: 12.5px; color: #dbe2f0;
}
.ctaFinal__pills .check { color: #6ddc9d; }

.cta-mock {
  position: relative;
}
.cta-mock__layer {
  position: absolute; inset: 0;
  background: #fff; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  padding: 18px;
  transform-origin: center center;
}
.cta-mock__layer--wire { transform: rotate(-4deg) translate(-22px, 14px); opacity: .55; }
.cta-mock__layer--mid  { transform: rotate(-1deg) translate(-8px, 6px); opacity: .8; }
.cta-mock__layer--top  { position: relative; }

/* ===================== Footer ===================== */
.footer {
  padding: 80px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-900); font-size: 19px; letter-spacing: -0.02em;}
.footer__brand img { height: 40px; width: auto; }
.footer__tag { color: var(--ink-500); font-size: 14px; margin: 12px 0 20px; max-width: 30ch; }
.footer h5 {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-400); margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a {
  color: var(--ink-700); font-size: 14px; text-decoration: none;
  transition: color .15s ease;
}
.footer ul a:hover { color: var(--navy-900); }
.footer__bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-400);
  letter-spacing: 0.04em;
}

/* ===================== Big quote / strong-line ===================== */
.bigline {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15; letter-spacing: -0.025em;
  font-weight: 500; color: var(--navy-900);
  text-wrap: balance;
}
.bigline em { font-style: normal; color: var(--accent-500); }

/* ===================== Section header (centered + eyebrow) ===================== */
.sec-head {
  display: grid; gap: 16px; margin-bottom: 56px;
  max-width: 880px;
}
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head .lede { max-width: 65ch; }

/* ===================== Workflow wire animation ===================== */
.wf-wire path {
  stroke-dasharray: 6 8;
  animation: dashFlow 1.6s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -28; } }
.wf-wire .pulse {
  fill: var(--accent-400);
  filter: drop-shadow(0 0 6px rgba(87,121,255,0.7));
}

/* ===================== Number ticker ===================== */
.kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 40px;
}
@media (max-width: 760px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.kpi__v { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.kpi__l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-400); text-transform: uppercase; margin-top: 4px; }
