/* ============================================
   AGENTS PAGE STYLES
   ============================================ */

/* Prevent horizontal scrolling */
.agents-page {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

/* Page Header */
.agents-page .page-header {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
  color: white;
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 102, 255, .2);
}

.agents-page .page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(0,102,255,0.1)"/></svg>');
  opacity: 0.3;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

.agents-page .page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
  background: linear-gradient(45deg, #0066ff, #0099ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.agents-page .page-header .page-description {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: #ccc;
  position: relative;
  z-index: 1;
}

/* Agents Grid Section */
.agents-grid-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
}

.agents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Agent Card */
.agent-card {
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 102, 255, .3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.agent-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.3);
  border-color: rgba(0, 102, 255, .6);
}

/* Agent Image */
.agent-card .agent-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(0, 102, 255, .2), rgba(0, 153, 255, .2));
}

.agent-card .agent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.agent-card:hover .agent-image img {
  transform: scale(1.05);
}

/* Agent Content */
.agent-card .agent-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.agent-card .agent-name {
  font-size: 2rem;
  font-weight: 700;
  color: #0099ff;
  margin: 0 0 10px;
}

.agent-card .agent-tagline {
  font-size: 1.125rem;
  color: #0066ff;
  font-weight: 600;
  margin: 0 0 20px;
}

.agent-card .agent-description {
  font-size: 1rem;
  color: #999;
  line-height: 1.6;
  margin: 0 0 25px;
}

/* Agent Features */
.agent-card .agent-features {
  margin: 0 0 30px;
  flex: 1;
}

.agent-card .features-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0099ff;
  margin: 0 0 15px;
}

.agent-card .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.agent-card .features-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: #999;
  line-height: 1.5;
}

.agent-card .features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0099ff;
  font-weight: bold;
  font-size: 1.25rem;
}

/* Agent CTA */
.agent-card .agent-cta {
  margin-top: auto;
}

.agent-card .btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.agent-card .btn-primary {
  background: linear-gradient(45deg, #0066ff, #0099ff);
  color: white;
  border: none;
}

.agent-card .btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* Bottom CTA Section */
.agents-bottom-cta {
  background: linear-gradient(135deg, rgba(0, 102, 255, .1), rgba(0, 153, 255, .1));
  color: white;
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid rgba(0, 102, 255, .2);
}

.agents-bottom-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 20px;
  background: linear-gradient(45deg, #0066ff, #0099ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.agents-bottom-cta p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #ccc;
}

.agents-bottom-cta .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.agents-bottom-cta .btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.agents-bottom-cta .btn-primary {
  background: linear-gradient(45deg, #0066ff, #0099ff);
  color: white;
}

.agents-bottom-cta .btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.agents-bottom-cta .btn-secondary {
  background: transparent;
  color: #0099ff;
  border: 2px solid #0099ff;
}

.agents-bottom-cta .btn-secondary:hover {
  background: #0099ff;
  color: #fff;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px and up) */
@media (min-width: 768px) {
  .agents-page .page-header h1 {
    font-size: 3.5rem;
  }
  
  .agents-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .agent-card {
    flex-direction: column;
  }
  
  .agent-card .agent-image {
    height: 250px;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .agents-page .page-header {
    padding: 100px 20px 80px;
  }
  
  .agents-page .page-header h1 {
    font-size: 4rem;
  }
  
  .agents-grid-section {
    padding: 100px 20px;
  }
  
  .agents-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  
  .agent-card .agent-image {
    height: 280px;
  }
  
  .agents-bottom-cta {
    padding: 100px 20px;
  }
  
  .agents-bottom-cta h2 {
    font-size: 3rem;
  }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
  .agents-grid {
    max-width: 1400px;
  }
}

/* Mobile Optimization */
@media (max-width: 767px) {
  .agents-page .page-header {
    padding: 60px 20px 40px;
  }
  
  .agents-page .page-header h1 {
    font-size: 2rem;
  }
  
  .agents-page .page-header .page-description {
    font-size: 1rem;
  }
  
  .agents-grid-section {
    padding: 40px 20px;
  }
  
  .agent-card .agent-image {
    height: 200px;
  }
  
  .agent-card .agent-content {
    padding: 20px;
  }
  
  .agent-card .agent-name {
    font-size: 1.5rem;
  }
  
  .agent-card .agent-tagline {
    font-size: 1rem;
  }
  
  .agents-bottom-cta {
    padding: 60px 20px;
  }
  
  .agents-bottom-cta h2 {
    font-size: 1.75rem;
  }
  
  .agents-bottom-cta p {
    font-size: 1rem;
  }
  
  .agents-bottom-cta .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .agents-bottom-cta .btn {
    width: 100%;
    max-width: 300px;
  }
}
