/* Frontpage specific styles */

/* Hero section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 51, 102, 0.08) 0%, rgba(18, 18, 18, 0.5) 70%);
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
  }
  
  .hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1.5rem;
    color: var(--secondary-text);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .primary-button {
    background-color: var(--highlight-color);
    font-size: 1.2rem;
    padding: 12px 30px;
    margin-top: 20px;
    box-shadow: var(--box-shadow);
  }
  
  .secondary-button {
    background-color: transparent;
    border: 2px solid var(--highlight-color);
    color: var(--highlight-color);
    font-size: 1.2rem;
    padding: 10px 28px;
    margin-top: 20px;
  }
  
  /* Features overview section */
  .features-overview {
    padding: 80px 0;
    background-color: var(--secondary-bg);
  }
  
  .features-overview .container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
  }
  
  .feature-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: var(--primary-bg);
    margin: 15px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: auto;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: rgba(255, 51, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .feature-icon::before {
    content: '';
    width: 30px;
    height: 30px;
    background-color: var(--highlight-color);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
  }
  
  .search-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
  }
  
  .database-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C7.58 3 4 4.79 4 7v10c0 2.21 3.58 4 8 4s8-1.79 8-4V7c0-2.21-3.58-4-8-4zm0 2c3.87 0 6 1.5 6 2s-2.13 2-6 2-6-1.5-6-2 2.13-2 6-2zm0 16c-3.87 0-6-1.5-6-2V9.83c1.24.72 3.27 1.17 6 1.17s4.76-.45 6-1.17V19c0 .5-2.13 2-6 2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C7.58 3 4 4.79 4 7v10c0 2.21 3.58 4 8 4s8-1.79 8-4V7c0-2.21-3.58-4-8-4zm0 2c3.87 0 6 1.5 6 2s-2.13 2-6 2-6-1.5-6-2 2.13-2 6-2zm0 16c-3.87 0-6-1.5-6-2V9.83c1.24.72 3.27 1.17 6 1.17s4.76-.45 6-1.17V19c0 .5-2.13 2-6 2z'/%3E%3C/svg%3E");
  }
  
  .ai-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 11.18V9.72c0-.84-.58-1.53-1.35-1.69L19 8l.28-.14C20.07 7.43 20 6.44 19 6H5c-1 .44-1.07 1.43-.28 1.86L5 8l-.65.03C3.58 8.19 3 8.88 3 9.72v1.46C3 11.6 3.33 12 3.77 12H3c0 1.66 1.56 3 3.5 3H9c0 1.63 1.34 3 3 3s3-1.37 3-3h2.5c1.94 0 3.5-1.34 3.5-3h-.77c.44 0 .77-.4.77-.82zM7 15c-.83 0-1.5-.67-1.5-1.5S6.17 12 7 12s1.5.67 1.5 1.5S7.83 15 7 15zm10 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm2.5-5H4.5V9.72c0-.41.22-.72.5-.72h14c.28 0 .5.31.5.72V10z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 11.18V9.72c0-.84-.58-1.53-1.35-1.69L19 8l.28-.14C20.07 7.43 20 6.44 19 6H5c-1 .44-1.07 1.43-.28 1.86L5 8l-.65.03C3.58 8.19 3 8.88 3 9.72v1.46C3 11.6 3.33 12 3.77 12H3c0 1.66 1.56 3 3.5 3H9c0 1.63 1.34 3 3 3s3-1.37 3-3h2.5c1.94 0 3.5-1.34 3.5-3h-.77c.44 0 .77-.4.77-.82zM7 15c-.83 0-1.5-.67-1.5-1.5S6.17 12 7 12s1.5.67 1.5 1.5S7.83 15 7 15zm10 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm2.5-5H4.5V9.72c0-.41.22-.72.5-.72h14c.28 0 .5.31.5.72V10z'/%3E%3C/svg%3E");
  }

    .upload-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z'/%3E%3C/svg%3E");
  }
  
  .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-text);
  }
  
  .feature-card p {
    color: var(--secondary-text);
    line-height: 1.6;
    flex-grow: 1;
    margin-top: 0;
  }
  
  /* AI section */
  .ai-section {
    padding: 80px 0;
    background-color: var(--primary-bg);
  }
  
  .ai-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
  }
  
  .section-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-text);
  }
  
  .section-content p {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .ai-workflow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
  }
  
  .workflow-step {
    flex: 1;
    min-width: 200px;
    margin: 15px;
    padding: 30px;
    background-color: var(--secondary-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
  }
  
  .workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
  }
  
  .step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--highlight-color);
    color: var(--primary-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }
  
  .workflow-step h4 {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary-text);
  }
  
  .workflow-step p {
    color: var(--secondary-text);
    font-size: 1rem;
    margin-bottom: 0;
  }
  
  /* Data Enrichment section */
  .data-enrichment {
    padding: 80px 0;
    background-color: var(--secondary-bg);
  }
  
  .enrichment-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
  }
  
  .enrichment-feature {
    flex: 1;
    min-width: 250px;
    margin: 15px;
    padding: 30px;
    background-color: var(--primary-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
  }
  
  .enrichment-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
  }
  
  .enrichment-feature h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary-text);
  }
  
  .enrichment-feature p {
    color: var(--secondary-text);
    font-size: 1rem;
    margin-bottom: 0;
  }
  
  /* CTA section */
  .cta-section {
    padding: 80px 0;
    background-color: var(--primary-bg);
    text-align: center;
  }
  
  .cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-text);
  }
  
  .cta-section p {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  /* Responsive design */
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2.5rem;
    }
    
    .hero p {
      font-size: 1.2rem;
    }
    
    .feature-card {
      min-width: 100%;
      max-height: fit-content;
    }
    
    .workflow-step {
      min-width: 100%;
    }
    
    .enrichment-feature {
      min-width: 100%;
    }
  }