:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #a5b3c7;
  --panel: rgba(8, 17, 30, 0.78);
  --panel-strong: rgba(9, 24, 41, 0.94);
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #31d7ff;
  --mint: #58f7bf;
  --coral: #ff6b58;
  --amber: #ffd166;
  --deep: #050814;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(49, 215, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 88% 20%, rgba(255, 107, 88, 0.15), transparent 28rem),
    linear-gradient(145deg, #050814 0%, #08121e 42%, #0b0f16 100%);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  z-index: -2;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.site-shell {
  position: relative;
  min-height: 100vh;
}

.tech-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.48;
  pointer-events: none;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px clamp(16px, 4vw, 48px);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(4, 9, 18, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.navbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(49, 215, 255, 0.34));
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
}

.nav-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(49, 215, 255, 0.14);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  padding: 0;
  place-items: center;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle .bar + .bar {
  margin-top: 5px;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 7vw, 98px) clamp(18px, 4vw, 54px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to top, var(--deep), transparent);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scale(1.02);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 20, 0.96) 0%, rgba(5, 8, 20, 0.72) 38%, rgba(5, 8, 20, 0.1) 72%),
    linear-gradient(180deg, rgba(5, 8, 20, 0.26), rgba(5, 8, 20, 0.92));
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 12s ease-in-out infinite alternate;
}

.scan-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18%;
  width: 18%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(49, 215, 255, 0.15), transparent);
  transform: skewX(-15deg);
  animation: scanBeam 5.8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(670px, 100%);
  padding-top: 4vh;
}

.eyebrow {
  color: var(--mint);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(3.1rem, 8vw, 7.4rem);
  line-height: 0.92;
  max-width: 780px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin-top: 24px;
  color: #d8e5f3;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

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

.btn-primary,
.btn-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #03111d;
  box-shadow: 0 16px 34px rgba(49, 215, 255, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(49, 215, 255, 0.35);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.13);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(580px, 100%);
  margin-top: 42px;
}

.hero-stats div {
  min-height: 98px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(18px);
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.diagnostic-hud {
  position: absolute;
  right: clamp(20px, 6vw, 92px);
  bottom: clamp(34px, 8vw, 92px);
  z-index: 2;
  width: min(310px, 28vw);
  aspect-ratio: 1;
  pointer-events: none;
  perspective: 1000px;
}

.hud-ring {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(49, 215, 255, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(49, 215, 255, 0.34), inset 0 0 30px rgba(49, 215, 255, 0.18);
  animation: spinHud 10s linear infinite;
}

.hud-ring::before,
.hud-ring::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  border: 1px dashed rgba(88, 247, 191, 0.36);
}

.hud-ring::after {
  inset: 22%;
  border-color: rgba(255, 107, 88, 0.46);
  animation: spinHud 5s linear infinite reverse;
}

.hud-card {
  position: absolute;
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 12, 23, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: floatCard 4.8s ease-in-out infinite;
}

.hud-card span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
}

.hud-card strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 1.1rem;
}

.hud-card-one {
  top: 12%;
  right: 0;
}

.hud-card-two {
  left: 0;
  bottom: 16%;
  animation-delay: -2s;
}

.section,
.showcase,
.booking-band,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 8vw, 110px) 0;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 32px;
}

.section-heading h2,
.showcase h2,
.booking-copy h2,
.contact-section h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-dark {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  perspective: 1200px;
}

.service-card,
.process-panel,
.booking-form,
.contact-info li,
.price-table-container {
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.service-card {
  min-height: 260px;
  padding: 22px;
  border-radius: 8px;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  border-color: rgba(49, 215, 255, 0.54);
  background: linear-gradient(150deg, rgba(49, 215, 255, 0.16), rgba(255, 255, 255, 0.045));
}

.service-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #03111d;
  background: linear-gradient(135deg, var(--amber), var(--coral));
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(255, 107, 88, 0.2);
}

.service-card h3 {
  margin-top: 42px;
  font-size: 1.35rem;
}

.service-card p,
.showcase-copy p,
.booking-copy p {
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: center;
}

.showcase-copy p {
  margin-top: 20px;
  font-size: 1.04rem;
}

.process-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  overflow: hidden;
}

.process-panel::before {
  content: "";
  position: absolute;
  inset: -60% auto auto -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(49, 215, 255, 0.22);
  filter: blur(60px);
  animation: glowPulse 4s ease-in-out infinite alternate;
}

.process-step {
  position: relative;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.process-step::after {
  content: "";
  position: absolute;
  inset: auto -30% -48% auto;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(49, 215, 255, 0.24);
}

.process-step.active {
  background: linear-gradient(135deg, rgba(49, 215, 255, 0.18), rgba(88, 247, 191, 0.12));
}

.process-step span {
  color: var(--mint);
  font-weight: 900;
}

.process-step strong {
  display: block;
  margin-top: 54px;
  font-size: 1.35rem;
}

.price-section {
  width: min(960px, calc(100% - 36px));
}

.price-table-container {
  border-radius: 8px;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.price-table th,
.price-table td {
  padding: 17px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.price-table th {
  color: #06121e;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  font-size: 0.82rem;
  text-transform: uppercase;
}

.price-table tr {
  transition: background 0.2s ease, transform 0.2s ease;
}

.price-table tbody tr:hover {
  background: rgba(49, 215, 255, 0.11);
}

.price-table td:last-child {
  color: var(--mint);
  font-weight: 900;
}

.booking-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 560px);
  gap: clamp(24px, 7vw, 90px);
  align-items: start;
}

.booking-copy {
  position: sticky;
  top: 118px;
}

.booking-copy p {
  margin-top: 18px;
  font-size: 1.04rem;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.contact-pills li {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d7e3f0;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.booking-form {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 8px;
}

.booking-form label {
  color: #dce8f5;
  font-weight: 800;
  font-size: 0.86rem;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(4, 8, 16, 0.64);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: rgba(49, 215, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(49, 215, 255, 0.12);
  background: rgba(4, 8, 16, 0.82);
}

.booking-form textarea {
  resize: vertical;
  min-height: 130px;
}

.booking-form button {
  border: 0;
  margin-top: 10px;
  cursor: pointer;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 34px;
}

.contact-info {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 8px;
}

.contact-info strong {
  color: var(--mint);
}

.contact-info span {
  color: #dce8f5;
  text-align: right;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 18px 36px;
  color: var(--muted);
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
}

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

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

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.07) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes scanBeam {
  0%,
  28% {
    transform: translateX(0) skewX(-15deg);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  72%,
  100% {
    transform: translateX(760%) skewX(-15deg);
    opacity: 0;
  }
}

@keyframes spinHud {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg);
  }

  50% {
    transform: translate3d(0, -12px, 20px) rotateX(4deg);
  }
}

@keyframes glowPulse {
  to {
    transform: translate(30%, 20%) scale(1.15);
  }
}

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

  .showcase,
  .booking-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .booking-copy {
    position: static;
  }

  .diagnostic-hud {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    padding: 10px;
    background: rgba(5, 11, 21, 0.94);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
    padding-bottom: 62px;
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(5, 8, 20, 0.78), rgba(5, 8, 20, 0.9)),
      linear-gradient(90deg, rgba(5, 8, 20, 0.82), rgba(5, 8, 20, 0.2));
  }

  .hero h1 {
    font-size: clamp(2.8rem, 16vw, 4.5rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    min-height: 220px;
  }

  .contact-info li {
    display: block;
  }

  .contact-info span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .tech-particles {
    display: none;
  }
}
