:root {
  --bg-1: #041126;
  --bg-2: #071a39;
  --text: #f4f7fe;
  --muted: #c4d0e4;
  --muted-strong: #dbe7fb;
  --muted-2: #93a8c6;
  --border: rgba(143, 179, 230, 0.2);
  --shadow-deep: 0 34px 90px rgba(1, 8, 20, 0.44);
  --radius-xl: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 18%, rgba(71, 130, 228, 0.16), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(96, 156, 255, 0.12), transparent 22%),
    radial-gradient(circle at 50% 0%, rgba(64, 119, 216, 0.14), transparent 32%),
    linear-gradient(180deg, #041124 0%, #07162f 34%, #081a36 68%, #061326 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(91, 138, 221, 0.05) 47% 53%, transparent 54%),
    linear-gradient(55deg, transparent 0 46%, rgba(91, 138, 221, 0.03) 47% 53%, transparent 54%);
  background-size: 220px 220px, 280px 280px;
  opacity: 0.68;
}

body::after {
  background: radial-gradient(circle, rgba(181, 207, 255, 0.2) 0 1.2px, transparent 2px);
  background-size: 36px 36px;
  opacity: 0.06;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.82) 18%, rgba(0, 0, 0, 0.9) 86%, transparent 100%);
}

a,
button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 16, 35, 0.76);
  border-bottom: 1px solid rgba(139, 176, 228, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.topbar-inner,
main {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  border: 1px solid rgba(154, 192, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(67, 123, 215, 0.3), rgba(18, 42, 84, 0.72)),
    rgba(8, 24, 52, 0.72);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 35px rgba(4, 14, 33, 0.28);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  stroke: #8cc0ff;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-copy span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(151, 187, 240, 0.11);
  border-radius: 999px;
  background: rgba(7, 20, 43, 0.52);
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav a.active {
  background:
    linear-gradient(180deg, rgba(73, 131, 226, 0.24), rgba(38, 83, 156, 0.18)),
    rgba(12, 32, 67, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(102, 163, 255, 0.22);
}

.nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

main {
  margin: 34px auto 56px;
  position: relative;
  z-index: 1;
}

.hero,
.section-panel {
  border: 1px solid rgba(152, 187, 239, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
}

.hero {
  margin-bottom: 24px;
  padding: 34px 36px 28px;
  background:
    radial-gradient(circle at 16% 18%, rgba(78, 143, 255, 0.09), transparent 24%),
    linear-gradient(135deg, rgba(10, 31, 67, 0.92), rgba(7, 19, 43, 0.82));
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%);
  opacity: 0.22;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(126, 171, 240, 0.18);
  border-radius: 999px;
  background: rgba(7, 23, 49, 0.52);
  color: #cfe0ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #73b1ff;
  box-shadow: 0 0 18px rgba(115, 177, 255, 0.45);
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 4.5vw, 74px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero p {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.58;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stat {
  padding: 16px;
  border: 1px solid rgba(152, 187, 239, 0.14);
  border-radius: 18px;
  background: rgba(9, 27, 58, 0.56);
}

.hero-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.page-section {
  display: none;
}

.page-section.active-section {
  display: block;
}

.grid.page-section.active-section {
  display: grid;
}

.card {
  --accent-rgb: 79, 155, 255;
  --card-gradient-start: rgba(20, 48, 96, 0.92);
  --card-gradient-end: rgba(7, 17, 38, 0.94);
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(150, 185, 236, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, var(--card-gradient-start), var(--card-gradient-end)),
    rgba(10, 29, 63, 0.9);
  box-shadow: 0 24px 55px rgba(1, 8, 20, 0.26);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(var(--accent-rgb), 0.14), transparent 26%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 24%);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 30px 70px rgba(1, 8, 20, 0.32);
}

.module-visual,
.module-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.module-visual {
  padding: 24px 20px 20px;
  border-right: 1px solid rgba(150, 185, 236, 0.1);
  display: grid;
  grid-template-rows: auto auto;
  gap: 16px;
}

.visual-pattern {
  position: absolute;
  inset: 18px 20px auto 20px;
  height: 120px;
  opacity: 0.16;
  background-image: radial-gradient(circle, rgba(201, 220, 255, 0.8) 0 1px, transparent 1.6px);
  background-size: 16px 16px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), transparent 85%);
}

.visual-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 18px;
  margin-top: 16px;
  border: 1px solid rgba(145, 181, 232, 0.13);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(8, 21, 45, 0.42);
}

.icon-wrap {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.26);
  background:
    radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), 0.18), transparent 58%),
    rgba(10, 26, 52, 0.62);
}

.icon-wrap svg {
  width: 70px;
  height: 70px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-footnote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(150, 185, 236, 0.12);
}

.footnote-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(12, 31, 64, 0.58);
}

.footnote-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-footnote p {
  color: #d8e4f7;
  font-size: 13px;
  line-height: 1.45;
}

.module-content {
  padding: 24px 24px 20px;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 14px;
}

.module-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0.08)),
    rgba(9, 28, 56, 0.68);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.module-heading h2 {
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--title, #fff);
}

.heading-line {
  width: 100%;
  max-width: 320px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(160, 191, 239, 0.3), transparent);
}

.module-description {
  color: #d7e2f5;
  font-size: 15px;
  line-height: 1.62;
}

.capability-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.capability-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(150, 185, 236, 0.1);
}

.capability-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.capability-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  background:
    radial-gradient(circle at 50% 30%, rgba(var(--accent-rgb), 0.16), transparent 58%),
    rgba(8, 22, 46, 0.54);
}

.capability-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-copy strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.capability-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.module-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid rgba(150, 185, 236, 0.12);
}

.module-context {
  margin-right: auto;
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.45;
  max-width: 260px;
}

.btn,
.submit-btn {
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.btn {
  min-width: 220px;
  padding: 13px 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.12)),
    rgba(18, 47, 97, 0.88);
  font-size: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 24px rgba(5, 16, 37, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 30px rgba(5, 16, 37, 0.28);
}

.btn span:last-child {
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
}

.section-panel {
  margin-top: 34px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(12, 30, 62, 0.84), rgba(7, 18, 38, 0.92)),
    rgba(10, 38, 82, 0.34);
}

.section-panel h2 {
  font-size: clamp(28px, 3vw, 44px);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-panel .lead {
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 1020px;
}

.contact-lead {
  color: #eef5ff;
}

.kiriox-story {
  max-width: 980px;
}

.kiriox-story .lead {
  margin-bottom: 18px;
}

.story-emphasis,
.story-close {
  color: #ffffff;
  font-weight: 700;
}

.story-contrast {
  margin: 24px 0;
  padding: 22px 24px;
  border: 1px solid rgba(149, 190, 255, 0.16);
  border-radius: 22px;
  background: rgba(6, 21, 47, 0.5);
}

.story-contrast p {
  color: #eef5ff;
  font-size: 18px;
  line-height: 1.65;
}

.story-contrast p + p {
  margin-top: 10px;
}

.story-cta-row {
  display: flex;
  justify-content: flex-start;
  margin: 24px 0 28px;
}

.story-cta-row-end {
  margin-top: 30px;
  margin-bottom: 0;
}

.story-cta {
  min-width: 240px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.value-box {
  padding: 22px;
  border: 1px solid rgba(149, 190, 255, 0.14);
  border-radius: 22px;
  background: rgba(6, 21, 47, 0.52);
}

.value-box strong {
  display: block;
  margin-bottom: 10px;
  color: #d7e7ff;
  font-size: 17px;
}

.value-box span {
  color: #d2ddf1;
  font-size: 15px;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}

.field.description-field {
  grid-column: 1 / 3;
}

.contact-form .submit-btn {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-weight: 700;
  color: #eef5ff;
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(149, 190, 255, 0.24);
  background: rgba(4, 15, 34, 0.68);
  color: #fff;
  font-size: 15px;
  outline: none;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(79, 155, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(79, 155, 255, 0.12);
}

.submit-btn {
  height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(79, 155, 255, 0.5);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(79, 155, 255, 0.22), rgba(79, 155, 255, 0.12)),
    rgba(14, 38, 80, 0.84);
}

.form-note {
  margin-top: 12px;
  color: #cfe0ff;
  font-size: 14px;
  display: none;
}

@media (max-width: 1260px) {
  .hero-grid,
  .card {
    grid-template-columns: 1fr;
  }

  .module-visual {
    border-right: 0;
    border-bottom: 1px solid rgba(150, 185, 236, 0.1);
  }
}

@media (max-width: 980px) {
  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .grid,
  .hero-meta,
  .value-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .field.description-field,
  .contact-form .submit-btn {
    grid-column: auto;
    grid-row: auto;
  }

  .submit-btn,
  .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  main {
    width: min(100% - 24px, 720px);
  }

  .hero,
  .section-panel,
  .module-visual,
  .module-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .module-heading h2 {
    font-size: 30px;
  }

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

  .module-context {
    max-width: none;
  }
}
