* {
  box-sizing: border-box;
}

:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --panel: rgba(14, 30, 51, 0.76);
  --panel-solid: #0d1c30;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f8fc;
  --muted: #9fb0c3;
  --cyan: #27d3ff;
  --blue: #2f7cff;
  --green: #35e5a1;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(39, 211, 255, 0.06), transparent 24rem),
    radial-gradient(circle at 85% 45%, rgba(47, 124, 255, 0.05), transparent 28rem);
  z-index: -1;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(7, 17, 31, 0.92);
  border-color: var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

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

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 7px);
  gap: 4px;
  align-items: end;
  width: 31px;
  height: 31px;
  transform: skewX(-10deg);
}

.brand-mark span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 16px rgba(39, 211, 255, 0.25);
}

.brand-mark span:nth-child(1) {
  height: 18px;
}

.brand-mark span:nth-child(2) {
  height: 29px;
}

.brand-mark span:nth-child(3) {
  height: 23px;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  letter-spacing: 0.1em;
  font-size: 1.05rem;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  color: #d7e2ee;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 88%);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(30px);
}

.hero-glow-one {
  top: 8%;
  right: -8%;
  width: 430px;
  height: 430px;
  background: rgba(47, 124, 255, 0.16);
}

.hero-glow-two {
  bottom: 3%;
  left: -12%;
  width: 360px;
  height: 360px;
  background: rgba(39, 211, 255, 0.09);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 80px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-wrap h2 {
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 5.7rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--cyan), #79a7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #03101b;
  background: linear-gradient(135deg, var(--cyan), #6ae1ff);
  box-shadow: 0 14px 32px rgba(39, 211, 255, 0.18);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.035);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.hero-meta span {
  padding: 8px 12px;
  color: #b8c8d8;
  font-size: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.status-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(17, 36, 60, 0.9), rgba(8, 20, 35, 0.76));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.main-card {
  position: absolute;
  inset: 48px 32px 50px 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  transform: perspective(1100px) rotateY(-8deg) rotateX(3deg);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce8f4;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-top small {
  margin-left: auto;
  color: var(--green);
  font-weight: 800;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(53, 229, 161, 0.8);
}

.system-ring {
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
  margin: 58px auto 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--panel-solid) 54%, transparent 55%),
    conic-gradient(var(--cyan) 0 84%, rgba(255,255,255,0.08) 84% 100%);
  box-shadow:
    inset 0 0 40px rgba(39, 211, 255, 0.08),
    0 0 45px rgba(39, 211, 255, 0.09);
}

.ring-core {
  text-align: center;
}

.ring-core strong {
  display: block;
  font-size: 3rem;
  line-height: 1;
}

.ring-core span {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

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

.metrics div {
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.metrics span,
.metrics strong {
  display: block;
}

.metrics span {
  color: var(--muted);
  font-size: 0.68rem;
}

.metrics strong {
  margin-top: 4px;
  font-size: 0.84rem;
}

.mini-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 235px;
  padding: 16px;
  border-radius: 16px;
}

.mini-card-one {
  top: 4px;
  right: -8px;
}

.mini-card-two {
  bottom: 0;
  left: -18px;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #04111d;
  font-size: 0.8rem;
  font-weight: 900;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.mini-card small,
.mini-card strong {
  display: block;
}

.mini-card small {
  color: var(--muted);
  font-size: 0.61rem;
  letter-spacing: 0.11em;
}

.mini-card strong {
  margin-top: 3px;
  font-size: 0.86rem;
}

.scroll-hint {
  position: absolute;
  right: 28px;
  bottom: 30px;
  color: #65778a;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
}

.section {
  padding: 112px 0;
}

.services-section {
  background: #081421;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 770px;
  margin-bottom: 54px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-wrap h2 {
  font-size: clamp(2.1rem, 4vw, 4.1rem);
}

.section-heading > p:last-child,
.about-copy > p,
.contact-wrap > div:first-child > p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(39, 211, 255, 0.3);
  background: linear-gradient(180deg, rgba(39,211,255,0.07), rgba(255,255,255,0.015));
}

.service-number {
  position: absolute;
  top: 17px;
  right: 20px;
  color: rgba(255,255,255,0.18);
  font-size: 0.72rem;
  font-weight: 800;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 58px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
  border: 1px solid rgba(39, 211, 255, 0.25);
  border-radius: 15px;
  background: rgba(39, 211, 255, 0.06);
}

.service-card h3,
.process-step h3 {
  margin: 0;
  font-size: 1.16rem;
}

.service-card p,
.process-step p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-section {
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 88px;
}

.tech-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(145deg, rgba(39,211,255,0.08), rgba(47,124,255,0.035));
  background-size: 34px 34px, 34px 34px, auto;
}

.tech-panel::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(39, 211, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(39, 211, 255, 0.08);
}

.tech-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  z-index: 2;
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.72;
  letter-spacing: -0.08em;
  transform: skewX(-7deg);
}

.tech-copy span:last-child {
  color: transparent;
  -webkit-text-stroke: 1px rgba(39, 211, 255, 0.55);
  margin-left: 44px;
}

.tech-node {
  position: absolute;
  z-index: 3;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(39, 211, 255, 0.9);
}

.tech-node-a {
  top: 20%;
  left: 24%;
}

.tech-node-b {
  top: 56%;
  right: 17%;
}

.tech-node-c {
  bottom: 16%;
  left: 37%;
}

.tech-line {
  position: absolute;
  top: 50%;
  left: 4%;
  width: 92%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39,211,255,0.7), transparent);
  transform: rotate(-21deg);
}

.about-points {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.about-points div {
  padding: 18px 20px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(39,211,255,0.06), transparent);
}

.about-points strong,
.about-points span {
  display: block;
}

.about-points span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

.process-section {
  background: #081421;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.process-step {
  min-height: 235px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
}

.process-step + .process-step {
  border-left: 1px solid var(--line);
}

.process-step > span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.contact-section {
  padding-bottom: 96px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  padding: 58px;
  border: 1px solid rgba(39, 211, 255, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 10% 20%, rgba(39,211,255,0.11), transparent 22rem),
    linear-gradient(145deg, rgba(17,36,60,0.8), rgba(8,20,35,0.92));
  box-shadow: var(--shadow);
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 14px;
}

.contact-details a,
.contact-details > div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-details a:hover {
  transform: translateX(4px);
  border-color: rgba(39, 211, 255, 0.32);
}

.contact-details span,
.contact-details strong {
  display: block;
}

.contact-details span {
  color: var(--muted);
  font-size: 0.72rem;
}

.contact-details strong {
  margin-top: 4px;
  font-size: 0.95rem;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  display: grid;
}

.footer-brand span,
.site-footer p {
  color: var(--muted);
  font-size: 0.77rem;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-content,
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-step:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .about-grid {
    gap: 54px;
  }

  .contact-wrap {
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(7, 17, 31, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-content {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.1rem);
  }

  .hero-visual {
    min-height: 430px;
  }

  .main-card {
    inset: 38px 4px 35px;
    padding: 20px;
    transform: none;
  }

  .system-ring {
    width: 190px;
    height: 190px;
    margin: 46px auto 30px;
  }

  .ring-core strong {
    font-size: 2.2rem;
  }

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

  .metrics div {
    padding: 10px 12px;
  }

  .mini-card {
    width: 200px;
  }

  .mini-card-one {
    right: -4px;
  }

  .mini-card-two {
    left: -4px;
  }

  .scroll-hint {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step + .process-step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .tech-panel {
    min-height: 390px;
  }

  .contact-wrap {
    padding: 32px 24px;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand-copy small {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 7px;
  }

  .mini-card {
    display: none;
  }
}
