/* NirKanA — landing page. No external fonts or libraries: fast, private and allowed by the CSP. */
:root {
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --surface-2: #EEF1F8;
  --ink: #0E1726;
  --muted: #5B6578;
  --line: #E1E6EF;
  --brand: #3B5BFD;
  --brand-2: #14B8A6;
  --violet: #6D4BFF;
  --ok: #0E9F6E;
  --bad: #D92D20;
  --brand-ink: #FFFFFF;
  --brand-text: #3B5BFD; /* brand colour for small text: a lighter one on dark backgrounds keeps 4.5:1 contrast */
  --shadow: 0 30px 60px -24px rgba(14, 23, 38, .30), 0 12px 24px -14px rgba(14, 23, 38, .20);
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .06), 0 8px 24px -12px rgba(14, 23, 38, .14);
  --radius: 20px;
  --grad: linear-gradient(135deg, var(--brand), var(--violet) 55%, var(--brand-2));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0F1C; --surface: #111A2C; --surface-2: #17223A; --ink: #E8ECF5; --muted: #9AA6BD; --line: #22304A;
    --brand-text: #8EA2FF;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .6);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0F1C; --surface: #111A2C; --surface-2: #17223A; --ink: #E8ECF5; --muted: #9AA6BD; --line: #22304A;
  --brand-text: #8EA2FF;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .6rem; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1220px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } }
section { padding: clamp(72px, 10vw, 136px) 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.head.center { text-align: center; margin-inline: auto; }
.head.center .sub { margin-inline: auto; }
.head.split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; }
.head.split .sub { margin: 0; }
@media (max-width: 860px) { .head.split { grid-template-columns: 1fr; gap: 8px; } }
.sub { color: var(--muted); max-width: 62ch; font-size: 1.08rem; margin-bottom: 0; }
.sub.on-dark { color: #AEBBDA; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-text); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: .5rem 1rem; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

/* Reveal on scroll (only once JS confirms it can show things again) */
.reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal [data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.5rem;
  border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none;
  color: var(--brand-ink); background: var(--grad); background-size: 160% 160%;
  box-shadow: 0 10px 24px -10px rgba(59, 91, 253, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease;
}
.btn:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 16px 30px -12px rgba(59, 91, 253, .9); }
.btn .ic { transition: transform .2s ease; }
.btn:hover .ic { transform: translateX(3px); }
.btn.ghost { background: transparent; color: inherit; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); box-shadow: none; }
.btn.ghost:hover { background: rgba(127, 127, 127, .08); }
.btn.ghost:hover .ic { transform: none; }
.btn.small { padding: .55rem 1.05rem; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.magnet { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease, background-position .4s ease; }
.magnet.pull { transform: translate(var(--mx2, 0), var(--my2, 0)); }

/* ------------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.logo {
  width: 34px; height: 34px; display: block; flex: none; border-radius: 9px;
  box-shadow: 0 8px 18px -8px rgba(59, 91, 253, .9);
}
.top nav { display: flex; gap: 2rem; }
.top nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; position: relative; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .25s ease; }
.top nav a:hover, .top nav a.here { color: var(--ink); }
.top nav a:hover::after, .top nav a.here::after { transform: scaleX(1); }
.top.on-dark { background: rgba(7, 13, 28, .82); border-bottom-color: rgba(255, 255, 255, .08); color: #EAF0FF; }
.top.on-dark nav a { color: #AEBBDA; }
.top.on-dark nav a:hover { color: #fff; }
.top nav .login { color: var(--brand-text); }
.top.on-dark nav .login { color: #8EA2FF; }
.bar-end { display: flex; align-items: center; gap: .5rem; }
.bar-end .btn { white-space: nowrap; }
@media (max-width: 400px) { .bar { gap: .5rem; } .bar-end .btn.small { padding-inline: .9rem; } .menu-btn { width: 40px; height: 40px; } }
@media (max-width: 359px) { .brand .name { display: none; } } /* the logo alone keeps the bar on one line */
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: inherit; }
.menu-btn .ic { width: 22px; height: 22px; }
@media (max-width: 920px) {
  .top nav { display: none; }
  /* Small screens: the sections open from the menu button (only with JavaScript; without it the button is hidden). */
  .js .menu-btn { display: grid; }
  .top.on-dark .menu-btn { border-color: rgba(255, 255, 255, .2); }
  .top.open nav {
    display: grid; position: absolute; top: 100%; left: 0; right: 0; gap: 0; padding: .5rem 16px 1rem;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .top.open nav a { color: var(--ink); padding: .8rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .top.open nav a:last-child { border-bottom: 0; }
  .top.open nav a::after { display: none; }
  .top.open nav .login { color: var(--brand-text); }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; color: #EAF0FF; padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); overflow: hidden;
  isolation: isolate; text-align: center;
  background: radial-gradient(1000px 520px at 50% -10%, rgba(109, 75, 255, .45), transparent 60%),
              radial-gradient(800px 480px at 10% 100%, rgba(20, 184, 166, .28), transparent 60%),
              linear-gradient(180deg, #070D1C, #0B1B33 45%, #13235A);
}
.orb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at var(--px, 50%) var(--py, 30%), rgba(94, 234, 212, .12), transparent 60%); }
.hero::after {
  content: ""; position: absolute; inset: auto -30% -10% -30%; height: 45%; z-index: -1; opacity: .3;
  background-image: linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(500px) rotateX(65deg); transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, #000 0%, transparent 80%); -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 80%);
}
.hero-copy { max-width: 900px; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem; border-radius: 999px; font-size: .88rem;
  font-weight: 600; color: #CFE0FF; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 1.6rem;
}
.live { width: 8px; height: 8px; border-radius: 50%; background: #5EEAD4; box-shadow: 0 0 0 0 rgba(94, 234, 212, .6); }
.hero h1 { font-size: clamp(2.9rem, 7.6vw, 6rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 1.5rem; font-weight: 900; }
.grad {
  background: linear-gradient(90deg, #8EA2FF, #B79CFF 35%, #5EEAD4, #5EEAD4); -webkit-background-clip: text; background-clip: text;
  color: transparent; background-size: 200% 100%;
}
.lead { font-size: clamp(1.1rem, 1.8vw, 1.32rem); color: #C6D2EE; max-width: 60ch; margin: 0 auto; line-height: 1.6; }
.lead strong { color: #fff; font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 2.2rem 0 0; }
/* «Probar NirKanA» appears only once TRIAL_URL is set in site.js; until then «Quiero NirKanA» takes its place. */
html:not(.has-trial) .only-trial, html.has-trial .no-trial { display: none !important; }
/* «Ver la demo» appears once DEMO_URL is set in site.js (it always is on this site); .no-demo is the fallback without it. */
html:not(.has-demo) .only-demo, html.has-demo .no-demo { display: none !important; }
@media (max-width: 760px) { .demo-head { display: none !important; } } /* on phones the demo is in the menu */
.cta-note { margin: 1rem 0 0; color: #AEBBDA; font-size: .92rem; }
.hero .btn.ghost { color: #EAF0FF; border-color: rgba(234, 240, 255, .35); backdrop-filter: blur(6px); }

.scene { perspective: 1600px; margin-top: clamp(48px, 7vw, 88px); max-width: 1040px; }
.stage {
  position: relative; transform-style: preserve-3d; text-align: left;
  transform: rotateX(calc(var(--sx, 22deg) + var(--ry, 0deg))) rotateY(var(--rx, 0deg)) scale(var(--ss, .94));
  transition: transform .2s ease-out; will-change: transform;
}
.glow { position: absolute; inset: 5% 10%; transform: translateZ(-150px); filter: blur(70px); border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, .5), rgba(109, 75, 255, .4) 55%, transparent 70%); }
.screen { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 60px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .14); }
.chrome { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #EEF1F7; color: #555E70; font-size: .72rem; border-bottom: 1px solid #E1E6EF; }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; }
.chrome i:nth-child(2) { background: #FEBC2E; }
.chrome i:nth-child(3) { background: #28C840; }
.chrome > span { margin-left: 10px; }
.phone { position: absolute; width: 23%; right: -4%; bottom: -10%; margin: 0; border-radius: 26px; overflow: hidden;
  border: 6px solid #0B1220; background: #0B1220; transform: translateZ(120px); box-shadow: 0 40px 60px -20px rgba(0, 0, 0, .8); }
.chip { position: absolute; display: flex; align-items: center; gap: .55rem; padding: .65rem .9rem; border-radius: 14px;
  background: rgba(255, 255, 255, .95); color: #0E1726; font-size: .85rem; white-space: nowrap; box-shadow: 0 20px 34px -12px rgba(0, 0, 0, .55); }
.chip b { font-size: 1.1rem; color: var(--ok); }
.chip span { color: #4A5568; }
.c1 { top: 8%; left: -6%; transform: translateZ(170px); flex-direction: column; align-items: flex-start; gap: 0; }
.c2 { top: 46%; left: -9%; transform: translateZ(220px); }
.c3 { bottom: -5%; left: 26%; transform: translateZ(150px); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.red { background: #F04438; box-shadow: 0 0 0 4px rgba(240, 68, 56, .18); }
.dot.green { background: #12B76A; box-shadow: 0 0 0 4px rgba(18, 183, 106, .18); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(64px, 9vw, 112px); max-width: 960px; }
.stats div { padding: 20px 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.stats b { display: block; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff, #9FB4FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: .86rem; color: #AEBBDA; }

@media (prefers-reduced-motion: no-preference) {
  .c1 { animation: float 6s ease-in-out infinite; }
  .c2 { animation: float 7s ease-in-out infinite .8s; }
  .c3 { animation: float 6.5s ease-in-out infinite 1.6s; }
  .phone { animation: float 8s ease-in-out infinite; }
  .live { animation: ping 2s ease-out infinite; }
  .grad { animation: gradShift 6s ease-in-out infinite; }
}
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); } }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .scene { padding: 0 6%; }
  .chip { font-size: .72rem; padding: .45rem .6rem; }
  .c1 { left: 0; top: 6%; }
  .c2 { display: none; }
  .c3 { left: 10%; }
  .phone { width: 28%; right: 0; }
}

/* ------------------------------------------------------------------ trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 22px 0; }
.trust-row span { display: inline-flex; align-items: center; gap: .55rem; color: var(--muted); font-weight: 600; font-size: .93rem; }
.trust-row .ic { color: var(--brand); width: 1.25em; height: 1.25em; }
@media (max-width: 760px) { .trust-row { justify-content: center; } }

/* ------------------------------------------------------------------ before / after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; }
.compare::after { /* arrow between columns */
  content: "→"; position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; color: #fff; background: var(--grad);
  box-shadow: 0 12px 26px -10px rgba(59, 91, 253, .9), 0 0 0 8px var(--bg);
}
.compare .col { border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); }
.compare h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.compare li { display: flex; gap: .8rem; align-items: flex-start; }
.compare li .ic { margin-top: .2rem; width: 1.5rem; height: 1.5rem; padding: .25rem; border-radius: 50%; }
.before { background: var(--surface); }
.before h3 { color: var(--muted); }
.before li { color: var(--muted); }
.before li .ic { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.after { background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), color-mix(in srgb, var(--brand-2) 9%, var(--surface)));
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: var(--shadow); }
.after li { font-weight: 600; }
.after li .ic { color: #fff; background: var(--grad); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } .compare::after { content: "↓"; } }

/* ------------------------------------------------------------------ sector tabs */
.tabs { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
  width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: clamp(28px, 4vw, 44px); scrollbar-width: none; }
.tabs button { display: inline-flex; align-items: center; gap: .55rem; border: 0; background: transparent; padding: .7rem 1.2rem;
  border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tabs button[aria-selected="true"] .ic { color: var(--brand); }
.panel { display: grid; grid-template-columns: .9fr 1.35fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.panel.enter { animation: panelIn .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.panel-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.panel-copy > p { color: var(--muted); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.ticks .ic { margin-top: .15rem; width: 1.35rem; height: 1.35rem; padding: .22rem; border-radius: 50%; color: #fff; background: var(--grad); }
.ticks.light li { color: #E1E8FA; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumbs button { position: relative; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff;
  transition: border-color .2s ease, transform .2s ease; }
.thumbs button:hover { transform: translateY(-2px); }
.thumbs button.on { border-color: var(--brand); }
.thumbs img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.thumbs span { position: absolute; left: 6px; bottom: 6px; font-size: .72rem; font-weight: 700; color: #fff; padding: .15rem .5rem;
  border-radius: 999px; background: rgba(14, 23, 38, .78); }
.browser { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow); cursor: zoom-in; position: relative; text-align: left;
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease; }
.browser:hover { transform: perspective(1400px) rotateY(0) rotateX(0) translateY(-4px); }
.browser .main { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; transition: opacity .25s ease; }
.browser .main.swap { opacity: 0; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem;
  border-radius: 999px; background: rgba(14, 23, 38, .82); color: #fff; font-size: .82rem; font-weight: 700; opacity: 0; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease; }
.zoomable:hover .zoom-hint, .zoomable:focus-visible .zoom-hint { opacity: 1; transform: none; }
@media (max-width: 960px) { .panel { grid-template-columns: 1fr; } .browser { transform: none; order: -1; } }

/* ------------------------------------------------------------------ scroll story */
.dark { background: #070D1C; color: #EAF0FF; position: relative; overflow: clip; }
.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 500px at 85% 20%, rgba(59, 91, 253, .18), transparent 60%), radial-gradient(700px 400px at 0% 90%, rgba(20, 184, 166, .12), transparent 60%); }
.dark .eyebrow { color: #8FE9DB; }
.story { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 80px); position: relative; }
.step-card { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s ease; }
.step-card.active { opacity: 1; }
.step-card .num { font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8EA2FF; }
.step-card h3 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -.03em; margin: .5rem 0 .9rem; }
.step-card p { color: #AEBBDA; font-size: 1.12rem; max-width: 42ch; }
.m-shot { display: none; }
.story-device { position: sticky; top: 12vh; height: 76vh; display: flex; flex-direction: column; justify-content: center; perspective: 1400px; }
.device { border-radius: 16px; overflow: hidden; background: #fff; transform-style: preserve-3d;
  transform: rotateY(var(--dy, -12deg)) rotateX(5deg); transition: transform .8s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 60px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1), 0 0 120px -20px rgba(59, 91, 253, .45); }
.screens { position: relative; aspect-ratio: 16 / 10; }
.screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.04);
  transition: opacity .6s ease, transform .8s ease; }
.screens img.on { opacity: 1; transform: none; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .25); transition: width .4s, background .4s; }
.dots i.on { width: 28px; background: linear-gradient(90deg, #3B5BFD, #14B8A6); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-device, .desk-only { display: none; }
  .step-card { min-height: auto; opacity: 1; padding: 28px 0; }
  .m-shot { display: block; border-radius: 12px; margin-top: 1rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
}

/* ------------------------------------------------------------------ product tour (bento) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-flow: dense; }
.tile { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface);
  cursor: zoom-in; text-align: left; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #fff; border-bottom: 1px solid var(--line);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tile:hover img { transform: scale(1.03); }
.tile .cap { display: grid; gap: .15rem; padding: 14px 16px 16px; font-size: .9rem; color: var(--muted); line-height: 1.4; position: relative; background: var(--surface); }
.tile .cap b { color: var(--ink); font-size: 1rem; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.big img { flex: 1; aspect-ratio: auto; min-height: 0; height: 100%; }
.tile.big .cap { font-size: 1rem; padding: 18px 20px 20px; }
.tile.big .cap b { font-size: 1.2rem; }
.tile.wide { grid-column: span 2; }
.tile.wide img { aspect-ratio: 16 / 7; }
.tile .zoom-hint { bottom: auto; top: 12px; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile.big, .tile.wide { grid-column: auto; grid-row: auto; } .tile.big img { aspect-ratio: 16 / 10; } }

/* ------------------------------------------------------------------ mobile band */
.mobile-band { color: #EAF0FF; overflow: hidden; position: relative; isolation: isolate;
  background: radial-gradient(700px 420px at 80% 50%, rgba(109, 75, 255, .35), transparent 65%), linear-gradient(135deg, #0B1B33, #13235A 60%, #0E3B4A); }
.mobile-band .eyebrow { color: #8FE9DB; }
.mobile-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.phones { position: relative; height: clamp(420px, 46vw, 600px); perspective: 1400px; }
.ph { position: absolute; top: 50%; left: 50%; margin: 0; width: clamp(160px, 17vw, 236px); border-radius: 30px; overflow: hidden;
  border: 7px solid #0B1220; background: #0B1220; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.ph img { width: 100%; }
.p1 { transform: translate(-128%, -46%) rotateY(22deg) rotateZ(-4deg) scale(.88); opacity: .9; }
.p2 { transform: translate(-50%, -54%); z-index: 2; }
.p3 { transform: translate(28%, -46%) rotateY(-22deg) rotateZ(4deg) scale(.88); opacity: .9; }
@media (prefers-reduced-motion: no-preference) { .p2 { animation: float 8s ease-in-out infinite; } }
@media (max-width: 860px) { .mobile-grid { grid-template-columns: 1fr; } .phones { height: 460px; } .ph { width: 170px; } }

/* ------------------------------------------------------------------ calculator */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-in { background: var(--bg); padding: clamp(24px, 4vw, 44px); display: grid; gap: 26px; align-content: center; }
.field { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-weight: 700; font-size: .95rem; align-items: center; }
.field > select, .field > input { grid-column: 1 / -1; }
.field output { font-variant-numeric: tabular-nums; color: var(--brand-text); font-weight: 800; font-size: 1.05rem; }
.field select { font: inherit; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; }
.field input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)) 0 / var(--fill, 50%) 100% no-repeat, var(--line); }
.field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff;
  border: 3px solid var(--brand); box-shadow: 0 4px 12px -2px rgba(59, 91, 253, .6); }
.field input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.calc-out { padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-content: center; color: #EAF0FF;
  background: radial-gradient(500px 300px at 100% 0%, rgba(20, 184, 166, .3), transparent 60%), linear-gradient(150deg, #0B1B33, #1B2F6B); }
.kpi { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: .25rem; align-content: start; }
.kpi span { font-size: .74rem; font-weight: 700; color: #AEBBDA; text-transform: uppercase; letter-spacing: .04em; line-height: 1.35; min-height: 2.7em; }
.kpi.total span { min-height: 0; }
.kpi b { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi small { color: #93A2C6; font-size: .8rem; }
.kpi.total { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(59, 91, 253, .35), rgba(20, 184, 166, .3)); border-color: rgba(94, 234, 212, .35); }
.kpi.total b { font-size: clamp(2.4rem, 5vw, 3.6rem); background: linear-gradient(90deg, #fff, #A7F3E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine { grid-column: 1 / -1; margin: 6px 0 0; color: #AEBBDA; font-size: .86rem; }
.fine a { color: #8FE9DB; }
.assume { max-width: 820px; margin: 24px auto 0; border: 0; padding: 0; }
.assume summary { justify-content: center; color: var(--muted); font-size: .95rem; }
.assume p { font-size: .93rem; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 1100px) and (min-width: 901px), (max-width: 560px) { .calc-out { grid-template-columns: 1fr 1fr; } .kpi:nth-child(3) { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ security */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transform-style: preserve-3d;
  transition: transform .2s ease-out, box-shadow .3s ease, border-color .3s ease, opacity .7s ease; }
.feat:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.feat::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 91, 253, .1), transparent 45%); }
.feat:hover::after { opacity: 1; }
.feat .ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 1.1rem; color: var(--brand);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, transparent), color-mix(in srgb, var(--brand-2) 16%, transparent)); }
.feat .ico .ic { width: 24px; height: 24px; }
.feat h3 { font-size: 1.12rem; }
.feat p { color: var(--muted); margin: 0; font-size: .97rem; }
.reveal .feat[data-reveal].in { transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
@media (max-width: 960px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ steps timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); opacity: .35; }
.timeline li { position: relative; text-align: center; padding: 0 12px; }
.timeline .n { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1.2rem; border-radius: 18px; color: #fff; font-weight: 900;
  font-size: 1.3rem; background: var(--grad); box-shadow: 0 14px 28px -12px rgba(59, 91, 253, .9), 0 0 0 8px var(--surface); position: relative; }
.timeline b { display: block; font-size: 1.2rem; margin-bottom: .4rem; }
.timeline span:last-child { color: var(--muted); }
.timeline span.only-trial, .timeline span.no-trial { color: var(--muted); }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; gap: 36px; } .timeline::before { display: none; } }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .sub { margin-bottom: 1.6rem; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-side { position: static; } }
details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 1.3rem; line-height: 1;
  color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); transition: transform .25s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: .8rem 0 0; max-width: 64ch; }

/* ------------------------------------------------------------------ contact */
.contact { padding-top: 0; }
.contact-card { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; border-radius: 28px;
  padding: clamp(28px, 5vw, 64px); color: #EAF0FF; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(600px 360px at 0% 0%, rgba(109, 75, 255, .45), transparent 60%), radial-gradient(600px 360px at 100% 100%, rgba(20, 184, 166, .35), transparent 60%),
              linear-gradient(150deg, #070D1C, #13235A); box-shadow: var(--shadow); }
.contact-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(circle at 30% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 30% 30%, #000, transparent 70%); }
.contact-card .eyebrow { color: #8FE9DB; }
.lead-sm { color: #C6D2EE; font-size: 1.1rem; }
.contact-card .btn.ghost { color: #EAF0FF; }
.direct { display: flex; flex-wrap: wrap; gap: .7rem; }
.try { color: #C6D2EE; margin: .2rem 0 1.2rem; }
.try a { color: #8FE9DB; font-weight: 700; }
@media (max-width: 900px) { .contact-card { grid-template-columns: 1fr; } }
.form { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .check input { width: auto; margin-top: .3rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; font-weight: 600; min-height: 1.4em; }
.status.ok { color: var(--ok); }
.status.err { color: var(--bad); }
.note { color: var(--muted); }

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .93rem; background: var(--surface); }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 40px; }
.foot-grid nav { display: grid; gap: .55rem; align-content: start; }
.foot-grid b { color: var(--ink); margin-bottom: .3rem; }
.foot-brand p { margin-top: 1rem; max-width: 36ch; }
.foot-brand .brand { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: .86rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; overflow: visible; color: #EAF0FF; }
.lightbox::backdrop { background: rgba(5, 9, 20, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 14px; background: #fff; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9); }
.lightbox[open] img { animation: lbIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lb-cap { text-align: center; margin: 14px 0 0; font-weight: 600; }
.lb-close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: #fff; color: #0E1726; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); z-index: 1; }
@media (max-width: 600px) { .lb-close { top: 6px; right: 6px; } }

/* ------------------------------------------------------------------ privacy page */
.legal { padding: 56px 0 88px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
.legal td { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage, .feat, .browser, .tile, .tile img { transition: none; }
}

/* ------------------------------------------------------------------ floating WhatsApp button */
.whatsapp-btn { position: fixed; right: 20px; bottom: 20px; z-index: 99; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .2s ease, background-color .2s ease; }
.whatsapp-btn[hidden] { display: none; }
.whatsapp-btn:hover, .whatsapp-btn:focus-visible { background: #1E9E50; transform: scale(1.06); }
.whatsapp-btn .ic { width: 26px; height: 26px; }
@media (max-width: 480px) { .whatsapp-btn { right: 16px; bottom: 16px; } }

/* ------------------------------------------------------------------ sector pages and 404 */
.sub-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); background: var(--surface); border-bottom: 1px solid var(--line); }
.sub-hero h1 { max-width: 22ch; }
.sub-hero .sub { font-size: 1.15rem; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--brand-text); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.subpage .btn.ghost { color: var(--ink); border-color: var(--line); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot figcaption { padding: .7rem 1rem; font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }
.center-cta { text-align: center; }
.center-cta .sub { margin-inline: auto; margin-bottom: 1.6rem; }
.center-cta .cta-row { justify-content: center; margin-top: 0; }
.subpage .sub a, .subpage .faq-side a { color: var(--brand-text); }

.panel-copy .more { display: inline-flex; align-items: center; gap: .4rem; margin: .2rem 0 1.2rem; font-weight: 700;
  color: var(--brand-text); text-decoration: none; }
.panel-copy .more:hover { text-decoration: underline; }

/* Professional finishing: consistent keyboard access, touch targets and motion preferences. */
::selection { background: var(--brand); color: #fff; }
a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
@media (pointer: coarse) {
  .menu-btn, .theme-btn, .top nav a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* NirKanA premium enterprise refinement — preserves brand colours, content and layout. */
:root {
  --bg: #F4F6FA;
  --surface-2: #EBEFF7;
  --ink: #111B2E;
  --line: #DDE4EF;
  --shadow-sm: 0 2px 5px rgba(14,23,38,.035), 0 16px 36px -22px rgba(14,23,38,.20);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #090F1B; --surface-2: #152138; --line: #29364D; }
}
:root[data-theme="dark"] { --bg: #090F1B; --surface-2: #152138; --line: #29364D; }
body { letter-spacing: -.008em; }
h1, h2, h3 { letter-spacing: -.038em; }
h1 { letter-spacing: -.05em; }
.eyebrow { letter-spacing: .13em; }
.btn { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
}
:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
