:root {
  --bg: #071018;
  --bg-soft: #0d1824;
  --panel: rgba(15, 25, 37, 0.86);
  --panel-2: rgba(255, 255, 255, 0.04);
  --text: #edf4fa;
  --muted: #9fb0c1;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #94deff;
  --accent-2: #dff7ff;
  --glow: rgba(148, 222, 255, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 26px;
  --radius-lg: 34px;
  --container: 1180px;
  --narrow: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 12% 14%, rgba(148, 222, 255, 0.08), transparent 20%),
    radial-gradient(circle at 84% 8%, rgba(148, 222, 255, 0.07), transparent 18%),
    linear-gradient(180deg, #06101a 0%, #09131d 40%, #071018 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.site-bg,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-bg { z-index: -2; }
.noise {
  z-index: -1;
  opacity: 0.04;
  background-image: linear-gradient(transparent 0, rgba(255,255,255,.3) 50%, transparent 100%);
  background-size: 100% 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.narrow { max-width: var(--narrow); }
.section { padding: 104px 0; }
.section-soft { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)); }
.section-dark {
  background: linear-gradient(180deg, rgba(8,18,28,.94), rgba(7,15,24,.98));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: .79rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(148, 222, 255, 0.55);
}

h1, h2, h3, h4 {
  margin: 0 0 14px;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 1.1rem; max-width: 60ch; }

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.button:hover,
.button-secondary:hover,
.button-ghost:hover { transform: translateY(-2px); }
.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061018;
  box-shadow: 0 12px 34px var(--glow);
}
.button-ghost,
.button-secondary {
  background: rgba(255,255,255,.04);
  border-color: var(--line);
  color: var(--text);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(5, 11, 17, .56);
  backdrop-filter: blur(18px);
}
.nav.scrolled {
  background: rgba(5, 11, 17, .86);
  border-bottom-color: rgba(255,255,255,.1);
}
.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-copy,
.footer-brand div {
  display: grid;
  gap: 2px;
}
.brand-copy small,
.footer-tagline {
  color: var(--muted);
  font-size: .82rem;
}
.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #fff);
  box-shadow: 0 0 0 6px rgba(148,222,255,.08), 0 0 30px rgba(148,222,255,.2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a { color: rgba(255,255,255,.84); font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: white;
}

.hero {
  position: relative;
  padding: 80px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.75rem);
  max-width: 10.5ch;
}
.hero-copy h1 span { color: #c6f0ff; }
.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.micro-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.micro-proof span,
.trust-bar div {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: #dfeaf3;
  font-size: .94rem;
}
.hero-visual {
  display: grid;
  gap: 18px;
  position: relative;
}
.visual-panel,
.floating-card,
.platform-board,
.feature-card,
.insight-card,
.contact-card,
.cta-strip,
.kpi-card,
.value-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.visual-panel {
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.visual-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(148,222,255,.24), transparent 66%);
}
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.metric-row:last-child { border-bottom: 0; }
.metric-row span { color: #dce9f4; }
.metric-row strong {
  color: var(--accent);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.floating-card {
  padding: 22px;
  margin-left: 56px;
  max-width: 340px;
  background: rgba(9,16,24,.88);
}
.floating-card small,
.kpi-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-image::after,
.framed-photo::after,
.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,10,16,.46), transparent 45%);
}
.hero-image img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.trust-bar-section {
  padding: 18px 0 10px;
}
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 36px;
}
.section-intro h2,
.split-copy h2,
.page-hero h1,
.cta-strip h2,
.window-pane h2,
.platform-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}
.feature-grid,
.values-grid,
.kpi-grid,
.platform-feature-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}
.feature-grid,
.values-grid,
.kpi-grid { grid-template-columns: repeat(3, 1fr); }
.platform-feature-grid,
.contact-grid { grid-template-columns: repeat(2, 1fr); }
.feature-card,
.value-card,
.contact-card,
.kpi-card { padding: 24px; }
.feature-card a,
.text-link { color: var(--accent); font-weight: 600; }

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.insight-stack {
  display: grid;
  gap: 16px;
}
.insight-card { padding: 22px; }
.insight-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.framed-photo,
.image-panel {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}
.framed-photo img,
.image-panel img {
  border-radius: 22px;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.window-story {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.window-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(5,10,16,.34), rgba(5,10,16,.6)), url("./img/server-rack.jpg") center/cover fixed;
  transform: scale(1.04);
}
.window-frame,
.window-pane { position: relative; }
.window-pane {
  max-width: 700px;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: rgba(6,12,18,.64);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.window-pane p { color: #d8e3ed; }

.platform-layout,
.cta-strip {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}
.platform-board,
.cta-strip { padding: 28px; }
.board-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.board-row:last-child { border-bottom: 0; }
.board-row strong {
  color: var(--accent);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cta-section {
  background: linear-gradient(180deg, rgba(148,222,255,.05), rgba(148,222,255,.02));
  border-top: 1px solid var(--line);
}

.page-hero {
  padding: 90px 0 24px;
}
.values-grid { margin-top: 28px; }
.kpi-grid { margin-top: 28px; }
.clean-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.clean-list li + li { margin-top: 10px; }
.contact-card a { color: #dfeefa; }
.contact-card strong { color: var(--text); }

.site-footer {
  padding: 44px 0 56px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .8fr;
  gap: 24px;
}
.footer-copy,
.footer-list,
.footer-list li,
.footer-bottom,
.footer-tagline { color: var(--muted); }
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li + li { margin-top: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .platform-layout,
  .cta-strip,
  .footer-grid { grid-template-columns: 1fr; }

  .trust-bar,
  .feature-grid,
  .values-grid,
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }

  .floating-card { margin-left: 0; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 82px 0; }
  .hero { padding-top: 36px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
  .trust-bar,
  .feature-grid,
  .values-grid,
  .kpi-grid,
  .platform-feature-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(8,15,22,.96);
    border: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .button,
  .button-ghost,
  .button-secondary {
    width: 100%;
  }
  .hero-image img,
  .framed-photo img,
  .image-panel img { min-height: 280px; height: 280px; }
  .window-pane { padding: 28px; }
  .footer-bottom { flex-direction: column; }
}
