:root {
  --bg: #010612;
  --bg-2: #020b1c;
  --panel: rgba(4, 13, 31, 0.78);
  --line: rgba(86, 130, 186, 0.32);
  --text: #f4f7fb;
  --muted: #bdc6d4;
  --blue: #008cff;
  --blue-2: #0054df;
  --cyan: #16c7ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 28%, rgba(0, 89, 255, 0.13), transparent 34%),
    radial-gradient(circle at 50% 72%, rgba(0, 151, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #020713 0%, #010511 58%, #01040c 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

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

a {
  color: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
}

main {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: clamp(56px, 7vw, 90px) 0 40px;
  text-align: center;
}

.logo-wrap {
  width: min(620px, 76vw);
  margin: 0 auto 42px;
  filter: drop-shadow(0 15px 40px rgba(0, 99, 255, 0.18));
}

.brand-logo {
  width: 100%;
  border-radius: 6px;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--cyan);
}

h1,
h2 {
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2.8rem, 6.7vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0.025em;
  font-weight: 700;
  text-shadow: 0 8px 28px rgba(0,0,0,.45);
}

h1 span {
  display: block;
  margin-top: 10px;
  color: transparent;
  background: linear-gradient(180deg, #16a9ff 0%, #0077ff 38%, #0047cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 10px 18px rgba(0, 78, 255, .22));
}

.hero-copy {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

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

.service-card {
  min-height: 330px;
  padding: 34px 24px 30px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10, 24, 52, .45), rgba(3, 11, 27, .68));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 20px 50px rgba(0,0,0,.15);
  backdrop-filter: blur(8px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 151, 255, .65);
  box-shadow: 0 18px 55px rgba(0, 96, 255, .12);
}

.icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  color: var(--blue);
  filter: drop-shadow(0 7px 14px rgba(0, 90, 255, .30));
}

.icon svg,
.mail-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h2 {
  min-height: 52px;
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.12;
  letter-spacing: .045em;
}

.accent-line {
  width: 54px;
  height: 2px;
  margin: 17px auto;
  background: linear-gradient(90deg, var(--cyan), var(--blue-2));
  box-shadow: 0 0 12px rgba(0, 151, 255, .35);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
}

.contact {
  padding: 54px 0 48px;
  text-align: center;
}

.mail-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  padding: 10px;
  color: var(--blue);
  border: 1px solid rgba(0, 140, 255, .7);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(0, 112, 255, .13);
}

.contact h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: .18em;
}

.contact p {
  margin: 8px 0 4px;
  color: #d4dae3;
  font-size: 1rem;
}

.email-link {
  display: inline-block;
  margin-top: 4px;
  color: #0097ff;
  font-size: clamp(1rem, 2vw, 1.22rem);
  text-decoration: none;
  transition: color .2s ease, text-shadow .2s ease;
}

.email-link:hover,
.email-link:focus-visible {
  color: #41c6ff;
  text-shadow: 0 0 16px rgba(0, 151, 255, .45);
}

footer {
  position: relative;
  z-index: 2;
  padding: 28px 20px 34px;
  text-align: center;
  color: #aeb7c5;
  border-top: 1px solid rgba(57, 92, 140, .22);
  font-size: .9rem;
}

footer p {
  margin: 0;
}

.circuit {
  position: absolute;
  z-index: 1;
  top: 85px;
  width: min(34vw, 480px);
  height: 420px;
  opacity: .62;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, #0b87ff 0 3px, transparent 4px),
    radial-gradient(circle at 26% 24%, #0b87ff 0 3px, transparent 4px),
    radial-gradient(circle at 42% 34%, #0b87ff 0 3px, transparent 4px),
    linear-gradient(135deg, transparent 0 47%, rgba(0, 106, 255, .32) 48% 49%, transparent 50%) 0 0/110px 52px,
    linear-gradient(90deg, rgba(0, 106, 255, .23), rgba(0, 106, 255, 0)) 0 20px/100% 1px no-repeat;
  filter: drop-shadow(0 0 8px rgba(0, 101, 255, .15));
}

.circuit-left {
  left: -120px;
  transform: skewY(-1deg);
}

.circuit-right {
  right: -120px;
  transform: scaleX(-1) skewY(-1deg);
}

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

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

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 36px;
  }

  .logo-wrap {
    width: min(92vw, 560px);
    margin-bottom: 32px;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .hero-copy {
    line-height: 1.62;
  }

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

  .service-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .service-card h2 {
    min-height: 0;
  }

  .circuit {
    opacity: .28;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
