:root {
  --navy-950: #061735;
  --navy-900: #0a2452;
  --navy-800: #0b2e6d;
  --blue-700: #1454b8;
  --blue-600: #1d6fdc;
  --blue-500: #2f83e8;
  --teal-700: #0b8d88;
  --teal-600: #12a9a2;
  --teal-500: #18b8a7;
  --teal-100: #dff8f4;
  --cyan-50: #effcfb;
  --slate-950: #0f172a;
  --slate-900: #172033;
  --slate-800: #24324a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --green: #13a56b;
  --green-soft: #e7f8f0;
  --amber: #e69a16;
  --amber-soft: #fff4d9;
  --red: #d94f57;
  --red-soft: #fff0f1;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 5px 18px rgba(8, 30, 66, 0.08);
  --shadow: 0 18px 45px rgba(8, 30, 66, 0.12);
  --shadow-lg: 0 30px 90px rgba(8, 30, 66, 0.18);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--slate-900);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
p { line-height: 1.7; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
.section-muted { background: linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%); }
.section-dark { background: var(--navy-950); color: var(--white); }
.center { text-align: center; }
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--teal-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
}
.section-dark .eyebrow { color: #79e2d8; }
.section-title {
  max-width: 780px;
  margin: 0 0 22px;
  color: var(--slate-950);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.center .section-title, .center .section-copy { margin-left: auto; margin-right: auto; }
.section-dark .section-title { color: var(--white); }
.section-copy {
  max-width: 720px;
  margin: 0;
  color: var(--slate-600);
  font-size: 18px;
}
.section-dark .section-copy { color: #b8c8e3; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(203, 213, 225, .68);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 185px; height: auto; }
.brand-compact img { width: 156px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  position: relative;
  color: var(--slate-700);
  font-size: 15px;
  font-weight: 650;
}
.site-nav a:hover, .site-nav a.active { color: var(--navy-800); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--navy-800);
  font-size: 20px;
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--teal-600));
  box-shadow: 0 12px 28px rgba(20, 84, 184, .24);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(20, 84, 184, .3); }
.btn-secondary { color: var(--navy-800); background: var(--white); border: 1px solid var(--slate-200); }
.btn-ghost { color: var(--navy-800); background: transparent; border: 1px solid rgba(20, 84, 184, .2); }
.btn-light { color: var(--navy-800); background: var(--white); }
.btn-sm { min-height: 42px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
.btn-icon { font-size: 18px; line-height: 1; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 72px;
  background:
    radial-gradient(circle at 11% 14%, rgba(24,184,167,.13), transparent 31%),
    radial-gradient(circle at 85% 6%, rgba(47,131,232,.15), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  pointer-events: none;
  background-image: linear-gradient(rgba(14, 49, 105, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 49, 105, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 90%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 66px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(20, 84, 184, .14);
  border-radius: 999px;
  color: var(--navy-800);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 750;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 5px rgba(24,184,167,.12); }
.hero h1 {
  margin: 0 0 24px;
  color: var(--slate-950);
  font-size: clamp(46px, 6vw, 70px);
  line-height: .99;
  letter-spacing: -.055em;
}
.hero h1 span { color: transparent; background: linear-gradient(120deg, var(--blue-700), var(--teal-500)); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 630px; margin: 0 0 30px; color: var(--slate-600); font-size: 19px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; color: var(--slate-600); font-size: 13px; font-weight: 650; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof span::before { content: "✓"; width: 21px; height: 21px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--teal-700); background: var(--teal-100); font-weight: 900; }

.hero-visual { position: relative; }
.hero-orbit {
  position: absolute;
  right: -65px;
  top: -55px;
  width: 290px;
  height: 290px;
  border: 1px dashed rgba(20,84,184,.2);
  border-radius: 50%;
  animation: rotate 32s linear infinite;
}
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 7px rgba(24,184,167,.12); }
.hero-orbit::before { top: 34px; left: 28px; }
.hero-orbit::after { right: 34px; bottom: 44px; background: var(--blue-600); box-shadow: 0 0 0 7px rgba(29,111,220,.12); }
@keyframes rotate { to { transform: rotate(360deg); } }
.browser-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(203,213,225,.8);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-5deg) rotateX(1.5deg);
}
.browser-bar { height: 46px; display: flex; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid var(--slate-200); background: #fbfdff; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: #d9e1eb; }
.browser-url { height: 24px; flex: 1; margin-left: 8px; border-radius: 7px; background: var(--slate-100); }
.browser-card img { width: 100%; aspect-ratio: 1.58; object-fit: cover; object-position: top left; background: var(--slate-50); }
.floating-card {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  padding: 14px 16px;
  border: 1px solid rgba(203,213,225,.8);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.float-top { right: -26px; top: 68px; }
.float-bottom { left: -34px; bottom: 30px; }
.floating-label { display: block; margin-bottom: 4px; color: var(--slate-500); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.floating-value { color: var(--slate-900); font-size: 15px; font-weight: 800; }
.floating-status { display: flex; align-items: center; gap: 8px; }
.status-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(19,165,107,.13); }

.network-strip { border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); background: var(--white); }
.network-inner { min-height: 102px; display: grid; grid-template-columns: 1.2fr repeat(5, 1fr); align-items: center; gap: 20px; }
.network-label { color: var(--slate-500); font-size: 13px; font-weight: 700; line-height: 1.45; }
.network-item { display: flex; align-items: center; gap: 9px; color: var(--slate-700); font-size: 14px; font-weight: 750; }
.network-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--blue-700); background: #eef5ff; font-size: 17px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(8, 30, 66, .055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(20,84,184,.28); box-shadow: var(--shadow); }
.feature-card::after { content: ""; position: absolute; right: -45px; bottom: -60px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(24,184,167,.13), transparent 68%); }
.feature-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--navy-800);
  background: linear-gradient(135deg, #eaf3ff, var(--teal-100));
  font-size: 23px;
  font-weight: 850;
}
.feature-card h3 { margin: 0 0 12px; color: var(--slate-950); font-size: 21px; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--slate-600); font-size: 15px; }
.feature-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--blue-700); font-size: 14px; font-weight: 750; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.check-list { display: grid; gap: 16px; margin: 30px 0 0; }
.check-item { display: grid; grid-template-columns: 32px 1fr; gap: 13px; align-items: start; }
.check-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: var(--teal-700); background: var(--teal-100); font-weight: 900; }
.check-item strong { display: block; margin: 1px 0 4px; color: var(--slate-900); font-size: 16px; }
.check-item p { margin: 0; color: var(--slate-600); font-size: 14px; line-height: 1.55; }
.flow-card {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(203,213,225,.8);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #f3f8ff);
  box-shadow: var(--shadow);
}
.flow-line { position: absolute; left: 56px; top: 72px; bottom: 72px; width: 2px; background: linear-gradient(var(--blue-600), var(--teal-500)); opacity: .36; }
.flow-step { position: relative; z-index: 1; display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; padding: 15px 0; }
.flow-number { width: 48px; height: 48px; display: grid; place-items: center; border: 6px solid #f7fbff; border-radius: 50%; color: var(--white); background: linear-gradient(135deg, var(--blue-700), var(--teal-500)); box-shadow: 0 5px 15px rgba(20,84,184,.2); font-weight: 850; }
.flow-step h4 { margin: 0 0 4px; color: var(--slate-900); font-size: 16px; }
.flow-step p { margin: 0; color: var(--slate-500); font-size: 13px; line-height: 1.5; }

.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.audience-card { padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.055); }
.audience-card h3 { margin: 0 0 10px; color: var(--white); font-size: 18px; }
.audience-card p { margin: 0; color: #b8c8e3; font-size: 14px; line-height: 1.6; }
.audience-tag { display: inline-block; margin-bottom: 16px; padding: 6px 9px; border-radius: 9px; color: #93eee4; background: rgba(24,184,167,.12); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.benefit { padding: 24px 0; border-top: 3px solid var(--slate-200); }
.benefit:nth-child(1) { border-color: var(--blue-600); }
.benefit:nth-child(2) { border-color: var(--teal-500); }
.benefit:nth-child(3) { border-color: var(--navy-800); }
.benefit h3 { margin: 0 0 10px; font-size: 19px; }
.benefit p { margin: 0; color: var(--slate-600); font-size: 15px; }

.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.preview-card { overflow: hidden; border: 1px solid var(--slate-200); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.preview-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.preview-image { aspect-ratio: 1.48; overflow: hidden; background: var(--slate-100); border-bottom: 1px solid var(--slate-200); }
.preview-image img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.preview-content { padding: 22px; }
.preview-content h3 { margin: 0 0 8px; font-size: 19px; }
.preview-content p { margin: 0; color: var(--slate-600); font-size: 14px; }

.cta-band { padding: 76px 0; background: linear-gradient(120deg, var(--navy-900), var(--blue-700) 55%, var(--teal-600)); color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 690px; margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.035em; }
.cta-band p { max-width: 640px; margin: 0; color: rgba(255,255,255,.78); }
.cta-actions { display: flex; gap: 12px; flex: 0 0 auto; }

.site-footer { padding: 64px 0 30px; color: #b8c8e3; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 44px; padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 11px; color: var(--white); font-weight: 850; font-size: 24px; }
.footer-brand img { width: 43px; height: 43px; padding: 5px; border-radius: 12px; background: var(--white); }
.footer-about { max-width: 350px; margin: 18px 0 0; font-size: 14px; line-height: 1.7; }
.footer-col h4 { margin: 0 0 17px; color: var(--white); font-size: 14px; }
.footer-col a { display: block; margin: 10px 0; color: #b8c8e3; font-size: 14px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 24px; color: #8397ba; font-size: 12px; }

/* Internal platform page */
.page-hero { position: relative; overflow: hidden; padding: 88px 0 78px; color: var(--white); background: linear-gradient(120deg, var(--navy-950), var(--navy-800) 58%, #0f7f8c); }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -250px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.03), 0 0 0 160px rgba(255,255,255,.02); }
.page-hero-inner { position: relative; z-index: 1; max-width: 880px; }
.page-hero .eyebrow { color: #8ceae1; }
.page-hero .eyebrow::before { background: #8ceae1; }
.page-hero h1 { margin: 0 0 22px; font-size: clamp(44px, 6vw, 66px); line-height: 1.01; letter-spacing: -.05em; }
.page-hero p { max-width: 760px; margin: 0; color: #cedaf0; font-size: 19px; }
.page-hero-actions { display: flex; gap: 12px; margin-top: 30px; }

.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.module-card { padding: 25px; border: 1px solid var(--slate-200); border-radius: 18px; background: var(--white); box-shadow: 0 8px 26px rgba(8,30,66,.045); }
.module-card .feature-icon { width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px; font-size: 19px; }
.module-card h3 { margin: 0 0 8px; font-size: 17px; }
.module-card p { margin: 0; color: var(--slate-600); font-size: 13px; line-height: 1.6; }
.module-card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.module-card li { position: relative; padding-left: 17px; color: var(--slate-600); font-size: 12px; line-height: 1.45; }
.module-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }

.role-tabs { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; margin-top: 46px; align-items: start; }
.role-menu { display: grid; gap: 10px; }
.role-button { width: 100%; padding: 16px 18px; border: 1px solid var(--slate-200); border-radius: 14px; display: flex; justify-content: space-between; align-items: center; color: var(--slate-700); background: var(--white); text-align: left; font-weight: 750; }
.role-button.active { color: var(--navy-800); border-color: rgba(20,84,184,.3); background: #f1f7ff; box-shadow: var(--shadow-sm); }
.role-content { min-height: 330px; padding: 34px; border-radius: 24px; color: var(--white); background: linear-gradient(135deg, var(--navy-900), var(--blue-700)); box-shadow: var(--shadow); }
.role-content h3 { margin: 0 0 12px; font-size: 28px; }
.role-content p { margin: 0 0 22px; color: #d2def2; }
.role-content ul { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; margin: 0; padding: 0; list-style: none; }
.role-content li { padding: 13px 14px; border-radius: 12px; background: rgba(255,255,255,.08); color: #edf4ff; font-size: 14px; }

.integration-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.integration { min-height: 98px; padding: 18px; border: 1px solid var(--slate-200); border-radius: 16px; display: grid; place-items: center; color: var(--slate-700); background: var(--white); text-align: center; font-size: 13px; font-weight: 750; }

.implementation { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.implementation-step { position: relative; padding: 27px 22px 24px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.implementation-step span { display: inline-grid; width: 38px; height: 38px; place-items: center; margin-bottom: 18px; border-radius: 11px; color: var(--navy-950); background: #8ceae1; font-weight: 900; }
.implementation-step h3 { margin: 0 0 9px; color: var(--white); font-size: 17px; }
.implementation-step p { margin: 0; color: #b8c8e3; font-size: 13px; line-height: 1.6; }

.contact-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; padding: 38px; border: 1px solid var(--slate-200); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.contact-copy h2 { margin: 0 0 14px; font-size: 36px; letter-spacing: -.03em; }
.contact-copy p { margin: 0 0 26px; color: var(--slate-600); }
.contact-note { padding: 18px; border-radius: 14px; color: var(--navy-800); background: #eff7ff; font-size: 13px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--slate-700); font-size: 12px; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--slate-200); border-radius: 11px; padding: 13px 14px; color: var(--slate-900); background: var(--slate-50); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,131,232,.1); background: var(--white); }
.field textarea { min-height: 112px; resize: vertical; }
.form-response { display: none; padding: 12px 14px; margin-top: 14px; border-radius: 11px; color: #0f6a48; background: var(--green-soft); font-size: 13px; }
.form-response.visible { display: block; }

/* Application preview */
body.app-demo { min-width: 1040px; overflow-x: auto; color: #172033; background: #eef3f8; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0, 1fr); }
.app-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 17px 19px; color: #b8c8e3; background: linear-gradient(180deg, #071b3e 0%, #0a2452 100%); display: flex; flex-direction: column; }
.app-brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 24px; color: var(--white); }
.app-brand img { width: 38px; height: 38px; padding: 4px; border-radius: 11px; background: var(--white); }
.app-brand strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.app-brand small { display: block; color: #8da3c7; font-size: 10px; margin-top: 2px; }
.app-workspace { margin: 0 6px 18px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.055); }
.app-workspace span { display: block; color: #7f94b8; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.app-workspace strong { display: block; margin-top: 5px; color: var(--white); font-size: 12px; }
.app-nav-label { margin: 12px 11px 8px; color: #60779f; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.app-nav { display: grid; gap: 4px; }
.app-nav button, .app-nav a { width: 100%; min-height: 41px; padding: 0 12px; border: 0; border-radius: 10px; display: flex; align-items: center; gap: 11px; color: #a9bad5; background: transparent; font-size: 12px; font-weight: 650; text-align: left; }
.app-nav button:hover, .app-nav button.active, .app-nav a:hover { color: var(--white); background: rgba(255,255,255,.09); }
.app-nav button.active { box-shadow: inset 3px 0 0 #56d9cc; }
.app-nav-icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.07); font-size: 12px; }
.app-sidebar-footer { margin-top: auto; padding: 15px 9px 0; border-top: 1px solid rgba(255,255,255,.09); }
.operator-card { display: flex; align-items: center; gap: 10px; }
.operator-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-950); background: #8ceae1; font-size: 11px; font-weight: 900; }
.operator-meta strong { display: block; color: var(--white); font-size: 11px; }
.operator-meta small { color: #7f94b8; font-size: 9px; }

.app-content { min-width: 0; }
.app-topbar { height: 72px; padding: 0 27px; border-bottom: 1px solid #dce5ef; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(255,255,255,.94); }
.app-heading small { display: block; margin-bottom: 3px; color: #7b8aa0; font-size: 10px; }
.app-heading strong { color: #12203a; font-size: 17px; letter-spacing: -.015em; }
.app-top-actions { display: flex; align-items: center; gap: 10px; }
.app-date { padding: 9px 12px; border: 1px solid #dce5ef; border-radius: 10px; color: #4b5b73; background: #fff; font-size: 10px; font-weight: 700; }
.app-round-button { width: 37px; height: 37px; border: 1px solid #dce5ef; border-radius: 11px; display: grid; place-items: center; color: #40516c; background: #fff; position: relative; }
.app-round-button .notification { position: absolute; right: 6px; top: 6px; width: 6px; height: 6px; border: 2px solid #fff; border-radius: 50%; background: #d94f57; }
.app-primary-button { min-height: 37px; padding: 0 14px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(135deg,#1454b8,#12a9a2); font-size: 10px; font-weight: 800; }
.app-main { padding: 23px 27px 34px; }
.app-demo-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 14px; margin-bottom: 17px; border: 1px solid #cfe6e3; border-radius: 11px; color: #176f6a; background: #effbf9; font-size: 10px; }
.app-demo-note a { color: #1454b8; font-weight: 800; }
.app-view { display: none; }
.app-view.active { display: block; }
.app-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.app-title-row h1 { margin: 0 0 4px; color: #101c31; font-size: 24px; letter-spacing: -.035em; }
.app-title-row p { margin: 0; color: #718096; font-size: 11px; }
.app-filter-row { display: flex; gap: 8px; }
.app-filter { min-height: 34px; padding: 0 11px; border: 1px solid #dce5ef; border-radius: 9px; color: #4b5b73; background: #fff; font-size: 9px; font-weight: 750; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 15px; }
.kpi-card { position: relative; overflow: hidden; min-height: 111px; padding: 16px; border: 1px solid #dfe7f0; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(11,46,109,.045); }
.kpi-card::after { content: ""; position: absolute; right: -22px; top: -25px; width: 78px; height: 78px; border-radius: 50%; background: rgba(47,131,232,.08); }
.kpi-card.teal::after { background: rgba(24,184,167,.11); }
.kpi-card.amber::after { background: rgba(230,154,22,.12); }
.kpi-card.red::after { background: rgba(217,79,87,.1); }
.kpi-top { display: flex; justify-content: space-between; align-items: center; color: #6e7e94; font-size: 9px; font-weight: 750; }
.kpi-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #1454b8; background: #edf4ff; font-size: 12px; }
.kpi-card.teal .kpi-icon { color: #0b8d88; background: #e7f8f0; }
.kpi-card.amber .kpi-icon { color: #ad6a00; background: #fff4d9; }
.kpi-card.red .kpi-icon { color: #b63d46; background: #fff0f1; }
.kpi-value { display: flex; align-items: baseline; gap: 8px; margin-top: 9px; }
.kpi-value strong { color: #14213a; font-size: 25px; letter-spacing: -.04em; }
.kpi-trend { color: #13a56b; font-size: 8px; font-weight: 850; }
.kpi-sub { display: block; margin-top: 2px; color: #8795a9; font-size: 8px; }

.app-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr); gap: 14px; }
.app-grid-equal { display: grid; grid-template-columns: 1.12fr .88fr; gap: 14px; }
.panel { min-width: 0; border: 1px solid #dfe7f0; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(11,46,109,.04); }
.panel-header { min-height: 52px; padding: 0 16px; border-bottom: 1px solid #e5ebf2; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-title strong { display: block; color: #17233a; font-size: 12px; }
.panel-title small { display: block; margin-top: 2px; color: #8795a9; font-size: 8px; }
.panel-link { color: #1454b8; font-size: 8px; font-weight: 800; }
.panel-body { padding: 14px 16px; }

.mission-table { width: 100%; border-collapse: collapse; }
.mission-table th { padding: 0 8px 9px; color: #8795a9; font-size: 7px; font-weight: 850; text-align: left; text-transform: uppercase; letter-spacing: .06em; }
.mission-table td { padding: 10px 8px; border-top: 1px solid #edf1f6; color: #44546d; font-size: 8px; vertical-align: middle; }
.mission-table td strong { display: block; margin-bottom: 2px; color: #17233a; font-size: 9px; }
.mission-table td small { color: #8a98ab; font-size: 7px; }
.table-id { color: #1454b8; font-weight: 850; }
.person-chip { display: flex; align-items: center; gap: 7px; }
.tiny-avatar { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #0b2e6d; background: #dceaff; font-size: 7px; font-weight: 900; }
.status-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 999px; font-size: 7px; font-weight: 800; white-space: nowrap; }
.status-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-transit { color: #1454b8; background: #edf4ff; }
.status-ready { color: #0b8d88; background: #e8f8f5; }
.status-wait { color: #ad6a00; background: #fff4d9; }
.status-alert { color: #b63d46; background: #fff0f1; }
.status-done { color: #0f7b50; background: #e7f8f0; }

.map { position: relative; overflow: hidden; min-height: 282px; background: #edf4f7; }
.map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(25deg, transparent 44%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.9) 49%, transparent 50%), linear-gradient(-32deg, transparent 45%, rgba(255,255,255,.85) 46%, rgba(255,255,255,.85) 50%, transparent 51%); background-size: 120px 120px, 160px 160px; opacity: .9; }
.map::after { content: ""; position: absolute; left: 5%; top: 64%; width: 93%; height: 3px; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(20,84,184,.4) 10%, rgba(24,184,167,.65) 48%, rgba(20,84,184,.4) 88%, transparent); transform: rotate(-11deg); box-shadow: 0 -54px 0 rgba(24,184,167,.22), 0 46px 0 rgba(20,84,184,.17); }
.map-zone { position: absolute; border: 1px solid rgba(20,84,184,.15); border-radius: 50%; background: rgba(47,131,232,.06); }
.map-zone.one { width: 88px; height: 88px; left: 16%; top: 13%; }
.map-zone.two { width: 130px; height: 130px; right: 7%; bottom: 3%; background: rgba(24,184,167,.07); }
.map-marker { position: absolute; z-index: 2; display: grid; place-items: center; width: 25px; height: 25px; border: 3px solid #fff; border-radius: 50% 50% 50% 6px; color: #fff; background: #1454b8; box-shadow: 0 5px 12px rgba(11,46,109,.22); transform: rotate(-45deg); font-size: 8px; }
.map-marker span { transform: rotate(45deg); }
.map-marker.teal { background: #12a9a2; }
.map-marker.amber { background: #e69a16; }
.m1 { left: 17%; top: 24%; } .m2 { left: 45%; top: 49%; } .m3 { right: 19%; top: 24%; } .m4 { right: 30%; bottom: 14%; }
.vehicle-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #d9e3ee; border-radius: 8px; color: #334155; background: #fff; box-shadow: 0 4px 12px rgba(11,46,109,.1); font-size: 7px; font-weight: 850; }
.v1 { left: 33%; top: 32%; } .v2 { right: 21%; bottom: 31%; }
.map-legend { position: absolute; z-index: 3; left: 10px; bottom: 10px; display: flex; gap: 7px; padding: 7px 8px; border-radius: 8px; color: #5b6b83; background: rgba(255,255,255,.9); font-size: 6px; }

.stack { display: grid; gap: 14px; }
.temp-card { padding: 14px; }
.temp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.temp-main strong { display: block; color: #17233a; font-size: 22px; letter-spacing: -.04em; }
.temp-main small { color: #8795a9; font-size: 8px; }
.temp-ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #0b8d88; background: conic-gradient(#12a9a2 0 82%, #e4ecef 82%); position: relative; font-size: 9px; font-weight: 900; }
.temp-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.temp-ring span { position: relative; z-index: 1; }
.temp-scale { margin-top: 12px; height: 6px; border-radius: 999px; background: linear-gradient(90deg,#2f83e8 0 23%,#12a9a2 23% 77%,#e69a16 77% 92%,#d94f57 92%); position: relative; }
.temp-scale::after { content: ""; position: absolute; left: 45%; top: -3px; width: 3px; height: 12px; border-radius: 2px; background: #17233a; }
.staff-list { display: grid; gap: 10px; }
.staff-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.staff-person { display: flex; align-items: center; gap: 8px; }
.staff-person strong { display: block; color: #24324a; font-size: 8px; }
.staff-person small { color: #8a98ab; font-size: 7px; }
.staff-state { color: #0f7b50; font-size: 7px; font-weight: 800; }
.alert-list { display: grid; gap: 8px; }
.alert-item { padding: 10px; border-left: 3px solid #e69a16; border-radius: 8px; background: #fffbf2; }
.alert-item.red { border-color: #d94f57; background: #fff5f5; }
.alert-item strong { display: block; color: #334155; font-size: 8px; }
.alert-item small { display: block; margin-top: 3px; color: #8795a9; font-size: 7px; line-height: 1.45; }

/* Missions view */
.dispatch-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 14px; }
.mission-queue { max-height: 650px; overflow: hidden; }
.queue-filters { display: flex; gap: 6px; padding: 12px; border-bottom: 1px solid #e5ebf2; }
.queue-pill { padding: 6px 8px; border-radius: 999px; color: #64748b; background: #f1f5f9; font-size: 7px; font-weight: 800; }
.queue-pill.active { color: #1454b8; background: #eaf3ff; }
.queue-item { padding: 13px; border-bottom: 1px solid #edf1f6; background: #fff; }
.queue-item.selected { background: #f2f7ff; box-shadow: inset 3px 0 0 #1454b8; }
.queue-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.queue-item h3 { margin: 7px 0 4px; color: #17233a; font-size: 10px; }
.queue-item p { margin: 0; color: #7d8ba0; font-size: 7px; line-height: 1.45; }
.queue-meta { display: flex; gap: 10px; margin-top: 9px; color: #5c6c83; font-size: 7px; font-weight: 700; }
.dispatch-main { display: grid; grid-template-rows: 350px auto; gap: 14px; }
.dispatch-map { min-height: 350px; }
.route-line { position: absolute; z-index: 2; left: 20%; top: 60%; width: 64%; height: 3px; border-radius: 99px; background: linear-gradient(90deg,#1454b8,#18b8a7); transform: rotate(-17deg); box-shadow: 25px -35px 0 -1px rgba(20,84,184,.45), 55px -65px 0 -1px rgba(24,184,167,.45); }
.route-progress { position: absolute; z-index: 3; left: 49%; top: 40%; width: 29px; height: 29px; display: grid; place-items: center; border: 4px solid #fff; border-radius: 50%; color: #fff; background: #1454b8; box-shadow: 0 6px 14px rgba(11,46,109,.25); font-size: 10px; }
.dispatch-detail { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.timeline { display: grid; gap: 11px; }
.timeline-item { display: grid; grid-template-columns: 22px 1fr auto; gap: 9px; align-items: start; position: relative; }
.timeline-item:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: -13px; width: 2px; background: #dce5ef; }
.timeline-dot { position: relative; z-index: 1; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #12a9a2; font-size: 7px; }
.timeline-dot.pending { color: #7b8aa0; background: #e7edf4; }
.timeline-copy strong { display: block; color: #334155; font-size: 8px; }
.timeline-copy small { color: #8795a9; font-size: 7px; }
.timeline-time { color: #64748b; font-size: 7px; font-weight: 750; }
.driver-card { display: flex; gap: 10px; align-items: center; padding: 11px; border-radius: 10px; background: #f7f9fc; }
.driver-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #0b2e6d; background: #dceaff; font-size: 10px; font-weight: 900; }
.driver-card strong { display: block; color: #24324a; font-size: 9px; }
.driver-card small { color: #8795a9; font-size: 7px; }
.driver-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 10px; }
.mini-button { min-height: 30px; border: 1px solid #dce5ef; border-radius: 8px; color: #40516c; background: #fff; font-size: 7px; font-weight: 800; }
.mini-button.primary { color: #fff; border-color: transparent; background: #1454b8; }

/* Samples view */
.sample-overview { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; }
.sample-table td { padding-top: 12px; padding-bottom: 12px; }
.tube-code { display: flex; align-items: center; gap: 8px; }
.tube { width: 12px; height: 28px; border: 1px solid #b8c3d1; border-radius: 4px 4px 6px 6px; background: linear-gradient(to bottom,#7448a6 0 22%,#fff 22% 100%); box-shadow: inset 0 -8px 0 rgba(173,78,85,.16); }
.tube.green { background: linear-gradient(to bottom,#21a06b 0 22%,#fff 22% 100%); }
.tube.blue { background: linear-gradient(to bottom,#4383c7 0 22%,#fff 22% 100%); }
.tube.red { background: linear-gradient(to bottom,#c75d63 0 22%,#fff 22% 100%); }
.progress-track { width: 72px; height: 5px; border-radius: 99px; background: #e7edf3; overflow: hidden; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#1454b8,#12a9a2); }
.cold-chain-chart { height: 145px; position: relative; overflow: hidden; border-radius: 10px; background: linear-gradient(#f9fbfd,#f4f8fb); }
.chart-grid { position: absolute; inset: 0; background-image: linear-gradient(#dfe7f0 1px,transparent 1px),linear-gradient(90deg,#dfe7f0 1px,transparent 1px); background-size: 100% 36px, 58px 100%; opacity: .65; }
.chart-line { position: absolute; left: 12px; right: 12px; top: 73px; height: 3px; border-radius: 99px; background: #12a9a2; transform: skewY(-4deg); box-shadow: 60px -8px 0 -1px #12a9a2,120px 4px 0 -1px #12a9a2,180px -5px 0 -1px #12a9a2,240px 1px 0 -1px #12a9a2; }
.chart-safe { position: absolute; left: 0; right: 0; top: 40px; height: 58px; background: rgba(24,184,167,.08); border-top: 1px dashed rgba(24,184,167,.35); border-bottom: 1px dashed rgba(24,184,167,.35); }
.chain-list { display: grid; gap: 9px; }
.chain-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; }
.chain-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #0b8d88; background: #e8f8f5; font-size: 9px; }
.chain-copy strong { display: block; color: #334155; font-size: 8px; }
.chain-copy small { color: #8795a9; font-size: 7px; }
.chain-time { color: #64748b; font-size: 7px; font-weight: 750; }

/* Medicine view */
.inventory-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.stock-bar { width: 90px; height: 6px; border-radius: 99px; background: #e7edf3; overflow: hidden; }
.stock-bar span { display: block; height: 100%; border-radius: inherit; background: #12a9a2; }
.stock-bar.low span { background: #e69a16; }
.stock-bar.critical span { background: #d94f57; }
.expiry-list { display: grid; gap: 9px; }
.expiry-row { padding: 10px; border-radius: 10px; background: #f8fafc; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.expiry-row strong { display: block; color: #334155; font-size: 8px; }
.expiry-row small { color: #8795a9; font-size: 7px; }
.expiry-date { color: #b63d46; font-size: 7px; font-weight: 850; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 900px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .network-inner { grid-template-columns: repeat(3, 1fr); padding: 24px 0; }
  .network-label { grid-column: 1 / -1; }
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
  .section { padding: 76px 0; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 72px; padding: 18px; border: 1px solid var(--slate-200); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 6px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; border-radius: 10px; }
  .site-nav a.active::after { display: none; }
  .site-nav a.active { background: #eff6ff; }
  .header-actions .btn-ghost { display: none; }
  .mobile-toggle { display: grid; place-items: center; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(43px, 12vw, 62px); }
  .browser-card { transform: none; }
  .float-top { right: -8px; }
  .float-bottom { left: -8px; }
  .split-layout, .role-tabs, .contact-panel { grid-template-columns: 1fr; }
  .feature-grid, .benefit-grid, .preview-grid { grid-template-columns: 1fr; }
  .preview-grid { max-width: 620px; margin-left: auto; margin-right: auto; }
  .module-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .implementation { grid-template-columns: 1fr 1fr; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand img { width: 150px; }
  .header-actions .btn-primary { display: none; }
  .hero-actions, .page-hero-actions, .cta-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn, .page-hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-proof { display: grid; gap: 11px; }
  .floating-card { display: none; }
  .network-inner { grid-template-columns: 1fr 1fr; }
  .audience-grid, .implementation, .footer-grid { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: 1fr 1fr; }
  .role-content ul { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}
