/* Homepage Specific Styles */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #60a5fa, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-description {
  font-size: 1.125rem;
  color: #94a3b8;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.hero-animation {
  height: 500px;
  position: relative;
}

.hero-animation canvas {
  width: 100%;
  height: 100%;
}

/* How It Works Section */
.how-it-works {
  padding: 120px 0;
  background: #f8fafc;
}

.agents-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  position: relative;
}

.agent-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.agent-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.agent-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 2rem;
}

.agent-card h3 {
  color: #1e293b;
  margin-bottom: 16px;
}

.agent-card p {
  color: #64748b;
  line-height: 1.6;
}

.flow-arrow {
  display: none;
}

.orchestrator-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin-top: 32px;
}

.orchestrator-card .agent-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.orchestrator-card h3 {
  color: white;
}

.orchestrator-card p {
  color: #cbd5e1;
}

/* Features Section */
.features {
  padding: 120px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #3b82f6;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 1.5rem;
}

.feature-card h3 {
  color: #1e293b;
  margin-bottom: 16px;
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 120px 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 24px;
  color: white;
}

.cta-content p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

.cta-animation {
  height: 400px;
  position: relative;
}

.cta-animation canvas {
  width: 100%;
  height: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container,
  .cta-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-animation,
  .cta-animation {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .how-it-works,
  .features,
  .cta {
    padding: 80px 0;
  }

  .agents-flow {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Animation keyframes */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.agent-card:nth-child(odd) {
  animation: float 6s ease-in-out infinite;
}

.agent-card:nth-child(even) {
  animation: float 6s ease-in-out infinite 3s;
}
