:root {
  color-scheme: light;
  --ink: #0a1628;
  --muted: #526176;
  --line: #d8e1ec;
  --soft: #f5f8fc;
  --white: #ffffff;
  --navy: #071a38;
  --blue: #0b5ed7;
  --cyan: #22c7f2;
  --gold: #d7aa42;
  --green: #26c281;
  --graphite: #152236;
  --shadow: 0 24px 70px rgba(7, 26, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(4, 14, 31, 0.9), rgba(4, 14, 31, 0.48) 68%, rgba(4, 14, 31, 0));
}

.brand img {
  width: min(260px, 58vw);
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.28));
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.82;
}

.nav-links a:hover {
  opacity: 1;
}

.login-link,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.login-link {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: #06152f;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("/assets/hero-bfservices-global-infra-20260516.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 75% 38%, rgba(34, 199, 242, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(3, 10, 24, 0.92) 0%, rgba(5, 16, 34, 0.72) 42%, rgba(5, 16, 34, 0.2) 78%),
    linear-gradient(180deg, rgba(4, 12, 26, 0.58), rgba(4, 12, 26, 0.18) 52%, rgba(4, 12, 26, 0.92));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  align-self: center;
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(3.2rem, 8.4vw, 7.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 1.8vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  box-shadow: 0 18px 44px rgba(11, 94, 215, 0.35);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  position: relative;
  z-index: 3;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-metrics article {
  min-height: 120px;
  padding: 18px;
  background: rgba(5, 16, 34, 0.54);
}

.hero-metrics span,
.service-number {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.hero-metrics p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  padding: 72px 0;
  background: var(--soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-grid p,
.section-copy p,
.security-grid p,
.final-grid p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: 104px 0;
}

.visual-section.reverse {
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.82fr);
}

.section-copy {
  min-width: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--graphite);
  font-weight: 700;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(38, 194, 129, 0.14);
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.services-section {
  padding: 98px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 56, 0.96), rgba(9, 52, 105, 0.94)),
    #071a38;
}

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

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  max-width: none;
  align-items: end;
}

.split-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.platforms-section {
  padding: 98px 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(34, 199, 242, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #f5f8fc);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.platform-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(7, 26, 56, 0.07);
}

.platform-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(11, 94, 215, 0.08);
  font-size: 0.76rem;
  font-weight: 900;
}

.platform-card h3 {
  margin: 28px 0 10px;
  color: var(--navy);
  font-size: 1.42rem;
  line-height: 1.1;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.platform-card.highlighted {
  border-color: rgba(34, 199, 242, 0.48);
  background: linear-gradient(145deg, rgba(7, 26, 56, 0.96), rgba(11, 94, 215, 0.9));
}

.platform-card.highlighted span {
  color: var(--white);
  background: rgba(34, 199, 242, 0.22);
}

.platform-card.highlighted h3,
.platform-card.highlighted p {
  color: var(--white);
}

.platform-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 26, 56, 0.08);
}

.platform-note strong {
  color: var(--navy);
  white-space: nowrap;
}

.platform-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.services-section h2 {
  color: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.service-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.service-card h3 {
  margin: 28px 0 12px;
  color: var(--white);
  font-size: 1.32rem;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.status-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--graphite);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
}

.security-band {
  padding: 98px 0;
  background: var(--soft);
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.security-points {
  display: grid;
  gap: 14px;
}

.security-points article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.security-points strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.security-points p {
  margin: 8px 0 0;
}

.final-cta {
  padding: 96px 0;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(5, 17, 38, 0.94), rgba(11, 94, 215, 0.86)),
    url("/assets/hero-bfservices-global-infra-20260516.png") center / cover;
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.final-grid h2,
.final-grid p {
  color: var(--white);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.primary-action.light {
  background: var(--white);
  color: var(--blue);
  box-shadow: none;
}

.secondary-action.light {
  color: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.72);
  background: #061225;
  font-size: 0.92rem;
}

.mkt-robo {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 40;
  width: min(390px, calc(100vw - 28px));
  color: var(--ink);
}

.mkt-launcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  margin-left: auto;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 20px 54px rgba(7, 26, 56, 0.28);
  cursor: pointer;
  font-weight: 900;
}

.mkt-bot-face {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  align-items: center;
  justify-items: center;
  width: 42px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(34, 199, 242, 0.18));
  box-shadow: inset 0 0 18px rgba(34, 199, 242, 0.22), 0 10px 24px rgba(7, 26, 56, 0.18);
}

.mkt-bot-face.small {
  width: 32px;
  height: 26px;
  border-width: 1px;
}

.mkt-antenna {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 2px;
  height: 9px;
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(-50%);
}

.mkt-antenna::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(38, 194, 129, 0.14);
  transform: translateX(-50%);
}

.mkt-eye {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(38, 194, 129, 0.9);
  animation: mktBlink 4.8s infinite;
}

.mkt-bot-face.small .mkt-eye {
  width: 6px;
  height: 6px;
}

.mkt-mouth {
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
}

@keyframes mktBlink {
  0%, 45%, 49%, 100% {
    transform: scaleY(1);
  }
  47% {
    transform: scaleY(0.12);
  }
}

.mkt-panel {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 236, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(7, 26, 56, 0.28);
}

.mkt-panel-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.mkt-panel-head > div {
  flex: 1;
}

.mkt-panel-head strong,
.mkt-panel-head span {
  display: block;
}

.mkt-panel-head span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.mkt-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.mkt-log {
  display: grid;
  gap: 8px;
  max-height: 210px;
  overflow: auto;
  padding: 14px;
  background: var(--soft);
}

.mkt-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.mkt-message.bot {
  justify-self: start;
  background: var(--white);
  border: 1px solid var(--line);
}

.mkt-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--blue);
}

.mkt-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px 0;
}

.mkt-choice {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.mkt-choice.active {
  border-color: rgba(11, 94, 215, 0.4);
  color: var(--blue);
  background: rgba(11, 94, 215, 0.08);
}

.mkt-form {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.mkt-form label {
  display: grid;
  gap: 5px;
  color: var(--graphite);
  font-size: 0.78rem;
  font-weight: 900;
}

.mkt-form input,
.mkt-form select,
.mkt-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.mkt-form textarea {
  resize: vertical;
}

.mkt-hidden-field {
  position: absolute;
  left: -9999px;
}

.mkt-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 700;
  line-height: 1.4;
}

.mkt-consent input {
  width: 16px;
  min-height: 16px;
  margin-top: 2px;
}

.mkt-policy,
.mkt-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.mkt-submit {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  cursor: pointer;
  font-weight: 900;
}

.mkt-robo.sending .mkt-submit {
  opacity: 0.66;
  pointer-events: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    align-self: center;
    margin: 0 auto;
  }

  .hero-metrics,
  .intro-grid,
  .visual-section,
  .visual-section.reverse,
  .split-heading,
  .security-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
    gap: 10px;
  }

  .brand img {
    width: 190px;
  }

  .login-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 880px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 86px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .intro-band,
  .platforms-section,
  .services-section,
  .security-band,
  .final-cta {
    padding: 64px 0;
  }

  .visual-section {
    padding: 70px 0;
  }

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

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

  .platform-card {
    min-height: 190px;
  }

  .platform-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-card {
    min-height: 220px;
  }

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

  .mkt-robo {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .mkt-log {
    max-height: 170px;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 152px;
  }

  .login-link {
    min-width: 84px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: clamp(2.66rem, 15vw, 4rem);
  }

  .hero-copy,
  .intro-grid p,
  .section-copy p,
  .security-grid p,
  .final-grid p {
    font-size: 1rem;
  }
}
