:root {
  --dark: #050505;
  --dark-2: #111111;
  --light: #ffffff;
  --blue: #009dff;
  --gold: #f8b82e;
  --muted: #d9d9d9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", "Montserrat", sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

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

.topbar {
  max-width: 1050px;
  margin: 0 auto;
  padding: 14px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  transition: 0.3s ease;
}

.logo img {
  height: 72px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo strong {
  color: var(--gold);
}

.logo:hover img {
  transform: scale(1.08);
}

.logo:hover {
  text-shadow: 0 0 15px rgba(0, 174, 255, 0.5);
}

nav a {
  color: var(--light);
  text-decoration: none;
  margin-left: 22px;
  font-size: 14px;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--blue);
}

.hero {
  min-height: 600px;
  padding: 80px 20px;
  background:
    linear-gradient(rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.97)),
    radial-gradient(circle at center,
      rgba(0, 157, 255, 0.28) 0%,
      #161616 42%,
      #050505 100%);
  position: relative;
  overflow: hidden;
}

.grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(0, 174, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 174, 255, 0.3) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 15s linear infinite;
}

@keyframes moveGrid {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(50px, 50px);
  }
}

.hero::before {
  /* soft centered blue glow behind the canvas */
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center,
    rgba(0, 174, 255, 0.28) 0%,
    rgba(0, 174, 255, 0.12) 25%,
    transparent 60%);
  border-radius: 50%;
  box-shadow: 0 0 120px rgba(0, 174, 255, 0.25);
  animation: floatBox 6s ease-in-out infinite;
  opacity: 0.9;
  z-index: 0;
}

@keyframes floatBox {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(3deg);
  }
}

.hero-content,
.hero-image {
  position: relative;
  z-index: 2;
}

/* full-size canvas for network animation */
#network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  flex: 0 1 650px;
  text-align: left;
}

.hero-image {
  flex: 0 1 350px;
  text-align: center;
  margin-top: -20px;
  transform: translateY(-60px);
}

.hero-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  padding: 14px 26px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--gold);
  color: #000;
}

.btn-outline {
  border: 2px solid var(--blue);
  color: #fff;
}

.btn-outline:hover {
  background: var(--blue);
  color: #000;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 20px;
}

.stat {
  text-align: center;
}

.stat h3 {
  color: var(--gold);
  font-size: 2rem;
}

h1 {
  font-size: clamp(42px, 8vw, 78px);
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 rgba(0, 157, 255, 0.42);
}

.hero p {
  max-width: 650px;
  margin: 16px auto 28px;
  color: var(--muted);
}

main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 35px 25px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 20px;
}

.service-card {
  background: #111111;
  border: 1px solid rgba(0, 157, 255, 0.25);
  border-radius: 20px;
  padding: 35px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(0, 157, 255, 0.18);
}

.icon {
  font-size: 42px;
  margin-bottom: 18px;
}

.service-card h2 {
  color: #fff;
  margin-bottom: 12px;
}

.service-card p {
  color: #d8d8d8;
  line-height: 1.6;
}

.work,
.tools {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 25px;
  margin-bottom: 45px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px auto 0;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--light);
  border: 1px solid rgba(0, 157, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(0, 157, 255, 0.16);
}

.card-image {
  position: relative;
  height: 150px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(0, 157, 255, 0.12) 100%);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 157, 255, 0.08),
    rgba(5, 5, 5, 0.18)
  );
}

.card-copy {
  padding: 18px 16px 20px;
  text-align: left;
}

.card-copy h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--dark);
}

.card-copy p {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.tools {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

.tools h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #fff;
}

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

.tool-card {
  background: linear-gradient(180deg, #111111, #080808);
  border: 1px solid rgba(0, 157, 255, 0.25);
  border-radius: 18px;
  padding: 30px 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(0, 157, 255, 0.2);
}

.tool-card span {
  font-size: 38px;
  display: block;
  margin-bottom: 15px;
}

.tool-card h3 {
  color: var(--gold);
  margin-bottom: 10px;
}

.tool-card p {
  color: #d8d8d8;
  line-height: 1.6;
  font-size: 0.95rem;
}

footer {
  background: var(--dark-2);
  border-top: 8px solid var(--blue);
  padding: 35px 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  color: var(--muted);
}

footer > div {
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-image img {
    max-width: 250px;
  }

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

@media (max-width: 800px) {
  .topbar,
  footer {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 15px;
  }

  nav a {
    display: inline-block;
    margin: 8px;
  }

  .services,
  .cards,
  .tool-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .card-image,
  .tools {
    width: 100%;
  }
}
.blog-hero {
  padding: 120px 8% 60px;
  background: #050505;
  color: white;
}

.blog-hero .tag {
  display: inline-block;
  background: #f7b733;
  color: #000;
  padding: 12px 22px;
  font-weight: 800;
  margin-bottom: 25px;
}

.blog-hero h1 {
  font-size: 56px;
  max-width: 800px;
  margin-bottom: 20px;
}

.blog-hero p {
  max-width: 650px;
  font-size: 20px;
  color: #cfcfcf;
}

.blog-grid {
  padding: 60px 8%;
  background: #050505;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #0d0d0d;
  border: 1px solid rgba(0, 174, 255, 0.25);
  padding: 32px;
  border-radius: 18px;
  color: white;
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 174, 255, 0.25);
}

.blog-card h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.blog-card p {
  color: #cfcfcf;
  line-height: 1.6;
}

.blog-card a {
  display: inline-block;
  margin-top: 20px;
  color: #f7b733;
  font-weight: 700;
  text-decoration: none;
}

.blog-card a:hover {
  text-decoration: underline;
}

.blog-card .date {
  font-size: 12px;
  color: #777;
  margin-bottom: 12px;
}

.blog-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
}
.post-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 30px;
  color: white;
}

.post-article {
  background: linear-gradient(180deg, #0d0d0d, #080808);
  border: 1px solid rgba(0, 174, 255, 0.22);
  border-radius: 18px;
  padding: 42px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.post-page h1 {
  font-size: 52px;
  margin-bottom: 30px;
}

.post-page h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  color: #f7b733;
}

.post-page h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 24px;
}

.post-page p {
  font-size: 20px;
  line-height: 1.7;
  color: #d6d6d6;
}

.post-page .lead {
  color: #f1f1f1;
  font-size: 22px;
}

.post-page .date {
  color: #00aeff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.post-page ul {
  margin: 16px 0 0 22px;
  color: #d6d6d6;
}

.post-page li {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.6;
}

.post-page li strong {
  color: #fff;
}

.back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #00aeff;
  text-decoration: none;
  font-weight: 700;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .post-page {
    padding: 70px 20px;
  }

  .post-article {
    padding: 28px 22px;
  }

  .post-page h1 {
    font-size: 38px;
  }

  .post-page p,
  .post-page .lead {
    font-size: 18px;
  }
}


