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

:root {
  --fg-bg: #040917;
  --fg-bg-soft: #07102a;
  --fg-surface: rgba(9, 18, 46, 0.82);
  --fg-surface-strong: rgba(8, 14, 36, 0.95);
  --fg-alt: rgba(8, 16, 40, 0.78);
  --fg-text: #e8eefc;
  --fg-muted: #a5b5d3;
  --fg-line: rgba(132, 164, 230, 0.22);
  --fg-primary: #2a9ef4;
  --fg-primary-2: #49d6d8;
  --fg-shadow: rgba(1, 7, 22, 0.55);
  --fg-geo: #35d4d4;
  --fg-gov: #6bdcb4;
  --fg-data: #2ca9ff;
  --fg-infra: #4d8dff;
}

html,
body {
  background:
    radial-gradient(circle at 15% 10%, rgba(58, 112, 255, 0.12), transparent 46%),
    radial-gradient(circle at 82% 18%, rgba(73, 214, 216, 0.08), transparent 44%),
    linear-gradient(180deg, #030713 0%, #040916 45%, #030610 100%);
  color: var(--fg-text);
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 0.8px, transparent 1px),
    radial-gradient(circle, rgba(102, 169, 255, 0.08) 0.9px, transparent 1px);
  background-size: 38px 38px, 64px 64px;
  background-position: 0 0, 12px 18px;
  opacity: 0.22;
}

.site-main {
  padding-top: 86px;
  position: relative;
  z-index: 1;
}

.site-header .navbar {
  background: rgba(4, 10, 26, 0.78) !important;
  border-bottom: 1px solid rgba(122, 159, 230, 0.12) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar-brand {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f7ff !important;
}

.navbar-brand img {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.navbar .nav-link {
  font-size: 0.95rem;
  color: rgba(223, 233, 255, 0.82) !important;
  letter-spacing: 0.03em;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff !important;
}

.navbar .nav-link.active {
  color: #9fddff !important;
  font-weight: 600;
}

.hero-section,
.page-hero {
  padding: 2.7rem 0 2.4rem;
  background: transparent;
  border-bottom: 0;
}

.page-hero-tight {
  padding-bottom: 1.6rem;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(138, 181, 255, 0.16);
  background:
    radial-gradient(circle at 48% 58%, rgba(92, 165, 255, 0.32), rgba(13, 24, 60, 0.05) 38%, transparent 58%),
    radial-gradient(circle at 60% 76%, rgba(71, 221, 229, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(8, 15, 38, 0.96) 0%, rgba(5, 10, 25, 0.94) 100%);
  box-shadow:
    0 30px 80px rgba(2, 6, 18, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 2rem;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 20%),
    linear-gradient(0deg, rgba(60, 110, 210, 0.1), transparent 35%),
    radial-gradient(ellipse at 50% 70%, rgba(45, 156, 255, 0.24) 0%, rgba(45, 156, 255, 0.08) 26%, transparent 55%);
  pointer-events: none;
}

.hero-frame::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 33%;
  height: 34%;
  background:
    radial-gradient(ellipse at 50% 88%, rgba(111, 184, 255, 0.58) 0%, rgba(84, 148, 255, 0.2) 42%, transparent 70%),
    linear-gradient(90deg, transparent 0%, rgba(201, 231, 255, 0.26) 18%, rgba(201, 231, 255, 0.1) 50%, rgba(201, 231, 255, 0.22) 80%, transparent 100%);
  opacity: 0.9;
  filter: blur(2px);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 0 28%, rgba(145, 206, 255, 0.12) 28.5%, transparent 30%),
    linear-gradient(63deg, transparent 0 52%, rgba(136, 181, 255, 0.08) 52.5%, transparent 54%),
    linear-gradient(172deg, transparent 0 68%, rgba(136, 236, 255, 0.07) 68.5%, transparent 70%);
  opacity: 0.85;
}

.hero-box {
  position: relative;
  z-index: 1;
  background: rgba(9, 17, 42, 0.46);
  border: 1px solid rgba(146, 175, 233, 0.15);
  border-radius: 16px;
  padding: 2rem;
  max-width: 780px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b9c9ea;
  font-size: 0.82rem;
  margin: 0;
}

.hero-title {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #d8f2ff;
  text-shadow: 0 0 24px rgba(77, 174, 255, 0.16);
}

.hero-lead,
.hero-box .lead {
  color: var(--fg-muted);
  max-width: 60ch;
  font-size: 1rem;
}

.ecosystem-grid {
  position: relative;
  z-index: 1;
  margin-top: 1.3rem;
}

.ecosystem-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(143, 186, 255, 0.18);
  background: linear-gradient(180deg, rgba(12, 24, 60, 0.85) 0%, rgba(8, 15, 37, 0.95) 100%);
  padding: 1rem;
  min-height: 214px;
  box-shadow: 0 14px 36px rgba(3, 7, 20, 0.34);
}

.ecosystem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 255, 255, 0.09), transparent 40%),
    radial-gradient(circle at 70% 78%, rgba(41, 169, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.ecosystem-card::after {
  content: "";
  position: absolute;
  inset: auto -15% 34% -15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.55;
}

.ecosystem-brand {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(226, 238, 255, 0.7);
}

.ecosystem-card h2 {
  position: relative;
  z-index: 1;
  margin: 0.15rem 0 0.75rem;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.ecosystem-card p {
  position: relative;
  z-index: 1;
  color: #dbe7ff;
  font-size: 0.92rem;
}

.ecosystem-card.geo {
  color: var(--fg-geo);
  background: linear-gradient(180deg, rgba(8, 54, 72, 0.82) 0%, rgba(6, 25, 43, 0.96) 100%);
}

.ecosystem-card.gov {
  color: var(--fg-gov);
  background: linear-gradient(180deg, rgba(11, 55, 63, 0.82) 0%, rgba(7, 24, 39, 0.96) 100%);
}

.ecosystem-card.data {
  color: var(--fg-data);
}

.ecosystem-card.infra {
  color: var(--fg-infra);
}

.section-block {
  padding: 3.6rem 0;
}

.section-white,
.section-surface {
  background: transparent;
}

.section-alt,
.section-deep {
  background: linear-gradient(180deg, rgba(6, 12, 30, 0.45), rgba(5, 10, 25, 0.2));
}

.section-title {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #d8f1ff;
}

.section-subtitle {
  color: var(--fg-muted);
}

.content-panel,
.phase-card,
.info-card,
.manifesto-box,
.cta-panel {
  background: linear-gradient(180deg, rgba(9, 18, 45, 0.82) 0%, rgba(6, 12, 30, 0.9) 100%);
  border: 1px solid var(--fg-line);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(3, 7, 18, 0.24);
}

.content-panel {
  padding: 1.2rem 1.15rem;
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.phase-card,
.info-card {
  padding: 1.05rem 1rem;
  height: 100%;
}

.phase-card h3,
.info-card h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #d2ecff;
}

.phase-card p,
.info-card p {
  color: var(--fg-muted);
}

.phase-card {
  position: relative;
  overflow: hidden;
}

.phase-card::before,
.info-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(73, 214, 216, 0.25), rgba(42, 158, 244, 0.9), rgba(73, 214, 216, 0.25));
}

.info-card {
  position: relative;
}

.info-card h3 {
  color: #ffffff;
}

.info-card:nth-child(1),
.row .col-md-6:nth-child(1) .info-card { box-shadow: 0 16px 32px rgba(16, 191, 205, 0.08); }
.row .col-md-6:nth-child(2) .info-card { box-shadow: 0 16px 32px rgba(87, 224, 177, 0.07); }
.row .col-md-6:nth-child(3) .info-card { box-shadow: 0 16px 32px rgba(45, 169, 255, 0.08); }
.row .col-md-6:nth-child(4) .info-card { box-shadow: 0 16px 32px rgba(86, 137, 255, 0.08); }

.manifesto-box {
  padding: 2rem;
  background:
    radial-gradient(circle at 82% 20%, rgba(73, 214, 216, 0.08), transparent 36%),
    radial-gradient(circle at 15% 85%, rgba(42, 158, 244, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(8, 16, 40, 0.94), rgba(6, 11, 28, 0.95));
}

.manifesto-box p {
  color: #d8e4fd;
}

.list-principles {
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

.list-principles li {
  margin-bottom: 0.4rem;
}

.cta-panel {
  padding: 1rem;
  min-width: 280px;
}

.site-footer {
  position: relative;
  margin-top: 1rem;
  background: linear-gradient(180deg, rgba(4, 9, 22, 0.75), rgba(3, 7, 18, 0.95));
  border-top: 1px solid rgba(126, 161, 230, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(84, 173, 255, 0.45), transparent);
}

.footer-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f0f6ff;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #b9c9e6;
}

.footer-contacts a {
  text-decoration: none;
}

.footer-contacts a:hover,
.footer-contacts a:focus {
  color: #d7f5ff;
}

.footer-contacts li + li {
  margin-top: 0.45rem;
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.btn-primary {
  color: #08101f;
  background: linear-gradient(90deg, #a4ecff 0%, #6ed6ff 32%, #48c5ff 100%);
  border-color: rgba(115, 221, 255, 0.8);
  box-shadow: 0 10px 26px rgba(47, 179, 255, 0.24);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #06101d;
  background: linear-gradient(90deg, #b7f2ff 0%, #82ddff 32%, #58ccff 100%);
  border-color: #9be8ff;
}

.btn-outline-primary {
  color: #cfeeff;
  border-color: rgba(117, 193, 255, 0.45);
  background: rgba(9, 18, 45, 0.36);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #06101d;
  background: linear-gradient(90deg, #a4ecff 0%, #6ed6ff 40%, #48c5ff 100%);
  border-color: rgba(115, 221, 255, 0.85);
}

.text-muted {
  color: var(--fg-muted) !important;
}

@media (max-width: 991.98px) {
  .site-main {
    padding-top: 78px;
  }

  .section-block {
    padding: 3rem 0;
  }

  .hero-frame {
    padding: 1.15rem;
    border-radius: 16px;
  }

  .hero-box {
    padding: 1.2rem;
  }

  .hero-title {
    line-height: 1.02;
  }

  .ecosystem-card {
    min-height: 178px;
  }

  .manifesto-box {
    padding: 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section,
  .page-hero {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
  }

  .hero-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .ecosystem-card h2 {
    font-size: 1.6rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-box .d-flex {
    width: 100%;
  }
}
