.ruku-header {
  background: linear-gradient(135deg, #dc4545, #a93131);
  color: #fff;
  padding: 35px 30px;
  text-align: left;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.ruku-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.ruku-logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  font-size: 26px;
  justify-content: center;
  color: #ee6531;
  margin-right: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ruku-logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ruku-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  line-height: 1.3;
  color: #fff;
}

.ruku-subtitle {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  font-weight: 300;
  margin: 0;
}

/* Animation elements */
.ruku-graphic {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  z-index: 1;
}

.ruku-mesh {
  position: absolute;
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.7;
}

.ruku-dots {
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 100px;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233144A9' fill-opacity='0.2' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.ruku-network-animation {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  z-index: 2;
}

.ruku-node {
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.ruku-node-1 {
  top: 10px;
  left: 30px;
  animation: ruku-pulse 2s infinite; /* Faster animation */
}

.ruku-node-2 {
  top: 70px;
  left: 10px;
  animation: ruku-pulse 2s infinite 0.4s; /* Faster animation */
}

.ruku-node-3 {
  top: 90px;
  left: 60px;
  animation: ruku-pulse 2s infinite 0.8s; /* Faster animation */
}

.ruku-node-4 {
  top: 40px;
  left: 90px;
  animation: ruku-pulse 2s infinite 1.2s; /* Faster animation */
}

.ruku-connection {
  position: absolute;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.3)
  );
  transform-origin: left center;
}

.ruku-connection-1 {
  width: 40px;
  top: 15px;
  left: 38px;
  transform: rotate(52deg);
  animation: ruku-data 1.2s infinite; /* Faster animation */
}

.ruku-connection-2 {
  width: 60px;
  top: 73px;
  left: 18px;
  transform: rotate(-26deg);
  animation: ruku-data 1.2s infinite 0.3s; /* Faster animation */
}

.ruku-connection-3 {
  width: 50px;
  top: 43px;
  left: 95px;
  transform: rotate(100deg);
  animation: ruku-data 1.2s infinite 0.6s; /* Faster animation */
}

.ruku-connection-4 {
  width: 40px;
  top: 88px;
  left: 68px;
  transform: rotate(-40deg);
  animation: ruku-data 1.2s infinite 0.9s; /* Faster animation */
}

@keyframes ruku-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
}

@keyframes ruku-data {
  0% {
    background-position: -40px 0;
  }
  100% {
    background-position: 40px 0;
  }
}

/* New Button Animation Styles */
.animated-button {
  position: relative;
  background: linear-gradient(135deg, #dc4545, #a93131);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.animated-button:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s;
}

.animated-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #e04545, #b93232);
}

.animated-button:hover:before {
  left: 100%;
  transition: all 0.6s;
}

.animated-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Rocket Animation Styles */
.high-speed-visualization {
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-color: #dc4545 !important;
  border-width: 2px !important;
}

.rocket-container {
  height: 180px;
  position: relative;
  margin-bottom: 20px;
}

.rocket {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 120px;
  animation: rocket-float 5s ease-in-out infinite;
}

.rocket-body {
  width: 30px;
  height: 70px;
  background: linear-gradient(135deg, #dc4545, #a93131);
  border-radius: 15px 15px 5px 5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

.window {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.rocket-fin {
  width: 15px;
  height: 25px;
  background: #dc4545;
  position: absolute;
  bottom: 10px;
}

.rocket-fin-left {
  left: -10px;
  border-radius: 0 0 0 5px;
  transform: skewY(30deg);
}

.rocket-fin-right {
  right: -10px;
  border-radius: 0 0 5px 0;
  transform: skewY(-30deg);
}

.rocket-flames {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 25px;
  display: flex;
  justify-content: center;
}

.flame {
  width: 8px;
  height: 25px;
  background: linear-gradient(to bottom, #ff7b00, transparent);
  border-radius: 10px 10px 20px 20px;
  animation: flame 0.5s ease-in-out infinite alternate;
}

.flame-1 {
  height: 25px;
}

.flame-2 {
  height: 20px;
  margin: 0 -2px;
  animation-delay: 0.1s;
}

.flame-3 {
  height: 15px;
  animation-delay: 0.2s;
}

.speed-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.speed-line {
  position: absolute;
  width: 2px;
  background: rgba(220, 69, 69, 0.2);
  top: 0;
  animation: speed-line 1s linear infinite;
}

.speed-line-1 {
  height: 50px;
  left: 20%;
  animation-duration: 0.7s;
}

.speed-line-2 {
  height: 70px;
  left: 40%;
  animation-duration: 0.9s;
  animation-delay: 0.2s;
}

.speed-line-3 {
  height: 60px;
  left: 60%;
  animation-duration: 0.8s;
  animation-delay: 0.1s;
}

.speed-line-4 {
  height: 40px;
  left: 80%;
  animation-duration: 0.6s;
  animation-delay: 0.3s;
}

.speed-info {
  padding: 0 15px;
  text-align: center;
}

.speed-title {
  color: #dc4545;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.speed-metrics {
  display: flex;
  justify-content: space-around;
  margin-bottom: 25px;
}

.speed-metric {
  text-align: center;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.metric-unit {
  font-size: 16px;
  margin-left: 2px;
}

.metric-label {
  font-size: 14px;
  color: #777;
}

.speed-features {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 10px;
}

.speed-feature {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.speed-feature i {
  color: #dc4545;
  margin-right: 10px;
}

/* Keyframes Animations */
@keyframes rocket-float {
  0%,
  100% {
    transform: translate(-50%, -48%);
  }
  50% {
    transform: translate(-50%, -52%);
  }
}

@keyframes flame {
  0% {
    transform: scaleY(0.8);
    opacity: 0.7;
  }
  100% {
    transform: scaleY(1.1);
    opacity: 1;
  }
}

@keyframes speed-line {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}
