/* Public marketing landing page (served on the bare/apex domain). Standalone from site.css, which
   styles the authenticated tenant portal. Everything is scoped under .marketing-page / .mk-*. */

:root {
  --mk-bg: #ffffff;
  --mk-bg-soft: #f6f7fb;
  --mk-card: #ffffff;
  --mk-text: #0f172a;
  --mk-muted: #5b6475;
  --mk-border: #e6e8f0;
  --mk-accent: #4f46e5;
  --mk-accent-2: #7c3aed;
  --mk-accent-3: #0ea5e9;
  --mk-accent-soft: #eef2ff;
  --mk-green: #10b981;
  --mk-amber: #f59e0b;
  --mk-radius: 16px;
  --mk-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --mk-shadow: 0 24px 60px -24px rgba(30, 27, 75, .35);
  --mk-nav-bg: rgba(255, 255, 255, .78);
}

[data-bs-theme="dark"] {
  --mk-bg: #0b0f1a;
  --mk-bg-soft: #0f1524;
  --mk-card: #131a2c;
  --mk-text: #e8ebf3;
  --mk-muted: #9aa3b8;
  --mk-border: #232c42;
  --mk-accent: #818cf8;
  --mk-accent-2: #a78bfa;
  --mk-accent-3: #38bdf8;
  --mk-accent-soft: rgba(129, 140, 248, .12);
  --mk-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --mk-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
  --mk-nav-bg: rgba(11, 15, 26, .78);
}

body.marketing-page {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--mk-text);
  background: var(--mk-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

.marketing-page a { color: inherit; }
.marketing-page h1, .marketing-page h2, .marketing-page h3, .marketing-page h4 { color: var(--mk-text); letter-spacing: -0.02em; }
.marketing-page code { color: var(--mk-accent); background: var(--mk-accent-soft); padding: .1em .4em; border-radius: 6px; font-size: .88em; }

.mk-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.mk-skip { position: absolute; left: -999px; top: 8px; background: var(--mk-accent); color: #fff !important; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.mk-skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6rem 1.1rem; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.mk-btn svg { width: 18px; height: 18px; }
.mk-btn:hover { transform: translateY(-1px); }
.mk-btn:focus-visible, .mk-icon-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--mk-accent) 45%, transparent); outline-offset: 2px; }
.mk-btn-lg { padding: .85rem 1.4rem; font-size: 1rem; border-radius: 12px; }
.mk-btn-block { width: 100%; }
.mk-btn-primary { background: linear-gradient(135deg, var(--mk-accent), var(--mk-accent-2)); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .7); }
.mk-btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(79, 70, 229, .85); }
.mk-btn-outline { background: var(--mk-card); color: var(--mk-text) !important; border-color: var(--mk-border); box-shadow: var(--mk-shadow-sm); }
.mk-btn-outline:hover { border-color: var(--mk-accent); color: var(--mk-accent) !important; }
.mk-btn-ghost { background: transparent; color: var(--mk-text) !important; }
.mk-btn-ghost:hover { background: var(--mk-accent-soft); }
.mk-btn-light { background: #fff; color: #312e81 !important; }
.mk-btn-light:hover { box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45); }
.mk-btn-whatsapp { background: #22c55e; color: #fff !important; }
.mk-btn-whatsapp:hover { background: #16a34a; }

.mk-icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--mk-border); background: var(--mk-card); color: var(--mk-text); cursor: pointer;
}
.mk-icon-btn svg { width: 20px; height: 20px; }
.mk-moon { display: none; }
[data-bs-theme="dark"] .mk-sun { display: none; }
[data-bs-theme="dark"] .mk-moon { display: block; }

/* ---------- Nav ---------- */
.mk-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--mk-nav-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.mk-nav.is-scrolled { border-bottom-color: var(--mk-border); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .4); }
.mk-nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.mk-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.mk-brand-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--mk-accent), var(--mk-accent-2)); box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .8);
}
.mk-brand-mark svg { width: 22px; height: 22px; }

.mk-nav-links { display: flex; gap: 1.6rem; margin-left: 1rem; }
.mk-nav-links a { text-decoration: none; color: var(--mk-muted); font-weight: 500; font-size: .95rem; transition: color .15s ease; }
.mk-nav-links a:hover { color: var(--mk-text); }
.mk-nav-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.mk-menu-btn { display: none; }

.mk-login { position: relative; }
.mk-login-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 320px; padding: 1.1rem;
  background: var(--mk-card); border: 1px solid var(--mk-border); border-radius: 14px; box-shadow: var(--mk-shadow);
}
.mk-login-title { font-weight: 600; margin: 0 0 .7rem; font-size: .95rem; }

.mk-portal-form { display: grid; gap: .6rem; }
.mk-portal-field {
  display: flex; align-items: center; border: 1px solid var(--mk-border); border-radius: 10px; background: var(--mk-bg);
  overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease;
}
.mk-portal-field:focus-within { border-color: var(--mk-accent); box-shadow: 0 0 0 4px var(--mk-accent-soft); }
.mk-portal-field input { flex: 1; min-width: 0; border: 0; outline: 0; padding: .65rem .75rem; background: transparent; color: var(--mk-text); font: inherit; }
.mk-portal-suffix { padding-right: .75rem; color: var(--mk-muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }

/* ---------- Hero ---------- */
.mk-hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.mk-hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 900px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(40% 45% at 75% 30%, rgba(124, 58, 237, .20), transparent 70%),
    radial-gradient(35% 40% at 20% 20%, rgba(79, 70, 229, .18), transparent 70%),
    radial-gradient(30% 35% at 60% 70%, rgba(14, 165, 233, .14), transparent 70%);
}
.mk-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--mk-border) 1px, transparent 1px), linear-gradient(90deg, var(--mk-border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 50% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000 30%, transparent 75%);
}
.mk-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }

.mk-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px;
  background: var(--mk-accent-soft); color: var(--mk-accent); font-weight: 600; font-size: .85rem;
  border: 1px solid color-mix(in srgb, var(--mk-accent) 25%, transparent);
}
.mk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mk-green); box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }

.mk-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.45rem); line-height: 1.08; font-weight: 800; margin: 1.1rem 0 1.2rem; letter-spacing: -0.035em; }
.mk-gradient-text { background: linear-gradient(120deg, var(--mk-accent), var(--mk-accent-2) 55%, var(--mk-accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-lead { font-size: 1.15rem; color: var(--mk-muted); max-width: 560px; margin: 0 0 1.8rem; }
.mk-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.mk-hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--mk-muted); font-size: .92rem; font-weight: 500; }
.mk-hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.mk-hero-points svg { width: 18px; height: 18px; fill: none; stroke: var(--mk-green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Product mockup */
.mk-hero-visual { position: relative; }
.mk-mock {
  background: var(--mk-card); border: 1px solid var(--mk-border); border-radius: 18px; box-shadow: var(--mk-shadow);
  overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(3deg); transform-origin: left center;
}
.mk-mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--mk-border); background: var(--mk-bg-soft); }
.mk-mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.mk-mock-bar > span:nth-child(2) { background: #fbbf24; }
.mk-mock-bar > span:nth-child(3) { background: #34d399; }
.mk-mock-url { margin-left: 12px; flex: 1; font-size: .72rem; color: var(--mk-muted); background: var(--mk-card); border: 1px solid var(--mk-border); border-radius: 6px; padding: 3px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mk-mock-body { display: flex; min-height: 330px; }
.mk-mock-side { width: 52px; background: #111827; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.mk-mock-side i { width: 22px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.mk-mock-side i.is-active { background: #818cf8; width: 26px; }
.mk-mock-main { flex: 1; padding: 16px; display: grid; gap: 12px; align-content: start; font-size: .78rem; }
.mk-mock-head { display: flex; justify-content: space-between; align-items: center; }
.mk-mock-head b { display: block; font-size: .92rem; }
.mk-mock-head small, .mk-mock-main small { color: var(--mk-muted); font-size: .7rem; }
.mk-mock-chip { font-size: .68rem; padding: 3px 9px; border-radius: 999px; background: var(--mk-accent-soft); color: var(--mk-accent); font-weight: 600; }
.mk-mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mk-mock-kpis > div { border: 1px solid var(--mk-border); border-radius: 10px; padding: 8px 10px; background: var(--mk-bg); }
.mk-mock-kpis small { display: block; }
.mk-mock-kpis b { font-size: 1.15rem; display: inline-block; margin-right: 4px; }
.mk-mock-kpis em { font-style: normal; font-size: .64rem; color: var(--mk-muted); }
.mk-mock-kpis em.up { color: var(--mk-green); font-weight: 600; }
.mk-mock-kpis em.warn { color: var(--mk-amber); font-weight: 600; }
.mk-mock-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; }
.mk-mock-chart, .mk-mock-list { border: 1px solid var(--mk-border); border-radius: 10px; padding: 10px; background: var(--mk-bg); }
.mk-bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; margin-top: 10px; }
.mk-bars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--mk-accent-2), var(--mk-accent)); opacity: .9; }
.mk-bars span:nth-child(n+6) { opacity: .35; }
.mk-bars-labels { display: flex; gap: 7px; margin-top: 5px; }
.mk-bars-labels span { flex: 1; text-align: center; font-size: .62rem; color: var(--mk-muted); }
.mk-mock-list { display: grid; gap: 7px; align-content: start; }
.mk-mock-item { display: flex; align-items: center; gap: 8px; }
.mk-mock-item p { margin: 0; flex: 1; font-size: .68rem; line-height: 1.3; color: var(--mk-muted); }
.mk-mock-item p b { color: var(--mk-text); font-size: .72rem; }
.mk-ok { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(16, 185, 129, .14); color: var(--mk-green); font-weight: 700; font-size: .72rem; }

.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .62rem; font-weight: 700; flex-shrink: 0; }
.av.a1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.av.a2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.av.a3 { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.av.a4 { background: linear-gradient(135deg, #f59e0b, #f97316); }

.mk-float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: var(--mk-card); border: 1px solid var(--mk-border); box-shadow: var(--mk-shadow); font-size: .8rem;
  animation: mk-float 6s ease-in-out infinite;
}
.mk-float b { display: block; font-size: .85rem; }
.mk-float small { color: var(--mk-muted); font-size: .72rem; }
.mk-float-1 { left: -34px; bottom: 40px; }
.mk-float-2 { right: -18px; top: -22px; animation-delay: -3s; }
.mk-float-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; }
.mk-float-icon.green { background: rgba(16, 185, 129, .14); color: var(--mk-green); }
.mk-float-icon.indigo { background: var(--mk-accent-soft); color: var(--mk-accent); }
@keyframes mk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Capability strip ---------- */
.mk-strip { border-top: 1px solid var(--mk-border); border-bottom: 1px solid var(--mk-border); background: var(--mk-bg-soft); }
.mk-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.mk-strip-grid > div { padding: 28px 20px; display: grid; gap: 2px; text-align: center; }
.mk-strip-grid > div + div { border-left: 1px solid var(--mk-border); }
.mk-strip-grid b { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(120deg, var(--mk-accent), var(--mk-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-strip-grid span { color: var(--mk-muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.mk-section { padding: 104px 0; position: relative; }
.mk-section-soft { background: var(--mk-bg-soft); }
.mk-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.mk-section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.15; margin: .6rem 0 1rem; }
.mk-section-head p { color: var(--mk-muted); font-size: 1.08rem; margin: 0; }
.mk-kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-accent); }
.mk-kicker-light { color: #c7d2fe; }

/* Feature rows */
.mk-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 88px; }
.mk-feature:first-of-type { margin-top: 0; }
.mk-feature-rev .mk-feature-copy { order: 2; }
.mk-feature-tag { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: var(--mk-accent-soft); color: var(--mk-accent); font-weight: 600; font-size: .8rem; }
.mk-feature h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; line-height: 1.2; margin: .9rem 0 .9rem; }
.mk-feature h3 em { font-style: normal; color: var(--mk-accent); }
.mk-feature p { color: var(--mk-muted); font-size: 1.05rem; }
.mk-checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .75rem; }
.mk-checks li { position: relative; padding-left: 2rem; font-weight: 500; }
.mk-checks li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--mk-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4 4L19 7'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.mk-feature-visual {
  position: relative; border-radius: 22px; padding: 34px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--mk-accent) 14%, var(--mk-bg-soft)), color-mix(in srgb, var(--mk-accent-2) 10%, var(--mk-bg-soft)));
  border: 1px solid var(--mk-border);
}

/* Workflow visual */
.mk-flow { display: grid; gap: 0; background: var(--mk-card); border-radius: 16px; padding: 22px; box-shadow: var(--mk-shadow); border: 1px solid var(--mk-border); }
.mk-flow-step { display: flex; align-items: center; gap: 14px; }
.mk-flow-step > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; border: 2px solid var(--mk-border); color: var(--mk-muted); background: var(--mk-bg); flex-shrink: 0; }
.mk-flow-step b { display: block; font-size: .95rem; }
.mk-flow-step small { color: var(--mk-muted); font-size: .8rem; }
.mk-flow-step.done > span { background: var(--mk-green); border-color: var(--mk-green); color: #fff; }
.mk-flow-step.active > span { border-color: var(--mk-accent); color: var(--mk-accent); box-shadow: 0 0 0 5px var(--mk-accent-soft); }
.mk-flow-step.active small { color: var(--mk-accent); font-weight: 600; }
.mk-flow-line { width: 2px; height: 22px; margin-left: 16px; background: var(--mk-green); }
.mk-flow-line.dim { background: var(--mk-border); }

/* Punches visual */
.mk-punches { background: var(--mk-card); border-radius: 16px; padding: 18px; box-shadow: var(--mk-shadow); border: 1px solid var(--mk-border); display: grid; gap: 10px; }
.mk-punch-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.mk-live { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--mk-green); }
.mk-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mk-green); animation: mk-pulse 1.8s ease-out infinite; }
@keyframes mk-pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); } 100% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } }
.mk-punch { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--mk-border); border-radius: 12px; background: var(--mk-bg); }
.mk-punch p { margin: 0; flex: 1; font-weight: 600; font-size: .9rem; line-height: 1.3; }
.mk-punch p small { display: block; font-weight: 400; color: var(--mk-muted); font-size: .76rem; }
.mk-punch time { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .9rem; color: var(--mk-green); }
.mk-punch.late time { color: var(--mk-amber); }

/* Self-service visual */
.mk-ess { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-ess-tile { background: var(--mk-card); border: 1px solid var(--mk-border); border-radius: 16px; padding: 18px; box-shadow: var(--mk-shadow-sm); display: grid; gap: 4px; transition: transform .2s ease, box-shadow .2s ease; }
.mk-ess-tile:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow); }
.mk-ess-tile svg { width: 26px; height: 26px; color: var(--mk-accent); margin-bottom: 6px; }
.mk-ess-tile small { color: var(--mk-muted); font-size: .82rem; }

/* Modules grid */
.mk-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.mk-module {
  background: var(--mk-card); border: 1px solid var(--mk-border); border-radius: var(--mk-radius); padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mk-module:hover { transform: translateY(-4px); box-shadow: var(--mk-shadow); border-color: color-mix(in srgb, var(--mk-accent) 40%, var(--mk-border)); }
.mk-module-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--mk-accent-soft); color: var(--mk-accent); margin-bottom: 16px; }
.mk-module-icon svg { width: 24px; height: 24px; }
.mk-module h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 .4rem; }
.mk-module p { margin: 0; color: var(--mk-muted); font-size: .93rem; }

/* Security (dark band) */
.mk-security { background: radial-gradient(80% 120% at 0% 0%, #312e81 0%, #1e1b4b 45%, #0b0f1a 100%); color: #e0e7ff; }
.mk-security h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.15; margin: .6rem 0 1rem; }
.mk-security-copy p { color: #c7d2fe; font-size: 1.08rem; margin-bottom: 1.8rem; }
.mk-security-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.mk-security-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mk-sec-item { display: flex; gap: 14px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.mk-sec-item > span { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(129, 140, 248, .18); color: #c7d2fe; flex-shrink: 0; }
.mk-sec-item > span svg { width: 22px; height: 22px; }
.mk-sec-item b { color: #fff; display: block; margin-bottom: .2rem; }
.mk-sec-item p { margin: 0; color: #a5b4fc; font-size: .9rem; }

/* Region */
.mk-region {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 24px;
  border: 1px solid var(--mk-border); background: linear-gradient(135deg, var(--mk-bg-soft), var(--mk-card));
}
.mk-region h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.2; margin: .6rem 0 1rem; }
.mk-region p { color: var(--mk-muted); font-size: 1.05rem; margin: 0; }
.mk-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-lang { padding: 20px; border-radius: 16px; background: var(--mk-card); border: 1px solid var(--mk-border); box-shadow: var(--mk-shadow-sm); display: grid; gap: 4px; }
.mk-lang b { font-size: 1.1rem; }
.mk-lang.rtl b { font-family: "Segoe UI", "Noto Naskh Arabic", "Noto Nastaliq Urdu", Tahoma, sans-serif; font-size: 1.25rem; }
.mk-lang small { color: var(--mk-muted); font-size: .8rem; }

/* Steps */
.mk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.mk-step { background: var(--mk-card); border: 1px solid var(--mk-border); border-radius: var(--mk-radius); padding: 30px; position: relative; }
.mk-step-num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--mk-accent), var(--mk-accent-2)); margin-bottom: 18px; box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .8); }
.mk-step h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .5rem; }
.mk-step p { margin: 0; color: var(--mk-muted); }

/* FAQ */
.mk-faq-wrap { max-width: 820px; }
.mk-faq { display: grid; gap: 12px; }
.mk-faq details { border: 1px solid var(--mk-border); border-radius: 14px; background: var(--mk-card); padding: 0 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.mk-faq details[open] { border-color: color-mix(in srgb, var(--mk-accent) 40%, var(--mk-border)); box-shadow: var(--mk-shadow-sm); }
.mk-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--mk-accent); transition: transform .2s ease; line-height: 1; }
.mk-faq details[open] summary::after { transform: rotate(45deg); }
.mk-faq details p { color: var(--mk-muted); margin: 0 0 18px; }

/* CTA */
.mk-cta-section { padding-top: 40px; }
.mk-cta {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: center; padding: 56px; border-radius: 28px; color: #fff;
  background: radial-gradient(90% 140% at 100% 0%, #7c3aed 0%, #4f46e5 45%, #312e81 100%);
  box-shadow: 0 40px 80px -40px rgba(79, 70, 229, .8); position: relative; overflow: hidden;
}
.mk-cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; bottom: -220px; background: rgba(255, 255, 255, .08); }
.mk-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.15; margin: 0 0 .8rem; }
.mk-cta p { color: #e0e7ff; font-size: 1.08rem; margin: 0 0 1.6rem; }
.mk-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mk-cta-portal { position: relative; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 24px; backdrop-filter: blur(6px); }
.mk-cta-portal-title { font-weight: 700; margin: 0 0 .8rem !important; color: #fff !important; }
.mk-cta-portal .mk-portal-field { background: rgba(255, 255, 255, .95); border-color: transparent; }
.mk-cta-portal .mk-portal-field input { color: #0f172a; }
.mk-cta-portal .mk-portal-suffix { color: #64748b; }

/* Footer */
.mk-footer { border-top: 1px solid var(--mk-border); padding: 56px 0 28px; margin-top: 64px; background: var(--mk-bg-soft); }
.mk-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.mk-footer-brand p { color: var(--mk-muted); margin: 1rem 0 0; max-width: 320px; font-size: .95rem; }
.mk-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mk-muted); margin: 0 0 1rem; font-weight: 700; }
.mk-footer-grid > div > a:not(.mk-brand) { display: block; text-decoration: none; color: var(--mk-text); margin-bottom: .55rem; font-size: .95rem; word-break: break-word; }
.mk-footer-grid > div > a:not(.mk-brand):hover { color: var(--mk-accent); }
.mk-footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--mk-border); color: var(--mk-muted); font-size: .88rem; }

/* Reveal on scroll (only when JS is running) */
.mk-js .mk-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.mk-js .mk-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .mk-float, .mk-live i { animation: none; }
  .mk-js .mk-reveal { opacity: 1; transform: none; transition: none; }
  .mk-mock { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mk-hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .mk-hero-copy { text-align: center; }
  .mk-lead { margin-left: auto; margin-right: auto; }
  .mk-hero-actions, .mk-hero-points { justify-content: center; }
  .mk-hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .mk-mock { transform: none; }
  .mk-security-grid, .mk-region, .mk-cta { grid-template-columns: 1fr; }
  .mk-feature { grid-template-columns: 1fr; gap: 36px; }
  .mk-feature-rev .mk-feature-copy { order: 0; }
}

@media (max-width: 900px) {
  .mk-nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--mk-card); border-bottom: 1px solid var(--mk-border); box-shadow: var(--mk-shadow);
    padding: 8px 24px 16px; display: none;
  }
  .mk-nav-links.is-open { display: flex; }
  .mk-nav-links a { padding: 12px 0; border-bottom: 1px solid var(--mk-border); font-size: 1rem; color: var(--mk-text); }
  .mk-nav-links a:last-child { border-bottom: 0; }
  .mk-menu-btn { display: inline-grid; }
  .mk-strip-grid { grid-template-columns: 1fr 1fr; }
  .mk-strip-grid > div:nth-child(3) { border-left: 0; }
  .mk-strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--mk-border); }
  .mk-steps { grid-template-columns: 1fr; }
  .mk-footer-grid { grid-template-columns: 1fr 1fr; }
  .mk-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .mk-container { padding: 0 16px; }
  .mk-hide-sm { display: none; }
  .mk-hero { padding: 40px 0 64px; }
  .mk-section { padding: 72px 0; }
  .mk-section-head { margin-bottom: 40px; }
  .mk-mock-kpis { grid-template-columns: 1fr 1fr; }
  .mk-mock-row { grid-template-columns: 1fr; }
  .mk-mock-body { min-height: 0; }
  .mk-mock-side { width: 36px; }
  .mk-float-1 { display: none; }
  .mk-float-2 { right: -6px; top: -26px; }
  .mk-security-list, .mk-langs, .mk-ess { grid-template-columns: 1fr; }
  .mk-region, .mk-cta { padding: 28px 22px; border-radius: 20px; }
  .mk-feature-visual { padding: 18px; }
  .mk-login-panel { position: fixed; left: 16px; right: 16px; top: 76px; width: auto; }
  .mk-btn-lg { width: 100%; }
  .mk-cta-actions .mk-btn { width: 100%; }
}
