:root {
  --ms-black: #050608;
  --ms-black-soft: #0b0d12;
  --ms-ink: #11131a;
  --ms-text: #252936;
  --ms-muted: #667085;

  --ms-white: #ffffff;
  --ms-offwhite: #f7f8fb;
  --ms-soft-blue: #eef8ff;

  --ms-blue: #00bfff;
  --ms-blue-2: #005cff;
  --ms-purple: #8f5cff;

  --ms-gradient-blue: linear-gradient(135deg, #00c8ff 0%, #005cff 100%);
  --ms-gradient-accent: linear-gradient(135deg, #00c8ff 0%, #005cff 68%, #8f5cff 100%);

  --ms-border-light: rgba(17, 19, 26, 0.08);
  --ms-border-dark: rgba(255, 255, 255, 0.12);

  --ms-radius: 24px;
  --ms-radius-lg: 36px;

  --ms-shadow-soft: 0 24px 70px rgba(16, 24, 40, 0.08);
  --ms-shadow-blue: 0 18px 45px rgba(0, 92, 255, 0.28);

  --ms-heading: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ms-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ms-body);
  font-weight: 400;
  color: var(--ms-text);
  background: var(--ms-offwhite);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
}

p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: rgba(37, 41, 54, 0.74);
}

h1,
h2,
h3 {
  margin: 0 0 20px;
  font-family: var(--ms-heading);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.055em;
  color: var(--ms-ink);
}

h1 {
  font-size: clamp(44px, 7vw, 92px);
}

h2 {
  font-size: clamp(34px, 5vw, 66px);
}

h3 {
  font-size: 24px;
  letter-spacing: -0.035em;
}

/* Layout */

.ms-site-main {
  position: relative;
  min-height: 100vh;
}

.ms-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ms-narrow {
  max-width: 820px;
}

.ms-centre {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ms-section {
  position: relative;
  padding: 112px 0;
}

.ms-soft-section {
  background: var(--ms-white);
}

.ms-dark-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 191, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 90%, rgba(143, 92, 255, 0.12), transparent 34%),
    var(--ms-black);
  color: var(--ms-white);
}

.ms-dark-section h1,
.ms-dark-section h2,
.ms-dark-section h3 {
  color: var(--ms-white);
}

.ms-dark-section p,
.ms-dark-section .ms-card p,
.ms-dark-section .ms-process-card p {
  color: rgba(255, 255, 255, 0.72);
}

.ms-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--ms-blue-2);
  background: rgba(0, 191, 255, 0.09);
  border: 1px solid rgba(0, 92, 255, 0.13);
}

.ms-centre .ms-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

/* Header */

.ms-site-header {
  position: fixed;
  top: 26px;
  left: 0;
  right: 0;
  z-index: 999;
  pointer-events: none;
  transition: top 0.32s ease;
}

.ms-header-inner {
  width: min(1080px, calc(100% - 42px));
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.94);
  border: 1px solid var(--ms-border-dark);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  pointer-events: auto;
  transition:
    width 0.34s ease,
    min-height 0.34s ease,
    border-radius 0.34s ease,
    background 0.34s ease,
    border 0.34s ease;
}

body.ms-scrolled .ms-site-header {
  top: 0;
}

body.ms-scrolled .ms-header-inner {
  width: 100%;
  min-height: 76px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  background: rgba(5, 6, 8, 0.98);
}

/* Header logo */

/* Header logo */

.ms-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 150px;
  height: 38px;
  flex: 0 0 150px;
  overflow: hidden;
}

.ms-logo .custom-logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 150px;
  height: 38px;
  overflow: hidden;
}

.ms-logo img,
.ms-logo .custom-logo,
.custom-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 150px !important;
  max-height: 34px !important;
  object-fit: contain;
}

.ms-logo-text {
  color: var(--ms-white);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.ms-logo span {
  color: var(--ms-white);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.ms-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ms-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ms-nav a:hover {
  color: var(--ms-white);
}

.ms-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 999px;
  color: var(--ms-white);
  font-size: 14px;
  font-weight: 700;
  background: var(--ms-gradient-blue);
  box-shadow: var(--ms-shadow-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ms-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(0, 92, 255, 0.34);
}

/* Mobile menu */

.ms-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.ms-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--ms-white);
}

.ms-mobile-panel {
  display: none;
  position: fixed;
  top: 98px;
  left: 13px;
  right: 13px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(5, 6, 8, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.ms-mobile-panel a {
  display: block;
  padding: 14px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.ms-mobile-panel-cta {
  margin-top: 10px;
  text-align: center;
  border-radius: 999px;
  color: var(--ms-white) !important;
  background: var(--ms-gradient-blue);
  font-weight: 700 !important;
}

body.ms-menu-open .ms-mobile-panel {
  display: block;
}

/* Hero */

.ms-hero {
  position: relative;
  min-height: 100vh;
  padding: 210px 0 124px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ms-white);
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.91), rgba(5, 6, 8, 0.58), rgba(5, 6, 8, 0.82)),
    radial-gradient(circle at 18% 18%, rgba(0, 191, 255, 0.24), transparent 30%),
    radial-gradient(circle at 82% 76%, rgba(143, 92, 255, 0.14), transparent 32%),
    var(--ms-black);
  background-size: cover;
  background-position: center;
}

.ms-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -230px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(0, 191, 255, 0.13), transparent 62%);
  pointer-events: none;
}

.ms-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 8, 0.93), rgba(5, 6, 8, 0.44), rgba(5, 6, 8, 0.78));
}

.ms-hero-inner {
  position: relative;
  z-index: 2;
}

.ms-hero-content {
  max-width: 900px;
}

.ms-hero h1 {
  max-width: 980px;
  color: var(--ms-white);
}

.ms-hero-text {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(18px, 2vw, 22px);
}

/* Buttons */

.ms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ms-btn:hover {
  transform: translateY(-2px);
}

.ms-btn-primary {
  color: var(--ms-white);
  background: var(--ms-gradient-blue);
  box-shadow: var(--ms-shadow-blue);
}

.ms-btn-secondary {
  color: var(--ms-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Split sections */

.ms-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

/* Cards */

.ms-card-grid {
  display: grid;
  gap: 24px;
  margin-top: 52px;
}

.ms-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.ms-card {
  position: relative;
  min-height: 250px;
  padding: 34px;
  border-radius: var(--ms-radius);
  background: var(--ms-white);
  border: 1px solid var(--ms-border-light);
  box-shadow: var(--ms-shadow-soft);
  overflow: hidden;
}

.ms-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--ms-gradient-blue);
}

.ms-card h3 {
  margin-top: 18px;
  color: var(--ms-ink);
}

.ms-service-card {
  background: var(--ms-white);
}

.ms-section-action {
  margin-top: 42px;
}

/* Process */

.ms-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.ms-process-card {
  padding: 30px;
  border-radius: var(--ms-radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ms-process-card span {
  display: inline-flex;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ms-blue);
}

/* CTA / Form */

.ms-cta-section {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 191, 255, 0.20), transparent 32%),
    radial-gradient(circle at 88% 90%, rgba(143, 92, 255, 0.12), transparent 34%),
    var(--ms-black);
  color: var(--ms-white);
}

.ms-cta-section h2,
.ms-cta-section h3 {
  color: var(--ms-white);
}

.ms-cta-section p {
  color: rgba(255, 255, 255, 0.72);
}

.ms-lead-form {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.ms-lead-form input,
.ms-lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 17px 18px;
  font: inherit;
  font-weight: 400;
  color: var(--ms-white);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.ms-lead-form input:focus,
.ms-lead-form textarea:focus {
  border-color: rgba(0, 191, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 191, 255, 0.10);
}

.ms-lead-form textarea {
  min-height: 130px;
  resize: vertical;
}

.ms-lead-form input::placeholder,
.ms-lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.ms-lead-form button {
  border: 0;
  cursor: pointer;
}

.ms-form-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42) !important;
}

/* Floating CTAs */

.ms-floating-ctas {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

body.ms-scrolled .ms-floating-ctas {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ms-floating-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ms-floating-btn:hover {
  transform: translateY(-2px);
}

.ms-floating-primary {
  color: var(--ms-white);
  background: var(--ms-gradient-blue);
  box-shadow: var(--ms-shadow-blue);
}

.ms-floating-chat {
  width: 54px;
  padding: 0;
  border-radius: 18px;
  color: var(--ms-white);
  background: var(--ms-gradient-blue);
  box-shadow: var(--ms-shadow-blue);
}

.ms-floating-chat svg {
  width: 23px;
  height: 23px;
}

.ms-floating-secondary {
  color: var(--ms-white);
  background: var(--ms-black);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.ms-floating-mobile {
  display: none;
}

/* Footer */

.ms-site-footer {
  padding: 34px 0 90px;
  background: var(--ms-black);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.ms-site-footer p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* Reveal animation */

.ms-reveal {
  opacity: 1;
  transform: none;
}

.js .ms-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .ms-reveal.ms-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */

@media (max-width: 900px) {
  .ms-site-header {
    top: 18px;
  }

  .ms-header-inner {
    width: calc(100% - 26px);
    min-height: 58px;
    padding: 8px 10px 8px 18px;
  }

  body.ms-scrolled .ms-header-inner {
    min-height: 66px;
  }

  .ms-logo {
    width: 128px;
    height: 34px;
    flex: 0 0 128px;
  }

  .ms-logo .custom-logo-link {
    width: 128px;
    height: 34px;
  }

  .ms-logo img,
  .ms-logo .custom-logo,
  .custom-logo {
    max-width: 128px !important;
    max-height: 28px !important;
  }

  .ms-logo span {
    font-size: 16px;
  }

  .ms-nav,
  .ms-header-cta {
    display: none;
  }

  .ms-menu-toggle {
    display: inline-flex;
  }

  .ms-hero {
    min-height: 100vh;
    padding: 148px 0 96px;
  }

  .ms-section {
    padding: 82px 0;
  }

  .ms-split,
  .ms-grid-3,
  .ms-process-grid {
    grid-template-columns: 1fr;
  }

  .ms-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .ms-floating-ctas {
    width: calc(100% - 28px);
    justify-content: space-between;
    gap: 10px;
  }

  .ms-floating-primary {
    flex: 1;
  }

  .ms-floating-chat {
    flex: 0 0 54px;
  }

  .ms-floating-desktop {
    display: none;
  }

  .ms-floating-mobile {
    display: inline;
  }
}

@media (max-width: 520px) {
  .ms-container {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 22px;
  }

  .ms-hero-text,
  p {
    font-size: 16px;
  }

  .ms-eyebrow {
    font-size: 11px;
  }

  .ms-btn {
    width: 100%;
  }

  .ms-actions {
    width: 100%;
  }
}