/* ============================================
   HOMEPAGE SECTIONS - PRE-REG STYLE
   ============================================ */

/* Homepage specific display - use flex when active */
#front-page-1.active {
  display: flex;
  flex-direction: column;
}

/* Hide homepage sections when homepage is NOT active */
#front-page-1:not(.active) {
  display: none;
}

/* Ensure hero and pricing sections stay clickable on active homepage */
#front-page-1.active .hero-section,
#front-page-1.active .pricing-section {
  position: relative;
  z-index: 10;
}

#front-page-1.active .hero-content,
#front-page-1.active .pricing-grid {
  position: relative;
  z-index: 11;
}

#front-page-1.active button,
#front-page-1.active .cta-button,
#front-page-1.active .plan-button {
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

/* Container */
.homepage .container,
.section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Common Section Styles */
.section {
  padding: 80px 20px;
  position: relative;
  width: 100%;
  clear: both;
  display: block;
  box-sizing: border-box;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 60px;
  text-transform: uppercase;
}

/* Why Join Early Section */
.why-join-early {
  background-color: #000;
  padding: 100px 20px;
}

.early-benefits-layout {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}

.benefits-photo {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px 24px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.benefit-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
  text-align: center;
}

.benefit-text {
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
}

/* Features Section */
.features {
  position: relative;
  background-color: #0a0a0a;
  overflow: visible;
  min-height: auto;
  padding: 100px 20px 150px;
  margin-bottom: 0;
  z-index: 1;
}

.features-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/image 242.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}

.features-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  pointer-events: none;
}

.features-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.features-main-title {
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.features-description {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  max-width: 800px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(0, 0, 0, 0.75);
  border-color: #ff6b00;
  transform: translateY(-3px);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

/* AI Squad Section */
.ai-squad {
  position: relative;
  background-color: #000;
  overflow: visible;
  min-height: auto;
  padding: 120px 20px 150px;
  margin-bottom: 0;
  z-index: 1;
}

.ai-squad-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/image 241.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}

.ai-squad-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.ai-squad-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.ai-squad-description {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 60px;
  max-width: 700px;
}

.ai-squad-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.ai-agent-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.ai-agent-card:hover {
  background: rgba(40, 40, 40, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(10px);
}

.agent-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.agent-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.agent-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.agent-text strong {
  font-weight: 600;
  color: #fff;
}

/* Verified Section */
.verified {
  background-color: #000;
  padding: 100px 20px 60px;
  margin-bottom: 0;
  position: relative;
  width: 100%;
}

.verified .container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

.verified-content {
  max-width: 800px;
  margin-bottom: 60px;
  margin-left: 0;
  text-align: left;
}

.verified-text {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  text-align: left;
}

.verified-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.verified-image-item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.verified-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
  display: block;
}

.verified-image-item .image-caption {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: white !important;
  text-align: center;
  z-index: 2;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
  padding: 0 40px;
  line-height: 1.4;
}

.image-caption {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: white;
  text-align: center;
  z-index: 2;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
  padding: 0 40px;
  line-height: 1.4;
}

/* Footer */
.footer {
  background-color: #0a0a0a;
  padding: 60px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  text-align: center;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.social-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #ff6b00;
}

.footer-legal {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.legal-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #fff;
}

.legal-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 60px 15px;
  }

  .section-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }

  /* Why Join Early */
  .why-join-early {
    padding: 80px 16px;
  }
  
  .early-benefits-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .benefits-photo {
    height: 300px;
  }

  .benefit-card {
    padding: 16px 20px;
  }

  .benefit-number {
    font-size: 32px;
    width: 40px;
  }

  .benefit-text {
    font-size: 14px;
  }

  /* Features */
  .features {
    padding: 80px 16px 120px;
    margin-bottom: 0;
    min-height: auto;
  }
  
  .features-main-title {
    font-size: 28px;
  }

  .features-description {
    font-size: 14px;
    margin-bottom: 30px;
  }

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

  .feature-item {
    padding: 14px 16px;
    gap: 12px;
    flex-direction: row !important;
    align-items: center !important;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .feature-text {
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
  }

  /* AI Squad */
  .ai-squad {
    padding: 100px 16px 120px;
    margin-bottom: 0;
    min-height: auto;
  }
  
  .ai-squad-description {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .ai-agent-card {
    padding: 20px;
    gap: 16px;
  }

  .agent-icon {
    width: 48px;
    height: 48px;
  }

  .agent-icon img {
    width: 28px;
    height: 28px;
  }

  .agent-text {
    font-size: 14px;
  }

  /* Verified */
  .verified {
    padding: 80px 16px 40px;
  }

  .verified-text {
    font-size: 18px;
  }

  .verified-image-item .image-caption,
  .image-caption {
    font-size: 12px !important;
    bottom: 20px;
    padding: 0 20px;
  }

  /* Footer */
  .footer {
    padding: 40px 15px;
  }
}
