:root {
  --bg: #08111d;
  --bg-soft: #101b2a;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #aab6c7;
  --primary: #5fb3d9;
  --primary-dark: #2d7fa8;
  --accent: #9fb0c6;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(95, 179, 217, 0.12), transparent 32rem),
    linear-gradient(180deg, #08111d 0%, #0c1725 54%, #08111d 100%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  mask-image: linear-gradient(to bottom, black, transparent 60%);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 31, 0.76);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
  border-radius: 10px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: #f5f7fb;
  color: #07111f;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a,
.theme-toggle {
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: 180ms ease;
}

.nav-links a:hover,
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-links a.nav-download {
  border: 1px solid rgba(95, 179, 217, 0.32);
  background: rgba(95, 179, 217, 0.1);
  color: var(--text);
}

.nav-links a.nav-download:hover {
  border-color: rgba(95, 179, 217, 0.5);
  background: rgba(95, 179, 217, 0.18);
}

.nav-links .nav-alt {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.nav-links .nav-alt:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 92px 0;
}

.hero {
  padding-top: 118px;
}

.hero-grid,
.process-grid,
.split,
.cta-panel {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.hero-copy {
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.14rem;
  line-height: 1.25;
}

.hero-copy p,
.section-heading p,
.split p,
.cta p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-copy p {
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  transition: 180ms ease;
}

.button.primary {
  background: #f5f7fb;
  color: #07111f;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
}

.service-card,
.contact-card,
.timeline-item {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.intro {
  padding-top: 32px;
}

.split {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.intro-copy {
  display: grid;
  gap: 14px;
}

.intro-copy p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 100%;
  padding: 24px;
  border-radius: 18px;
  transition: 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 179, 217, 0.36);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin: -4px 0 18px;
}

.service-card-top h3 {
  margin: 0;
}

.service-thumb {
  position: relative;
  display: block;
  flex: 0 0 76px;
  width: 76px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(95, 179, 217, 0.28);
  border-radius: 18px;
  background: rgba(95, 179, 217, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 30px rgba(0, 0, 0, 0.16);
}

.service-thumb::before,
.service-thumb::after {
  position: absolute;
  content: "";
}

.thumb-support {
  background:
    radial-gradient(circle at 28px 24px, rgba(95, 179, 217, 0.95) 0 9px, transparent 10px),
    linear-gradient(135deg, rgba(245, 247, 251, 0.18), rgba(95, 179, 217, 0.08));
}

.thumb-support::before {
  top: 13px;
  left: 15px;
  width: 28px;
  height: 26px;
  border: 2px solid rgba(245, 247, 251, 0.55);
  border-bottom-color: transparent;
  border-radius: 999px 999px 0 0;
}

.thumb-support::after {
  right: 15px;
  bottom: 16px;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(245, 247, 251, 0.5);
}

.thumb-infra {
  background:
    linear-gradient(rgba(245, 247, 251, 0.38) 0 0) 15px 12px / 46px 8px no-repeat,
    linear-gradient(rgba(245, 247, 251, 0.28) 0 0) 15px 24px / 46px 8px no-repeat,
    linear-gradient(rgba(245, 247, 251, 0.2) 0 0) 15px 36px / 46px 8px no-repeat,
    linear-gradient(135deg, rgba(95, 179, 217, 0.2), rgba(255, 255, 255, 0.04));
}

.thumb-infra::after {
  top: 14px;
  right: 19px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 12px 0 var(--primary), 0 24px 0 var(--primary);
}

.thumb-security {
  background:
    radial-gradient(circle at center, rgba(95, 179, 217, 0.28), transparent 32px),
    linear-gradient(135deg, rgba(245, 247, 251, 0.12), rgba(95, 179, 217, 0.1));
}

.thumb-security::before {
  inset: 10px 24px 10px;
  border: 2px solid rgba(245, 247, 251, 0.58);
  border-radius: 18px 18px 24px 24px;
  clip-path: polygon(50% 0, 100% 18%, 90% 72%, 50% 100%, 10% 72%, 0 18%);
}

.thumb-security::after {
  top: 26px;
  left: 35px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 247, 251, 0.62);
}

.thumb-comms {
  background:
    radial-gradient(circle at 54px 38px, rgba(245, 247, 251, 0.75) 0 4px, transparent 5px),
    repeating-radial-gradient(circle at 54px 38px, transparent 0 11px, rgba(95, 179, 217, 0.42) 12px 14px, transparent 15px 23px),
    linear-gradient(135deg, rgba(95, 179, 217, 0.18), rgba(255, 255, 255, 0.04));
}

.thumb-comms::before {
  top: 14px;
  left: 16px;
  width: 18px;
  height: 28px;
  border: 2px solid rgba(245, 247, 251, 0.58);
  border-radius: 5px;
}

.thumb-cloud {
  background:
    radial-gradient(circle at 27px 33px, rgba(245, 247, 251, 0.68) 0 12px, transparent 13px),
    radial-gradient(circle at 43px 27px, rgba(245, 247, 251, 0.58) 0 16px, transparent 17px),
    radial-gradient(circle at 57px 36px, rgba(245, 247, 251, 0.54) 0 10px, transparent 11px),
    linear-gradient(135deg, rgba(95, 179, 217, 0.16), rgba(255, 255, 255, 0.04));
}

.thumb-cloud::after {
  right: 15px;
  bottom: 11px;
  width: 12px;
  height: 18px;
  border-bottom: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.thumb-web {
  background:
    linear-gradient(rgba(245, 247, 251, 0.36) 0 0) 14px 14px / 48px 7px no-repeat,
    linear-gradient(rgba(95, 179, 217, 0.7) 0 0) 14px 29px / 25px 6px no-repeat,
    linear-gradient(rgba(245, 247, 251, 0.28) 0 0) 14px 41px / 40px 5px no-repeat,
    linear-gradient(135deg, rgba(95, 179, 217, 0.18), rgba(255, 255, 255, 0.04));
}

.thumb-web::before {
  inset: 10px 12px 9px;
  border: 2px solid rgba(245, 247, 251, 0.42);
  border-radius: 8px;
}

.service-thumb {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 45%),
    rgba(95, 179, 217, 0.13);
  color: var(--primary);
}

.service-thumb::before,
.service-thumb::after {
  display: none;
}

.service-thumb svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-highlights span {
  padding: 6px 9px;
  border: 1px solid rgba(95, 179, 217, 0.22);
  border-radius: 999px;
  background: rgba(95, 179, 217, 0.08);
  color: #d7e5f1;
  font-size: 0.82rem;
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 18px;
}

.service-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.icon {
  display: inline-flex;
  padding-top: 8px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
}

.partners {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03), transparent),
    radial-gradient(circle at center, rgba(95, 179, 217, 0.08), transparent 30rem);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.partner-card {
  display: grid;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  transition: 180ms ease;
}

.partner-card:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 179, 217, 0.34);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
}

.partner-card img {
  width: auto;
  max-width: 170px;
  height: 44px;
  object-fit: contain;
  filter: brightness(1.08) contrast(1.05);
  opacity: 0.96;
  transition: 180ms ease;
}

.partner-card:hover img {
  filter: brightness(1.16) contrast(1.08);
  opacity: 1;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.timeline-item {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 18px;
}

.timeline-item > span {
  display: grid;
  width: 42px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(95, 179, 217, 0.26);
  border-radius: 999px;
  background: rgba(95, 179, 217, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  padding: 70px 0;
}

.cta-panel {
  gap: 36px;
  padding: 34px;
  border: 1px solid rgba(95, 179, 217, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  align-self: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.contact-item {
  display: grid;
  gap: 4px;
}

.contact-item:nth-child(1),
.contact-item:nth-child(2),
.contact-details {
  grid-column: 1 / -1;
}

.contact-details {
  display: grid;
  gap: 4px;
  padding-top: 2px;
}

.contact-item span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item strong,
.contact-item address {
  margin: 0;
  color: var(--text);
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
}

.contact-item a:hover {
  color: var(--primary);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer a,
.legal-content a {
  color: var(--text);
  font-weight: 700;
}

.legal-page {
  min-height: 70vh;
}

.legal-content {
  max-width: 860px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-content p {
  color: var(--muted);
}

.legal-content a:hover {
  color: var(--primary);
}

body.light-mode {
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --text: #102033;
  --muted: #5d6b7c;
  --primary: #1f6f9f;
  --primary-dark: #164e73;
  --accent: #e7f2f8;
  --line: #d9e2ec;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.12);
  background: #ffffff;
  color: var(--text);
}

body.light-mode::before {
  display: none;
}

body.light-mode .site-header {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

body.light-mode .brand-logo {
  filter: brightness(0.38) saturate(1.8);
}

body.light-mode .nav-links a,
body.light-mode .theme-toggle {
  color: var(--muted);
}

body.light-mode .nav-links a:hover,
body.light-mode .theme-toggle:hover {
  background: var(--bg-soft);
  color: var(--text);
}

body.light-mode .nav-links .nav-alt {
  border-color: var(--line);
  background: #ffffff;
  color: var(--text);
}

body.light-mode .nav-links a.nav-download {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

body.light-mode .nav-toggle {
  border-color: var(--line);
  background: #ffffff;
}

body.light-mode .hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(31, 111, 159, 0.08), transparent 60%),
    var(--bg-soft);
}

body.light-mode .split,
body.light-mode .service-card,
body.light-mode .contact-card,
body.light-mode .timeline-item,
body.light-mode .legal-content {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

body.light-mode .services {
  background: var(--bg-soft);
}

body.light-mode .service-thumb {
  border-color: rgba(31, 111, 159, 0.14);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), transparent 45%),
    var(--accent);
  color: var(--primary-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 28px rgba(16, 32, 51, 0.1);
}

body.light-mode .service-highlights span {
  border-color: transparent;
  background: var(--accent);
  color: var(--primary-dark);
}

body.light-mode .partners {
  background: #ffffff;
}

body.light-mode .partner-card {
  border-color: var(--line);
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.08);
}

body.light-mode .partner-card:hover {
  border-color: rgba(31, 111, 159, 0.26);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 32, 51, 0.12);
}

body.light-mode .partner-card img {
  filter: brightness(1) contrast(1);
  opacity: 1;
}

body.light-mode .process {
  background: linear-gradient(180deg, #ffffff, var(--bg-soft));
}

body.light-mode .timeline-item > span {
  border-color: rgba(31, 111, 159, 0.18);
  background: var(--accent);
  color: var(--primary-dark);
}

body.light-mode .cta-panel {
  border-color: var(--line);
  background: var(--bg-soft);
  box-shadow: none;
}

body.light-mode .footer {
  border-top-color: var(--line);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(7, 17, 31, 0.96);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links.legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-links a {
    padding: 14px;
  }

  .theme-toggle {
    padding: 14px;
    text-align: left;
  }

  body.light-mode .nav-links {
    background: #ffffff;
  }

  .process-grid,
  .split,
  .cta-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-card {
    padding: 24px;
  }

  .hero {
    padding-top: 72px;
  }

  .cards-grid,
  .partner-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

  .cards-grid,
  .partner-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .split,
  .cta-panel,
  .legal-content {
    padding: 24px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}
