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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #020617;
  color: #fff;
  overflow-x: hidden;
  cursor: none;
}

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

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 16px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 6, 23, .68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 255, 247, .18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 3px;
}

.mini-logo {
  width: 58px;
}

.mini-logo svg {
  width: 100%;
  overflow: visible;
}

.mini-g {
  stroke-width: 3;
  filter: drop-shadow(0 0 8px currentColor);
}

.mini-green {
  fill: #00fff7;
  color: #00fff7;
}

.mini-purple {
  fill: #9b5cff;
  color: #9b5cff;
}

.mini-orbit {
  fill: none;
  stroke: #00fff7;
  stroke-width: 4;
  stroke-dasharray: 20 10;
  animation: orbitDash 2.5s linear infinite;
}

nav {
  display: flex;
  gap: 28px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: #9b5cff;
  box-shadow: 0 0 15px #9b5cff;
  transition: .3s;
}

nav a:hover::after {
  width: 100%;
}

.nav-btn,
.primary-btn,
.secondary-btn {
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid #00fff7;
  box-shadow: 0 0 20px rgba(0, 255, 247, .35);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  transition: .3s;
}

.nav-btn:hover,
.primary-btn:hover {
  background: #00fff7;
  color: #020617;
  box-shadow: 0 0 45px #00fff7;
}

.hero {
  min-height: 100vh;
  position: relative;
  padding: 125px 20px 80px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

#particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0, 255, 247, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 247, .055) 1px, transparent 1px);
  background-size: 70px 70px;
  animation: gridMove 20s linear infinite;
}

.glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(115px);
  opacity: .45;
  z-index: 0;
}

.glow-a {
  background: #00fff7;
  top: 5%;
  left: -130px;
}

.glow-b {
  background: #9b5cff;
  bottom: 8%;
  right: -130px;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1150px;
  text-align: center;
  animation: fadeUp 1s ease both;
}

.logo-stage {
  position: relative;
  width: min(860px, 96vw);
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}

.gg-logo-svg {
  width: 100%;
  position: relative;
  z-index: 5;
  animation: logoFloat 4s ease-in-out infinite;
  filter:
    drop-shadow(0 0 18px rgba(0, 255, 247, .75))
    drop-shadow(0 0 42px rgba(155, 92, 255, .55));
}

.gg-logo-svg svg {
  width: 100%;
  overflow: visible;
}

.gg-shape {
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: url(#neon);
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation:
    drawLogo 3s ease forwards,
    logoPulse 3s ease-in-out infinite 3s;
}

.g-left {
  fill: url(#greenGrad);
  stroke: #00fff7;
}

.g-right {
  fill: url(#purpleGrad);
  stroke: #c084fc;
  animation-delay: .35s, 3s;
}

.orbit-svg {
  fill: none;
  stroke-width: 6;
  stroke-dasharray: 55 22;
  filter: url(#neon);
  transform-origin: center;
}

.orbit-back {
  stroke: rgba(0, 255, 247, .65);
  animation: orbitRotate 8s linear infinite;
}

.orbit-front {
  stroke: rgba(192, 132, 252, .9);
  animation: orbitRotateReverse 6s linear infinite;
}

.code-icon path {
  fill: none;
  stroke: #fff;
  stroke-width: 13;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#neon);
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation:
    drawCode 2s ease forwards 1.8s,
    codeGlow 1.6s ease-in-out infinite alternate 3s;
}

.brand-text {
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 17px;
  fill: url(#silverGrad);
  filter: url(#neon);
  animation: textGlow 2.5s ease-in-out infinite alternate;
}

.tagline {
  font-size: 21px;
  letter-spacing: 8px;
  fill: #cbd5e1;
  animation: taglinePulse 3s ease-in-out infinite;
}

.hud-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 255, 247, .35);
  box-shadow: 0 0 35px rgba(0, 255, 247, .22);
  z-index: 1;
}

.ring-one {
  width: 78%;
  height: 68%;
  animation: spin 20s linear infinite;
}

.ring-two {
  width: 58%;
  height: 50%;
  border-color: rgba(155, 92, 255, .55);
  animation: spinReverse 15s linear infinite;
}

.scan-line {
  position: absolute;
  width: 80%;
  height: 2px;
  z-index: 8;
  background: linear-gradient(90deg, transparent, #00fff7, transparent);
  box-shadow: 0 0 18px #00fff7;
  animation: scan 3.5s ease-in-out infinite;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 0 0 30px rgba(0, 255, 247, .25);
}

h1 span {
  display: block;
  background: linear-gradient(90deg, #00fff7, #9b5cff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p,
.contact p {
  max-width: 780px;
  margin: 0 auto 32px;
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.secondary-btn {
  border-color: #9b5cff;
  box-shadow: 0 0 20px rgba(155, 92, 255, .35);
}

.secondary-btn:hover {
  background: #9b5cff;
  box-shadow: 0 0 45px #9b5cff;
}

.services {
  padding: 80px 6%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.services article,
.stats,
.tech-grid div,
.contact {
  background: rgba(15, 23, 42, .72);
  border: 1px solid rgba(0, 255, 247, .22);
  box-shadow: 0 0 30px rgba(0, 255, 247, .08);
  backdrop-filter: blur(16px);
}

.services article {
  padding: 34px;
  border-radius: 18px;
  transition: .35s;
}

.services article:hover {
  transform: translateY(-12px);
  border-color: #9b5cff;
  box-shadow: 0 0 35px rgba(155, 92, 255, .35);
}

.services span {
  color: #00fff7;
  font-weight: 900;
}

.services h3 {
  margin: 18px 0 12px;
  font-size: 1.35rem;
}

.services p {
  color: #94a3b8;
  line-height: 1.6;
}

.stats {
  margin: 30px 6%;
  padding: 36px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stats strong {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #00fff7;
  text-shadow: 0 0 25px #00fff7;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: #cbd5e1;
  text-transform: uppercase;
  font-size: 13px;
}

.tech {
  padding: 90px 6%;
  text-align: center;
}

.tech h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 35px;
}

.tech h2 {
  background: linear-gradient(90deg, #00fff7, #fff, #9b5cff);
  -webkit-background-clip: text;
  color: transparent;
}

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

.tech-grid div {
  padding: 28px;
  border-radius: 16px;
  font-weight: 900;
  transition: .3s;
}

.tech-grid div:hover {
  transform: scale(1.05);
  color: #00fff7;
  border-color: #9b5cff;
}

.contact {
  margin: 40px 6% 90px;
  padding: 60px 30px;
  border-radius: 24px;
  text-align: center;
}

.contact form {
  max-width: 680px;
  margin: auto;
  display: flex;
  border: 1px solid rgba(0, 255, 247, .35);
  border-radius: 14px;
  overflow: hidden;
}

.contact input {
  flex: 1;
  padding: 20px;
  background: rgba(2, 6, 23, .8);
  border: none;
  outline: none;
  color: white;
  font-size: 1rem;
}

.contact button {
  padding: 0 34px;
  border: none;
  background: linear-gradient(135deg, #00fff7, #9b5cff);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.cursor,
.cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor {
  width: 34px;
  height: 34px;
  border: 2px solid #00fff7;
  border-radius: 50%;
  box-shadow: 0 0 25px #00fff7;
  transition: .12s;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: #9b5cff;
  border-radius: 50%;
  box-shadow: 0 0 18px #9b5cff;
}

@keyframes drawLogo {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCode {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.025);
  }
}

@keyframes logoPulse {
  0%, 100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: .92;
    filter: brightness(1.28);
  }
}

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

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

@keyframes codeGlow {
  from {
    stroke: #fff;
  }
  to {
    stroke: #00fff7;
  }
}

@keyframes textGlow {
  from {
    opacity: .85;
  }
  to {
    opacity: 1;
  }
}

@keyframes taglinePulse {
  0%, 100% {
    opacity: .6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes orbitDash {
  to {
    stroke-dashoffset: -80;
  }
}

@keyframes gridMove {
  to {
    background-position: 140px 140px;
  }
}

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

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

@keyframes scan {
  0%, 100% {
    top: 16%;
    opacity: 0;
  }
  50% {
    top: 82%;
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(45px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 950px) {
  nav,
  .nav-btn {
    display: none;
  }

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

  .brand-text {
    font-size: 45px;
    letter-spacing: 10px;
  }

  .tagline {
    font-size: 16px;
    letter-spacing: 5px;
  }
}

@media (max-width: 580px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-dot {
    display: none;
  }

  .brand span {
    font-size: 12px;
  }

  .hero {
    padding-top: 115px;
  }

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

  .contact form {
    flex-direction: column;
  }

  .contact button {
    padding: 18px;
  }

  .brand-text {
    font-size: 34px;
    letter-spacing: 6px;
  }

  .tagline {
    font-size: 12px;
    letter-spacing: 3px;
  }
}
