:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --panel: rgba(15, 28, 47, 0.68);
  --panel-strong: rgba(13, 24, 41, 0.92);
  --text: #eaf2ff;
  --muted: #99aac4;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #61d0ff;
  --accent-2: #8e7dff;
  --accent-3: #14f1c6;
  --danger: #ff6b8a;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(97, 208, 255, 0.08), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(142, 125, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #06101d 0%, #081321 40%, #050b14 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  width: min(100%, 1600px);
  margin: 0 auto;
  position: relative;
  padding: 0 24px 40px;
}

.ambient {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  opacity: 0.22;
  pointer-events: none;
}

.ambient-1 {
  top: -120px;
  left: -120px;
  background: #2bc2ff;
}

.ambient-2 {
  top: 160px;
  right: -150px;
  background: #725cff;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
  z-index: -3;
  pointer-events: none;
}

.topbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(97, 208, 255, 0.8);
}

.brand-text {
  font-size: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  transition: 0.25s ease;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  padding-top: 50px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  min-height: 88vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9fd4ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  max-width: 12ch;
}

.gradient-text {
  background: linear-gradient(90deg, #71daff, #8a7dff, #67ffd8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.section-head p,
.solution-card p,
.panel p,
.results-card p,
.process-card p,
.contact-copy p,
.cta-box p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 60ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.92rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 15px 40px rgba(61, 129, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(61, 129, 255, 0.34);
}

.btn-glass,
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-glass:hover,
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-full {
  width: 100%;
}

.glass-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.035)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.metric {
  padding: 18px;
  border-radius: var(--radius-md);
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.metric-value::after {
  content: "%";
  font-size: 1rem;
  margin-left: 2px;
  color: var(--accent);
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.dashboard-card {
  border-radius: 30px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(97,208,255,0.12), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(142,125,255,0.14), transparent 32%);
  pointer-events: none;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.dashboard-top h3 {
  margin: 6px 0 0;
  font-size: 1.35rem;
}

.mini-label {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8ea8c7;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(14, 255, 180, 0.08);
  border: 1px solid rgba(14, 255, 180, 0.18);
  color: #89ffd7;
  font-size: 0.85rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2cffbd;
  box-shadow: 0 0 16px #2cffbd;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.dashboard-block {
  background: rgba(4, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 18px;
}

.dashboard-block.large {
  min-height: 220px;
}

.dashboard-block.wide {
  grid-column: 1 / -1;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #d9e6ff;
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.positive {
  color: #67ffd8;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 145px;
  padding-top: 12px;
}

.bar {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, rgba(105, 167, 255, 0.95), rgba(54, 79, 255, 0.18));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.bar.active {
  background: linear-gradient(180deg, rgba(103,255,216,1), rgba(61,168,255,0.22));
}

.ring-wrap {
  display: flex;
  justify-content: center;
  padding: 18px 0 8px;
}

.ring {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #0a1322 72%, transparent 73% 100%),
    conic-gradient(var(--accent-3) 0 92%, rgba(255,255,255,0.08) 92% 100%);
  display: grid;
  place-items: center;
}

.ring-inner {
  font-weight: 800;
  font-size: 1.4rem;
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 14px;
}

.signal-list li {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.signal-list li span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(97,208,255,0.6);
}

.pipeline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.pipe-node {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 600;
}

.pipe-line {
  height: 2px;
  flex: 1;
  min-width: 30px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.55;
}

.floating-stat {
  position: absolute;
  right: -10px;
  bottom: -24px;
  padding: 18px 20px;
  border-radius: 20px;
  min-width: 180px;
}

.floating-stat p,
.floating-stat span {
  margin: 0;
  color: var(--muted);
}

.floating-stat h4 {
  margin: 6px 0 4px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.logo-strip .strip-card {
  border-radius: 22px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.strip-card span:first-child {
  color: var(--muted);
}

.strip-items {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.strip-items span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: #dfeaff;
  font-size: 0.92rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.solutions-grid,
.results-grid,
.process-grid,
.system-panels {
  display: grid;
  gap: 20px;
}

.solutions-grid {
  grid-template-columns: repeat(2, 1fr);
}

.solution-card,
.panel,
.results-card,
.process-card {
  border-radius: 24px;
  padding: 24px;
}

.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, rgba(97,208,255,0.16), rgba(142,125,255,0.2));
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 18px;
}

.solution-card h3,
.panel h3,
.results-card h3,
.process-card h3,
.contact-copy h2,
.cta-box h2 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.solution-card ul {
  padding-left: 18px;
  color: #dce8ff;
  line-height: 1.8;
  margin: 18px 0 0;
}

.architecture {
  border-radius: 30px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  gap: 16px;
  overflow-x: auto;
}

.arch-layer {
  min-width: 220px;
  border-radius: 22px;
  padding: 18px;
  background: rgba(4, 12, 22, 0.52);
  border: 1px solid rgba(255,255,255,0.07);
}

.arch-title {
  color: #88a9d3;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}

.arch-content h3 {
  margin: 0 0 8px;
}

.arch-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.arch-arrow {
  color: var(--accent);
  font-size: 1.6rem;
  opacity: 0.8;
}

.system-panels {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 20px;
}

.journey-flow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.journey-flow span {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dde8ff;
  font-size: 0.92rem;
}

.conversation-lines {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.conversation-lines div {
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  color: #d9e6ff;
}

.results-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.results-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ccfff;
}

.line-chart {
  height: 200px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.05);
  padding: 10px;
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.score-grid div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.score-grid strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.score-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.leak-bars {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.leak-bars div {
  display: grid;
  gap: 8px;
}

.leak-bars span {
  color: #d9e6ff;
  font-size: 0.92rem;
}

.leak-bars i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--danger), var(--accent-2), var(--accent));
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-number {
  display: inline-block;
  font-size: 0.82rem;
  color: #9ccfff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cta-box {
  border-radius: 30px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.contact-wrap {
  border-radius: 30px;
  padding: 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.92rem;
  color: #d9e6ff;
}

.field input,
.field textarea,
.field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 16px;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7f92b1;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(97,208,255,0.5);
  box-shadow: 0 0 0 3px rgba(97,208,255,0.12);
}

.footer {
  max-width: var(--max);
  margin: 20px auto 0;
  padding: 24px 0 10px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero,
  .contact-wrap,
  .solutions-grid,
  .system-panels,
  .results-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .floating-stat {
    position: static;
    margin-top: 16px;
  }

  .architecture {
    grid-template-columns: 1fr;
  }

  .arch-arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-shell {
    padding: 0 16px 30px;
  }

  .section {
    padding: 34px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .dashboard-card,
  .solution-card,
  .panel,
  .results-card,
  .process-card,
  .cta-box,
  .contact-wrap {
    padding: 20px;
  }

  .strip-card {
    padding: 18px;
  }
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid rgba(97,208,255,0.25);
  color: #eaf2ff;

  padding: 14px 46px 14px 16px;
  border-radius: 16px;
  cursor: pointer;

  background-image:
  linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23eaf2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

  background-repeat: no-repeat, no-repeat;
  background-position: right 16px center, right 16px center;
  background-size: 16px;
}

.field select:hover {
  border-color: rgba(97,208,255,0.45);
}

.field select:focus {
  border-color: rgba(97,208,255,0.7);
  box-shadow: 0 0 0 3px rgba(97,208,255,0.15);
}

/* dropdown list items */
.field select option {
  background: #0b1320;
  color: #eaf2ff;
}

.field select option:hover {
  background: #13233a;
}
