/* AI Theme Homepage Styles */

/* Hero Section */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ai-text);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--ai-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* AI Animation */
.ai-animation {
  position: relative;
  width: 400px;
  height: 400px;
}

.orbit {
  position: absolute;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.orbit-1 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.orbit-2 {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  animation-duration: 15s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  animation-duration: 10s;
}

.orbit::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--ai-primary);
  border-radius: 50%;
  top: -5px;
  left: 50%;
  box-shadow: 0 0 20px var(--ai-primary);
}

.center-node {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--ai-gradient-2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.center-node::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  animation: ping 2s ease-in-out infinite;
}

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

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Action Cards */
.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 150px;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 25px 15px;
  text-decoration: none;
  color: var(--ai-text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.action-card:hover {
  transform: translateY(-5px);
  border-color: var(--ai-primary);
  color: var(--ai-text);
  text-decoration: none;
}

.action-card:hover::before {
  opacity: 1;
}

.action-card:hover .action-icon {
  transform: scale(1.1);
  background: var(--ai-gradient-2);
}

.action-card:hover .action-icon i {
  color: white;
}

.action-icon {
  width: 60px;
  height: 60px;
  background: rgba(99, 102, 241, 0.1);
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.action-icon i {
  font-size: 24px;
  color: var(--ai-primary-light);
  transition: all 0.3s ease;
}

.action-card span {
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Action Card Primary Variant */
.action-card-primary {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.3);
}

.action-card-primary .action-icon {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
}

.action-card-primary:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--ai-primary);
}

/* Dark Secondary Background */
.bg-dark-secondary {
  background: rgba(15, 23, 42, 0.5);
  position: relative;
}

.bg-dark-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.3) 50%, transparent 100%);
}

.bg-dark-secondary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.3) 50%, transparent 100%);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-image {
    height: 350px;
    margin-top: 50px;
  }
  
  .ai-animation {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .hero-subtitle {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    height: 250px;
  }
  
  .ai-animation {
    width: 200px;
    height: 200px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .action-card {
    min-height: 120px;
  }
  
  .action-icon {
    width: 50px;
    height: 50px;
  }
  
  .action-icon i {
    font-size: 20px;
  }
}

/* Remove old action-icon-btns styles */
.action-icon-btns {
  margin: 0;
}

.action-icon-btns a {
  border: none;
  background: none;
  padding: 0;
}

.action-icon-btns .ico-container {
  display: none;
}