/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --ink: #070C1E;
  /* near-black navy wordmark */
  --ink-soft: #1B2238;
  --violet: #8B3FE8;
  --indigo: #5B4FE9;
  --blue: #2F6BF6;
  --grad: linear-gradient(118deg, #8B3FE8 0%, #5B4FE9 46%, #2F6BF6 100%);
  --grad-soft: linear-gradient(118deg, #8B3FE8 0%, #2F6BF6 100%);
  --paper: #FFFFFF;
  --mist: #F4F5FB;
  --mist-2: #ECEEF8;
  --line: #E3E6F2;
  --muted: #5B6280;
  --muted-2: #8A91A8;
  --deep: #0A0F26;
  /* dark sections */
  --deep-2: #121838;
  --deep-line: rgba(255, 255, 255, .10);
  --on-deep: #E9EBF6;
  --on-deep-soft: #A3A9C6;
  --shadow-sm: 0 1px 2px rgba(11, 16, 40, .06), 0 2px 6px rgba(11, 16, 40, .05);
  --shadow-md: 0 10px 30px -12px rgba(20, 18, 80, .22);
  --shadow-lg: 0 30px 70px -25px rgba(38, 32, 120, .40);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ============================================================
   Base
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 800
}

::selection {
  background: rgba(139, 63, 232, .22)
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px
}

.section {
  padding: clamp(68px, 9vw, 124px) 0;
  position: relative
}

.section--mist {
  background: var(--mist)
}

.section--deep {
  background: var(--deep);
  color: var(--on-deep)
}

/* Shared eyebrow / heading styles */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--violet);
  display: inline-block
}

.section--deep .eyebrow {
  color: #B79CF5
}

.section--deep .eyebrow::before {
  background: #B79CF5
}

.h-section {
  font-size: clamp(28px, 4vw, 46px);
  max-width: 18ch
}

.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  max-width: 60ch;
  margin-top: 18px
}

.section--deep .lead {
  color: var(--on-deep-soft)
}

.center {
  text-align: center
}

.center .eyebrow {
  justify-content: center
}

.center .h-section,
.center .lead {
  margin-left: auto;
  margin-right: auto
}

/* Gradient text */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 13px 24px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(91, 79, 233, .7)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(91, 79, 233, .85)
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm)
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: #cdd2e6
}

.btn-deep {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid var(--deep-line)
}

.btn-deep:hover {
  background: rgba(255, 255, 255, .14)
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(91, 79, 233, .5);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}

.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(20, 18, 80, .4)
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px
}

.brand {
  display: flex;
  align-items: center;
  height: 38px
}

.brand img {
  height: 30px;
  width: auto
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s
}

.nav a:hover {
  color: var(--violet)
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 12px
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center
}

.menu-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .2s
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .2s
}

.menu-toggle span::before {
  top: -6px
}

.menu-toggle span::after {
  top: 6px
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 92px) 0 clamp(64px, 8vw, 110px)
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none
}

.hero__bg::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  left: -260px;
  top: -340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 63, 232, .16), transparent 62%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -220px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 246, .14), transparent 62%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(91, 79, 233, .10) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent 80%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px 7px 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.pill b {
  background: var(--grad);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  padding: 3px 9px;
  letter-spacing: .02em
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 62px)
}

.hero p.sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 50ch;
  margin-top: 22px
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px
}

.hero__stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap
}

.stat .num {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800
}

.stat .lbl {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: .02em
}

/* QR generator card */
.qr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.qr-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px
}

.qr-card__head .t {
  font-weight: 700;
  font-size: 15px
}

.qr-card__head .dot {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 7px
}

.qr-card__head .dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #23c483;
  box-shadow: 0 0 0 4px rgba(35, 196, 131, .16)
}

.qr-stage {
  position: relative;
  width: 226px;
  height: 226px;
  margin: 4px auto 6px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
  overflow: hidden;
}

.qr-stage #qrcode {
  width: 186px;
  height: 186px;
  display: flex;
  align-items: center;
  justify-content: center
}

.qr-stage #qrcode img,
.qr-stage #qrcode canvas {
  width: 186px !important;
  height: 186px !important;
  border-radius: 6px
}

.qr-badge {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(20, 18, 80, .18)
}

.qr-badge svg {
  width: 30px;
  height: 30px
}

.scanline {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--blue), transparent);
  box-shadow: 0 0 12px 2px rgba(91, 79, 233, .5);
  animation: scan 2.8s ease-in-out infinite
}

@keyframes scan {

  0%,
  100% {
    top: 22px;
    opacity: .2
  }

  50% {
    top: 200px;
    opacity: 1
  }
}

.qr-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid var(--indigo);
  opacity: .85
}

.qr-corner.tl {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
  border-radius: 8px 0 0 0
}

.qr-corner.tr {
  top: 8px;
  right: 8px;
  border-left: none;
  border-bottom: none;
  border-radius: 0 8px 0 0
}

.qr-corner.bl {
  bottom: 8px;
  left: 8px;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 8px
}

.qr-corner.br {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 8px 0
}

/* Stage states: empty (decorative) vs generated (shows QR) */
.qr-hint {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--muted-2)
}

.qr-stage.is-generated #qrcode {
  display: flex
}

.qr-stage:not(.is-generated) #qrcode {
  display: none
}

.qr-stage.is-generated .qr-badge,
.qr-stage.is-generated .scanline,
.qr-stage.is-generated .qr-hint {
  display: none
}

/* Type tabs */
.qr-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch
}

.qr-tabs::-webkit-scrollbar {
  height: 5px
}

.qr-tabs::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 5px
}

.qr-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--mist);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s
}

.qr-tab svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none
}

.qr-tab:hover {
  color: var(--ink)
}

.qr-tab[aria-selected="true"] {
  background: rgba(91, 79, 233, .10);
  color: var(--indigo)
}

/* Dynamic fields */
.qr-fields {
  display: grid;
  gap: 10px;
  margin: 16px 0
}

.qr-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.qr-input {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 13px;
  outline: none;
  transition: border-color .15s, background .15s
}

.qr-input:focus {
  border-color: var(--indigo);
  background: #fff
}

.qr-input::placeholder {
  color: var(--muted-2)
}

select.qr-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A91A8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px
}

/* Colors */
.qr-colors {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px
}

.qr-colors__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .1em
}

.swatches {
  display: flex;
  gap: 8px
}

.swatch {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform .15s
}

.swatch:hover {
  transform: scale(1.12)
}

.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--indigo)
}

/* Actions */
.qr-actions {
  display: flex;
  gap: 10px
}

.btn-gen {
  flex: 1;
  background: var(--grad);
  color: #fff;
  border-radius: 12px;
  padding: 13px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 10px 24px -12px rgba(91, 79, 233, .85);
  transition: transform .18s, box-shadow .18s
}

.btn-gen:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(91, 79, 233, .9)
}

.qr-dl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 13.5px;
  transition: border-color .15s, color .15s, opacity .15s
}

.qr-dl svg {
  width: 15px;
  height: 15px
}

.qr-dl:hover:not(:disabled) {
  border-color: var(--indigo);
  color: var(--indigo)
}

.qr-dl:disabled {
  opacity: .45;
  cursor: not-allowed
}

.qr-note {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 12px;
  text-align: center
}

/* Download modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.modal.open {
  display: flex
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 30, .55);
  backdrop-filter: blur(4px);
  animation: fade .2s ease
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  animation: pop .24s cubic-bezier(.2, .8, .2, 1)
}

@keyframes fade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.98)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background .15s
}

.modal__close:hover {
  background: var(--mist)
}

.modal__ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px
}

.modal__ico svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none
}

.modal h3 {
  font-size: 21px
}

.modal p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 7px
}

.modal .field {
  margin-top: 16px
}

.modal .field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px
}

.modal .field input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, background .15s
}

.modal .field input:focus {
  border-color: var(--indigo);
  background: #fff
}

.modal .field input[aria-invalid="true"] {
  border-color: #e5484d;
  background: #fff5f5
}

.modal .field .err {
  display: none;
  color: #d23a3f;
  font-size: 12px;
  margin-top: 5px
}

.modal .field.has-error .err {
  display: block
}

.modal .btn {
  width: 100%;
  margin-top: 22px
}

/* Logo strip */
.logos {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff
}

.logos__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 64px);
  flex-wrap: wrap
}

.logos span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2)
}

.logos b {
  font-weight: 800;
  font-size: clamp(15px, 2vw, 19px);
  color: #aeb4cb;
  letter-spacing: -.01em
}

/* ============================================================
   Pillars (Genera / Personaliza / Analiza / Conecta)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px
}

.pillar {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  overflow: hidden;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #d4d9ee
}

.pillar__no {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: .1em
}

.pillar__ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 18px
}

.pillar__ico svg {
  width: 26px;
  height: 26px;
  stroke: #fff
}

.pillar h3 {
  font-size: 20px
}

.pillar p {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 9px
}

.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--grad);
  opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity .2s
}

.pillar:hover::after {
  opacity: .6
}

/* ============================================================
   Feature grid
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px
}

.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s, box-shadow .2s
}

.section--mist .feature {
  background: #fff
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.feature__ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(91, 79, 233, .10)
}

.feature__ico svg {
  width: 23px;
  height: 23px;
  stroke: var(--indigo)
}

.feature h3 {
  font-size: 17.5px;
  font-weight: 700
}

.feature p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px
}

/* ============================================================
   QR types
   ============================================================ */
.types {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px;
  justify-content: center
}

.type {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px 11px 14px;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: var(--shadow-sm);
  transition: transform .16s, border-color .16s, color .16s;
}

.type:hover {
  transform: translateY(-3px);
  border-color: var(--indigo);
  color: var(--indigo)
}

.type svg {
  width: 18px;
  height: 18px;
  stroke: var(--indigo)
}

/* ============================================================
   How it works
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
  position: relative
}

.step {
  position: relative;
  padding-top: 8px
}

.step__no {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px -8px rgba(91, 79, 233, .7);
}

.step h3 {
  font-size: 20px
}

.step p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px
}

.step__line {
  position: absolute;
  top: 20px;
  left: 54px;
  right: -22px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px)
}

.step:last-child .step__line {
  display: none
}

/* ============================================================
   Analytics (dark) showcase
   ============================================================ */
.analytics__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center
}

.metrics-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 16px
}

.metrics-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--on-deep-soft)
}

.metrics-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  stroke: #B79CF5;
  margin-top: 2px
}

.metrics-list b {
  color: #fff;
  font-weight: 700
}

.dash {
  background: linear-gradient(180deg, var(--deep-2), #0d1330);
  border: 1px solid var(--deep-line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
}

.dash__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px
}

.dash__top .t {
  font-weight: 700;
  font-size: 15px;
  color: #fff
}

.dash__top .tag {
  font-family: var(--mono);
  font-size: 11px;
  color: #23c483;
  border: 1px solid rgba(35, 196, 131, .4);
  border-radius: 999px;
  padding: 4px 10px
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px
}

.kpi {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--deep-line);
  border-radius: 12px;
  padding: 14px
}

.kpi .k {
  font-size: 12px;
  color: var(--on-deep-soft);
  font-family: var(--mono)
}

.kpi .v {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-top: 4px
}

.kpi .v small {
  font-size: 12px;
  color: #23c483;
  font-weight: 700;
  margin-left: 6px
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  padding-top: 10px;
  border-top: 1px solid var(--deep-line)
}

.bar {
  flex: 1;
  border-radius: 7px 7px 3px 3px;
  background: var(--grad);
  min-height: 6px;
  height: var(--h, 40%);
  transition: height 1s cubic-bezier(.2, .8, .2, 1);
  position: relative
}

.bar span {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: var(--on-deep-soft);
  font-family: var(--mono)
}

.chart.is-flat .bar {
  height: 6px !important
}

/* ============================================================
   Use cases
   ============================================================ */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px
}

.case {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 26px;
  background: #fff;
  transition: transform .2s, box-shadow .2s
}

.case:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.case .emoji {
  font-size: 26px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px
}

.case h3 {
  font-size: 18px
}

.case p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px
}

/* ============================================================
   Pricing
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 54px;
  align-items: stretch
}

.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.plan--featured {
  border: 0;
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative
}

.plan--featured .price small,
.plan--featured .plan__desc {
  color: var(--on-deep-soft)
}

.plan--featured .plan-feat {
  color: #D9DCEF
}

.plan--featured .plan-feat svg {
  stroke: #B79CF5
}

.ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--grad);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px
}

.plan__name {
  font-weight: 700;
  font-size: 18px
}

.plan__desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
  min-height: 38px
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 4px
}

.price b {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.03em
}

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

.plan-feats {
  list-style: none;
  margin: 20px 0 26px;
  display: grid;
  gap: 11px
}

.plan-feat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft)
}

.plan-feat svg {
  flex: none;
  width: 19px;
  height: 19px;
  stroke: var(--indigo);
  margin-top: 1px
}

.plan .btn {
  width: 100%;
  margin-top: auto
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 820px;
  margin: 48px auto 0
}

.faq__item {
  border-bottom: 1px solid var(--line)
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink)
}

.faq__q .ic {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  position: relative
}

.faq__q .ic::before,
.faq__q .ic::after {
  content: "";
  position: absolute;
  background: var(--indigo);
  border-radius: 2px;
  transition: .2s
}

.faq__q .ic::before {
  width: 12px;
  height: 2px
}

.faq__q .ic::after {
  width: 2px;
  height: 12px
}

.faq__item[aria-expanded="true"] .ic {
  background: var(--grad);
  border-color: transparent
}

.faq__item[aria-expanded="true"] .ic::before,
.faq__item[aria-expanded="true"] .ic::after {
  background: #fff
}

.faq__item[aria-expanded="true"] .ic::after {
  transform: scaleY(0)
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .32s ease
}

.faq__a p {
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 64ch
}

/* ============================================================
   Contact
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start
}

.contact__side .lead {
  margin-top: 18px
}

.contact-points {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 18px
}

.contact-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.contact-points .ci {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: rgba(91, 79, 233, .1);
  display: flex;
  align-items: center;
  justify-content: center
}

.contact-points .ci svg {
  width: 21px;
  height: 21px;
  stroke: var(--indigo)
}

.contact-points .ct {
  font-weight: 700;
  font-size: 15px
}

.contact-points .cs {
  font-size: 14px;
  color: var(--muted)
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-md)
}

.field {
  margin-bottom: 18px
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px
}

.field label .req {
  color: var(--violet)
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .15s, background .15s;
}

.field textarea {
  resize: vertical;
  min-height: 118px
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--indigo);
  background: #fff
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #e5484d;
  background: #fff5f5
}

.field .err {
  display: none;
  color: #d23a3f;
  font-size: 12.5px;
  margin-top: 6px;
  font-weight: 500
}

.field.has-error .err {
  display: block
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px
}

.form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--indigo)
}

.form__submit {
  width: 100%
}

.form__ok {
  display: none;
  text-align: center;
  padding: 18px 0
}

.form__ok .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px
}

.form__ok .check svg {
  width: 30px;
  height: 30px;
  stroke: #fff
}

.form__ok h3 {
  font-size: 22px
}

.form__ok p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 15px
}

.form.is-sent .form__body {
  display: none
}

.form.is-sent .form__ok {
  display: block
}

/* ============================================================
   CTA banner + footer
   ============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  color: #fff
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 18%, rgba(139, 63, 232, .5), transparent 45%), radial-gradient(circle at 82% 88%, rgba(47, 107, 246, .42), transparent 48%)
}

.cta-banner>* {
  position: relative
}

.cta-banner h2 {
  font-size: clamp(26px, 3.5vw, 42px)
}

.cta-banner p {
  color: var(--on-deep-soft);
  max-width: 50ch;
  margin: 16px auto 30px;
  font-size: 17px
}

.cta-banner .btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

.footer {
  background: var(--deep);
  color: var(--on-deep-soft);
  padding: 72px 0 34px
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--deep-line)
}

.footer__brand .logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px
}

.footer__brand .logo-lockup svg {
  width: 38px;
  height: 38px
}

.footer__brand .wm {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.02em;
  color: #fff
}

.footer__brand p {
  font-size: 14.5px;
  max-width: 34ch;
  line-height: 1.7
}

.footer__brand .tagline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: #7E85A8;
  margin-top: 16px;
  text-transform: uppercase
}

.footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .01em
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 11px
}

.footer ul a {
  font-size: 14px;
  transition: color .15s
}

.footer ul a:hover {
  color: #fff
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 14px
}

.footer__bottom .socials {
  display: flex;
  gap: 12px
}

.footer__bottom .socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--deep-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .18s
}

.footer__bottom .socials a:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff
}

.footer__bottom .socials svg {
  width: 17px;
  height: 17px
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1)
}

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

.reveal.d1 {
  transition-delay: .07s
}

.reveal.d2 {
  transition-delay: .14s
}

.reveal.d3 {
  transition-delay: .21s
}

.reveal.d4 {
  transition-delay: .28s
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 46px
  }

  .qr-card {
    max-width: 420px
  }

  .pillars,
  .features,
  .steps,
  .cases,
  .plans {
    grid-template-columns: 1fr 1fr
  }

  .analytics__grid,
  .contact__grid {
    grid-template-columns: 1fr
  }

  .step__line {
    display: none
  }

  .footer__top {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:640px) {

  .nav,
  .header__cta .btn-ghost {
    display: none
  }

  .menu-toggle {
    display: flex
  }

  .pillars,
  .features,
  .steps,
  .cases,
  .plans,
  .grid-2,
  .footer__top {
    grid-template-columns: 1fr
  }

  .hero__stats {
    gap: 22px
  }

  .mobile-nav.open {
    display: flex
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 70px 0 auto 0;
  z-index: 55;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  padding: 14px 24px 22px;
  gap: 4px;
  box-shadow: var(--shadow-md)
}

.mobile-nav a {
  padding: 13px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--line)
}

.mobile-nav .btn {
  margin-top: 14px
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important
  }

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