:root {
  --bg: #050914;
  --surface: #0c1731;
  --surface-soft: #101f3f;
  --line: rgba(145, 173, 255, 0.25);
  --text: #eaf2ff;
  --muted: #a9b8d6;
  --accent: #2fd5ff;
  --accent-strong: #1de0c4;
  --warm: #ff7a59;
  --radius: 20px;
  --shadow: 0 16px 40px rgba(1, 7, 20, 0.55);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 18% 10%, rgba(47, 213, 255, 0.14), transparent 38%),
    radial-gradient(circle at 85% 0%, rgba(255, 122, 89, 0.16), transparent 42%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
}

main {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.narrow {
  width: min(800px, 100%);
}

.section {
  padding: 3.7rem 0;
}

.page-hero {
  padding-top: 7.5rem;
}

.backdrop {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(58px);
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

.backdrop-one {
  background: #2fd5ff;
  top: -110px;
  right: -90px;
  animation: driftOne 14s ease-in-out infinite;
}

.backdrop-two {
  background: #ff7a59;
  left: -120px;
  bottom: -140px;
  animation: driftTwo 18s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  border-bottom: 1px solid transparent;
  transition: background 0.24s ease, border-color 0.24s ease, backdrop-filter 0.24s ease;
}

.site-header.scrolled {
  background: rgba(5, 9, 20, 0.78);
  backdrop-filter: blur(14px);
  border-color: rgba(156, 178, 228, 0.2);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text span {
  color: var(--accent);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.header-cta {
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.68rem 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #3b7cff);
  color: #061022;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #d8e6ff;
}

.menu-toggle span + span {
  margin-top: 8px;
}

.hero {
  padding-top: 6rem;
  padding-bottom: 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.17em;
  color: var(--accent-strong);
  margin: 0 0 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
  max-width: 64ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(92deg, var(--accent) 0%, #2d88ff 54%, #6ea8ff 100%);
  color: #041123;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  color: #d7e4ff;
}

.hero-panel {
  background: linear-gradient(160deg, rgba(18, 35, 69, 0.78), rgba(9, 21, 43, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: var(--shadow);
}

.metric-card {
  border: 1px solid rgba(170, 193, 235, 0.2);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: rgba(7, 14, 30, 0.45);
}

.metric-card span {
  display: block;
  color: #8fa7d3;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.metric-card strong {
  font-size: 1rem;
  font-weight: 800;
}

.address-note {
  margin-top: 1rem;
  font-size: 0.94rem;
  color: #d1e3ff;
}

.mission-card,
.cta-band,
.highlight-band,
.map-block {
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(15, 31, 62, 0.84), rgba(8, 16, 35, 0.96));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mission-card,
.cta-band,
.highlight-band {
  padding: 1.8rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.app-card,
.product-block,
.profile-card,
.value-card,
.contact-card,
.chart-card,
.donut-wrap,
.line-chart-card,
.insight-matrix {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(12, 24, 50, 0.86), rgba(7, 14, 30, 0.94));
  box-shadow: var(--shadow);
}

.app-card {
  padding: 1.2rem;
}

.app-card img,
.product-head img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  margin-bottom: 0.8rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.64rem;
  border-radius: 999px;
  border: 1px solid rgba(119, 220, 232, 0.5);
  color: #aaf8e8;
  font-size: 0.78rem;
  font-weight: 700;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.intel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.market-section .intel-grid {
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

.chart-flat,
.insight-plain {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0;
}

.market-section .insight-card {
  border-color: rgba(165, 197, 255, 0.42);
  background: linear-gradient(162deg, rgba(22, 45, 82, 0.72), rgba(13, 28, 53, 0.84));
}

.chart-card,
.donut-wrap,
.line-chart-card,
.insight-matrix {
  padding: 1.2rem;
}

.chart-card.chart-flat,
.line-chart-card.chart-flat,
.insight-matrix.insight-plain {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0;
}

.bar-row {
  margin: 0.8rem 0;
}

.bar-row span {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #cfe0ff;
  font-size: 0.9rem;
}

.chart-caption {
  margin-bottom: 0.6rem;
  font-size: 0.86rem;
  color: #9fb7e5;
}

.bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(101, 134, 201, 0.2);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #27d4ff, #62f5d6);
  transition: width 1.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.clean-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.clean-list li {
  padding-left: 1.2rem;
  position: relative;
  color: #d3e2ff;
}

.clean-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent), var(--accent-strong));
  position: absolute;
  left: 0;
  top: 0.58rem;
}

.stacked-apps {
  display: grid;
  gap: 1rem;
}

.product-block {
  padding: 1.3rem;
}

.product-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.timeline-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(10, 20, 40, 0.72);
}

.timeline-item span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--accent), #4e89ff);
  color: #031024;
  margin-bottom: 0.65rem;
}

.donut {
  margin: 0.7rem auto 1.1rem;
  width: 182px;
  height: 182px;
  border-radius: 50%;
  background: conic-gradient(#2fd5ff 0 46%, #4d78ff 46% 80%, #ff7a59 80% 100%);
  position: relative;
  animation: rotateIn 0.9s ease;
}

.donut::after {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: #09162f;
  border: 1px solid rgba(147, 172, 230, 0.3);
}

.donut-legend {
  display: grid;
  gap: 0.5rem;
}

.donut-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d8e6ff;
  font-size: 0.9rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-one {
  background: #2fd5ff;
}

.dot-two {
  background: #4d78ff;
}

.dot-three {
  background: #ff7a59;
}

.line-chart {
  width: 100%;
  height: auto;
  margin: 0.75rem 0 0.35rem;
}

.line-chart text {
  font-family: var(--font-body);
}

.line-chart-lg {
  border: 1px solid rgba(146, 175, 233, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13, 27, 54, 0.55), rgba(6, 12, 27, 0.35));
  padding: 0.25rem;
}

.grid-line {
  fill: none;
  stroke: rgba(151, 181, 241, 0.2);
  stroke-width: 1;
}

.line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line.one {
  stroke: #2fd5ff;
}

.line.two {
  stroke: #4d78ff;
}

.chart-dot {
  fill: #2fd5ff;
  filter: drop-shadow(0 0 6px rgba(47, 213, 255, 0.8));
}

.chart-dot.alt {
  fill: #4d78ff;
  filter: drop-shadow(0 0 6px rgba(77, 120, 255, 0.8));
}

.chart-labels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  color: #9fb7e5;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.line-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.line-legend span {
  font-size: 0.85rem;
  color: #d1e0ff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.line-legend-strong {
  margin-top: 0.6rem;
  gap: 0.7rem;
}

.line-legend-strong span {
  border: 1px solid rgba(145, 173, 255, 0.28);
  border-radius: 999px;
  padding: 0.42rem 0.66rem;
  background: rgba(10, 22, 47, 0.45);
}

.chart-meta {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.75rem;
}

.legend-pill-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem 1rem;
  align-items: start;
}

.legend-pill-item {
  display: grid;
  gap: 0.1rem;
}

.legend-pill-item::after {
  content: none;
}

.line-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  border-radius: 999px;
  padding: 0.38rem 0.66rem;
  border: 1px solid rgba(145, 173, 255, 0.38);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 100%;
}

.line-pill::before {
  content: '';
  width: 18px;
  height: 3px;
  border-radius: 999px;
  display: inline-block;
}

.line-pill::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.line-pill-cyan {
  color: #beffff;
  border-color: rgba(47, 213, 255, 0.5);
  background: rgba(8, 57, 76, 0.52);
}

.line-pill-cyan::before {
  background: #2fd5ff;
}

.line-pill-cyan::after {
  background: #7df3ff;
  box-shadow: 0 0 9px rgba(47, 213, 255, 0.72);
}

.line-pill-blue {
  color: #c8d4ff;
  border-color: rgba(77, 120, 255, 0.56);
  background: rgba(26, 37, 92, 0.56);
}

.line-pill-blue::before {
  background: #4d78ff;
}

.line-pill-blue::after {
  background: #8aa5ff;
  box-shadow: 0 0 9px rgba(77, 120, 255, 0.72);
}

.legend-pill-item p {
  margin: 0.45rem 0 0;
  color: #cce0ff;
  font-size: 0.84rem;
  line-height: 1.42;
  max-width: 36ch;
}

.chart-note {
  color: #abc0e5;
  font-size: 0.85rem;
  margin: 0;
  max-width: 64ch;
}

.insight-matrix {
  display: grid;
  align-content: start;
  gap: 0.92rem;
}

.insight-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.74rem;
}

.insight-card {
  border: 1px solid rgba(144, 172, 227, 0.3);
  border-radius: 14px;
  padding: 0.86rem 0.88rem 0.9rem;
  background: linear-gradient(162deg, rgba(11, 22, 48, 0.84), rgba(7, 14, 30, 0.94));
  position: relative;
  overflow: hidden;
  min-height: 136px;
}

.insight-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  opacity: 0.75;
}

.insight-card-emphasis {
  border-color: rgba(130, 206, 255, 0.42);
  background: linear-gradient(160deg, rgba(13, 35, 62, 0.86), rgba(8, 16, 33, 0.96));
}

.insight-card-emphasis::before {
  background: linear-gradient(90deg, rgba(47, 213, 255, 0.88), rgba(29, 224, 196, 0.8));
}

.insight-card-compact {
  border-color: rgba(145, 173, 255, 0.3);
  background: linear-gradient(162deg, rgba(12, 24, 50, 0.78), rgba(8, 16, 35, 0.93));
}

.insight-card-compact::before {
  background: linear-gradient(90deg, rgba(77, 120, 255, 0.86), rgba(143, 169, 255, 0.68));
}

.insight-card span {
  display: block;
  color: #97b4e6;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.25rem;
}

.insight-card strong {
  display: block;
  color: #e3efff;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 0.26rem;
}

.insight-card p {
  margin: 0;
  color: #bccfee;
  font-size: 0.82rem;
  line-height: 1.42;
}

.profile-card,
.contact-card,
.value-card {
  padding: 1.25rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.6rem;
}

.form-alert {
  border-radius: 12px;
  padding: 0.72rem 0.86rem;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
}

.form-alert-success {
  border: 1px solid rgba(29, 224, 196, 0.45);
  background: rgba(9, 47, 43, 0.65);
  color: #b6fff1;
}

.form-alert-error {
  border: 1px solid rgba(255, 122, 89, 0.44);
  background: rgba(59, 21, 14, 0.66);
  color: #ffd3c8;
}

label {
  font-size: 0.84rem;
  color: #c8d9ff;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(133, 162, 222, 0.36);
  background: rgba(6, 14, 29, 0.7);
  color: #e8f2ff;
  font: inherit;
  padding: 0.75rem 0.85rem;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(47, 213, 255, 0.34);
  outline-offset: 2px;
}

.small-note {
  font-size: 0.88rem;
}

.map-block {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 1rem;
  padding: 1.2rem;
  align-items: center;
}

.facts-card {
  border: 1px solid rgba(145, 173, 255, 0.28);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(11, 23, 47, 0.78), rgba(6, 14, 31, 0.95));
}

.facts-card h3 {
  margin-bottom: 0.75rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.fact-item {
  border: 1px solid rgba(144, 172, 227, 0.28);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  background: rgba(7, 15, 32, 0.6);
}

.fact-item span {
  display: block;
  color: #95acda;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-item strong {
  display: block;
  color: #d9e9ff;
  font-size: 0.92rem;
  margin-top: 0.18rem;
}

.fact-item-wide {
  grid-column: 1 / -1;
}

.site-footer {
  border-top: 1px solid rgba(141, 167, 220, 0.22);
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 1.25rem;
}

.footer-brand {
  margin-bottom: 0.75rem;
}

.site-footer h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-copy {
  max-width: 40ch;
  font-size: 0.92rem;
}

.support-note {
  color: #c7dbff;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(141, 167, 220, 0.2);
  margin-top: 1.6rem;
  padding: 1rem 0 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #90a6d2;
  font-size: 0.85rem;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes driftOne {
  0%,
  100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 16px) scale(1.08); }
}

@keyframes driftTwo {
  0%,
  100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, -12px) scale(1.05); }
}

@keyframes rotateIn {
  from { transform: rotate(-22deg) scale(0.9); opacity: 0.45; }
  to { transform: rotate(0) scale(1); opacity: 1; }
}

@media (max-width: 1080px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 880px) {
  .hero-grid,
  .split-grid,
  .map-block {
    grid-template-columns: 1fr;
  }

  .legend-pill-row {
    grid-template-columns: 1fr;
  }

  .apps-grid,
  .values-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    right: 1.2rem;
    top: 74px;
    min-width: 220px;
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(8, 17, 36, 0.96);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    padding-top: 5rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3rem 0;
  }

  .page-hero {
    padding-top: 6.4rem;
  }

  .container {
    width: min(1120px, calc(100% - 1.3rem));
  }

  .insight-cards {
    grid-template-columns: 1fr;
  }

  .mission-card,
  .cta-band,
  .highlight-band,
  .app-card,
  .profile-card,
  .value-card,
  .product-block,
  .contact-card,
  .chart-card,
  .donut-wrap {
    border-radius: 16px;
  }

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

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