/* ===== FRONT PAGE STYLES ===== */

/* Main Content */
#main-content {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

#main-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Background Particles */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: .1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #0066ff;
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 60%; animation-delay: 4s; }
.particle:nth-child(6) { left: 70%; animation-delay: 5s; }
.particle:nth-child(7) { left: 80%; animation-delay: 1.5s; }
.particle:nth-child(8) { left: 90%; animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
  10%, 90% { opacity: 1; }
  50% { transform: translateY(0) scale(1); }
}

/* Section Header */
.section-header {
  margin-bottom: 60px;
  width: 100%;
  text-align: center;
}

/* Section Titles */
.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #0066ff, #0099ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 100%;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== HERO BLOCK ===== */
.hero-block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 100px 0;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #0066ff, #0099ff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
  line-height: 1.2;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 20px #0066ff33); }
  to { filter: drop-shadow(0 0 30px #0099ff66); }
}

.hero-content p {
  font-size: 1.4rem;
  color: #ccc;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ===== SERVICES BLOCK ===== */
.services-block {
  padding: 100px 0;
  background: rgba(255, 255, 255, .02);
}

.services-block .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.service-card {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 102, 255, .2);
  border-radius: 20px;
  padding: 35px;
  transition: all .3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 102, 255, .25);
  border-color: rgba(0, 102, 255, .4);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(45deg, #0066ff, #0099ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #0099ff;
  width: 100%;
}

.service-card p {
  color: #ccc;
  margin-bottom: 0;
  line-height: 1.6;
  flex-grow: 1;
  width: 100%;
}

/* ===== AGENTS PREVIEW BLOCK ===== */
.agents-preview-block {
  padding: 100px 0;
  background: rgba(0, 0, 0, .3);
}

.agents-preview-block .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.agents-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
  width: 100%;
}

.agent-preview-card {
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 102, 255, .3);
  border-radius: 15px;
  overflow: visible;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  text-align: center;
  width: 100%;
}

.agent-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, .3);
  border-color: rgba(0, 102, 255, .6);
}

.agent-image {
  width: 120px;
  height: 120px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 102, 255, .2), rgba(0, 153, 255, .2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 3px solid rgba(0, 102, 255, .4);
}

.agent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.agent-preview-card:hover .agent-image img {
  transform: scale(1.1);
}

.agent-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.agent-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  margin-top: 5px;
  color: #0099ff;
}

.agent-tagline {
  font-size: 0.95rem;
  color: #0066ff;
  margin-bottom: 15px;
  font-weight: 600;
}

.agent-description {
  color: #ccc;
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 0.85rem;
  display: none;
}

.agent-features {
  display: none;
}

.agents-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== CTA BLOCK ===== */
.cta-block {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 102, 255, .1), rgba(0, 153, 255, .1));
}

.cta-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(45deg, #0066ff, #0099ff);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #0099ff;
  border: 2px solid #0099ff;
}

.btn-secondary:hover {
  background: #0099ff;
  color: #fff;
}

.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* AI Pulse Animation */
.ai-pulse {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  background: #0066ff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .5; }
  100% { transform: scale(1); opacity: 1; }
}

/* Fade Out Animation for Mouse Trail */
@keyframes fadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(2); }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  #main-content .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-card {
    padding: 30px 25px;
  }

  .agents-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .agent-image {
    height: 200px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .hero-block,
  .services-block,
  .agents-preview-block,
  .cta-block {
    padding: 60px 0;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  #main-content .container {
    padding: 0 10px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .service-card {
    padding: 25px 20px;
  }
  
  .agent-content {
    padding: 25px 20px;
  }
  
  .agents-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .agents-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop Large */
@media (min-width: 1400px) {
  #main-content .container {
    max-width: 1400px;
  }
}
