/**
 * Feature-Karten Styling für die Vigthoria Operator Website
 * Optimiert für Desktop und mobile Darstellung
 */

/* Feature-Grid-Layout */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
  }
  
  /* Feature-Karten Basis-Styling */
  .feature-card {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 23, 41, 0.8) 0%, rgba(21, 31, 56, 0.8) 100%);
    border: 1px solid rgba(65, 132, 255, 0.2);
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
  }
  
  /* Feature-Karten Hover-Effekt */
  .feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 153, 255, 0.2);
    border-color: rgba(0, 153, 255, 0.4);
  }
  
  /* Feature-Icon-Container */
  .feature-card .feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.7) 0%, rgba(18, 26, 41, 0.7) 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* Feature-Icon-Styling */
  .feature-card .cyberpunk-feature-icon {
    width: 40px !important;
    height: 40px !important;
    filter: drop-shadow(0 0 5px rgba(0, 153, 255, 0.5));
    transition: all 0.3s ease;
  }
  
  .feature-card:hover .cyberpunk-feature-icon {
    filter: drop-shadow(0 0 8px rgba(0, 153, 255, 0.8));
    transform: scale(1.1);
  }
  
  /* Feature-Karten-Überschrift */
  .feature-card h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Rajdhani', sans-serif;
    /* Vermeidet abgeschnittenen Text */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  
  /* Feature-Karten-Text */
  .feature-card p {
    color: #a4b5d1;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
  }
  
  /* Obere Border für farbige Akzente */
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00c3ff, #0073ff);
  }
  
  /* Sicherstellen, dass drei Karten pro Reihe angezeigt werden */
  @media (min-width: 992px) {
    .feature-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 25px;
    }
  }
  
  /* Tablets: Zwei Karten pro Reihe */
  @media (max-width: 991px) and (min-width: 577px) {
    .feature-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }
  
  /* Smartphones: Eine Karte pro Reihe */
  @media (max-width: 576px) {
    .feature-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }
  }