* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a0a;
  min-height: 100vh;
  font-family: "Orbitron", sans-serif;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.animated-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  background: repeating-linear-gradient(
      to right,
      #fff 0px,
      #fff 1px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      to bottom,
      #fff 0px,
      #fff 1px,
      transparent 1px,
      transparent 40px
    );
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 80px 80px, 80px 80px;
  }
}

@keyframes gridBWShift {
  0% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
  100% {
    filter: brightness(1);
  }
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: #0a0a0a;
  filter: none;
  overflow: hidden;
}

.wrapper {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  min-height: 520px;
  padding: 4.5rem 3.5rem 3.5rem 3.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(0, 123, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(0, 123, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 123, 255, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.card-cyber-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.card-cyber-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
  position: relative;
  z-index: 1;
}

.logo-image {
  width: 5.5rem;
  height: 5.5rem;
  filter: drop-shadow(0 0 12px rgba(33, 150, 243, 0.4));
  animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-text {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 0 8px #2196f344;
  line-height: 1;
}

.main-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #2196f3;
  margin-bottom: 1.2rem;
  text-align: center;
  text-shadow: 0 0 12px #2196f388;
  background: linear-gradient(45deg, #2196f3, #64ffda);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 8px rgba(33, 150, 243, 0.4));
  }
  100% {
    filter: drop-shadow(0 0 16px rgba(33, 150, 243, 0.6));
  }
}

.divider {
  width: 60px;
  border: none;
  border-top: 2px solid #2196f3;
  margin-bottom: 1.5rem;
  opacity: 0.7;
  box-shadow: 0 0 8px #2196f388;
}

.slogan {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 2.2rem;
  text-align: center;
  line-height: 1.6;
  text-shadow: 0 0 8px #2196f344;
}

.contact-btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2196f3;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #2196f3;
  border-radius: 30px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 16px 0 #2196f344;
  text-shadow: 0 0 8px #2196f3cc;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(33, 150, 243, 0.2),
    transparent
  );
  transition: 0.5s;
}

.contact-btn:hover {
  background: #2196f3;
  color: #0a0a0a;
  box-shadow: 0 4px 32px 0 #2196f388;
  transform: translateY(-2px) scale(1.04);
}

.contact-btn:hover::before {
  left: 100%;
}

.footer {
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
  opacity: 0.5;
  font-family: "Orbitron", sans-serif;
}

.cyber-graph-line {
  stroke: #2196f3;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  filter: drop-shadow(0 0 8px #2196f3cc);
  animation: cyberGraphDraw 1.8s cubic-bezier(0.77, 0, 0.18, 1) 0.2s forwards;
}

@keyframes cyberGraphDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.cyber-graph-dot {
  fill: #2196f3;
  opacity: 0;
  filter: drop-shadow(0 0 8px #2196f3cc);
  transform: translateY(18px);
  animation: cyberGraphDotIn 0.7s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.cyber-graph-dot:nth-of-type(2) {
  animation-delay: 1.1s;
}
.cyber-graph-dot:nth-of-type(3) {
  animation-delay: 1.3s;
}
.cyber-graph-dot:nth-of-type(4) {
  animation-delay: 1.5s;
}

@keyframes cyberGraphDotIn {
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .card {
    max-width: 98vw;
    padding: 2.5rem 0.5rem 2rem 0.5rem;
    min-height: 350px;
  }
}

.logo-container {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 12px rgba(33, 150, 243, 0.4));
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(33, 150, 243, 0.6));
  }
}

.robot-container {
  position: fixed;
  right: 2%;
  bottom: 0%;
  width: 300px;
  height: 300px;
  z-index: 1;
  opacity: 1;
  filter: drop-shadow(0 0 30px rgba(33, 150, 243, 0.4));
  transition: opacity 0.3s ease;
}

.robot-container:hover {
  opacity: 0.25;
}

.robot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(33, 150, 243, 0.3));
}
