
:root {
  /* Brand palette (from smartfest.es) */
  --purple: #7e22ce;
  --purple-600: #9333ea;
  --blue: #1d4ed8;
  --blue-600: #2563eb;
  --accent: #2563eb;
  --pink: #be185d;
  --pink-600: #db2777;
  --green: #15803d;
  --green-600: #16a34a;
  --cyan: #0e7490;
  --cyan-600: #0891b2;
  --indigo-600: #4f46e5;
  --amber-600: #d97706;

  /* Signature gradient */
  --grad-brand: linear-gradient(120deg, #7e22ce 0%, #2563eb 48%, #db2777 100%);
  --grad-brand-soft: linear-gradient(120deg, #a855f7 0%, #3b82f6 50%, #ec4899 100%);
  --grad-cool: linear-gradient(120deg, #2563eb 0%, #0891b2 100%);
  --grad-warm: linear-gradient(120deg, #db2777 0%, #f97316 100%);
  --grad-dark: linear-gradient(150deg, #0f0823 0%, #1e1b4b 45%, #312e81 100%);

  /* Neutrals */
  --ink: #0f172a;
  --ink-2: #1e293b;
  --slate: #475569;
  --slate-2: #64748b;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --line-2: #eef2f7;
  --bg: #f6f7fb;
  --bg-2: #eef1f8;
  --card: #ffffff;
  --white: #ffffff;

  /* Priority */
  --p-critical: #dc2626;
  --p-high: #ea580c;
  --p-medium: #d97706;
  --p-low: #16a34a;

  /* Status */
  --s-new: #6366f1;
  --s-assigned: #9333ea;
  --s-progress: #0891b2;
  --s-resolved: #16a34a;
  --s-closed: #64748b;

  /* Radii & shadows */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 6px 20px -6px rgba(15, 23, 42, .14), 0 2px 6px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 50px -18px rgba(30, 27, 75, .35);
  --shadow-glow: 0 20px 60px -20px rgba(37, 99, 235, .45);

  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
svg { display: block; width: 16px; height: 16px; flex: none; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(37, 99, 235, .2); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.gradient-text { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(147, 51, 234, .08);
  border: 1px solid rgba(147, 51, 234, .16);
  padding: 6px 14px; border-radius: 999px;
}
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 16px; }
.section-head p { color: var(--slate); font-size: 17px; margin-top: 16px; }
.center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 650; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(120deg, #2563eb, #1d4ed8); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px -22px rgba(37, 99, 235, .6); }
.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: #cbd5e1; }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255, 255, 255, .24); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }
.btn-block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .01em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.dot { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.dot-pulse { position: relative; }
.dot-pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: inherit; opacity: .55; animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}

.pri-critical, .pri-high, .pri-medium, .pri-low { color: var(--slate); background: var(--bg-2); }
.pri-bar-critical { background: var(--p-critical); }
.pri-bar-high { background: var(--p-high); }
.pri-bar-medium { background: var(--p-medium); }
.pri-bar-low { background: var(--p-low); }

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
}
.nav__inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { position: relative; display: inline-flex; align-items: center; }
.brand__lockup { display: inline-flex; align-items: baseline; gap: 0; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand__mark { display: inline-flex; align-items: baseline; color: #2563eb; }
.brand__mark svg { width: 16px; height: 17px; }
.brand__word { display: inline-block; }
.brand small { position: absolute; left: 0; top: 85%; width: 100%; margin-top: 1px; white-space: nowrap; text-align: center; font-size: 8.53px; font-weight: 600; letter-spacing: .09em; color: var(--muted); text-transform: uppercase; }
.nav__links { display: flex; gap: 6px; margin-left: 8px; }
.nav__links a { font-size: 14.5px; font-weight: 550; color: var(--slate); padding: 8px 12px; border-radius: 9px; transition: .15s; }
.nav__links a:hover { color: var(--ink); background: var(--bg-2); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Language switcher */
.lang {
  display: inline-flex; padding: 3px; background: var(--bg-2); border-radius: 999px; border: 1px solid var(--line);
}
.lang button {
  font-size: 12.5px; font-weight: 700; color: var(--slate-2); padding: 6px 11px; border-radius: 999px; transition: .15s;
}
.lang button.active { background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }

.hero { position: relative; overflow: hidden; padding: 70px 0 64px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; filter: blur(60px); opacity: .5; border-radius: 50%; }
.blob-1 { width: 520px; height: 520px; background: #c084fc; top: -180px; left: -120px; }
.blob-2 { width: 480px; height: 480px; background: #60a5fa; top: -120px; right: -100px; opacity: .45; }
.blob-3 { width: 420px; height: 420px; background: #f9a8d4; bottom: -220px; left: 40%; opacity: .4; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 850; letter-spacing: -.03em; line-height: 1.04; }
.hero__sub { font-size: 19px; color: var(--slate); margin-top: 22px; max-width: 540px; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero__trust .stat { display: flex; flex-direction: column; }
.hero__trust .num { font-size: 26px; font-weight: 820; letter-spacing: -.02em; }
.hero__trust .lbl { font-size: 13px; color: var(--slate-2); }

/* Hero device mock */
.device {
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; position: relative;
}
.device__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); background: #fbfcfe; }
.device__bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.device__bar .u { background: #ff5f57; } .device__bar .m { background: #febc2e; } .device__bar .g { background: #28c840; }
.device__app { display: inline-flex; align-items: baseline; gap: 1px; font-weight: 750; font-size: 13px; color: var(--ink); }
.device__mark { display: inline-flex; align-items: baseline; color: #2563eb; }
.device__mark svg { width: 10px; height: 11px; }
.device__body { display: flex; background: var(--bg); }
.device__nav { width: 46px; background: #0f1430; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; flex: none; }
.device__ni { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #8b96b8; }
.device__ni svg { width: 16px; height: 16px; }
.device__ni.active { background: var(--accent); color: #fff; }
.device__ava { margin-top: auto; width: 28px; height: 28px; border-radius: 50%; background: #7e22ce; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; }
.device__main { flex: 1; min-width: 0; padding: 14px 16px; }
.device__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.device__title { font-size: 13.5px; font-weight: 750; }
.device__count { font-size: 11px; font-weight: 700; color: var(--accent); background: rgba(37, 99, 235, .1); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.device__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.device__sparkwrap { margin: 13px 0; }
.device__sparklbl { font-size: 11px; color: var(--slate-2); font-weight: 600; margin-bottom: 6px; }
.device__spark { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.device__spark i { flex: 1; background: #93c5fd; border-radius: 3px 3px 0 0; display: block; min-height: 3px; }
.device__spark i.hot { background: var(--accent); }
.device__feed { display: flex; flex-direction: column; gap: 8px; }
.device__live { margin-left: auto; }

/* Live ticker */
.ticker { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.ticker__row { display: flex; gap: 38px; padding: 11px 0; white-space: nowrap; animation: marquee 34s linear infinite; width: max-content; }
.ticker:hover .ticker__row { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 550; opacity: .92; }
.ticker__item .tdot { width: 7px; height: 7px; border-radius: 50%; }

.appwrap { background: var(--grad-dark); border-radius: var(--r-xl); padding: 16px; box-shadow: var(--shadow-lg); }
.app {
  display: grid; grid-template-columns: 232px 1fr; min-height: 660px;
  background: var(--bg); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1);
}
.app__side { background: #0f1430; color: #cbd5e1; padding: 18px 14px; display: flex; flex-direction: column; }
.app__brand { display: flex; align-items: baseline; gap: 1px; padding: 4px 8px 18px; font-weight: 800; font-size: 18px; color: #fff; }
.app__brand .brand__mark { color: #60a5fa; }
.app__brand .brand__mark svg { width: 13px; height: 14px; }
.navi { display: flex; flex-direction: column; gap: 3px; }
.navi__item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 550; color: #aab4d4; transition: .15s; text-align: left; width: 100%;
}
.navi__item svg { width: 18px; height: 18px; opacity: .85; }
.navi__item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.navi__item.active { background: rgba(37, 99, 235, .24); color: #fff; }
.navi__item.active svg { opacity: 1; }
.navi__item .count { margin-left: auto; font-size: 11px; font-weight: 800; background: rgba(255, 255, 255, .16); padding: 1px 8px; border-radius: 999px; }
.navi__sep { height: 1px; background: rgba(255, 255, 255, .08); margin: 12px 6px; }
.app__user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-top: 1px solid rgba(255, 255, 255, .08); }
.app__user .ava { width: 34px; height: 34px; border-radius: 50%; background: #7e22ce; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.app__user .nm { font-size: 13px; font-weight: 650; color: #fff; }
.app__user .rl { font-size: 11px; color: #8b96b8; }

.app__main { display: flex; flex-direction: column; min-width: 0; background: var(--bg); }
.app__top { display: flex; align-items: center; gap: 14px; padding: 15px 22px; background: #fff; border-bottom: 1px solid var(--line); }
.app__top h3 { font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.app__top .sub { font-size: 12.5px; color: var(--slate-2); }
.app__search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--muted); font-size: 13px; min-width: 180px; }
.app__top .icon-btn { width: 36px; height: 36px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; color: var(--slate); position: relative; }
.app__top .icon-btn .nip { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; background: var(--p-critical); border-radius: 50%; border: 2px solid #fff; }
.app__view { padding: 20px 22px; overflow: auto; flex: 1; }
.app__view::-webkit-scrollbar { width: 8px; height: 8px; }
.app__view::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }

.view { display: none; animation: fadeUp .4s ease; }
.view.active { display: block; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; position: relative; overflow: hidden; }
.kpi__top { display: flex; align-items: center; justify-content: space-between; }
.kpi__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.kpi__icon svg { width: 20px; height: 20px; }
.spec h4 .si svg { width: 16px; height: 16px; }
.feed__dot svg { width: 15px; height: 15px; }
.sla svg { width: 13px; height: 13px; }
.badge svg { width: 13px; height: 13px; }
.ticket__cat svg { width: 16px; height: 16px; }
.pin span { color: #fff; }
.pin span svg { width: 14px; height: 14px; }
.role__ic svg { width: 22px; height: 22px; }
.ticker__item svg { width: 14px; height: 14px; }
.kpi__val { font-size: 30px; font-weight: 820; letter-spacing: -.02em; margin-top: 12px; line-height: 1; }
.kpi__lbl { font-size: 12.5px; color: var(--slate-2); margin-top: 5px; font-weight: 550; }
.kpi__trend { font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.trend-up { color: #166534; background: #dcfce7; } .trend-down { color: #991b1b; background: #fee2e2; }
.trend-flat { color: #475569; background: #e2e8f0; }
.synced { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--slate-2); }
.synced i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-600); display: block; flex: none; }

.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel__head h4 { font-size: 14.5px; font-weight: 750; }
.panel__head .link { font-size: 12.5px; font-weight: 650; color: var(--accent); }

/* Bar chart */
.bars { display: flex; align-items: flex-end; gap: 12px; height: 168px; padding-top: 8px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bars .bar .fill { width: 100%; max-width: 34px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #3b82f6, #2563eb); transition: height 1s cubic-bezier(.2,.8,.2,1); }
.bars .bar .bl { font-size: 11px; color: var(--slate-2); font-weight: 600; }

/* Donut (categories) */
.donut-wrap { display: flex; align-items: center; gap: 20px; }
.donut { width: 132px; height: 132px; border-radius: 50%; flex: none; position: relative; }
.donut::after { content: ""; position: absolute; inset: 26px; background: #fff; border-radius: 50%; }
.donut__c { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; text-align: center; }
.donut__c b { font-size: 22px; font-weight: 820; } .donut__c span { font-size: 10.5px; color: var(--slate-2); }
.legend { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.legend li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--slate); }
.legend .sw { width: 11px; height: 11px; border-radius: 4px; flex: none; }
.legend .pc { margin-left: auto; font-weight: 750; color: var(--ink); }

.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; }
.kcol { background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.kcol__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 0 4px; }
.kcol__head .t { font-size: 13px; font-weight: 750; }
.kcol__head .n { font-size: 11px; font-weight: 800; color: var(--slate); background: #fff; border: 1px solid var(--line); padding: 1px 8px; border-radius: 999px; }
.kcol__head .pill-line { width: 22px; height: 4px; border-radius: 999px; }
.kcol__body { display: flex; flex-direction: column; gap: 10px; min-height: 40px; }

.ticket {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .15s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.ticket:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.ticket.is-new { animation: pop .5s ease; }
.ticket__top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ticket__cat { font-size: 16px; }
.ticket__id { font-size: 11px; font-weight: 750; color: var(--muted); }
.ticket__title { font-size: 13.5px; font-weight: 650; line-height: 1.35; color: var(--ink-2); }
.ticket__meta { display: flex; align-items: center; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--slate); background: var(--bg); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.chip svg { width: 12px; height: 12px; }
.ticket__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--line); }
.assignee { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--slate); font-weight: 550; }
.assignee .ava-sm { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; }
.ava-sm svg { width: 15px; height: 15px; }
.sla { font-size: 11px; font-weight: 750; display: inline-flex; align-items: center; gap: 4px; }
.sla.ok { color: #166534; } .sla.warn { color: #b45309; } .sla.danger { color: #b91c1c; }

.mapwrap { display: grid; grid-template-columns: 1fr 280px; gap: 16px; }
.map { position: relative; border-radius: var(--r); overflow: hidden; min-height: 480px; background: linear-gradient(160deg, #fafbfc, #f1f5f1); border: 1px solid var(--line); }
.map__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 30px 30px; opacity: .45; }
.mpath { position: absolute; background: #e7edf3; }
.mpath--v { width: 5.5%; transform: translateX(-50%); border-radius: 8px; }
.mpath--h { height: 5.5%; transform: translateY(-50%); border-radius: 8px; }
.mstall { position: absolute; transform: translate(-50%, -50%); background: #fff; border: 1px solid #dde3ea; border-radius: 3px; box-shadow: 0 1px 1px rgba(15,23,42,.04); }
.mtag { position: absolute; transform: translate(-50%, -50%); font-size: 9.5px; font-weight: 700; color: var(--slate-2); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.mzone { position: absolute; border-radius: 12px; border: 1.5px dashed; }
.mzone__h { position: absolute; top: 7px; left: 9px; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; }
.mzone__h svg { width: 13px; height: 13px; }
.mstage { position: absolute; background: var(--grad-dark); color: #fff; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 9.5px; font-weight: 700; text-align: center; box-shadow: var(--shadow); padding: 4px; line-height: 1.15; }
.mstage svg { width: 17px; height: 17px; }
.msvc { position: absolute; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--slate); box-shadow: var(--shadow-sm); z-index: 3; }
.msvc svg { width: 13px; height: 13px; }
.msvc--aid { color: var(--p-critical); }
.msvc--bar { color: var(--amber-600); }
.mnorth { position: absolute; top: 12px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.92); border: 1px solid var(--line); display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--slate); box-shadow: var(--shadow-sm); }
.map .pin { z-index: 4; }
.mhere { position: absolute; transform: translate(-50%, -50%); z-index: 6; }
.mhere__dot { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 15px; height: 15px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 2px 7px rgba(37,99,235,.5); }
.mhere__pulse { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 15px; height: 15px; border-radius: 50%; background: rgba(37,99,235,.45); animation: ping 1.9s ease-out infinite; }
.mhere__lbl { position: absolute; left: 0; top: 13px; transform: translateX(-50%); white-space: nowrap; font-size: 10.5px; font-weight: 700; color: #2563eb; background: #fff; border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.li__me { width: 9px; height: 9px; border-radius: 50%; background: #2563eb; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.pin {
  position: absolute; width: 28px; height: 28px; transform: translate(-50%, -50%);
  border-radius: 50% 50% 50% 0; rotate: -45deg; display: grid; place-items: center;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,.4); cursor: pointer; border: 2px solid #fff;
}
.pin span { rotate: 45deg; font-size: 12px; }
.pin.p-critical { background: var(--p-critical); } .pin.p-high { background: var(--p-high); }
.pin.p-medium { background: var(--p-medium); } .pin.p-low { background: var(--p-low); }
.pin.is-new::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid currentColor; color: inherit; animation: ping 1.4s ease-out infinite; rotate: 45deg; }
.map__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.map__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.map__legend .li { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--slate); }
.map__side { display: flex; flex-direction: column; gap: 12px; }
.feed { display: flex; flex-direction: column; gap: 0; max-height: 420px; overflow: auto; }
.feed__item { display: flex; gap: 11px; padding: 11px 2px; border-bottom: 1px solid var(--line-2); }
.feed__item:last-child { border-bottom: none; }
.feed__dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; font-size: 14px; }
.feed__t { font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.feed__time { font-size: 11px; color: var(--muted); margin-top: 2px; }

.broadcast { display: grid; grid-template-columns: 1fr 360px; gap: 16px; }
.composer textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px; font-family: inherit; font-size: 14px; resize: none; color: var(--ink); min-height: 92px; }
.composer textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { font-size: 12.5px; font-weight: 650; color: var(--slate-2); padding: 7px 12px; border-radius: 8px; }
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg button.danger.active { color: var(--p-critical); }
.field-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.field-row .lbl { font-size: 12px; font-weight: 650; color: var(--slate-2); }
.ann { border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; background: #fff; }
.ann.urgent { background: linear-gradient(0deg, #fff, #fff5f5); }
.ann__head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.ann__head .lv { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.ann__head .tm { margin-left: auto; font-size: 11px; color: var(--muted); }
.ann__body { font-size: 13.5px; color: var(--ink-2); }
.ann__to { font-size: 11.5px; color: var(--slate-2); margin-top: 8px; display: flex; align-items: center; gap: 6px; }

.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.fcard { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; padding: 24px 2px; border-top: 1px solid var(--line); }
.fcard__icon svg { width: 24px; height: 24px; }
.fcard h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.fcard p { font-size: 13.5px; color: var(--slate); margin-top: 6px; line-height: 1.5; }
.fcard__more { font-size: 12.5px; color: var(--slate-2); margin-top: 9px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.step { text-align: center; position: relative; }
.step__num { font-size: 30px; font-weight: 820; color: var(--accent); letter-spacing: -.02em; margin-bottom: 10px; }
.step h3 { font-size: 16px; font-weight: 700; }
.step p { font-size: 13.5px; color: var(--slate); margin-top: 8px; padding: 0 6px; }

.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.role { padding: 4px 2px; }
.role__ic { margin-bottom: 12px; }
.role h4 { font-size: 14.5px; font-weight: 700; }
.role p { font-size: 12.5px; color: var(--slate); margin-top: 6px; line-height: 1.5; }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.spec h4 { font-size: 15px; font-weight: 750; display: flex; align-items: center; gap: 10px; }
.spec h4 .si svg { width: 20px; height: 20px; }
.spec ul { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.spec li { font-size: 13px; color: var(--slate); padding-left: 14px; position: relative; }
.spec li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag { font-size: 12px; font-weight: 600; color: var(--slate); background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; position: relative; transition: .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { border: 0; background: var(--grad-dark); color: #fff; box-shadow: var(--shadow-lg); }
.plan.featured:hover { transform: translateY(-4px); }
.plan__tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 4px 11px; border-radius: 999px; }
.plan h3 { font-size: 18px; font-weight: 750; }
.plan .desc { font-size: 13px; opacity: .8; margin-top: 6px; min-height: 36px; }
.plan .price { font-size: 38px; font-weight: 850; letter-spacing: -.03em; margin-top: 14px; }
.plan .price small { font-size: 14px; font-weight: 600; opacity: .7; }
.plan .price .price__from { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0; opacity: .6; margin-bottom: 1px; }
.plan ul { margin: 18px 0 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { font-size: 13.5px; display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--green-600); }
.plan.featured li svg { color: #86efac; }

.cta { background: var(--grad-dark); border-radius: var(--r-xl); padding: 56px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 820; letter-spacing: -.02em; position: relative; }
.cta p { font-size: 17px; opacity: .85; margin: 16px auto 28px; max-width: 540px; position: relative; }
.cta .hero__cta { justify-content: center; position: relative; }

.footer { padding: 52px 0 36px; border-top: 1px solid var(--line); margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer p { font-size: 13.5px; color: var(--slate); margin-top: 14px; max-width: 280px; }
.footer h5 { font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 14px; }
.footer ul { display: flex; flex-direction: column; gap: 9px; }
.footer ul a { font-size: 13.5px; color: var(--slate); }
.footer ul a:hover { color: var(--accent); }
.footer__bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }

.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast {
  display: flex; gap: 11px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: 12px; padding: 13px 15px; box-shadow: var(--shadow-lg);
  animation: slideIn .35s cubic-bezier(.2,.8,.2,1);
}
.toast.out { animation: slideOut .3s ease forwards; }
.toast__ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; font-size: 14px; }
.toast__t { font-size: 13px; font-weight: 700; }
.toast__d { font-size: 12px; color: var(--slate); margin-top: 1px; }

.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 22px; }
.modal.open { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(3px); animation: fade .25s; }
.modal__card { position: relative; background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 540px; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); animation: pop .3s ease; }
.modal__hd { padding: 20px 22px; border-bottom: 1px solid var(--line); position: relative; }
.modal__hd .close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 9px; background: var(--bg); display: grid; place-items: center; color: var(--slate); }
.modal__bd { padding: 20px 22px; }
.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.tl { position: relative; padding: 0 0 16px; }
.tl::before { content: ""; position: absolute; left: -19px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.tl .tlt { font-size: 13px; font-weight: 650; }
.tl .tlm { font-size: 11.5px; color: var(--muted); }

@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes slideOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes countup { from { opacity: .3; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .fgrid, .steps, .roles { grid-template-columns: repeat(2, 1fr); }
  .specs, .plans { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .grid-2, .mapwrap, .broadcast { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .steps__line { display: none; }
  .app { grid-template-columns: 1fr; }
  .app__side { flex-direction: row; align-items: center; gap: 2px; padding: 7px 8px; overflow-x: auto; }
  .app__brand, .app__user, .navi__sep { display: none; }
  .navi { flex-direction: row; flex-wrap: nowrap; gap: 2px; width: 100%; justify-content: space-between; }
  .navi__item { flex: 1; justify-content: center; padding: 9px 4px; }
  .navi__item > span:not(.count) { display: none; }
  .navi__item .count { display: none; }
  .app__search, .app__top .icon-btn { display: none; }
  .app__top { padding: 12px 14px; gap: 10px; }
  #newIncidentBtn { padding: 9px; }
  #newIncidentBtn span { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .fgrid, .steps, .roles, .footer__grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .hero { padding: 26px 0 40px; }
  .hero__sub { margin-top: 18px; }
  .hero__cta { flex-direction: column; align-items: stretch; margin-top: 26px; }
  .hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 12px; margin-top: 28px; }
  .hero__trust .num { font-size: 23px; }
  .hero__trust .lbl { font-size: 11.5px; line-height: 1.3; }
  .container { padding: 0 16px; }
  .appwrap { padding: 8px; }
  .app__top .sub { display: none; }
  .app__view { padding: 14px; }
  .kanban { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .kcol { flex: 0 0 82%; scroll-snap-align: start; }
  /* compact mobile nav (hero carries the CTA) */
  .nav__inner { gap: 12px; }
  .brand small { display: none; }
  .nav__right .btn { display: none; }
  .lang button { padding: 6px 9px; }
  .footer__bottom { flex-direction: column; }
  .cta { padding: 36px 22px; }
}
