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

/* Body */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(90deg, #0a0a0a, #1a1a2e, #16213e, #0f3460);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: 400% 400%;
  animation: gradientShift 20s ease-in-out infinite;
}

body a {
  text-decoration: none;
}

/* Main container */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  text-align: center;
}

/* Main content */
.content_main {
  margin-bottom: 2rem;
}

/* Logo animation */
.logo-container {
  margin-bottom: 1.5rem;
}

.jarvis-logo {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arc {
  position: absolute;
  border: 2px solid #ae00ff;
  border-radius: 50%;
  animation: rotate 4s linear infinite;
}

.arc-1 {
  width: 150px;
  height: 150px;
  border-top-color: transparent;
  border-right-color: transparent;
}

.arc-2 {
  width: 110px;
  height: 110px;
  border-bottom-color: transparent;
  border-left-color: transparent;
  animation-direction: reverse;
  animation-duration: 3s;
}

.arc-3 {
  width: 80px;
  height: 80px;
  border-top-color: transparent;
  border-right-color: transparent;
  animation-duration: 2s;
}

.center-dot {
  width: 25px;
  height: 25px;
  background: #8c00ff;
  border-radius: 50%;
  box-shadow: 0 0 25px #8c00ff;
  animation: pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

/* Title */
.title_main {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #a700e9, #ffffff, #8400ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Subtitle & Description */
.subtitle {
  font-size: 1.4rem;
  color: #b566ff;
  margin-bottom: 1rem;
}

.description {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

/* Feature cards */
.parent {
  width: 100%;
  max-width: 220px;
  height: 220px;
  perspective: 1000px;
}

.card {
  position: relative;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, #476d7e 40%, #8945c9 100%);
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

.glass {
  position: absolute;
  inset: 3px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.card-content {
  padding: 25px;
  position: relative;
  z-index: 1;
}

.card-content .title {
  display: block;
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
}

.card-content .text {
  display: block;
  color: #b8b8b8;
  font-size: 14px;
  margin-top: 15px;
  line-height: 1.4;
}

/* Hover effect */
.parent:hover .card {
  box-shadow: 0 0 30px #9e74ff;
  transform: translateY(-8px) scale(1.03);
}

/* Button */
button {
  margin-top: 40px;
  position: relative;
  border: none;
  font-size: 15px;
  cursor: pointer;
  color: #fff;
  padding: 0.8em 2em;
  text-align: center;
  background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
  background-size: 300%;
  border-radius: 30px;
  z-index: 1;
  transition: 0.3s;
}

button:hover {
  animation: ani 8s linear infinite;
}

@keyframes ani {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 400%;
  }
}

button::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
  background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
  background-size: 400%;
  border-radius: 35px;
  transition: 0.5s;
}

button:hover::before {
  filter: blur(20px);
}

button span {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

button:hover span {
  color: rgb(158, 229, 241);
}

/* Footer */
.footer {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #999;
}

/* Carder (top-right icons) */
.carder {
  position: absolute;
  top: 20px;
  right: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carder .glass {
  position: relative;
  width: 80px;
  height: 80px;
  background: linear-gradient(#fff2, transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  margin: 0 -30px;
  transition: 0.4s;
}

.carder:hover .glass {
  margin: 0 8px;
  box-shadow: 0 0 15px #9d63ff;
}

.carder .glass::before {
  content: attr(data-text);
  position: absolute;
  bottom: -25px;
  font-size: 0.75rem;
  color: #fff;
  opacity: 0.7;
}

.carder:hover .glass::after {
  transform: translateY(-10px);
}
.carder .glass svg {
  font-size: 2em;
  fill: #fff;
}

/* Gradient Animation Keyframes */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .title_main {
    font-size: 3rem;
  }
  .subtitle {
    font-size: 1.2rem;
  }
}
