/* Styles für die GPT-Detailansichten */
.gpt-card {
    position: relative;
    overflow: hidden;
}

.gpt-card-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.detail-toggle-btn {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.detail-toggle-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.direct-link {
    color: var(--secondary-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.direct-link i {
    margin-left: 5px;
}

.direct-link:hover {
    color: var(--text-light);
}

.gpt-detail-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.3s ease;
    background-color: var(--bg-dark);
    border-radius: 0 0 5px 5px;
    margin-top: -5px;
    margin-bottom: 30px;
    opacity: 0;
    padding: 0;
    border-left: 3px solid transparent;
}

.gpt-detail-section.active {
    max-height: 5000px;
    opacity: 1;
    padding: 30px;
    border-left: 3px solid var(--secondary-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gpt-intro {
    margin-bottom: 30px;
}

.gpt-intro .lead {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 20px;
}

.gpt-section {
    margin-bottom: 40px;
}

.gpt-section h3 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.gpt-section h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-list {
    list-style-type: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.feature-list li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature-card {
    background-color: rgba(30, 30, 30, 0.7);
    padding: 20px;
    border-radius: 5px;
    border-left: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.quote {
    font-style: italic;
    color: var(--text-medium);
    font-size: 1.2rem;
    padding-left: 20px;
    border-left: 3px solid var(--secondary-color);
    margin: 30px 0;
}

/* Animationen für die Detail-Sektion */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gpt-detail-section.active .gpt-intro,
.gpt-detail-section.active .gpt-section {
    animation: fadeInUp 0.5s ease-out forwards;
}

.gpt-detail-section.active .gpt-section:nth-child(2) {
    animation-delay: 0.1s;
}

.gpt-detail-section.active .gpt-section:nth-child(3) {
    animation-delay: 0.2s;
}

.gpt-detail-section.active .gpt-section:nth-child(4) {
    animation-delay: 0.3s;
}

.gpt-detail-section.active .gpt-section:nth-child(5) {
    animation-delay: 0.4s;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .gpt-detail-section.active {
        padding: 20px 15px;
    }
    
    .gpt-card-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .direct-link {
        margin-top: 10px;
    }
}
