@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --brand-blue: #0876dc;
  --brand-blue-dark: #0456ae;
  --brand-orange: #f59b16;
  --ink: #0b1628;
  --muted: #5f6b7b;
  --soft: #f5f8fc;
  --line: #e6ebf2;
  --white: #ffffff;
  --teal: #11a6a0;
  --purple: #7957d5;
  --green: #2c9b63;
  --shadow-sm: 0 12px 30px rgba(12, 35, 66, .08);
  --shadow-lg: 0 28px 80px rgba(12, 35, 66, .15);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 2000;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
}

#mainNav {
  padding: 15px 0;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 235, 242, .65);
  transition: all .25s ease;
}

#mainNav.nav-scrolled {
  padding: 9px 0;
  box-shadow: 0 10px 35px rgba(18, 43, 75, .08);
}

.navbar-brand img {
  width: 176px;
  height: auto;
}

.nav-link {
  color: #2e3b4e;
  font-weight: 600;
  font-size: .94rem;
  padding: .65rem .8rem !important;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-blue);
}

.btn {
  border-radius: 12px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-brand {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border: 0;
  box-shadow: 0 12px 30px rgba(8, 118, 220, .24);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  box-shadow: 0 16px 34px rgba(8, 118, 220, .34);
}

.hero-section {
  position: relative;
  min-height: 830px;
  padding: 170px 0 100px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 12% 15%, rgba(8, 118, 220, .10), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(245, 155, 22, .12), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #fff 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(246, 249, 253, .88));
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .6;
  pointer-events: none;
}

.hero-orb-one {
  width: 260px;
  height: 260px;
  right: -90px;
  top: 120px;
  background: linear-gradient(145deg, rgba(8,118,220,.15), rgba(8,118,220,.02));
}

.hero-orb-two {
  width: 190px;
  height: 190px;
  left: -100px;
  bottom: 80px;
  background: linear-gradient(145deg, rgba(245,155,22,.18), rgba(245,155,22,.02));
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-blue-dark);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 9px 13px;
  background: rgba(8, 118, 220, .07);
  border: 1px solid rgba(8, 118, 220, .13);
  border-radius: 999px;
  letter-spacing: .05em;
  text-transform: none;
  font-size: .85rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 155, 22, .5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(245, 155, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 155, 22, 0); }
}

.hero-section h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  letter-spacing: -.055em;
}

.text-gradient {
  background: linear-gradient(105deg, var(--brand-blue) 8%, #0a64bd 45%, var(--brand-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: #344052;
  font-size: .87rem;
  font-weight: 700;
}

.hero-points i {
  color: var(--teal);
  margin-right: 5px;
}

.dashboard-shell {
  position: relative;
  margin-left: 20px;
  border: 1px solid rgba(219, 227, 238, .95);
  background: rgba(255, 255, 255, .94);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(140deg, rgba(8,118,220,.12), rgba(245,155,22,.13));
  filter: blur(1px);
}

.dashboard-topbar {
  height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d3dbe7;
}

.window-dots span:first-child { background: #f07e73; }
.window-dots span:nth-child(2) { background: #f6c65b; }
.window-dots span:nth-child(3) { background: #62c58f; }

.dashboard-search {
  flex: 1;
  max-width: 240px;
  margin-left: auto;
  padding: 8px 12px;
  color: #8a96a7;
  background: #f5f7fa;
  border-radius: 9px;
  font-size: .72rem;
}

.dashboard-search i {
  margin-right: 7px;
}

.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue), #4ca8f6);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 800;
}

.dashboard-body {
  display: flex;
  min-height: 430px;
}

.dashboard-sidebar {
  width: 58px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  background: #0d1b2e;
  border-radius: 0 0 0 23px;
}

.side-logo-mark,
.dashboard-sidebar span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #8291a6;
  border-radius: 10px;
}

.side-logo-mark {
  margin-bottom: 4px;
  color: #fff;
  background: var(--brand-blue);
  font-weight: 800;
}

.dashboard-sidebar .side-active {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.dashboard-content {
  flex: 1;
  padding: 22px 18px 20px;
  background: #f7f9fc;
  border-radius: 0 0 23px 0;
}

.dashboard-content h4,
.dashboard-content h5 {
  font-weight: 800;
}

.status-chip {
  padding: 6px 10px;
  color: #178152;
  background: #e6f7ef;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
}

.status-chip::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  background: #28a969;
  border-radius: 50%;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-card {
  padding: 13px;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 9px;
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 13px;
}

.metric-icon {
  grid-row: 1 / 4;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  background: rgba(8,118,220,.10);
  border-radius: 10px;
}

.metric-icon.orange {
  color: #c87300;
  background: rgba(245,155,22,.13);
}

.metric-icon.teal {
  color: #087d78;
  background: rgba(17,166,160,.12);
}

.metric-card small {
  color: #8a95a5;
  font-size: .56rem;
}

.metric-card strong {
  font-size: .9rem;
}

.metric-card em {
  color: #27875a;
  font-size: .5rem;
  font-style: normal;
}

.chart-card,
.activity-card {
  padding: 14px;
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 13px;
}

.chart-card small,
.activity-card > small {
  color: #8b96a6;
  font-size: .56rem;
}

.chart-card h5,
.activity-card h5 {
  margin: 1px 0 0;
  font-size: .79rem;
}

.chart-filter {
  padding: 5px 7px;
  color: #728095;
  background: #f3f6f9;
  border-radius: 7px;
  font-size: .48rem;
}

.bar-chart {
  height: 118px;
  margin-top: 18px;
  padding: 0 8px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 12px;
  border-bottom: 1px solid #edf0f5;
  background:
    linear-gradient(#f2f4f8 1px, transparent 1px) 0 25% / 100% 25%;
}

.bar-chart span {
  width: 22px;
  height: var(--h);
  background: linear-gradient(180deg, #8ac7fb, #2b8ee8);
  border-radius: 7px 7px 2px 2px;
}

.bar-chart span.active {
  background: linear-gradient(180deg, #ffc76e, var(--brand-orange));
}

.chart-labels {
  padding: 7px 9px 0;
  display: flex;
  justify-content: space-around;
  color: #9aa4b2;
  font-size: .45rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.bg-blue { background: var(--brand-blue); }
.bg-orange { background: var(--brand-orange); }
.bg-teal { background: var(--teal); }

.activity-item div {
  display: flex;
  flex-direction: column;
}

.activity-item strong {
  font-size: .72rem;
}

.activity-item small {
  color: #8a95a5;
  font-size: .49rem;
}

.floating-card {
  position: absolute;
  z-index: 3;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(225, 231, 239, .96);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  animation: float 5s ease-in-out infinite;
}

.floating-card-one {
  left: -52px;
  bottom: 72px;
}

.floating-card-two {
  right: -44px;
  top: 96px;
  animation-delay: -2.5s;
}

@keyframes float {
  50% { transform: translateY(-8px); }
}

.float-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  background: rgba(8,118,220,.10);
  border-radius: 10px;
}

.float-icon.orange {
  color: #bb6e00;
  background: rgba(245,155,22,.14);
}

.floating-card div {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  font-size: .67rem;
}

.floating-card small {
  color: #8a95a5;
  font-size: .52rem;
}

.trust-strip {
  position: relative;
  z-index: 2;
  padding: 26px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.trust-grid div {
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #48566a;
  border-right: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 700;
}

.trust-grid div:last-child {
  border-right: 0;
}

.trust-grid i {
  color: var(--brand-blue);
  font-size: 1.1rem;
}

.section-padding {
  padding: 105px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.section-title {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.section-heading p,
.section-intro {
  color: var(--muted);
  line-height: 1.8;
}

.module-card {
  height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(14, 36, 65, .04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.module-card:hover {
  transform: translateY(-7px);
  border-color: rgba(8,118,220,.25);
  box-shadow: var(--shadow-sm);
}

.module-icon,
.deployment-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  background: rgba(8,118,220,.10);
  border-radius: 15px;
  font-size: 1.35rem;
}

.module-icon.orange,
.deployment-icon.orange {
  color: #c37505;
  background: rgba(245,155,22,.14);
}

.module-icon.teal,
.deployment-icon.teal {
  color: #087c77;
  background: rgba(17,166,160,.13);
}

.module-icon.purple {
  color: #6c4dc5;
  background: rgba(121,87,213,.12);
}

.module-icon.pink {
  color: #c24879;
  background: rgba(222,89,141,.12);
}

.module-icon.amber {
  color: #a96b05;
  background: rgba(241,177,49,.14);
}

.module-icon.green {
  color: #238456;
  background: rgba(44,155,99,.12);
}

.module-icon.slate {
  color: #58697d;
  background: rgba(88,105,125,.12);
}

.module-card h3 {
  margin: 21px 0 11px;
  font-size: 1.08rem;
  font-weight: 800;
}

.module-card p {
  min-height: 92px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.7;
}

.module-card a {
  color: var(--brand-blue-dark);
  font-size: .85rem;
  font-weight: 800;
}

.module-card a i {
  margin-left: 3px;
  transition: transform .2s ease;
}

.module-card:hover a i {
  transform: translate(3px, -3px);
}

.feature-section {
  background:
    linear-gradient(110deg, #f5f9fe 0%, #fbfcfe 60%, #fff9ef 100%);
}

.feature-visual {
  position: relative;
  padding: 28px;
}

.feature-window {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.feature-window-header {
  height: 50px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}

.feature-window-header span {
  width: 8px;
  height: 8px;
  background: #d4dce7;
  border-radius: 50%;
}

.feature-window-header small {
  margin-left: auto;
  color: #8390a1;
  font-size: .65rem;
}

.architecture {
  position: relative;
  min-height: 420px;
  background:
    radial-gradient(circle at center, rgba(8,118,220,.08), transparent 34%),
    linear-gradient(rgba(231,236,243,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231,236,243,.6) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.arch-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 170px;
  height: 145px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(8,118,220,.18);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(8,118,220,.14);
}

.arch-center img {
  width: 100px;
  height: auto;
  margin-bottom: 14px;
}

.arch-center strong {
  font-size: .84rem;
}

.arch-center small {
  color: #8490a2;
  font-size: .57rem;
}

.arch-node {
  position: absolute;
  z-index: 2;
  width: 94px;
  padding: 13px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #3b4a5f;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  font-size: .66rem;
  font-weight: 800;
}

.arch-node i {
  color: var(--brand-blue);
  font-size: 1rem;
}

.node-one { left: 8%; top: 12%; }
.node-two { right: 8%; top: 12%; }
.node-three { left: 4%; bottom: 14%; }
.node-four { right: 4%; bottom: 14%; }
.node-five { left: 50%; bottom: 4%; transform: translateX(-50%); }

.arch-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(8,118,220,.15), rgba(8,118,220,.55));
  transform-origin: left center;
}

.line-one { width: 130px; left: 24%; top: 33%; transform: rotate(26deg); }
.line-two { width: 130px; right: 24%; top: 33%; transform: rotate(-26deg); transform-origin: right center; }
.line-three { width: 132px; left: 21%; bottom: 30%; transform: rotate(-22deg); }
.line-four { width: 132px; right: 21%; bottom: 30%; transform: rotate(22deg); transform-origin: right center; }
.line-five { width: 85px; left: 50%; bottom: 23%; transform: rotate(90deg); }

.security-badge {
  position: absolute;
  right: -2px;
  bottom: -4px;
  z-index: 5;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  background: #0d1b2e;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.security-badge i {
  color: #7cc7ff;
  font-size: 1.4rem;
}

.security-badge div {
  display: flex;
  flex-direction: column;
}

.security-badge strong {
  font-size: .78rem;
}

.security-badge small {
  color: #9cabc0;
  font-size: .58rem;
}

.feature-list {
  display: grid;
  gap: 23px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-item > span {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(18,44,77,.06);
}

.feature-item h3 {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 800;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

.deployment-card {
  position: relative;
  height: 100%;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(14,36,65,.05);
}

.deployment-card.featured {
  border: 1px solid rgba(8,118,220,.32);
  box-shadow: 0 20px 55px rgba(8,118,220,.13);
  transform: translateY(-10px);
}

.recommended {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 7px 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 800;
}

.deployment-label {
  display: block;
  margin-top: 22px;
  color: var(--brand-blue-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.deployment-card h3 {
  margin: 8px 0 12px;
  font-size: 1.45rem;
  font-weight: 800;
}

.deployment-card > p {
  min-height: 82px;
  color: var(--muted);
  line-height: 1.7;
}

.deployment-card ul {
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.deployment-card li {
  margin: 11px 0;
  color: #445164;
  font-size: .9rem;
}

.deployment-card li i {
  margin-right: 8px;
  color: var(--teal);
  font-weight: 800;
}

.numbers-section {
  padding: 58px 0;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(8,118,220,.25), transparent 25%),
    radial-gradient(circle at 85% 75%, rgba(245,155,22,.20), transparent 25%),
    #0d1b2e;
}

.numbers-section strong {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.numbers-section span {
  color: var(--brand-orange);
  font-size: 1.6rem;
  font-weight: 800;
}

.numbers-section p {
  margin: 3px 0 0;
  color: #aab6c8;
  font-size: .86rem;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 26px;
  bottom: 26px;
  width: 1px;
  background: linear-gradient(var(--brand-blue), rgba(8,118,220,.08));
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 22px;
  padding: 0 0 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item > span {
  position: relative;
  z-index: 2;
  flex: 0 0 49px;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  background: #fff;
  border: 1px solid rgba(8,118,220,.22);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(8,118,220,.10);
  font-size: .76rem;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 2px 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  padding: 30px 0 100px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 64px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(45,151,244,.25), transparent 30%),
    radial-gradient(circle at 92% 90%, rgba(245,155,22,.22), transparent 28%),
    linear-gradient(135deg, #0b1a2d, #102b4c);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

.contact-panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -130px;
  top: -130px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
}

.section-kicker.light {
  color: #8fcaff;
}

.contact-panel h2 {
  margin: 14px 0 17px;
  max-width: 570px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.contact-panel p {
  max-width: 600px;
  color: #b5c1d1;
  line-height: 1.8;
}

.contact-benefits {
  margin-top: 25px;
  display: grid;
  gap: 10px;
  color: #d7e0ec;
  font-size: .9rem;
  font-weight: 600;
}

.contact-benefits i {
  margin-right: 7px;
  color: #6fc5ff;
}

.demo-form {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: var(--ink);
  background: rgba(255,255,255,.98);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.16);
}

.demo-form .form-label {
  margin-bottom: 6px;
  color: #485669;
  font-size: .78rem;
  font-weight: 700;
}

.demo-form .form-control,
.demo-form .form-select {
  min-height: 48px;
  border-color: #dce3ec;
  border-radius: 10px;
  font-size: .9rem;
}

.demo-form textarea.form-control {
  min-height: 108px;
}

.demo-form .form-control:focus,
.demo-form .form-select:focus {
  border-color: rgba(8,118,220,.55);
  box-shadow: 0 0 0 .2rem rgba(8,118,220,.10);
}

.demo-form .btn-light {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border: 0;
}

.form-note {
  display: block;
  margin-top: 9px;
  color: #8b96a6;
  text-align: center;
  font-size: .68rem;
}

.site-footer {
  padding: 76px 0 26px;
  background: #f6f8fb;
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 170px;
  height: auto;
}

.footer-about {
  max-width: 430px;
  margin: 22px 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.footer-address {
  color: #7a8798;
  font-size: .82rem;
  line-height: 1.7;
}

.site-footer h3 {
  margin-bottom: 18px;
  color: #27364a;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 10px 0;
  color: #657286;
  font-size: .88rem;
}

.site-footer a:hover {
  color: var(--brand-blue);
}

.social-links {
  display: flex;
  gap: 9px;
}

.social-links a {
  width: 36px;
  height: 36px;
  margin: 0;
  display: grid;
  place-items: center;
  color: #536176;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #7d8999;
  border-top: 1px solid var(--line);
  font-size: .78rem;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.footer-bottom a {
  margin: 0;
  font-size: .78rem;
}

.form-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  max-width: 370px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: #15304e;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

.form-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.form-toast > i {
  color: #64d49d;
  font-size: 1.3rem;
}

.form-toast div {
  display: flex;
  flex-direction: column;
}

.form-toast strong {
  font-size: .86rem;
}

.form-toast span {
  color: #bcc9d8;
  font-size: .72rem;
}

.form-toast button {
  margin-left: auto;
  color: #b9c6d5;
  background: transparent;
  border: 0;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand-blue);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(8,118,220,.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .25s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1199.98px) {
  .dashboard-shell {
    margin-left: 0;
    transform: none;
  }

  .floating-card-one {
    left: -20px;
  }

  .floating-card-two {
    right: -20px;
  }
}

@media (max-width: 991.98px) {
  #mainNav {
    background: rgba(255,255,255,.97);
  }

  .navbar-collapse {
    margin-top: 12px;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
  }

  .hero-section {
    min-height: auto;
    padding: 145px 0 90px;
  }

  .dashboard-shell {
    max-width: 680px;
    margin: 26px auto 0;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 16px;
  }

  .trust-grid div {
    border-right: 0;
  }

  .deployment-card.featured {
    transform: none;
  }

  .contact-panel {
    padding: 48px 36px;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 78px 0;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .dashboard-search,
  .floating-card {
    display: none;
  }

  .dashboard-body {
    min-height: 360px;
  }

  .dashboard-content {
    padding: 18px 12px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card:nth-child(3) {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid div:last-child {
    grid-column: 1 / -1;
  }

  .feature-visual {
    padding: 0;
  }

  .architecture {
    min-height: 380px;
  }

  .arch-node {
    width: 82px;
  }

  .security-badge {
    right: 8px;
  }

  .contact-panel {
    padding: 38px 22px;
    border-radius: 24px;
  }

  .demo-form {
    padding: 22px 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    width: 155px;
  }

  .hero-section {
    padding-top: 125px;
  }

  .hero-section h1 {
    font-size: 2.55rem;
  }

  .hero-points {
    display: grid;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-content {
    border-radius: 0 0 23px 23px;
  }

  .chart-card {
    min-height: 230px;
  }

  .trust-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-grid div:last-child {
    grid-column: auto;
  }

  .module-card p {
    min-height: auto;
  }

  .architecture {
    min-height: 340px;
  }

  .arch-center {
    width: 145px;
    height: 128px;
  }

  .arch-node {
    width: 74px;
    padding: 10px 5px;
    font-size: .58rem;
  }

  .node-one { left: 2%; }
  .node-two { right: 2%; }
  .node-three { left: 0; }
  .node-four { right: 0; }

  .arch-line {
    display: none;
  }

  .security-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 16px auto 0;
    max-width: 290px;
  }

  .form-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}


/* =====================================================
   V2 NAVIGATION, FULL-PAGE MODULE MENU AND COLOUR MODES
   ===================================================== */

:root {
  color-scheme: light;
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --surface-raised: #ffffff;
  --text-primary: #0b1628;
  --text-secondary: #5f6b7b;
  --border-theme: #e6ebf2;
  --nav-bg: rgba(255, 255, 255, .90);
  --mega-bg: rgba(248, 251, 255, .98);
  --input-bg: #ffffff;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #08111f;
  --surface: #0e1a2a;
  --surface-soft: #0a1524;
  --surface-raised: #132136;
  --text-primary: #edf4ff;
  --text-secondary: #a5b3c6;
  --border-theme: #26364b;
  --nav-bg: rgba(8, 17, 31, .91);
  --mega-bg: rgba(8, 17, 31, .985);
  --input-bg: #111f32;
  --ink: #edf4ff;
  --muted: #a5b3c6;
  --soft: #0a1524;
  --line: #26364b;
  --white: #0e1a2a;
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, .23);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, .38);
}

body {
  color: var(--text-primary);
  background: var(--page-bg);
  transition: color .25s ease, background-color .25s ease;
}

body.module-menu-open {
  overflow: hidden;
}

.logo-surface {
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(11, 22, 40, .07);
  border-radius: 9px;
}

#mainNav {
  background: var(--nav-bg);
  border-bottom-color: var(--border-theme);
}

.desktop-navigation {
  gap: 2px;
}

.module-menu-trigger {
  border: 0;
  background: transparent;
}

.module-menu-trigger i {
  display: inline-block;
  font-size: .72rem;
  transition: transform .22s ease;
}

.module-menu-trigger[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.theme-toggle,
.mobile-menu-button,
.mobile-drawer-close,
.mega-menu-close {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--text-primary);
  background: var(--surface-raised);
  border: 1px solid var(--border-theme);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(12, 35, 66, .06);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.theme-toggle:hover,
.mobile-menu-button:hover,
.mobile-drawer-close:hover,
.mega-menu-close:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 118, 220, .38);
}

.theme-icon-light {
  display: none;
  color: #f6a410;
}

html[data-theme="dark"] .theme-icon-dark {
  display: none;
}

html[data-theme="dark"] .theme-icon-light {
  display: inline-block;
}

.mobile-menu-button {
  font-size: 1.45rem;
}

/* Full-page desktop module dropdown */
.module-mega-menu {
  position: fixed;
  inset: 77px 0 0;
  z-index: 1035;
  overflow: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(8, 118, 220, .11), transparent 27%),
    radial-gradient(circle at 90% 90%, rgba(245, 155, 22, .11), transparent 24%),
    var(--mega-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: translateY(-16px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.module-mega-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu-container {
  min-height: calc(100vh - 77px);
  padding-top: 46px;
  padding-bottom: 34px;
  display: flex;
  flex-direction: column;
}

.mega-menu-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.mega-menu-heading h2 {
  max-width: 760px;
  margin: 10px 0 11px;
  color: var(--text-primary);
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -.045em;
}

.mega-menu-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.mega-menu-close {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}

.mega-module-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mega-module-card {
  position: relative;
  min-height: 205px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  color: var(--text-primary);
  background: var(--surface-raised);
  border: 1px solid var(--border-theme);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(14, 36, 65, .04);
  transition: transform .23s ease, border-color .23s ease, box-shadow .23s ease;
}

.mega-module-card:hover {
  color: var(--text-primary);
  transform: translateY(-5px);
  border-color: rgba(8, 118, 220, .36);
  box-shadow: var(--shadow-sm);
}

.mega-module-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  background: rgba(8, 118, 220, .11);
  border-radius: 13px;
}

.mega-module-icon.orange {
  color: #c87300;
  background: rgba(245, 155, 22, .14);
}

.mega-module-icon.teal {
  color: #0b8580;
  background: rgba(17, 166, 160, .14);
}

.mega-module-icon.purple {
  color: #7654cd;
  background: rgba(121, 87, 213, .14);
}

.mega-module-icon.pink {
  color: #c24879;
  background: rgba(222, 89, 141, .13);
}

.mega-module-icon.amber {
  color: #a96b05;
  background: rgba(241, 177, 49, .15);
}

.mega-module-icon.green {
  color: #238456;
  background: rgba(44, 155, 99, .14);
}

.mega-module-icon.slate {
  color: #607086;
  background: rgba(96, 112, 134, .14);
}

.mega-module-card small {
  color: var(--brand-blue);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mega-module-card h3 {
  margin: 5px 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.mega-module-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: .78rem;
  line-height: 1.65;
}

.mega-arrow {
  position: absolute;
  right: 19px;
  top: 20px;
  color: #91a0b2;
}

.mega-menu-footer {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  border-top: 1px solid var(--border-theme);
}

.mega-menu-footer div {
  display: flex;
  flex-direction: column;
}

.mega-menu-footer strong {
  font-size: .95rem;
}

.mega-menu-footer span {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: .79rem;
}

/* Mobile left-to-right drawer */
.mobile-drawer {
  width: min(88vw, 390px) !important;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 0 0, rgba(8, 118, 220, .11), transparent 30%),
    var(--surface);
  border-right: 1px solid var(--border-theme) !important;
}

.mobile-drawer .offcanvas-header {
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--border-theme);
}

.mobile-drawer .logo-surface img {
  width: 154px;
}

.mobile-drawer .offcanvas-body {
  padding: 24px 20px 28px;
}

.mobile-menu-title {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mobile-nav-list {
  display: grid;
}

.mobile-nav-list > a,
.mobile-module-toggle {
  min-height: 56px;
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-theme);
  font-weight: 700;
  text-align: left;
}

.mobile-nav-list > a span,
.mobile-module-toggle span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-list > a i:first-child,
.mobile-module-toggle span i {
  width: 28px;
  color: var(--brand-blue);
  font-size: 1rem;
}

.mobile-module-toggle > i {
  font-size: .75rem;
  transition: transform .2s ease;
}

.mobile-module-toggle[aria-expanded="true"] > i {
  transform: rotate(180deg);
}

.mobile-module-list {
  padding: 8px 0 12px 38px;
  border-bottom: 1px solid var(--border-theme);
}

.mobile-module-list a {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: .83rem;
  font-weight: 600;
}

.mobile-module-list a i {
  color: var(--brand-orange);
}

.mobile-theme-panel {
  margin-top: 25px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--border-theme);
  border-radius: 15px;
}

.mobile-theme-panel div {
  display: flex;
  flex-direction: column;
}

.mobile-theme-panel strong {
  font-size: .85rem;
}

.mobile-theme-panel small {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: .66rem;
}

/* Dark-mode surfaces */
html[data-theme="dark"] .hero-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(8, 118, 220, .22), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(245, 155, 22, .16), transparent 28%),
    linear-gradient(180deg, #08111f 0%, #0a1524 100%);
}

html[data-theme="dark"] .hero-section::after {
  background: linear-gradient(180deg, transparent, rgba(10, 21, 36, .92));
}

html[data-theme="dark"] .eyebrow {
  color: #8fc9ff;
  background: rgba(8, 118, 220, .14);
  border-color: rgba(89, 174, 252, .24);
}

html[data-theme="dark"] .hero-copy,
html[data-theme="dark"] .hero-points {
  color: var(--text-secondary);
}

html[data-theme="dark"] .btn-outline-dark {
  color: #ecf4ff;
  border-color: #64748b;
}

html[data-theme="dark"] .btn-outline-dark:hover {
  color: #08111f;
  background: #edf4ff;
}

html[data-theme="dark"] .trust-strip,
html[data-theme="dark"] .module-card,
html[data-theme="dark"] .feature-window,
html[data-theme="dark"] .deployment-card,
html[data-theme="dark"] .timeline-item > span,
html[data-theme="dark"] .feature-item > span,
html[data-theme="dark"] .social-links a {
  background: var(--surface-raised);
  border-color: var(--border-theme);
}

html[data-theme="dark"] .trust-grid div {
  color: var(--text-secondary);
  border-color: var(--border-theme);
}

html[data-theme="dark"] .feature-section {
  background:
    linear-gradient(110deg, #091423 0%, #0d1a2b 60%, #17170f 100%);
}

html[data-theme="dark"] .architecture {
  background:
    radial-gradient(circle at center, rgba(8,118,220,.14), transparent 34%),
    linear-gradient(rgba(52,70,94,.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52,70,94,.45) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

html[data-theme="dark"] .arch-center,
html[data-theme="dark"] .arch-node {
  color: var(--text-primary);
  background: #132136;
  border-color: var(--border-theme);
}

html[data-theme="dark"] .arch-center img {
  padding: 4px;
  background: #fff;
  border-radius: 5px;
}

html[data-theme="dark"] .dashboard-shell,
html[data-theme="dark"] .dashboard-topbar,
html[data-theme="dark"] .dashboard-content,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .chart-card,
html[data-theme="dark"] .activity-card {
  color: var(--text-primary);
  background: #101e31;
  border-color: #26364b;
}

html[data-theme="dark"] .dashboard-content {
  background: #0b1727;
}

html[data-theme="dark"] .dashboard-search,
html[data-theme="dark"] .chart-filter {
  color: #9ba9bb;
  background: #17263b;
}

html[data-theme="dark"] .bar-chart {
  border-color: #26364b;
  background:
    linear-gradient(#24354b 1px, transparent 1px) 0 25% / 100% 25%;
}

html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .section-intro,
html[data-theme="dark"] .module-card p,
html[data-theme="dark"] .deployment-card > p,
html[data-theme="dark"] .feature-item p,
html[data-theme="dark"] .timeline-item p,
html[data-theme="dark"] .footer-about,
html[data-theme="dark"] .footer-address {
  color: var(--text-secondary);
}

html[data-theme="dark"] .deployment-card ul,
html[data-theme="dark"] .timeline::before,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .footer-bottom {
  border-color: var(--border-theme);
}

html[data-theme="dark"] .deployment-card li {
  color: #c1ccda;
}

html[data-theme="dark"] .site-footer {
  background: #091422;
}

html[data-theme="dark"] .site-footer h3 {
  color: #e8f1fd;
}

html[data-theme="dark"] .site-footer a {
  color: #9eacbe;
}

html[data-theme="dark"] .demo-form {
  color: var(--text-primary);
  background: #101e31;
}

html[data-theme="dark"] .demo-form .form-label {
  color: #b9c5d4;
}

html[data-theme="dark"] .demo-form .form-control,
html[data-theme="dark"] .demo-form .form-select {
  color: var(--text-primary);
  background: var(--input-bg);
  border-color: #35465d;
}

html[data-theme="dark"] .demo-form .form-control::placeholder {
  color: #718095;
}

html[data-theme="dark"] .demo-form .form-select {
  --bs-form-select-bg-img: none;
}

html[data-theme="dark"] .form-note {
  color: #8d9caf;
}

html[data-theme="dark"] .numbers-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(8,118,220,.28), transparent 25%),
    radial-gradient(circle at 85% 75%, rgba(245,155,22,.20), transparent 25%),
    #050d18;
}

html[data-theme="dark"] .contact-panel {
  border: 1px solid #26364b;
}

html[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}

@media (max-width: 1199.98px) {
  .mega-module-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  #mainNav {
    padding: 10px 0;
  }

  #mainNav.nav-scrolled {
    padding: 8px 0;
  }

  .module-mega-menu {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .mobile-drawer {
    width: min(92vw, 380px) !important;
  }
}
